@neon-rs/cli 0.0.46 → 0.0.47

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.
Files changed (2) hide show
  1. package/index.js +7 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -15361,10 +15361,17 @@ function printError(e) {
15361
15361
  console.error(chalk_source.bold.red("error:") + " " + ((e instanceof Error) ? e.message : String(e)));
15362
15362
  }
15363
15363
 
15364
+ // EXTERNAL MODULE: external "node:module"
15365
+ var external_node_module_ = __nccwpck_require__(2033);
15364
15366
  ;// CONCATENATED MODULE: ./src/index.ts
15365
15367
 
15366
15368
 
15367
15369
 
15370
+
15371
+ const absoluteRequire = (0,external_node_module_.createRequire)(import.meta.url);
15372
+ global['require'] = function (spec) {
15373
+ return absoluteRequire(spec);
15374
+ };
15368
15375
  class Cli {
15369
15376
  parse() {
15370
15377
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neon-rs/cli",
3
- "version": "0.0.46",
3
+ "version": "0.0.47",
4
4
  "description": "Command-line build tool for Neon modules.",
5
5
  "type": "module",
6
6
  "exports": "./index.js",