Skip to content

Commit

Permalink
ci: run semantic-release in each package
Browse files Browse the repository at this point in the history
  • Loading branch information
BearToCode committed Feb 27, 2024
1 parent 63c8993 commit f988592
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@
"check": "npm run check --workspaces --if-present",
"test": "npm run test --workspaces --if-present",
"build": "npm run build --workspaces --if-present",
"publish": "npm run publish --workspaces --if-present",
"prepare": "husky install",
"publish-demo": "npm run build && cd demo && npm run gh-pages",
"commit": "cz",
"semantic-release": "semantic-release",
"publish": "cd packages/core && npx --no-install semantic-release -e semantic-release-monorepo"
"commit": "cz"
},
"workspaces": [
"packages/core",
Expand Down
3 changes: 2 additions & 1 deletion packages/adapter-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"build": "tsc && vite build && publint",
"prepublishOnly": "npm run build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
"preview": "vite preview",
"publish": "npx --no-install semantic-release -e semantic-release-monorepo"
},
"peerDependencies": {
"@mismerge/core": "^1.2.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/adapter-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build && publint",
"preview": "vite preview"
"preview": "vite preview",
"publish": "npx --no-install semantic-release -e semantic-release-monorepo"
},
"peerDependencies": {
"@mismerge/core": "^1.2.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test": "vitest run",
"test:watch": "vitest"
"test:watch": "vitest",
"publish": "npx --no-install semantic-release -e semantic-release-monorepo"
},
"exports": {
".": {
Expand Down

0 comments on commit f988592

Please sign in to comment.