prebuild in package

This commit is contained in:
Max Peintner
2023-04-19 15:54:21 +02:00
parent 698c6a65b6
commit caf5f1d512
2 changed files with 3 additions and 2 deletions

View File

@@ -28,8 +28,8 @@ This repo has some additional tools:
### Useful commands
- `pnpm build` - Build all packages and the docs site
- `pnpm dev` - Develop all packages and the docs site
- `pnpm build` - Build all packages and the login app
- `pnpm dev` - Develop all packages and the login app
- `pnpm lint` - Lint all packages
- `pnpm changeset` - Generate a changeset
- `pnpm clean` - Clean up all `node_modules` and `dist` folders (runs each package's clean script)

View File

@@ -14,6 +14,7 @@
"dev": "tsup src/index.ts --format esm,cjs --watch --dts",
"lint": "eslint \"src/**/*.ts*\"",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
"prebuild": "pnpm run generate",
"generate": "buf generate https://github.com/zitadel/zitadel.git --path ./proto/zitadel"
},
"devDependencies": {