Skip to content

Commit

Permalink
bring back main/types for ancient outdated node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Sep 26, 2023
1 parent 13a4ef0 commit 7d7b115
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

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

19 changes: 11 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@
"type": "git",
"url": "git://github.com/isaacs/node-glob.git"
},
"type": "module",
"main": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"tshy": {
"main": "esm",
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
}
},
"exports": {
"./package.json": "./package.json",
".": {
Expand Down Expand Up @@ -70,7 +80,7 @@
"rimraf": "^5.0.1",
"sync-content": "^1.0.2",
"tap": "^18.1.4",
"tshy": "^1.1.1",
"tshy": "^1.2.1",
"typedoc": "^0.25.1",
"typescript": "^5.2.2"
},
Expand All @@ -83,12 +93,5 @@
},
"engines": {
"node": ">=16 || 14 >=14.17"
},
"type": "module",
"tshy": {
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
}
}
}

0 comments on commit 7d7b115

Please sign in to comment.