Skip to content

Commit b31a3af

Browse files
committed
chore: fix ESM support
1 parent fffd3ee commit b31a3af

File tree

18 files changed

+15917
-177
lines changed

18 files changed

+15917
-177
lines changed

package-lock.json

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

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,11 @@
6969
"@types/marked": "^2.0.2",
7070
"@types/node": "^14.14.41",
7171
"@types/underscore": "^1.11.2",
72-
"deploy-web-to-s3": "^1.3.0",
7372
"@typescript-eslint/eslint-plugin": "^4.22.1",
7473
"@typescript-eslint/parser": "^4.22.1",
74+
"deploy-web-to-s3": "^1.3.0",
7575
"eslint": "^7.25.0",
76+
"gen-esm-wrapper": "^1.1.1",
7677
"jest": "^26.6.3",
7778
"lerna": "^4.0.0",
7879
"marked": "^2.0.3",

packages/consts/package-lock.json

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

packages/consts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"homepage": "https://apify.com",
3535
"scripts": {
3636
"build": "npm run clean && npm run compile && npm run copy",
37-
"postbuild": "yarn gen-esm-wrapper dist/index.js dist/index.mjs",
37+
"postbuild": "npx gen-esm-wrapper dist/index.js dist/index.mjs",
3838
"clean": "rimraf ./dist",
3939
"compile": "tsc -p tsconfig.build.json",
4040
"copy": "ts-node -T ../../scripts/copy.ts"

packages/datastructures/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"homepage": "https://apify.com",
3535
"scripts": {
3636
"build": "npm run clean && npm run compile && npm run copy",
37-
"postbuild": "yarn gen-esm-wrapper dist/index.js dist/index.mjs",
37+
"postbuild": "npx gen-esm-wrapper dist/index.js dist/index.mjs",
3838
"clean": "rimraf ./dist",
3939
"compile": "tsc -p tsconfig.build.json",
4040
"copy": "ts-node -T ../../scripts/copy.ts"

packages/git/package-lock.json

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

packages/git/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"homepage": "https://apify.com",
3535
"scripts": {
3636
"build": "npm run clean && npm run compile && npm run copy",
37-
"postbuild": "yarn gen-esm-wrapper dist/index.js dist/index.mjs",
37+
"postbuild": "npx gen-esm-wrapper dist/index.js dist/index.mjs",
3838
"clean": "rimraf ./dist",
3939
"compile": "tsc -p tsconfig.build.json",
4040
"copy": "ts-node -T ../../scripts/copy.ts"

0 commit comments

Comments
 (0)