Skip to content

Commit

Permalink
build: move CHANGELOG to root
Browse files Browse the repository at this point in the history
  • Loading branch information
fi3ework committed Aug 26, 2022
1 parent f73577e commit acf6b83
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
File renamed without changes.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"test-serve-cjs": "cross-env VITEST_TEST_CJS=1 pnpm run test-serve",
"test-build-cjs": "cross-env VITEST_TEST_CJS=1 pnpm run test-build",
"test-unit:watch": "vitest",
"changelog": "pnpm -r --filter=./packages/** run changelog",
"type-check": "pnpm -r --parallel --filter \"vite-plugin-checker\" exec tsc --noEmit",
"ci:publish": "zx scripts/publish.mjs",
"docs:dev": "pnpm --filter docs exec vitepress dev .",
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin-checker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"clean": "rimraf dist",
"build": "tsup && zx ../../scripts/patchCjs.mjs",
"build:test": "tsup --sourcemap inline",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . --lerna-package vite-plugin-checker",
"changelog": "conventional-changelog -p angular -i ../../CHANGELOG.md -s --commit-path ../../ --lerna-package vite-plugin-checker",
"release": "zx ../../scripts/release.mjs"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async function main() {
step('\nGit commit & tag & push...')

await $`pnpm run changelog`
await $`git add .`
await $`git add ../../`

const commitMsg = `release: ${tag}` // 🤨 https://github.com/google/zx/issues/86
await $`git commit -m ${commitMsg}`
Expand Down

0 comments on commit acf6b83

Please sign in to comment.