@codexsploitx/schemaapi 1.1.11 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +4 -1
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -7115,9 +7115,12 @@ function loadContractsModule(contractsDir) {
|
|
|
7115
7115
|
// Register ts-node with specific options to handle imports correctly
|
|
7116
7116
|
require('ts-node').register({
|
|
7117
7117
|
transpileOnly: true,
|
|
7118
|
+
skipProject: true, // Ignore tsconfig.json in the project
|
|
7118
7119
|
compilerOptions: {
|
|
7119
7120
|
module: 'commonjs',
|
|
7120
|
-
|
|
7121
|
+
moduleResolution: 'node',
|
|
7122
|
+
esModuleInterop: true,
|
|
7123
|
+
target: 'es2020'
|
|
7121
7124
|
}
|
|
7122
7125
|
});
|
|
7123
7126
|
}
|