From df4f614123e5323cfa1e6d51ae9fe9ff88e83821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ali=20Emir=20=C5=9Een?= Date: Thu, 20 Jun 2024 18:07:06 +0300 Subject: [PATCH] ci(prepare): update all prepare scripts to only build self (#6062) --- packages/ably/package.json | 2 +- packages/airtable/package.json | 2 +- packages/antd/package.json | 2 +- packages/appwrite/package.json | 2 +- packages/chakra-ui/package.json | 2 +- packages/cli/package.json | 2 +- packages/codemod/package.json | 3 ++- packages/core/package.json | 2 +- packages/create-refine-app/package.json | 2 +- packages/devtools-internal/package.json | 2 +- packages/devtools-server/package.json | 2 +- packages/devtools-shared/package.json | 2 +- packages/devtools-ui/package.json | 2 +- packages/devtools/package.json | 2 +- packages/graphql/package.json | 2 +- packages/hasura/package.json | 2 +- packages/inferencer/package.json | 2 +- packages/kbar/package.json | 2 +- packages/mantine/package.json | 2 +- packages/medusa/package.json | 2 +- packages/mui/package.json | 2 +- packages/nestjs-query/package.json | 2 +- packages/nestjsx-crud/package.json | 2 +- packages/nextjs-router/package.json | 2 +- packages/react-hook-form/package.json | 2 +- packages/react-router-v6/package.json | 2 +- packages/react-table/package.json | 2 +- packages/remix-router/package.json | 2 +- packages/simple-rest/package.json | 2 +- packages/strapi-v4/package.json | 2 +- packages/strapi/package.json | 2 +- packages/supabase/package.json | 2 +- packages/ui-tests/package.json | 2 +- packages/ui-types/package.json | 2 +- 34 files changed, 35 insertions(+), 34 deletions(-) diff --git a/packages/ably/package.json b/packages/ably/package.json index 29dd7adffce8..95609cf214a2 100644 --- a/packages/ably/package.json +++ b/packages/ably/package.json @@ -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" diff --git a/packages/airtable/package.json b/packages/airtable/package.json index 622aa3dae669..ef5eb746023a 100644 --- a/packages/airtable/package.json +++ b/packages/airtable/package.json @@ -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" diff --git a/packages/antd/package.json b/packages/antd/package.json index 824e374ef97a..5b2d2e31ae3b 100644 --- a/packages/antd/package.json +++ b/packages/antd/package.json @@ -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" diff --git a/packages/appwrite/package.json b/packages/appwrite/package.json index e30876b615f2..d0a5597a3e83 100644 --- a/packages/appwrite/package.json +++ b/packages/appwrite/package.json @@ -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" diff --git a/packages/chakra-ui/package.json b/packages/chakra-ui/package.json index 8f369411b36e..1c1b2f00e1ab 100644 --- a/packages/chakra-ui/package.json +++ b/packages/chakra-ui/package.json @@ -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" diff --git a/packages/cli/package.json b/packages/cli/package.json index e95a4d3eebe7..6319539da96c 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -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" diff --git a/packages/codemod/package.json b/packages/codemod/package.json index 4071e7f2daac..d26090327d7d 100644 --- a/packages/codemod/package.json +++ b/packages/codemod/package.json @@ -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", diff --git a/packages/core/package.json b/packages/core/package.json index 688cfa9ea4ca..f1135f7cf775 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -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", diff --git a/packages/create-refine-app/package.json b/packages/create-refine-app/package.json index e260eac6a859..55f402a1d80a 100644 --- a/packages/create-refine-app/package.json +++ b/packages/create-refine-app/package.json @@ -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" }, diff --git a/packages/devtools-internal/package.json b/packages/devtools-internal/package.json index 225763de419e..aecf8d9f4268 100644 --- a/packages/devtools-internal/package.json +++ b/packages/devtools-internal/package.json @@ -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" diff --git a/packages/devtools-server/package.json b/packages/devtools-server/package.json index 7dc10a72402d..74a63bfd50e4 100644 --- a/packages/devtools-server/package.json +++ b/packages/devtools-server/package.json @@ -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", diff --git a/packages/devtools-shared/package.json b/packages/devtools-shared/package.json index 79edf01b1ba9..01446f079de5 100644 --- a/packages/devtools-shared/package.json +++ b/packages/devtools-shared/package.json @@ -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" diff --git a/packages/devtools-ui/package.json b/packages/devtools-ui/package.json index f2355d9af472..12b7c54e720c 100644 --- a/packages/devtools-ui/package.json +++ b/packages/devtools-ui/package.json @@ -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" diff --git a/packages/devtools/package.json b/packages/devtools/package.json index a168e84e98aa..c112ad05004d 100644 --- a/packages/devtools/package.json +++ b/packages/devtools/package.json @@ -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" diff --git a/packages/graphql/package.json b/packages/graphql/package.json index c213ea034202..352fb8484ff4 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -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" diff --git a/packages/hasura/package.json b/packages/hasura/package.json index d5bb9c81cbae..51f8fd56c203 100644 --- a/packages/hasura/package.json +++ b/packages/hasura/package.json @@ -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" diff --git a/packages/inferencer/package.json b/packages/inferencer/package.json index 5394c3ebdcc4..8baed50cfa5a 100644 --- a/packages/inferencer/package.json +++ b/packages/inferencer/package.json @@ -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" diff --git a/packages/kbar/package.json b/packages/kbar/package.json index d62448562898..890b29cf1cf9 100644 --- a/packages/kbar/package.json +++ b/packages/kbar/package.json @@ -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" diff --git a/packages/mantine/package.json b/packages/mantine/package.json index 062fe5b4a3db..d420a0b54c7e 100644 --- a/packages/mantine/package.json +++ b/packages/mantine/package.json @@ -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" diff --git a/packages/medusa/package.json b/packages/medusa/package.json index 3da3316fcf01..eb08c102ef12 100644 --- a/packages/medusa/package.json +++ b/packages/medusa/package.json @@ -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" diff --git a/packages/mui/package.json b/packages/mui/package.json index 46db7e56b33c..5224efca582e 100644 --- a/packages/mui/package.json +++ b/packages/mui/package.json @@ -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" diff --git a/packages/nestjs-query/package.json b/packages/nestjs-query/package.json index 016f449feb67..fc9e1cf24161 100644 --- a/packages/nestjs-query/package.json +++ b/packages/nestjs-query/package.json @@ -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" diff --git a/packages/nestjsx-crud/package.json b/packages/nestjsx-crud/package.json index b16ffa1d807d..5ab6015f354a 100644 --- a/packages/nestjsx-crud/package.json +++ b/packages/nestjsx-crud/package.json @@ -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" diff --git a/packages/nextjs-router/package.json b/packages/nextjs-router/package.json index 2a1f244f1864..afcee42f997f 100644 --- a/packages/nextjs-router/package.json +++ b/packages/nextjs-router/package.json @@ -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" diff --git a/packages/react-hook-form/package.json b/packages/react-hook-form/package.json index 5e37659d1bb0..e86cf4c11de0 100644 --- a/packages/react-hook-form/package.json +++ b/packages/react-hook-form/package.json @@ -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" diff --git a/packages/react-router-v6/package.json b/packages/react-router-v6/package.json index 44e4ca3cf30d..16ec2a125c9e 100644 --- a/packages/react-router-v6/package.json +++ b/packages/react-router-v6/package.json @@ -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" diff --git a/packages/react-table/package.json b/packages/react-table/package.json index c1f137285e7f..98da7db4a1db 100644 --- a/packages/react-table/package.json +++ b/packages/react-table/package.json @@ -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" diff --git a/packages/remix-router/package.json b/packages/remix-router/package.json index badd9c8dc222..97d03efcc9f4 100644 --- a/packages/remix-router/package.json +++ b/packages/remix-router/package.json @@ -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" diff --git a/packages/simple-rest/package.json b/packages/simple-rest/package.json index 1f866625c099..c516e7097fa0 100644 --- a/packages/simple-rest/package.json +++ b/packages/simple-rest/package.json @@ -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" diff --git a/packages/strapi-v4/package.json b/packages/strapi-v4/package.json index 8c24e971f30c..a95f15042957 100644 --- a/packages/strapi-v4/package.json +++ b/packages/strapi-v4/package.json @@ -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" diff --git a/packages/strapi/package.json b/packages/strapi/package.json index 54dcdf4d0457..46028d24caaf 100644 --- a/packages/strapi/package.json +++ b/packages/strapi/package.json @@ -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" diff --git a/packages/supabase/package.json b/packages/supabase/package.json index c8ec7e6592f4..eda91231a0ee 100644 --- a/packages/supabase/package.json +++ b/packages/supabase/package.json @@ -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" diff --git a/packages/ui-tests/package.json b/packages/ui-tests/package.json index d3d451cb88a0..3876db2764d6 100644 --- a/packages/ui-tests/package.json +++ b/packages/ui-tests/package.json @@ -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" diff --git a/packages/ui-types/package.json b/packages/ui-types/package.json index 733c07704bd0..c54833c7c86c 100644 --- a/packages/ui-types/package.json +++ b/packages/ui-types/package.json @@ -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"