Skip to content

Commit

Permalink
Try to fix pnpm publish issues (#1147)
Browse files Browse the repository at this point in the history
* Try to fix pnpm publish issues

Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>

* Try to fix pnpm publish issues

Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>

---------

Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
  • Loading branch information
prabhu committed Jun 6, 2024
1 parent 7f49183 commit f1402df
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
corepack enable
corepack pnpm install
corepack pnpm test
NPM_CONFIG_PROVENANCE=true corepack pnpm publish --access=public --dry-run --no-git-checks
env:
CI: true
- name: check sbom for vulns
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
npm config set //npm.pkg.github.com/:_authToken=$GITHUB_TOKEN
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
echo "cyclonedx:registry=https://npm.pkg.github.com" > ~/.npmrc
corepack pnpm publish --access=public --@cyclonedx:registry='https://npm.pkg.github.com'
corepack pnpm publish --access=public --no-git-checks
echo "cyclonedx:registry=https://registry.npmjs.org" > ~/.npmrc
corepack pnpm publish --provenance --access=public --@cyclonedx:registry='https://registry.npmjs.org'
NPM_CONFIG_PROVENANCE=true corepack pnpm publish --access=public --no-git-checks
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cyclonedx/cdxgen",
"version": "10.6.0",
"version": "10.6.1",
"exports": "./index.js",
"compilerOptions": {
"allowJs": true,
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cyclonedx/cdxgen",
"version": "10.6.0",
"version": "10.6.1",
"exports": "./index.js",
"include": ["*.js", "bin/**", "data/**", "types/**"],
"exclude": ["test/", "docs/", "contrib/", "ci/", "tools_config/"]
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cyclonedx/cdxgen",
"version": "10.6.0",
"version": "10.6.1",
"description": "Creates CycloneDX Software Bill of Materials (SBOM) from source or container image",
"homepage": "http://github.com/cyclonedx/cdxgen",
"author": "Prabhu Subramanian <prabhu@appthreat.com>",
Expand Down Expand Up @@ -65,7 +65,7 @@
"bugs": {
"url": "https://github.com/cyclonedx/cdxgen/issues"
},
"packageManager": "pnpm@9.1.4",
"packageManager": "pnpm@9.2.0",
"dependencies": {
"@babel/parser": "^7.24.6",
"@babel/traverse": "^7.24.6",
Expand Down

0 comments on commit f1402df

Please sign in to comment.