Skip to content

Commit 457099d

Browse files
fix: angular package publish (open-feature#1009)
<!-- Please use this template for your pull request. --> <!-- Please use the sections that you need and delete other sections --> ## This PR <!-- add the description of the PR here --> Fixes publishing of Angular SDK package by not removing the version scripts from the built package.json. Also fixes SBOM generation by adding the angular subproject to workspaces. Signed-off-by: Lukas Reining <[email protected]>
1 parent f74056c commit 457099d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"test": "jest",
1010
"build": "ng build && npm run postbuild",
1111
"postbuild": "shx cp ./../../LICENSE ./dist/angular/LICENSE",
12-
"publish-if-not-exists": "cp $NPM_CONFIG_USERCONFIG .npmrc && if [ \"$(npm --prefix dist/angular run current-deployed-version -s)\" = \"$(npm --prefix dist/angular run current-version -s)\" ]; then echo 'already published, skipping'; else npm --prefix dist/angular publish --access public; fi"
12+
"publish-if-not-exists": "cp $NPM_CONFIG_USERCONFIG .npmrc && if [ \"$(npm --prefix dist/angular run current-deployed-version -s)\" = \"$(npm --prefix dist/angular run current-version -s)\" ]; then echo 'already published, skipping'; else cd dist/angular && npm publish --access public; fi"
1313
},
1414
"private": true,
1515
"devDependencies": {

0 commit comments

Comments
 (0)