@storm-software/workspace-tools 1.180.6 → 1.180.8
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 +14 -0
- package/README.md +1 -1
- package/index.js +22 -4
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/rollup/executor.js +22 -4
package/package.json
CHANGED
|
@@ -409564,7 +409564,13 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
409564
409564
|
);
|
|
409565
409565
|
const tsConfigFile = ts.readConfigFile(tsConfigPath, ts.sys.readFile);
|
|
409566
409566
|
const tsConfig = ts.parseJsonConfigFileContent(
|
|
409567
|
-
|
|
409567
|
+
{
|
|
409568
|
+
...tsConfigFile.config,
|
|
409569
|
+
include: [
|
|
409570
|
+
...tsConfigFile.config?.include && Array.isArray(tsConfigFile.config.include) ? tsConfigFile.config.include : [],
|
|
409571
|
+
(0, import_node_path13.join)(import_devkit2.workspaceRoot, "node_modules/typescript/lib/*.d.ts")
|
|
409572
|
+
]
|
|
409573
|
+
},
|
|
409568
409574
|
ts.sys,
|
|
409569
409575
|
(0, import_node_path13.dirname)(tsConfigPath)
|
|
409570
409576
|
);
|
|
@@ -409673,7 +409679,7 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
409673
409679
|
config
|
|
409674
409680
|
)
|
|
409675
409681
|
},
|
|
409676
|
-
verbosity:
|
|
409682
|
+
verbosity: convertRpts2LogLevel(config?.logLevel ?? "warn")
|
|
409677
409683
|
}),
|
|
409678
409684
|
(0, import_type_definitions.typeDefinitions)({
|
|
409679
409685
|
projectRoot
|
|
@@ -409692,9 +409698,7 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
409692
409698
|
getBabelInputPlugin({
|
|
409693
409699
|
// Lets `@nx/js/babel` preset know that we are packaging.
|
|
409694
409700
|
caller: {
|
|
409695
|
-
// Ignoring type checks for caller since we have custom attributes
|
|
409696
409701
|
isNxPackage: true,
|
|
409697
|
-
// Always target esnext and let rollup handle cjs
|
|
409698
409702
|
supportsStaticESM: true,
|
|
409699
409703
|
isModern: true
|
|
409700
409704
|
},
|
|
@@ -409722,6 +409726,20 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
409722
409726
|
}
|
|
409723
409727
|
return finalConfig;
|
|
409724
409728
|
}
|
|
409729
|
+
function convertRpts2LogLevel(logLevel) {
|
|
409730
|
+
switch (logLevel) {
|
|
409731
|
+
case "warn":
|
|
409732
|
+
return 1;
|
|
409733
|
+
case "info":
|
|
409734
|
+
return 2;
|
|
409735
|
+
case "debug":
|
|
409736
|
+
case "trace":
|
|
409737
|
+
case "all":
|
|
409738
|
+
return 3;
|
|
409739
|
+
default:
|
|
409740
|
+
return 0;
|
|
409741
|
+
}
|
|
409742
|
+
}
|
|
409725
409743
|
function createInput(options) {
|
|
409726
409744
|
if (global.NX_GRAPH_CREATION) return {};
|
|
409727
409745
|
const mainEntryFileName = options.outputFileName || options.main;
|