Skip to content

Commit

Permalink
chore: Update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Marinerer committed Nov 20, 2024
1 parent 791709a commit 476e3f1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
PNPM_CACHE_FOLDER: .pnpm-store
PKG_RELEASE_KEY: lastReleaseCommit # 定义 package.json 最后发布的key
PKG_RELEASE_KEY: lastReleaseCommit
jobs:
release:
# prevents this action from running on forks
Expand All @@ -19,14 +19,13 @@ jobs:
- name: checkout code repository
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
persist-credentials: true # 允许在工作流中使用 GitHub 令牌
persist-credentials: true

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
version: 8
run_install: false

- name: Setup Node.js
Expand Down
5 changes: 3 additions & 2 deletions libs/Animator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
],
"buildOptions": {
"name": "Animator",
"target": "es2015",
"clean": true
"target": "es2015"
},
"keywords": [
"animator",
Expand All @@ -35,6 +34,8 @@
],
"publishConfig": {
"access": "public",
"scope": "@jotter",
"tag": "latest",
"registry": "https://registry.npmjs.org"
},
"sideEffects": false,
Expand Down
10 changes: 8 additions & 2 deletions libs/Drag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
"target": [
"es2015",
"es5"
],
"clean": true
]
},
"keywords": [
"drag-and-drop",
Expand All @@ -34,6 +33,13 @@
"drop",
"touch"
],
"publishConfig": {
"access": "public",
"scope": "@jotter",
"tag": "latest",
"registry": "https://registry.npmjs.org"
},
"sideEffects": false,
"homepage": "https://github.com/Marinerer/jotter/tree/main/libs/drag",
"repository": {
"type": "git",
Expand Down

0 comments on commit 476e3f1

Please sign in to comment.