Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/qa-workflow-standardization.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
12 changes: 12 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
inheritance: false
reviews:
request_changes_workflow: false
review_status: false
review_progress: false
commit_status: false
auto_review:
enabled: false
auto_incremental_review: false
description_keyword: ""
labels: []
5 changes: 4 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ concurrency:
jobs:
check:
name: Check
uses: fulldotdev/.github/.github/workflows/check.yml@288d0a18bdcc83e2376c91f557577f0dfe4d1e56
uses: fulldotdev/.github/.github/workflows/check.yml@f2895c09a7d688a58f2bacc200c7b18bc07574e7
with:
runner: blacksmith-4vcpu-ubuntu-2404
command: vp run check:source
6 changes: 4 additions & 2 deletions .github/workflows/ready.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,21 @@ on:
unlabeled,
]
workflow_run:
workflows: [Check, Review event]
workflows: [Check]
types: [completed]

permissions:
actions: read
contents: write
pull-requests: write
statuses: write
checks: read

jobs:
ready:
uses: fulldotdev/.github/.github/workflows/ready.yml@579bcf444a2f964e48ecbeb580b01c921c9f1ea4
uses: fulldotdev/.github/.github/workflows/ready.yml@f2895c09a7d688a58f2bacc200c7b18bc07574e7
with:
runner: blacksmith-2vcpu-ubuntu-2404
netlify-checks: '["netlify/fulldev-sitex/deploy-preview"]'
merge-app-client-id: ${{ vars.RELEASE_APP_CLIENT_ID }}
secrets:
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/review-event.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pnpm dev
Run these before opening a pull request:

```bash
pnpm check
vp run check:source
pnpm ready
```

Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ packages/sitex/ # @fulldotdev/sitex package source
## Scripts

```bash
pnpm dev # run the docs app
pnpm build # build all workspace packages/apps
pnpm check # format, lint, and typecheck
pnpm ready # check and build everything
pnpm dev # run the docs app
pnpm build # build all workspace packages/apps
vp run check:build # typecheck the docs app with the types its build generated
vp run check:source # format, lint, and typecheck
pnpm ready # check and build everything
```

## Package
Expand Down
3 changes: 2 additions & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"type": "module",
"scripts": {
"dev": "vp dev --host 127.0.0.1 --port 4323",
"build": "shadcn build && vp build && tsc --noEmit",
"build": "shadcn build && vp build",
"check:build": "tsc --noEmit",
"preview": "vp preview --host 127.0.0.1 --port 4323",
"registry:build": "shadcn build"
},
Expand Down
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build]
command = "pnpm build"
command = "pnpm build && pnpm run check:build"
publish = "apps/docs/dist"

[build.environment]
Expand Down Expand Up @@ -79,7 +79,7 @@ to = "/docs/components/:splat"
status = 301

[context.production]
command = "pnpm run check && pnpm build"
command = "pnpm run check:source && pnpm build && pnpm run check:build"

[[headers]]
for = "/*"
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
"private": true,
"type": "module",
"scripts": {
"ready": "vp check && vp run @fulldotdev/sitex#check && vp run -r build",
"ready": "vp run check:source && vp run build && vp run check:build",
"dev": "vp run docs#dev",
"build": "vp run -r build",
"check": "vp check && vp run @fulldotdev/sitex#check",
"format": "vp fmt",
"check:build": "vp run docs#check:build",
"check:source": "vp check && vp run @fulldotdev/sitex#check",
"fix:source": "vp check --fix",
"preview": "vp run docs#preview",
"changeset": "changeset",
"release": "changeset version && pnpm install --lockfile-only && vp fmt",
Expand Down
Loading