relq 1.0.23 → 1.0.24
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/cjs/cli/index.cjs
CHANGED
|
@@ -120,7 +120,6 @@ function getSchemaPath(config) {
|
|
|
120
120
|
if (!config) {
|
|
121
121
|
return (0, cli_utils_1.fatal)('Configuration is required', 'Schema path must be defined in relq.config.ts');
|
|
122
122
|
}
|
|
123
|
-
console.log(config);
|
|
124
123
|
if (typeof config.schema === 'string' && config.schema.length > 0) {
|
|
125
124
|
return config.schema;
|
|
126
125
|
}
|
|
@@ -51,18 +51,14 @@ async function loadConfig(startPath) {
|
|
|
51
51
|
return {};
|
|
52
52
|
}
|
|
53
53
|
try {
|
|
54
|
-
console.log(result.projectRoot);
|
|
55
|
-
console.log(result.configPath);
|
|
56
54
|
const jiti = (0, jiti_1.createJiti)(result.projectRoot, {
|
|
57
55
|
interopDefault: true,
|
|
58
56
|
});
|
|
59
57
|
const module = (await jiti.import(result.configPath));
|
|
60
58
|
if (module && module?.default) {
|
|
61
|
-
console.log(module);
|
|
62
59
|
return module.default;
|
|
63
60
|
}
|
|
64
61
|
if (module && typeof module === 'object' && Object.keys(module).length > 0) {
|
|
65
|
-
console.log(module);
|
|
66
62
|
return module;
|
|
67
63
|
}
|
|
68
64
|
return {};
|
package/dist/esm/cli/index.js
CHANGED
|
@@ -77,7 +77,6 @@ export function getSchemaPath(config) {
|
|
|
77
77
|
if (!config) {
|
|
78
78
|
return fatal('Configuration is required', 'Schema path must be defined in relq.config.ts');
|
|
79
79
|
}
|
|
80
|
-
console.log(config);
|
|
81
80
|
if (typeof config.schema === 'string' && config.schema.length > 0) {
|
|
82
81
|
return config.schema;
|
|
83
82
|
}
|
|
@@ -44,18 +44,14 @@ export async function loadConfig(startPath) {
|
|
|
44
44
|
return {};
|
|
45
45
|
}
|
|
46
46
|
try {
|
|
47
|
-
console.log(result.projectRoot);
|
|
48
|
-
console.log(result.configPath);
|
|
49
47
|
const jiti = createJiti(result.projectRoot, {
|
|
50
48
|
interopDefault: true,
|
|
51
49
|
});
|
|
52
50
|
const module = (await jiti.import(result.configPath));
|
|
53
51
|
if (module && module?.default) {
|
|
54
|
-
console.log(module);
|
|
55
52
|
return module.default;
|
|
56
53
|
}
|
|
57
54
|
if (module && typeof module === 'object' && Object.keys(module).length > 0) {
|
|
58
|
-
console.log(module);
|
|
59
55
|
return module;
|
|
60
56
|
}
|
|
61
57
|
return {};
|