Skip to content

Commit

Permalink
ci(release): add publishConfig to package.json and set token of priva…
Browse files Browse the repository at this point in the history
…te npm registry
  • Loading branch information
Carrotzpc committed Jan 5, 2024
1 parent 86deef0 commit 5d3e64e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ jobs:

- name: Sync to cnpm
run: /
npm install -g cnpm && \
cnpm sync @yuntijs/react-markdown-lowcode-materials && \
npm install -g cnpm
cnpm sync @yuntijs/react-markdown-lowcode-materials
cnpm sync @yuntijs/ui-lowcode-materials
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@
"node": ">=18.12.0",
"pnpm": ">=8.1.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"authors": [
{
"name": "Carrotzpc",
Expand Down
4 changes: 4 additions & 0 deletions packages/react-markdown-lowcode-materials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
"react": "16.x || 17.x",
"react-dom": "16.x || 17.x"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"yunti": {
"umd": {
"library": "ReactMarkdownLowcode",
Expand Down
4 changes: 4 additions & 0 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,9 @@
"@yunti/lowcode-plugin-code-generator": "^2.1.1",
"antd": "^5.10.3",
"lodash": "^4.17.21"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}
4 changes: 4 additions & 0 deletions packages/yunti-ui-lowcode-materials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
"react": "16.x || 17.x",
"react-dom": "16.x || 17.x"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"yunti": {
"umd": {
"library": "YuntiUiLowcode",
Expand Down

0 comments on commit 5d3e64e

Please sign in to comment.