Skip to content

Commit d4cc59b

Browse files
authored
Merge pull request #487 from ForgeRock/fix-command
Fix command
2 parents 3f3d26e + 4ef6a47 commit d4cc59b

File tree

6 files changed

+17
-12
lines changed

6 files changed

+17
-12
lines changed

.changeset/config.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,16 @@
1212
"access": "public",
1313
"baseBranch": "master",
1414
"updateInternalDependencies": "patch",
15-
"ignore": []
15+
"ignore": [
16+
"@forgerock/device-client",
17+
"@forgerock/davinci-client",
18+
"autoscript-apps",
19+
"autoscript-suites",
20+
"davinci-app",
21+
"mock-api",
22+
"token-vault-app",
23+
"@forgerock/token-vault-interceptor",
24+
"token-vault-proxy",
25+
"token-vault-suites"
26+
]
1627
}

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,15 @@ jobs:
7777
id: changesets
7878
with:
7979
publish: pnpm ci:release
80+
version: pnpm ci:version
8081
title: Release PR
8182
branch: master
8283
setupGitUser: false
8384
env:
8485
# See https://github.com/changesets/action/issues/147
8586
HOME: ${{ github.workspace }}
8687
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
87-
NPM_CONFIG_PROVENANCE: true
88+
NPM_CONFIG_PROVENANCE: 'true'
8889
NPM_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
8990

9091
- name: rebase develop with main on publish
@@ -100,3 +101,4 @@ jobs:
100101
git push -f
101102
env:
102103
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
104+
NPM_CONFIG_PROVENANCE: true

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"scripts": {
1010
"build": "nx affected --target=build",
1111
"clean": "shx rm -rf ./{coverage,dist,docs,node_modules,tmp}/ ./{packages,e2e}/*/{dist,node_modules}/ && git clean -fX -e \"!.env*,nx-cloud.env\"",
12-
"ci:release": "pnpm -r release",
12+
"ci:release": "pnpm publish -r --no-git-checks && changeset tag",
13+
"ci:version": "changeset version && pnpm install --no-frozen-lockfile",
1314
"changeset": "pnpm changeset",
1415
"commit": "git cz",
1516
"docs": "nx affected --target=typedoc",

packages/javascript-sdk/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@
5151
}
5252
},
5353
"type": "module",
54-
"scripts": {
55-
"release": "pnpm publish"
56-
},
5754
"devDependencies": {
5855
"vitest": "^1.4.0"
5956
}

packages/ping-protect/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,5 @@
2121
"types": "./dist/index.ts.d.ts",
2222
"peerDependencies": {
2323
"@forgerock/javascript-sdk": "workspace:*"
24-
},
25-
"scripts": {
26-
"release": "pnpm publish"
2724
}
2825
}

packages/token-vault/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,5 @@
2222
},
2323
"peerDependencies": {
2424
"@forgerock/javascript-sdk": "workspace:*"
25-
},
26-
"scripts": {
27-
"release": "pnpm publish"
2825
}
2926
}

0 commit comments

Comments
 (0)