Skip to content

Commit 66dc808

Browse files
committed
fix(angular): Angular-Slickgrid npm publish should replace workspace:
1 parent 5694890 commit 66dc808

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

.github/workflows/publish-npm-prerelease.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ jobs:
154154
pnpm whoami
155155
pnpm exec lerna version ${{ inputs.bump }} --conventional-commits --conventional-prerelease --preid ${{ inputs.tag }} --force-publish --yes
156156
157+
- name: replace Angular-Slickgrid "workspace:"
158+
run: pnpm replace-workspace
159+
157160
- name: OTP
158161
if: ${{ inputs.dryrun != true }}
159162
uses: step-security/wait-for-secrets@v1

.github/workflows/publish-npm-prompt.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ jobs:
105105
pnpm whoami
106106
pnpm exec lerna version prerelease --conventional-commits --conventional-prerelease --preid beta --force-publish --yes
107107
108+
- name: replace Angular-Slickgrid "workspace:"
109+
run: pnpm replace-workspace
110+
108111
- name: OTP
109112
if: ${{ inputs.dryrun != true }}
110113
uses: step-security/wait-for-secrets@v1

.github/workflows/publish-npm-publish-retry.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ jobs:
6969
- name: Build Everything
7070
run: pnpm build
7171

72+
- name: replace Angular-Slickgrid "workspace:"
73+
run: pnpm replace-workspace
74+
7275
- name: OTP
7376
if: ${{ inputs.dryrun != true }}
7477
uses: step-security/wait-for-secrets@v1

frameworks/angular-slickgrid/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"angular:preview": "vite preview --outDir=website --port=4300",
3636
"prebuild": "pnpm lint",
3737
"build": "pnpm packagr",
38-
"postbuild": "pnpm run copy:i18n && pnpm run replace-workspace",
38+
"postbuild": "pnpm run copy:i18n",
3939
"packagr": "ng-packagr -p ng-package.json -c tsconfig.json",
4040
"copy:i18n": "copyfiles src/assets/i18n/*.json dist/i18n --flat --stat",
4141
"delete:dist": "rimraf dist",

0 commit comments

Comments
 (0)