@valbuild/cli 0.78.3 → 0.79.0

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.
@@ -85,7 +85,7 @@ async function evalValConfigFile(projectRoot, configFileName) {
85
85
  },
86
86
  fileName: valConfigPath
87
87
  });
88
- const projectRootRequire = node_module.createRequire(projectRoot);
88
+ const projectRootRequire = node_module.createRequire(valConfigPath);
89
89
  const exportsObj = {};
90
90
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
91
91
  const sandbox = {
@@ -85,7 +85,7 @@ async function evalValConfigFile(projectRoot, configFileName) {
85
85
  },
86
86
  fileName: valConfigPath
87
87
  });
88
- const projectRootRequire = node_module.createRequire(projectRoot);
88
+ const projectRootRequire = node_module.createRequire(valConfigPath);
89
89
  const exportsObj = {};
90
90
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
91
91
  const sandbox = {
@@ -53,7 +53,7 @@ async function evalValConfigFile(projectRoot, configFileName) {
53
53
  },
54
54
  fileName: valConfigPath
55
55
  });
56
- const projectRootRequire = createRequire(projectRoot);
56
+ const projectRootRequire = createRequire(valConfigPath);
57
57
  const exportsObj = {};
58
58
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
59
59
  const sandbox = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@valbuild/cli",
3
3
  "private": false,
4
- "version": "0.78.3",
4
+ "version": "0.79.0",
5
5
  "description": "Val CLI tools",
6
6
  "bin": {
7
7
  "val": "./bin.js"
@@ -18,9 +18,9 @@
18
18
  "typecheck": "tsc --noEmit"
19
19
  },
20
20
  "dependencies": {
21
- "@valbuild/core": "~0.78.3",
22
- "@valbuild/server": "~0.78.3",
23
- "@valbuild/eslint-plugin": "~0.78.3",
21
+ "@valbuild/core": "~0.79.0",
22
+ "@valbuild/server": "~0.79.0",
23
+ "@valbuild/eslint-plugin": "~0.79.0",
24
24
  "eslint": "^8.31.0",
25
25
  "@inquirer/confirm": "^2.0.15",
26
26
  "@inquirer/prompts": "^3.0.2",
@@ -57,7 +57,7 @@ export async function evalValConfigFile(
57
57
  fileName: valConfigPath,
58
58
  });
59
59
 
60
- const projectRootRequire = createRequire(projectRoot);
60
+ const projectRootRequire = createRequire(valConfigPath);
61
61
  const exportsObj = {};
62
62
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
63
63
  const sandbox: Record<string, any> = {