Skip to content

Commit

Permalink
fix(root): Build only public packages during preview deployments (#6590)
Browse files Browse the repository at this point in the history
  • Loading branch information
SokratisVidros authored Sep 30, 2024
1 parent 703a744 commit 9aed977
Show file tree
Hide file tree
Showing 15 changed files with 43 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"release:preminor": "nx release version preminor --no-push",
"release:prerelease": "nx release version prerelease --no-push",
"release:submodules": "ts-node scripts/release-with-submodules.ts",
"preview:pkg:build": "nx affected -t build --base=origin/next --head=HEAD --exclude=nextjs",
"preview:pkg:build": "nx affected -t build --base=origin/next --head=HEAD --exclude='*,!tag:package:public'",
"preview:pkg:publish": "node scripts/publish-preview-packages.mjs",
"start:integration:api": "cd apps/api && pnpm run test",
"start:e2e:api": "cd apps/api && pnpm run test:e2e",
Expand Down
3 changes: 3 additions & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,8 @@
"cross-spawn": "7.0.3",
"fast-glob": "3.3.1",
"async-sema": "3.0.1"
},
"nx": {
"tags": ["package:public"]
}
}
3 changes: 3 additions & 0 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,8 @@
},
"prettier": {
"singleQuote": true
},
"nx": {
"tags": ["package:public"]
}
}
3 changes: 3 additions & 0 deletions packages/framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,8 @@
"liquidjs": "^10.13.1",
"ora": "^5.4.1",
"sanitize-html": "^2.13.0"
},
"nx": {
"tags": ["package:public"]
}
}
3 changes: 3 additions & 0 deletions packages/headless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@
},
"prettier": {
"singleQuote": true
},
"nx": {
"tags": ["package:public"]
}
}
3 changes: 3 additions & 0 deletions packages/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,8 @@
"solid-js": "^1.8.11",
"solid-motionone": "^1.0.1",
"tailwind-merge": "^2.4.0"
},
"nx": {
"tags": ["package:public"]
}
}
3 changes: 3 additions & 0 deletions packages/nest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,8 @@
"exclude": [
"**/*.spec.js"
]
},
"nx": {
"tags": ["package:public"]
}
}
3 changes: 3 additions & 0 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,8 @@
],
"prettier": {
"singleQuote": true
},
"nx": {
"tags": ["package:public"]
}
}
3 changes: 3 additions & 0 deletions packages/notification-center-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@
"karma-jasmine-html-reporter": "~2.1.0",
"ng-packagr": "^16.2.0",
"typescript": "5.6.2"
},
"nx": {
"tags": ["package:public"]
}
}
3 changes: 3 additions & 0 deletions packages/notification-center-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,8 @@
"node_modules",
"dist"
]
},
"nx": {
"tags": ["package:public"]
}
}
3 changes: 3 additions & 0 deletions packages/notification-center/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,8 @@
"socket.io-client": "4.7.2",
"tslib": "^2.3.1",
"webfontloader": "^1.6.28"
},
"nx": {
"tags": ["package:public"]
}
}
3 changes: 3 additions & 0 deletions packages/providers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,8 @@
"exclude": [
"**/*.spec.js"
]
},
"nx": {
"tags": ["package:public"]
}
}
3 changes: 3 additions & 0 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,8 @@
},
"dependencies": {
"@novu/js": "workspace:*"
},
"nx": {
"tags": ["package:public"]
}
}
3 changes: 3 additions & 0 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,8 @@
"rimraf": "^3.0.2",
"typescript": "5.6.2",
"vitest": "^2.0.5"
},
"nx": {
"tags": ["package:public"]
}
}
3 changes: 3 additions & 0 deletions packages/stateless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,8 @@
],
"prettier": {
"singleQuote": true
},
"nx": {
"tags": ["package:public"]
}
}

1 comment on commit 9aed977

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.