diff --git a/package.json b/package.json index 353e198f..69ff561c 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "build:packages": "turbo run build --filter=@codedazur/*", "deploy": "turbo run deploy --filter=@apps/infrastructure", "destroy": "turbo run destroy --filter=@apps/infrastructure", - "publish": "changeset publish" + "publish": "npm run build:packages && changeset publish" }, "devDependencies": { "@changesets/changelog-github": "0.4.8", diff --git a/packages/cdk-amplify-app/package.json b/packages/cdk-amplify-app/package.json index 012c9eb8..8a365cfa 100644 --- a/packages/cdk-amplify-app/package.json +++ b/packages/cdk-amplify-app/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run --passWithNoTests", - "prepublishOnly": "npm run build" + "test": "vitest run --passWithNoTests" }, "peerDependencies": { "aws-cdk-lib": ">=2", diff --git a/packages/cdk-bastion-host/package.json b/packages/cdk-bastion-host/package.json index 5e355bf5..5ab9e213 100644 --- a/packages/cdk-bastion-host/package.json +++ b/packages/cdk-bastion-host/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run --passWithNoTests", - "prepublishOnly": "npm run build" + "test": "vitest run --passWithNoTests" }, "peerDependencies": { "aws-cdk-lib": ">=2", diff --git a/packages/cdk-cache-invalidator/package.json b/packages/cdk-cache-invalidator/package.json index c4d7f0ba..8ae54946 100644 --- a/packages/cdk-cache-invalidator/package.json +++ b/packages/cdk-cache-invalidator/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run --passWithNoTests", - "prepublishOnly": "npm run build" + "test": "vitest run --passWithNoTests" }, "peerDependencies": { "aws-cdk-lib": ">=2", diff --git a/packages/cdk-docker-cluster/package.json b/packages/cdk-docker-cluster/package.json index c5d6a40c..95a17f3f 100644 --- a/packages/cdk-docker-cluster/package.json +++ b/packages/cdk-docker-cluster/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run --passWithNoTests", - "prepublishOnly": "npm run build" + "test": "vitest run --passWithNoTests" }, "dependencies": { "@codedazur/cdk-cache-invalidator": "*" diff --git a/packages/cdk-mailer/package.json b/packages/cdk-mailer/package.json index 323a485e..d72f8444 100644 --- a/packages/cdk-mailer/package.json +++ b/packages/cdk-mailer/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run --passWithNoTests", - "prepublishOnly": "npm run build" + "test": "vitest run --passWithNoTests" }, "dependencies": { "@aws-sdk/client-lambda": "^3.231.0", diff --git a/packages/cdk-next-app/package.json b/packages/cdk-next-app/package.json index 8efce890..b82846cb 100644 --- a/packages/cdk-next-app/package.json +++ b/packages/cdk-next-app/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run --passWithNoTests", - "prepublishOnly": "npm run build" + "test": "vitest run --passWithNoTests" }, "dependencies": { "@codedazur/cdk-docker-cluster": "*" diff --git a/packages/cdk-rpc-api/package.json b/packages/cdk-rpc-api/package.json index 65feef81..c285f535 100644 --- a/packages/cdk-rpc-api/package.json +++ b/packages/cdk-rpc-api/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run --passWithNoTests", - "prepublishOnly": "npm run build" + "test": "vitest run --passWithNoTests" }, "peerDependencies": { "aws-cdk-lib": ">=2", diff --git a/packages/cdk-static-site/package.json b/packages/cdk-static-site/package.json index 5f6d2268..e4641ae0 100644 --- a/packages/cdk-static-site/package.json +++ b/packages/cdk-static-site/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run --passWithNoTests", - "prepublishOnly": "npm run build" + "test": "vitest run --passWithNoTests" }, "dependencies": { "@codedazur/cdk-cache-invalidator": "*" diff --git a/packages/essentials/package.json b/packages/essentials/package.json index 354c8ea4..3f0d3dcf 100644 --- a/packages/essentials/package.json +++ b/packages/essentials/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run", - "prepublishOnly": "npm run build" + "test": "vitest run" }, "devDependencies": { "@codedazur/eslint-config": "*", diff --git a/packages/react-date-picker/package.json b/packages/react-date-picker/package.json index 94c5951a..df0f3f39 100644 --- a/packages/react-date-picker/package.json +++ b/packages/react-date-picker/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run --passWithNoTests", - "prepublishOnly": "npm run build" + "test": "vitest run --passWithNoTests" }, "peerDependencies": { "react": ">=16.8.0" diff --git a/packages/react-dictionary/package.json b/packages/react-dictionary/package.json index 9299b6af..ded434e0 100644 --- a/packages/react-dictionary/package.json +++ b/packages/react-dictionary/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run", - "prepublishOnly": "npm run build" + "test": "vitest run" }, "peerDependencies": { "react": ">=16.8.0", diff --git a/packages/react-essentials/package.json b/packages/react-essentials/package.json index 03dc121e..b677a9f4 100644 --- a/packages/react-essentials/package.json +++ b/packages/react-essentials/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run", - "prepublishOnly": "npm run build" + "test": "vitest run" }, "peerDependencies": { "react": ">=16.8.0" diff --git a/packages/react-forms/package.json b/packages/react-forms/package.json index 35460942..320e3dc9 100644 --- a/packages/react-forms/package.json +++ b/packages/react-forms/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run --passWithNoTests", - "prepublishOnly": "npm run build" + "test": "vitest run --passWithNoTests" }, "peerDependencies": { "react": ">=16.8.0" diff --git a/packages/react-media/package.json b/packages/react-media/package.json index fa4823c4..8d95256b 100644 --- a/packages/react-media/package.json +++ b/packages/react-media/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run", - "prepublishOnly": "npm run build" + "test": "vitest run" }, "peerDependencies": { "react": ">=16.8.0" diff --git a/packages/react-notifications/package.json b/packages/react-notifications/package.json index cf87e43d..c751a0bd 100644 --- a/packages/react-notifications/package.json +++ b/packages/react-notifications/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run --passWithNoTests", - "prepublishOnly": "npm run build" + "test": "vitest run --passWithNoTests" }, "peerDependencies": { "react": ">=16.8.0" diff --git a/packages/react-pagination/package.json b/packages/react-pagination/package.json index 0d226aa3..464504d6 100644 --- a/packages/react-pagination/package.json +++ b/packages/react-pagination/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run", - "prepublishOnly": "npm run build" + "test": "vitest run" }, "peerDependencies": { "react": ">=16.8.0" diff --git a/packages/react-parallax/package.json b/packages/react-parallax/package.json index 8fb3e328..b50671eb 100644 --- a/packages/react-parallax/package.json +++ b/packages/react-parallax/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run --passWithNoTests", - "prepublishOnly": "npm run build" + "test": "vitest run --passWithNoTests" }, "peerDependencies": { "react": ">=16.8.0" diff --git a/packages/react-preferences/package.json b/packages/react-preferences/package.json index b8e35e62..da21e143 100644 --- a/packages/react-preferences/package.json +++ b/packages/react-preferences/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run --passWithNoTests", - "prepublishOnly": "npm run build" + "test": "vitest run --passWithNoTests" }, "peerDependencies": { "react": ">=16.8.0" diff --git a/packages/react-tracking/package.json b/packages/react-tracking/package.json index 93c35345..ad105530 100644 --- a/packages/react-tracking/package.json +++ b/packages/react-tracking/package.json @@ -20,8 +20,7 @@ "audit": "npm audit --omit dev", "lint": "TIMING=1 eslint \"**/*.ts*\"", "types": "tsc --noEmit", - "test": "vitest run --passWithNoTests", - "prepublishOnly": "npm run build" + "test": "vitest run --passWithNoTests" }, "peerDependencies": { "react": ">=16.8.0"