Skip to content

Commit

Permalink
chore(publish-config): make all packages public
Browse files Browse the repository at this point in the history
Remove the `private` key or set it to `false` in the `package.json` of
multiple examples and the docs package. Additionally, add the `publishConfig`
with `access: public` to explicitly declare these packages as public on npm.
  • Loading branch information
h7ml committed Jun 17, 2024
1 parent 4a8ce84 commit 9c56750
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 11 deletions.
5 changes: 3 additions & 2 deletions examples/amis-editor-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amis-adapter/amis-editor-react",
"private": true,
"private": false,
"version": "0.0.1",
"type": "module",
"homepage": "https://amis-vite-react.h7ml.cn",
Expand Down Expand Up @@ -49,7 +49,8 @@
}
],
"publishConfig": {
"registry": "https://registry.npmjs.org"
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
Expand Down
5 changes: 3 additions & 2 deletions examples/amis-editor-webpack/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@amis-adapter/amis-editor-webpack",
"version": "0.1.0",
"private": true,
"private": false,
"dependencies": {
"@fortawesome/fontawesome-free": "^5.15.3",
"@rescripts/cli": "^0.0.16",
Expand Down Expand Up @@ -59,7 +59,8 @@
}
],
"publishConfig": {
"registry": "https://registry.npmjs.org"
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
Expand Down
5 changes: 3 additions & 2 deletions examples/vue-amis-editor-webpack/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@amis-adapter/vue-amis-editor-webpack",
"version": "0.1.0",
"private": true,
"private": false,
"packageManager": "[email protected]",
"scripts": {
"serve": "vue-cli-service serve",
Expand Down Expand Up @@ -68,7 +68,8 @@
}
],
"publishConfig": {
"registry": "https://registry.npmjs.org"
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
Expand Down
5 changes: 3 additions & 2 deletions examples/vue-editor2.7/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@amis-adapter/vue-editor2.7",
"packageManager": "[email protected]",
"private": true,
"private": false,
"version": "0.0.0",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -54,7 +54,8 @@
}
],
"publishConfig": {
"registry": "https://registry.npmjs.org"
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
Expand Down
5 changes: 3 additions & 2 deletions examples/vue2.7/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amis-adapter/vue2.7",
"private": true,
"private": false,
"version": "0.0.0",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -35,7 +35,8 @@
}
],
"publishConfig": {
"registry": "https://registry.npmjs.org"
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
Expand Down
6 changes: 5 additions & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@amis-adapter/docs",
"version": "1.0.0",
"private": true,
"private": false,
"scripts": {
"dev": "rspress dev",
"build": "rspress build",
Expand All @@ -17,5 +17,9 @@
},
"devDependencies": {
"@types/node": "^16"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
}
}

1 comment on commit 9c56750

@h7ml
Copy link
Member Author

@h7ml h7ml commented on 9c56750 Jun 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for amis-adapter ready!

✅ Preview
https://amis-adapter-g3dqa06f1-h7mls-projects.vercel.app
https://amis-adapter.h7ml.cn

Built with commit 9c56750.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.