Skip to content

Commit d226d76

Browse files
authored
fix: revert to cjs (#383)
* try esm * fix: try esm * fix: try esm * fix: try esm * fix: try splitting false * fix: downgrade chalk for now * fix
1 parent 231d0b0 commit d226d76

File tree

5 files changed

+6
-2
lines changed

5 files changed

+6
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- alpha
78

89
jobs:
910
publish:

.releaserc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ plugins:
1717
- "@semantic-release/release-notes-generator"
1818
branches:
1919
- main
20+
- name: alpha
21+
prerelease: true

bun.lockb

-1.32 KB
Binary file not shown.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@babel/types": "7.24.7",
2525
"@babel/generator": "7.24.7",
2626
"@types/babel__generator": "7.6.8",
27-
"chalk": "5.3.0",
27+
"chalk": "4.1.2",
2828
"commander": "12.1.0",
2929
"glob": "10.4.2",
3030
"prettier": "3.3.2"
@@ -52,7 +52,7 @@
5252
"vite": "5.3.1"
5353
},
5454
"scripts": {
55-
"build": "tsup src/index.ts src/cli.ts --clean --dts",
55+
"build": "tsup src/index.ts src/cli.ts --clean --dts --format cjs",
5656
"cypress:open": "cypress open",
5757
"cypress:component": "cypress run --component",
5858
"cypress:e2e": "cypress run",

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"allowSyntheticDefaultImports": true,
34
"module": "esnext",
45
"moduleResolution": "node",
56
"lib": ["ESNext", "DOM"],

0 commit comments

Comments
 (0)