Skip to content

Commit

Permalink
chore: fix publish script for e2e packages
Browse files Browse the repository at this point in the history
  • Loading branch information
edbzn committed Oct 1, 2024
1 parent ffb9188 commit e6264c8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@
"{workspaceRoot}/eslint.config.js"
],
"cache": true
},
"@nx/js:release-publish": {
"dependsOn": ["build"],
"options": {
"packageRoot": "dist/{projectRoot}"
}
}
},
"$schema": "./node_modules/nx/schemas/nx-schema.json",
Expand Down
5 changes: 4 additions & 1 deletion tools/scripts/start-local-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ export default async () => {
verbose: false,
});
await releaseVersion({
specifier: '999.99.9:e2e',
specifier: 'minor',
stageChanges: false,
gitCommit: false,
gitTag: false,
firstRelease: true,
"generatorOptionsOverrides": {
"packageRoot": "dist/{projectRoot}"
}
});
await releasePublish({
tag: 'e2e',
Expand Down

0 comments on commit e6264c8

Please sign in to comment.