Skip to content

Commit

Permalink
feat: add .js extensions to built types to make them compatible with …
Browse files Browse the repository at this point in the history
…codebases running with Node16 or NodeNext module resolution
  • Loading branch information
wessberg committed Jan 23, 2023
1 parent b4cebaa commit 87b74d1
Show file tree
Hide file tree
Showing 38 changed files with 303 additions and 314 deletions.
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,25 +56,25 @@
"@types/node": "^18.11.18",
"@types/prettier": "^2.7.2",
"@types/semver": "^7.3.13",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"eslint-plugin-deprecation": "1.3.3",
"@wessberg/ts-config": "^2.0.4",
"@wessberg/ts-config": "^3.1.0",
"@wessberg/prettier-config": "^1.0.0",
"rollup-plugin-ts": "^3.1.1",
"rollup-plugin-ts": "^3.2.0",
"semver": "^7.3.8",
"ava": "3.15.0",
"eslint": "^8.31.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.6.4",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^39.6.7",
"husky": "^8.0.3",
"np": "^7.6.3",
"pnpm": "^7.23.0",
"prettier": "^2.8.2",
"pnpm": "^7.25.1",
"prettier": "^2.8.3",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"rollup": "^3.9.1",
"rimraf": "^4.1.1",
"rollup": "^3.10.1",
"sandhog": "^2.0.2",
"standard-changelog": "^2.0.27",
"ts-node": "^10.9.1",
Expand Down Expand Up @@ -125,7 +125,8 @@
},
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs"
"require": "./dist/cjs/index.cjs",
"types": "./dist/esm/index.d.ts"
}
},
"type": "module",
Expand Down
Loading

0 comments on commit 87b74d1

Please sign in to comment.