Skip to content

Commit

Permalink
ci: build all packages before publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsdaniels committed May 3, 2024
1 parent 603c25a commit 4210332
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 39 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/cdk-amplify-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/cdk-bastion-host/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/cdk-cache-invalidator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/cdk-docker-cluster/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*"
Expand Down
3 changes: 1 addition & 2 deletions packages/cdk-mailer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/cdk-next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*"
Expand Down
3 changes: 1 addition & 2 deletions packages/cdk-rpc-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/cdk-static-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*"
Expand Down
3 changes: 1 addition & 2 deletions packages/essentials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*",
Expand Down
3 changes: 1 addition & 2 deletions packages/react-date-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions packages/react-dictionary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/react-essentials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions packages/react-forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions packages/react-media/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions packages/react-notifications/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions packages/react-pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions packages/react-parallax/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions packages/react-preferences/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions packages/react-tracking/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4210332

Please sign in to comment.