Skip to content

Commit

Permalink
fix: revert to cjs (#383)
Browse files Browse the repository at this point in the history
* try esm

* fix: try esm

* fix: try esm

* fix: try esm

* fix: try splitting false

* fix: downgrade chalk for now

* fix
  • Loading branch information
danadajian authored Jun 25, 2024
1 parent 231d0b0 commit d226d76
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- alpha

jobs:
publish:
Expand Down
2 changes: 2 additions & 0 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ plugins:
- "@semantic-release/release-notes-generator"
branches:
- main
- name: alpha
prerelease: true
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@babel/types": "7.24.7",
"@babel/generator": "7.24.7",
"@types/babel__generator": "7.6.8",
"chalk": "5.3.0",
"chalk": "4.1.2",
"commander": "12.1.0",
"glob": "10.4.2",
"prettier": "3.3.2"
Expand Down Expand Up @@ -52,7 +52,7 @@
"vite": "5.3.1"
},
"scripts": {
"build": "tsup src/index.ts src/cli.ts --clean --dts",
"build": "tsup src/index.ts src/cli.ts --clean --dts --format cjs",
"cypress:open": "cypress open",
"cypress:component": "cypress run --component",
"cypress:e2e": "cypress run",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"module": "esnext",
"moduleResolution": "node",
"lib": ["ESNext", "DOM"],
Expand Down

0 comments on commit d226d76

Please sign in to comment.