File tree 2 files changed +5
-2
lines changed 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 51
51
"type" : " module" ,
52
52
"exports" : " ./dist/index.js" ,
53
53
"types" : " ./dist/index.d.ts" ,
54
+ "imports" : {
55
+ "#package.json" : " ./package.json"
56
+ },
54
57
"scripts" : {
55
58
"build" : " tsc -p tsconfig.build.json" ,
56
59
"build:dts" : " tsc -p tsconfig.build.json --declaration --emitDeclarationOnly --removeComments false" ,
85
88
"ts" : " module"
86
89
},
87
90
"nodeArguments" : [
88
- " --import=@septh/ts-run/register "
91
+ " --import=@septh/ts-run"
89
92
]
90
93
}
91
94
}
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ interface PackageJson {
92
92
}
93
93
94
94
// 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
96
96
97
97
// Files that mark the root of a monorepo
98
98
const workspaceRootFiles = new Set ( [
You can’t perform that action at this time.
0 commit comments