Skip to content

Commit

Permalink
ci: add pnpm run build-vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Feb 9, 2025
1 parent 356faab commit 822fc9f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,14 @@ The scripts above use `nx` to automatically run all scripts that are a prerequis
| `pnpm run publish` | Publish each package to the npm registry |
| `pnpm run release` | Determine new version number automatically and update each `package.json` |

## Other scripts

### `pnpm run build-vercel`

Run the build processes, but excluding the following builds that do not currently work on Vercel:

- The build for `storybook-angular` crashes randomly.

## Code of Conduct

We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. Read [our Code of Conduct](CODE_OF_CONDUCT.md) if you haven't already.
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"add-repository-directory": "node ./add-repository-directory.mjs",
"build": "pnpm run --aggregate-output --recursive build",
"build:css": "pnpm run --dir components/ --filter '@utrecht/*-css' build",
"build-vercel": "pnpm run --recursive build-vercel && pnpm run --filter=\"!{packages/storybook-angular}\" --filter=\"!{packages/component-library-angular}\" --recursive build",
"clean": "pnpm run --recursive clean",
"docs": "pnpm run --workspace packages/docusaurus start",
"find-undocumented-tokens": "pnpm run --dir proprietary/design-tokens/ build:stylelint && pnpm run lint:css --config ./.tokens.stylelintrc.json",
Expand Down
1 change: 1 addition & 0 deletions packages/storybook-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"scripts": {
"clean": "rimraf .angular/ dist/ tmp/",
"build": "ng run storybook-angular:build-storybook",
"build-vercel": "mkdir -p dist/",
"lint-build": "tsc --noEmit --project tsconfig.json",
"storybook": "ng run storybook-angular:storybook --port 6009"
}
Expand Down

0 comments on commit 822fc9f

Please sign in to comment.