File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 5151 "type" : " module" ,
5252 "exports" : " ./dist/index.js" ,
5353 "types" : " ./dist/index.d.ts" ,
54+ "imports" : {
55+ "#package.json" : " ./package.json"
56+ },
5457 "scripts" : {
5558 "build" : " tsc -p tsconfig.build.json" ,
5659 "build:dts" : " tsc -p tsconfig.build.json --declaration --emitDeclarationOnly --removeComments false" ,
8588 "ts" : " module"
8689 },
8790 "nodeArguments" : [
88- " --import=@septh/ts-run/register "
91+ " --import=@septh/ts-run"
8992 ]
9093 }
9194}
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ interface PackageJson {
9292}
9393
9494// Get our own name and version
95- const { name, version } = createRequire ( import . meta. url ) ( '../ package.json' ) as PackageJson
95+ const { name, version } = createRequire ( import . meta. url ) ( '# package.json' ) as PackageJson
9696
9797// Files that mark the root of a monorepo
9898const workspaceRootFiles = new Set ( [
You can’t perform that action at this time.
0 commit comments