feat: defined exports for the package
BREAKING CHANGE: exports prevents access to internal files, but they arent intended for public use anyway
This commit is contained in:
parent
07a79ea7e9
commit
72ab317bb0
@ -77,6 +77,7 @@
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
},
|
||||
"exports": "./index.js",
|
||||
"files": [
|
||||
"bin",
|
||||
"docs",
|
||||
@ -98,7 +99,7 @@
|
||||
"version"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"main": "./index.js",
|
||||
"types": "index.d.ts",
|
||||
"c8": {
|
||||
"include": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user