Skip to content

Commit

Permalink
chore(publish setting): fix changeset setting & publish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
innocces committed Jun 23, 2023
1 parent edbe737 commit 2f07ac2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 2 additions & 5 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changelog/changelog-github",
{ "repo": "innocces/taro-hooks" }
],
"commit": false,
"fixed": [],
"linked": [],
Expand All @@ -12,6 +8,7 @@
"updateInternalDependencies": "minor",
"ignore": [
"@taro-hooks/taro-hooks-plugin",
"@taro-hooks/taro-hooks-plugin-vue"
"@taro-hooks/taro-hooks-plugin-vue",
"@taro-hooks/website"
]
}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@
"generate-docs": "node scripts/build-docs.mjs",
"generate-hooks-category": "node scripts/generate-hooks-category.mjs",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"prerelease": "pnpm changeset pre enter canary",
"publish": "pnpm changeset version",
"prepublishOnly": "pnpm run bootstrap",
"version": "changeset && changeset version",
"release": "changeset publish",
"log": "./node_modules/.bin/conventional-changelog -i CHANGELOG.md -s -r 0",
"postversion": "npm run log",
"postversion": "pnpm run log",
"contributors:generate": "all-contributors generate"
},
"gitHooks": {
Expand Down

0 comments on commit 2f07ac2

Please sign in to comment.