Skip to content

Commit 50ec7e8

Browse files
authored
Merge pull request #12 from qualcomm/bugfix/bundle-changesets
bugfix/bundle-changesets
2 parents 9a8c3c6 + 7f4fe78 commit 50ec7e8

7 files changed

Lines changed: 23 additions & 12 deletions

File tree

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
33
"changelog": [
44
"../packages/changesets-cli/dist/changelog-formatter.cjs",
5-
{ "repo": "qualcomm/qualcomm-ui-utils" }
5+
{ "repo": "https://github.com/qualcomm/qualcomm-ui-utils" }
66
],
77
"commit": false,
88
"fixed": [],

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"test": "turbo run test",
1313
"lint": "turbo run lint --continue",
1414
"lint:ci": "turbo run lint --concurrency 6",
15-
"check-updates": "pnpm npm-check-updates"
15+
"check-updates": "pnpm npm-check-updates",
16+
"bump": "pnpm qui-changesets prep-release --include-commit-links"
1617
},
1718
"devDependencies": {
1819
"@actions/core": "^1.11.1",

packages/changesets-cli/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @qualcomm-ui/changesets-cli Changelog
22

3+
## 1.0.1
4+
5+
Apr 6th, 2026
6+
7+
### Bug Fixes
8+
9+
- [cli]: bundle changesets to fix cjs error ([6ef6fc8](https://github.com/qualcomm/qualcomm-ui-utils/commit/6ef6fc8))
10+
311
## 1.0.0
412

513
Apr 6th, 2026

packages/changesets-cli/build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ async function main(argv: string[]) {
2020
loader: {
2121
".node": "copy",
2222
},
23+
metafile: true,
2324
outdir: "./dist",
2425
outExtension: {".js": ".cjs"},
2526
platform: "node",

packages/changesets-cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qualcomm-ui/changesets-cli",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Changeset automation CLI for conventional commits",
55
"author": "Ryan Bower",
66
"license": "BSD-3-Clause-Clear",
@@ -32,13 +32,13 @@
3232
},
3333
"dependencies": {
3434
"@actions/core": "^1.11.1",
35-
"@changesets/read": "^0.6.6",
36-
"@changesets/write": "^0.4.0",
3735
"@manypkg/get-packages": "^3.1.0",
3836
"@octokit/rest": "^22.0.1"
3937
},
4038
"devDependencies": {
39+
"@changesets/read": "^0.6.6",
4140
"@changesets/types": "^6.1.0",
41+
"@changesets/write": "^0.4.0",
4242
"@commander-js/extra-typings": "^14.0.0",
4343
"@qualcomm-ui/cli": "workspace:*",
4444
"@qualcomm-ui/esbuild": "workspace:*",

packages/changesets-cli/src/cli.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ async function run(options: {
8787

8888
try {
8989
await step.run()
90-
} catch {
90+
} catch (e) {
9191
console.error(`\nStep "${step.name}" failed. Aborting prep-release.`)
92+
console.error(e)
9293
process.exit(1)
9394
}
9495

pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)