Skip to content

Commit

Permalink
ci(prepare): update all prepare scripts to only build self (#6062)
Browse files Browse the repository at this point in the history
  • Loading branch information
aliemir committed Jun 20, 2024
1 parent 089a3a5 commit df4f614
Show file tree
Hide file tree
Showing 34 changed files with 35 additions and 34 deletions.
2 changes: 1 addition & 1 deletion packages/ably/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/ably",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/airtable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/airtable",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/antd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"attw": "attw --pack . --exclude-entrypoints dist/reset.css",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/antd",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/appwrite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/appwrite",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/chakra-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/chakra-ui",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/cli",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
3 changes: 2 additions & 1 deletion packages/codemod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"scripts": {
"build": "tsc -d -p tsconfig.json",
"dev": "tsc -w -d -p tsconfig.json",
"jscodeshift": "jscodeshift -d --transform=src/transformations/refine1-to-refine2.ts"
"jscodeshift": "jscodeshift -d --transform=src/transformations/refine1-to-refine2.ts",
"prepare": "pnpm build"
},
"dependencies": {
"@npmcli/package-json": "3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/core",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"test:dev": "jest --silent --noStackTrace",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-refine-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"scripts": {
"build": "tsup && tsc --project tsconfig.declarations.json",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope create-refine-app",
"prepare": "pnpm build",
"test": "jest --passWithNoTests --runInBand",
"types": "tsc --project tsconfig.declarations.json"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/devtools-internal",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"build:client": "NODE_ENV=production tsc && vite build --config src/client/vite.config.ts",
"dev": "pnpm dev:client & tsup --watch",
"dev:client": "vite build --watch --force --config src/client/vite.config.ts",
"prepare": "pnpm -w build --scope @refinedev/devtools-server",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"start:server": "node dist/cli.cjs",
"test": "jest --passWithNoTests --runInBand",
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/devtools-shared",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"attw": "attw --pack . --exclude-entrypoints style.css",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/devtools-ui",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/devtools",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/graphql",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/hasura/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/hasura",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/inferencer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/inferencer",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/kbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/kbar",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/mantine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/mantine",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/medusa",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/mui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/mui",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/nestjs-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/nestjs-query",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/nestjsx-crud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/nestjsx-crud",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/nextjs-router",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-hook-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/react-hook-form",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-v6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/react-router-v6",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/react-table",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/remix-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/remix-router",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/simple-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/simple-rest",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-v4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/strapi-v4",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/strapi",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/supabase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/supabase",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/ui-tests",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "jest --passWithNoTests --runInBand",
"types": "node ../shared/generate-declarations.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"attw": "attw --pack .",
"build": "tsup && node ../shared/generate-declarations.js",
"dev": "tsup --watch",
"prepare": "pnpm -w build --scope @refinedev/ui-types",
"prepare": "pnpm build",
"publint": "publint --strict=true --level=suggestion",
"test": "echo \"no tests\"",
"types": "node ../shared/generate-declarations.js"
Expand Down

0 comments on commit df4f614

Please sign in to comment.