@storm-software/workspace-tools 1.63.1 → 1.63.2
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/CHANGELOG.md +12 -0
- package/index.js +5 -3
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +4 -2
- package/src/executors/tsup/executor.js +2 -1
- package/src/executors/tsup-browser/executor.js +2 -1
- package/src/executors/tsup-neutral/executor.js +2 -1
- package/src/executors/tsup-node/executor.js +2 -1
- package/src/executors/typia/executor.js +1 -0
- package/src/generators/browser-library/generator.js +3 -2
- package/src/generators/config-schema/generator.js +3 -2
- package/src/generators/neutral-library/generator.js +3 -2
- package/src/generators/node-library/generator.js +3 -2
- package/src/generators/preset/generator.js +3 -2
- package/src/generators/release-version/generator.js +3 -2
- package/src/utils/index.js +1 -1
package/package.json
CHANGED
package/src/base/index.js
CHANGED
|
@@ -391354,6 +391354,7 @@ var withRunExecutor = (name, executorFn, executorOptions) => async (_options, co
|
|
|
391354
391354
|
const projectRoot = context.projectsConfigurations.projects[context.projectName]?.root ?? workspaceRoot;
|
|
391355
391355
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName]?.sourceRoot ?? workspaceRoot;
|
|
391356
391356
|
const projectName = context.projectsConfigurations.projects[context.projectName]?.name ?? context.projectName;
|
|
391357
|
+
process.chdir(workspaceRoot);
|
|
391357
391358
|
if (!executorOptions.skipReadingConfig) {
|
|
391358
391359
|
writeDebug(
|
|
391359
391360
|
config,
|
|
@@ -391457,7 +391458,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
391457
391458
|
writeInfo,
|
|
391458
391459
|
writeSuccess,
|
|
391459
391460
|
writeTrace,
|
|
391460
|
-
|
|
391461
|
+
findWorkspaceRoot,
|
|
391461
391462
|
loadStormConfig
|
|
391462
391463
|
} = await import("@storm-software/config-tools");
|
|
391463
391464
|
const stopwatch = getStopwatch(name);
|
|
@@ -391467,7 +391468,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
391467
391468
|
writeInfo(config, `\u26A1 Running the ${name} generator...
|
|
391468
391469
|
|
|
391469
391470
|
`);
|
|
391470
|
-
const workspaceRoot =
|
|
391471
|
+
const workspaceRoot = findWorkspaceRoot();
|
|
391471
391472
|
if (!generatorOptions.skipReadingConfig) {
|
|
391472
391473
|
writeDebug(
|
|
391473
391474
|
config,
|
|
@@ -391481,6 +391482,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
391481
391482
|
${Object.keys(process.env).map((key2) => ` - ${key2}=${JSON.stringify(process.env[key2])}`).join("\n")}`
|
|
391482
391483
|
);
|
|
391483
391484
|
}
|
|
391485
|
+
process.chdir(workspaceRoot);
|
|
391484
391486
|
if (generatorOptions?.hooks?.applyDefaultOptions) {
|
|
391485
391487
|
writeDebug(config, "Running the applyDefaultOptions hook...");
|
|
391486
391488
|
options8 = await Promise.resolve(
|
|
@@ -452822,6 +452822,7 @@ var withRunExecutor = (name, executorFn, executorOptions) => async (_options, co
|
|
|
452822
452822
|
const projectRoot = context.projectsConfigurations.projects[context.projectName]?.root ?? workspaceRoot;
|
|
452823
452823
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName]?.sourceRoot ?? workspaceRoot;
|
|
452824
452824
|
const projectName = context.projectsConfigurations.projects[context.projectName]?.name ?? context.projectName;
|
|
452825
|
+
process.chdir(workspaceRoot);
|
|
452825
452826
|
if (!executorOptions.skipReadingConfig) {
|
|
452826
452827
|
writeDebug(
|
|
452827
452828
|
config,
|
|
@@ -453290,7 +453291,7 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
453290
453291
|
}
|
|
453291
453292
|
},
|
|
453292
453293
|
import_typescript.sys,
|
|
453293
|
-
correctPaths(
|
|
453294
|
+
correctPaths((0, import_node_path2.dirname)(options8.tsConfig))
|
|
453294
453295
|
);
|
|
453295
453296
|
parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
|
|
453296
453297
|
if (parsedTsconfig.options.paths) {
|
|
@@ -446641,6 +446641,7 @@ var withRunExecutor = (name, executorFn, executorOptions) => async (_options, co
|
|
|
446641
446641
|
const projectRoot = context.projectsConfigurations.projects[context.projectName]?.root ?? workspaceRoot;
|
|
446642
446642
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName]?.sourceRoot ?? workspaceRoot;
|
|
446643
446643
|
const projectName = context.projectsConfigurations.projects[context.projectName]?.name ?? context.projectName;
|
|
446644
|
+
process.chdir(workspaceRoot);
|
|
446644
446645
|
if (!executorOptions.skipReadingConfig) {
|
|
446645
446646
|
writeDebug(
|
|
446646
446647
|
config,
|
|
@@ -447095,7 +447096,7 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
447095
447096
|
}
|
|
447096
447097
|
},
|
|
447097
447098
|
import_typescript.sys,
|
|
447098
|
-
correctPaths(
|
|
447099
|
+
correctPaths((0, import_node_path2.dirname)(options8.tsConfig))
|
|
447099
447100
|
);
|
|
447100
447101
|
parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
|
|
447101
447102
|
if (parsedTsconfig.options.paths) {
|
|
@@ -446641,6 +446641,7 @@ var withRunExecutor = (name, executorFn, executorOptions) => async (_options, co
|
|
|
446641
446641
|
const projectRoot = context.projectsConfigurations.projects[context.projectName]?.root ?? workspaceRoot;
|
|
446642
446642
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName]?.sourceRoot ?? workspaceRoot;
|
|
446643
446643
|
const projectName = context.projectsConfigurations.projects[context.projectName]?.name ?? context.projectName;
|
|
446644
|
+
process.chdir(workspaceRoot);
|
|
446644
446645
|
if (!executorOptions.skipReadingConfig) {
|
|
446645
446646
|
writeDebug(
|
|
446646
446647
|
config,
|
|
@@ -447095,7 +447096,7 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
447095
447096
|
}
|
|
447096
447097
|
},
|
|
447097
447098
|
import_typescript.sys,
|
|
447098
|
-
correctPaths(
|
|
447099
|
+
correctPaths((0, import_node_path2.dirname)(options8.tsConfig))
|
|
447099
447100
|
);
|
|
447100
447101
|
parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
|
|
447101
447102
|
if (parsedTsconfig.options.paths) {
|
|
@@ -446641,6 +446641,7 @@ var withRunExecutor = (name, executorFn, executorOptions) => async (_options, co
|
|
|
446641
446641
|
const projectRoot = context.projectsConfigurations.projects[context.projectName]?.root ?? workspaceRoot;
|
|
446642
446642
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName]?.sourceRoot ?? workspaceRoot;
|
|
446643
446643
|
const projectName = context.projectsConfigurations.projects[context.projectName]?.name ?? context.projectName;
|
|
446644
|
+
process.chdir(workspaceRoot);
|
|
446644
446645
|
if (!executorOptions.skipReadingConfig) {
|
|
446645
446646
|
writeDebug(
|
|
446646
446647
|
config,
|
|
@@ -447095,7 +447096,7 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
447095
447096
|
}
|
|
447096
447097
|
},
|
|
447097
447098
|
import_typescript.sys,
|
|
447098
|
-
correctPaths(
|
|
447099
|
+
correctPaths((0, import_node_path2.dirname)(options8.tsConfig))
|
|
447099
447100
|
);
|
|
447100
447101
|
parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
|
|
447101
447102
|
if (parsedTsconfig.options.paths) {
|
|
@@ -227875,6 +227875,7 @@ var withRunExecutor = (name, executorFn, executorOptions) => async (_options, co
|
|
|
227875
227875
|
const projectRoot = context.projectsConfigurations.projects[context.projectName]?.root ?? workspaceRoot;
|
|
227876
227876
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName]?.sourceRoot ?? workspaceRoot;
|
|
227877
227877
|
const projectName = context.projectsConfigurations.projects[context.projectName]?.name ?? context.projectName;
|
|
227878
|
+
process.chdir(workspaceRoot);
|
|
227878
227879
|
if (!executorOptions.skipReadingConfig) {
|
|
227879
227880
|
writeDebug(
|
|
227880
227881
|
config,
|
|
@@ -391280,7 +391280,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
391280
391280
|
writeInfo,
|
|
391281
391281
|
writeSuccess,
|
|
391282
391282
|
writeTrace,
|
|
391283
|
-
|
|
391283
|
+
findWorkspaceRoot,
|
|
391284
391284
|
loadStormConfig
|
|
391285
391285
|
} = await import("@storm-software/config-tools");
|
|
391286
391286
|
const stopwatch = getStopwatch(name);
|
|
@@ -391290,7 +391290,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
391290
391290
|
writeInfo(config, `\u26A1 Running the ${name} generator...
|
|
391291
391291
|
|
|
391292
391292
|
`);
|
|
391293
|
-
const workspaceRoot =
|
|
391293
|
+
const workspaceRoot = findWorkspaceRoot();
|
|
391294
391294
|
if (!generatorOptions.skipReadingConfig) {
|
|
391295
391295
|
writeDebug(
|
|
391296
391296
|
config,
|
|
@@ -391304,6 +391304,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
391304
391304
|
${Object.keys(process.env).map((key2) => ` - ${key2}=${JSON.stringify(process.env[key2])}`).join("\n")}`
|
|
391305
391305
|
);
|
|
391306
391306
|
}
|
|
391307
|
+
process.chdir(workspaceRoot);
|
|
391307
391308
|
if (generatorOptions?.hooks?.applyDefaultOptions) {
|
|
391308
391309
|
writeDebug(config, "Running the applyDefaultOptions hook...");
|
|
391309
391310
|
options8 = await Promise.resolve(
|
|
@@ -176604,7 +176604,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
176604
176604
|
writeInfo,
|
|
176605
176605
|
writeSuccess,
|
|
176606
176606
|
writeTrace,
|
|
176607
|
-
|
|
176607
|
+
findWorkspaceRoot,
|
|
176608
176608
|
loadStormConfig
|
|
176609
176609
|
} = await import("@storm-software/config-tools");
|
|
176610
176610
|
const stopwatch = getStopwatch(name);
|
|
@@ -176614,7 +176614,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
176614
176614
|
writeInfo(config, `\u26A1 Running the ${name} generator...
|
|
176615
176615
|
|
|
176616
176616
|
`);
|
|
176617
|
-
const workspaceRoot =
|
|
176617
|
+
const workspaceRoot = findWorkspaceRoot();
|
|
176618
176618
|
if (!generatorOptions.skipReadingConfig) {
|
|
176619
176619
|
writeDebug(
|
|
176620
176620
|
config,
|
|
@@ -176628,6 +176628,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
176628
176628
|
${Object.keys(process.env).map((key2) => ` - ${key2}=${JSON.stringify(process.env[key2])}`).join("\n")}`
|
|
176629
176629
|
);
|
|
176630
176630
|
}
|
|
176631
|
+
process.chdir(workspaceRoot);
|
|
176631
176632
|
if (generatorOptions?.hooks?.applyDefaultOptions) {
|
|
176632
176633
|
writeDebug(config, "Running the applyDefaultOptions hook...");
|
|
176633
176634
|
options8 = await Promise.resolve(
|
|
@@ -391280,7 +391280,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
391280
391280
|
writeInfo,
|
|
391281
391281
|
writeSuccess,
|
|
391282
391282
|
writeTrace,
|
|
391283
|
-
|
|
391283
|
+
findWorkspaceRoot,
|
|
391284
391284
|
loadStormConfig
|
|
391285
391285
|
} = await import("@storm-software/config-tools");
|
|
391286
391286
|
const stopwatch = getStopwatch(name);
|
|
@@ -391290,7 +391290,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
391290
391290
|
writeInfo(config, `\u26A1 Running the ${name} generator...
|
|
391291
391291
|
|
|
391292
391292
|
`);
|
|
391293
|
-
const workspaceRoot =
|
|
391293
|
+
const workspaceRoot = findWorkspaceRoot();
|
|
391294
391294
|
if (!generatorOptions.skipReadingConfig) {
|
|
391295
391295
|
writeDebug(
|
|
391296
391296
|
config,
|
|
@@ -391304,6 +391304,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
391304
391304
|
${Object.keys(process.env).map((key2) => ` - ${key2}=${JSON.stringify(process.env[key2])}`).join("\n")}`
|
|
391305
391305
|
);
|
|
391306
391306
|
}
|
|
391307
|
+
process.chdir(workspaceRoot);
|
|
391307
391308
|
if (generatorOptions?.hooks?.applyDefaultOptions) {
|
|
391308
391309
|
writeDebug(config, "Running the applyDefaultOptions hook...");
|
|
391309
391310
|
options8 = await Promise.resolve(
|
|
@@ -391280,7 +391280,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
391280
391280
|
writeInfo,
|
|
391281
391281
|
writeSuccess,
|
|
391282
391282
|
writeTrace,
|
|
391283
|
-
|
|
391283
|
+
findWorkspaceRoot,
|
|
391284
391284
|
loadStormConfig
|
|
391285
391285
|
} = await import("@storm-software/config-tools");
|
|
391286
391286
|
const stopwatch = getStopwatch(name);
|
|
@@ -391290,7 +391290,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
391290
391290
|
writeInfo(config, `\u26A1 Running the ${name} generator...
|
|
391291
391291
|
|
|
391292
391292
|
`);
|
|
391293
|
-
const workspaceRoot =
|
|
391293
|
+
const workspaceRoot = findWorkspaceRoot();
|
|
391294
391294
|
if (!generatorOptions.skipReadingConfig) {
|
|
391295
391295
|
writeDebug(
|
|
391296
391296
|
config,
|
|
@@ -391304,6 +391304,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
391304
391304
|
${Object.keys(process.env).map((key2) => ` - ${key2}=${JSON.stringify(process.env[key2])}`).join("\n")}`
|
|
391305
391305
|
);
|
|
391306
391306
|
}
|
|
391307
|
+
process.chdir(workspaceRoot);
|
|
391307
391308
|
if (generatorOptions?.hooks?.applyDefaultOptions) {
|
|
391308
391309
|
writeDebug(config, "Running the applyDefaultOptions hook...");
|
|
391309
391310
|
options8 = await Promise.resolve(
|
|
@@ -172018,7 +172018,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
172018
172018
|
writeInfo,
|
|
172019
172019
|
writeSuccess,
|
|
172020
172020
|
writeTrace,
|
|
172021
|
-
|
|
172021
|
+
findWorkspaceRoot,
|
|
172022
172022
|
loadStormConfig
|
|
172023
172023
|
} = await import("@storm-software/config-tools");
|
|
172024
172024
|
const stopwatch = getStopwatch(name);
|
|
@@ -172028,7 +172028,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
172028
172028
|
writeInfo(config, `\u26A1 Running the ${name} generator...
|
|
172029
172029
|
|
|
172030
172030
|
`);
|
|
172031
|
-
const workspaceRoot =
|
|
172031
|
+
const workspaceRoot = findWorkspaceRoot();
|
|
172032
172032
|
if (!generatorOptions.skipReadingConfig) {
|
|
172033
172033
|
writeDebug(
|
|
172034
172034
|
config,
|
|
@@ -172042,6 +172042,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
172042
172042
|
${Object.keys(process.env).map((key2) => ` - ${key2}=${JSON.stringify(process.env[key2])}`).join("\n")}`
|
|
172043
172043
|
);
|
|
172044
172044
|
}
|
|
172045
|
+
process.chdir(workspaceRoot);
|
|
172045
172046
|
if (generatorOptions?.hooks?.applyDefaultOptions) {
|
|
172046
172047
|
writeDebug(config, "Running the applyDefaultOptions hook...");
|
|
172047
172048
|
options8 = await Promise.resolve(
|
|
@@ -174485,7 +174485,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
174485
174485
|
writeInfo,
|
|
174486
174486
|
writeSuccess,
|
|
174487
174487
|
writeTrace,
|
|
174488
|
-
|
|
174488
|
+
findWorkspaceRoot,
|
|
174489
174489
|
loadStormConfig
|
|
174490
174490
|
} = await import("@storm-software/config-tools");
|
|
174491
174491
|
const stopwatch = getStopwatch(name);
|
|
@@ -174495,7 +174495,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
174495
174495
|
writeInfo(config, `\u26A1 Running the ${name} generator...
|
|
174496
174496
|
|
|
174497
174497
|
`);
|
|
174498
|
-
const workspaceRoot =
|
|
174498
|
+
const workspaceRoot = findWorkspaceRoot();
|
|
174499
174499
|
if (!generatorOptions.skipReadingConfig) {
|
|
174500
174500
|
writeDebug(
|
|
174501
174501
|
config,
|
|
@@ -174509,6 +174509,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
174509
174509
|
${Object.keys(process.env).map((key2) => ` - ${key2}=${JSON.stringify(process.env[key2])}`).join("\n")}`
|
|
174510
174510
|
);
|
|
174511
174511
|
}
|
|
174512
|
+
process.chdir(workspaceRoot);
|
|
174512
174513
|
if (generatorOptions?.hooks?.applyDefaultOptions) {
|
|
174513
174514
|
writeDebug(config, "Running the applyDefaultOptions hook...");
|
|
174514
174515
|
options8 = await Promise.resolve(
|
package/src/utils/index.js
CHANGED
|
@@ -457357,7 +457357,7 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
457357
457357
|
}
|
|
457358
457358
|
},
|
|
457359
457359
|
import_typescript.sys,
|
|
457360
|
-
correctPaths(
|
|
457360
|
+
correctPaths((0, import_node_path2.dirname)(options8.tsConfig))
|
|
457361
457361
|
);
|
|
457362
457362
|
parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
|
|
457363
457363
|
if (parsedTsconfig.options.paths) {
|