Skip to content

Commit

Permalink
chore(release): fix release process after recent updates
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduy1407 committed Dec 12, 2024
1 parent de7f20d commit 0291f52
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"testing/"
],
"scripts": {
"build": "npm run clean && npm run tsc.prod && npm run ts scripts/index.ts --prod --ci",
"build": "npm run clean && npm run tsc.prod && npm run ts scripts/index.ts -- --prod --ci",
"build.watch": "npm run build -- --watch",
"build.updateSelectorEngine": "npm run ts scripts/updateSelectorEngine.ts",
"clean": "rm -rf build/ cli/ compiler/ dev-server/ internal/ mock-doc/ sys/ testing/ && npm run clean:scripts && npm run clean.screenshots",
Expand All @@ -34,12 +34,12 @@
"prettier": "npm run prettier.base -- --write",
"prettier.base": "prettier --cache \"./({bin,scripts,src,test}/**/*.{ts,tsx,js,jsx})|bin/rindo|.github/(**/)?*.(yml|yaml)|*.js\"",
"prettier.dry-run": "npm run prettier.base -- --list-different",
"release.ci.prepare": "npm run ts scripts/index.ts --release --ci-prepare",
"release.ci": "NODE_OPTIONS=--max-old-space-size=4096 npm run ts scripts/index.ts --release --ci-publish",
"release.ci.prepare": "npm run ts scripts/index.ts -- --release --ci-prepare",
"release.ci": "NODE_OPTIONS=--max-old-space-size=4096 npm run ts scripts/index.ts -- --release --ci-publish",
"test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --coverage",
"test.analysis": "cd test && npm run analysis.build-and-analyze",
"test.bundlers": "cd test && npm run bundlers",
"test.dist": "npm run ts scripts/index.ts --validate-build",
"test.dist": "npm run ts scripts/index.ts -- --validate-build",
"test.end-to-end": "cd test/end-to-end && npm ci && npm test && npm run test.dist",
"test.jest": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js",
"test.prod": "npm run test.dist && npm run test.end-to-end && npm run test.jest && npm run test.testing && npm run test.analysis",
Expand Down
2 changes: 1 addition & 1 deletion scripts/utils/release-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function prettyVersionDiff(oldVersion: string, inc: any): string {
*/
export async function updateChangeLog(opts: BuildOptions): Promise<void> {
const ccPath = join(opts.nodeModulesDir, '.bin', 'conventional-changelog');
const ccConfigPath = join(opts.scriptsBuildDir, 'utils', 'conventional-changelog-config.js');
const ccConfigPath = join(__dirname, 'conventional-changelog-config.js');
const { execa } = await import('execa');
// API Docs for conventional-changelog: https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-core#api
await execa(
Expand Down

0 comments on commit 0291f52

Please sign in to comment.