Skip to content

Commit

Permalink
fix: try with tsc-esm-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasio committed Oct 24, 2023
1 parent 416b1ba commit 1acb5ca
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 22 deletions.
123 changes: 105 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"sideEffects": false,
"scripts": {
"build": "npm run ts && npm run ts:cjs",
"postbuild": "fix-esm-import-path dist/mjs && node ../../scripts/package.js",
"postbuild": "tsc-esm-fix --target dist/mjs && node ../../scripts/package.js",
"ts:cjs": "tsc -b tsconfig-cjs.json",
"ts": "tsc -b",
"dev": "concurrently \"npm run watch:ts:cjs\" \"npm run watch:ts\"",
Expand All @@ -61,7 +61,7 @@
"ts-jest": "^29.0.3",
"typescript": "^5.0.4",
"whatwg-fetch": "^3.6.2",
"fix-esm-import-path": "^1.4.0"
"tsc-esm-fix": "^2.20.17"
},
"dependencies": {
"@justinribeiro/lite-youtube": "^1.3.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"sideEffects": false,
"scripts": {
"build": "npm run ts && npm run ts:cjs",
"postbuild": "fix-esm-import-path dist/mjs && node ../../scripts/package.js",
"postbuild": "tsc-esm-fix && node ../../scripts/package.js",
"ts:cjs": "tsc -b tsconfig-cjs.json",
"ts": "tsc -b",
"dev": "concurrently \"npm run watch:ts:cjs\" \"npm run watch:ts\"",
Expand Down Expand Up @@ -67,7 +67,7 @@
"ts-jest": "^29.0.1",
"typescript": "^5.0.4",
"whatwg-fetch": "^3.6.2",
"fix-esm-import-path": "^1.4.0"
"tsc-esm-fix": "^2.20.17"
},
"peerDependencies": {
"next": ">= 12.0.0",
Expand Down

0 comments on commit 1acb5ca

Please sign in to comment.