Skip to content

Commit 87b74d1

Browse files
committed
feat: add .js extensions to built types to make them compatible with codebases running with Node16 or NodeNext module resolution
1 parent b4cebaa commit 87b74d1

38 files changed

+303
-314
lines changed

package.json

+13-12
Original file line numberDiff line numberDiff line change
@@ -56,25 +56,25 @@
5656
"@types/node": "^18.11.18",
5757
"@types/prettier": "^2.7.2",
5858
"@types/semver": "^7.3.13",
59-
"@typescript-eslint/eslint-plugin": "^5.48.1",
60-
"@typescript-eslint/parser": "^5.48.1",
59+
"@typescript-eslint/eslint-plugin": "^5.48.2",
60+
"@typescript-eslint/parser": "^5.48.2",
6161
"eslint-plugin-deprecation": "1.3.3",
62-
"@wessberg/ts-config": "^2.0.4",
62+
"@wessberg/ts-config": "^3.1.0",
6363
"@wessberg/prettier-config": "^1.0.0",
64-
"rollup-plugin-ts": "^3.1.1",
64+
"rollup-plugin-ts": "^3.2.0",
6565
"semver": "^7.3.8",
6666
"ava": "3.15.0",
67-
"eslint": "^8.31.0",
67+
"eslint": "^8.32.0",
6868
"eslint-config-prettier": "^8.6.0",
69-
"eslint-plugin-import": "^2.26.0",
70-
"eslint-plugin-jsdoc": "^39.6.4",
69+
"eslint-plugin-import": "^2.27.5",
70+
"eslint-plugin-jsdoc": "^39.6.7",
7171
"husky": "^8.0.3",
7272
"np": "^7.6.3",
73-
"pnpm": "^7.23.0",
74-
"prettier": "^2.8.2",
73+
"pnpm": "^7.25.1",
74+
"prettier": "^2.8.3",
7575
"pretty-quick": "^3.1.3",
76-
"rimraf": "^3.0.2",
77-
"rollup": "^3.9.1",
76+
"rimraf": "^4.1.1",
77+
"rollup": "^3.10.1",
7878
"sandhog": "^2.0.2",
7979
"standard-changelog": "^2.0.27",
8080
"ts-node": "^10.9.1",
@@ -125,7 +125,8 @@
125125
},
126126
".": {
127127
"import": "./dist/esm/index.js",
128-
"require": "./dist/cjs/index.cjs"
128+
"require": "./dist/cjs/index.cjs",
129+
"types": "./dist/esm/index.d.ts"
129130
}
130131
},
131132
"type": "module",

0 commit comments

Comments
 (0)