Skip to content

Commit 59c4178

Browse files
chore(release): fix release process after recent updates (#5797)
* Revert "chore(deps): update dependency conventional-changelog-cli to v5 (#5745)" This reverts commit 13f04e7. * fix conventional build script generation * Revert "Revert "chore(deps): update dependency conventional-changelog-cli to v5 (#5745)"" This reverts commit 0f99858. * fix pkg commands
1 parent 13f04e7 commit 59c4178

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Diff for: package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"testing/"
2424
],
2525
"scripts": {
26-
"build": "npm run clean && npm run tsc.prod && npm run ts scripts/index.ts --prod --ci",
26+
"build": "npm run clean && npm run tsc.prod && npm run ts scripts/index.ts -- --prod --ci",
2727
"build.watch": "npm run build -- --watch",
2828
"build.updateSelectorEngine": "npm run ts scripts/updateSelectorEngine.ts",
2929
"clean": "rm -rf build/ cli/ compiler/ dev-server/ internal/ mock-doc/ sys/ testing/ && npm run clean:scripts && npm run clean.screenshots",
@@ -34,15 +34,15 @@
3434
"prettier": "npm run prettier.base -- --write",
3535
"prettier.base": "prettier --cache \"./({bin,scripts,src,test}/**/*.{ts,tsx,js,jsx})|bin/stencil|.github/(**/)?*.(yml|yaml)|*.js\"",
3636
"prettier.dry-run": "npm run prettier.base -- --list-different",
37-
"release.ci.prepare": "npm run ts scripts/index.ts --release --ci-prepare",
38-
"release.ci": "NODE_OPTIONS=--max-old-space-size=4096 npm run ts scripts/index.ts --release --ci-publish",
37+
"release.ci.prepare": "npm run ts scripts/index.ts -- --release --ci-prepare",
38+
"release.ci": "NODE_OPTIONS=--max-old-space-size=4096 npm run ts scripts/index.ts -- --release --ci-publish",
3939
"spellcheck": "npm run spellcheck.code && npm run spellcheck.markdown",
4040
"spellcheck.code": "cspell --config cspell-code.json --no-progress \"src/**/*.ts\" \"src/**/*.tsx\" \"scripts/**/*.ts\"",
4141
"spellcheck.markdown": "cspell --config cspell-markdown.json --no-progress \"*.md\" \"**/*.md\"",
4242
"test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --coverage",
4343
"test.analysis": "cd test && npm run analysis.build-and-analyze",
4444
"test.bundlers": "cd test && npm run bundlers",
45-
"test.dist": "npm run ts scripts/index.ts --validate-build",
45+
"test.dist": "npm run ts scripts/index.ts -- --validate-build",
4646
"test.end-to-end": "cd test/end-to-end && npm ci && npm test && npm run test.dist",
4747
"test.jest": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js",
4848
"test.wdio": "cd test/wdio && npm ci && npm run test",

Diff for: scripts/utils/release-utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export function prettyVersionDiff(oldVersion: string, inc: any): string {
9898
*/
9999
export async function updateChangeLog(opts: BuildOptions): Promise<void> {
100100
const ccPath = join(opts.nodeModulesDir, '.bin', 'conventional-changelog');
101-
const ccConfigPath = join(opts.scriptsBuildDir, 'utils', 'conventional-changelog-config.js');
101+
const ccConfigPath = join(__dirname, 'conventional-changelog-config.js');
102102
const { execa } = await import('execa');
103103
// API Docs for conventional-changelog: https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-core#api
104104
await execa(

0 commit comments

Comments
 (0)