@storm-software/workspace-tools 1.180.7 → 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 +7 -0
- package/README.md +1 -1
- package/index.js +23 -6
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/rollup/executor.js +23 -6
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
|
);
|
|
@@ -409671,10 +409677,9 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
409671
409677
|
options,
|
|
409672
409678
|
dependencies,
|
|
409673
409679
|
config
|
|
409674
|
-
)
|
|
409675
|
-
include: [(0, import_node_path13.join)(import_devkit2.workspaceRoot, "node_modules/typescript/lib/*.d.ts")]
|
|
409680
|
+
)
|
|
409676
409681
|
},
|
|
409677
|
-
verbosity:
|
|
409682
|
+
verbosity: convertRpts2LogLevel(config?.logLevel ?? "warn")
|
|
409678
409683
|
}),
|
|
409679
409684
|
(0, import_type_definitions.typeDefinitions)({
|
|
409680
409685
|
projectRoot
|
|
@@ -409693,9 +409698,7 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
409693
409698
|
getBabelInputPlugin({
|
|
409694
409699
|
// Lets `@nx/js/babel` preset know that we are packaging.
|
|
409695
409700
|
caller: {
|
|
409696
|
-
// Ignoring type checks for caller since we have custom attributes
|
|
409697
409701
|
isNxPackage: true,
|
|
409698
|
-
// Always target esnext and let rollup handle cjs
|
|
409699
409702
|
supportsStaticESM: true,
|
|
409700
409703
|
isModern: true
|
|
409701
409704
|
},
|
|
@@ -409723,6 +409726,20 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
409723
409726
|
}
|
|
409724
409727
|
return finalConfig;
|
|
409725
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
|
+
}
|
|
409726
409743
|
function createInput(options) {
|
|
409727
409744
|
if (global.NX_GRAPH_CREATION) return {};
|
|
409728
409745
|
const mainEntryFileName = options.outputFileName || options.main;
|