@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/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/index.js
CHANGED
|
@@ -437550,7 +437550,13 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
437550
437550
|
);
|
|
437551
437551
|
const tsConfigFile = ts.readConfigFile(tsConfigPath, ts.sys.readFile);
|
|
437552
437552
|
const tsConfig = ts.parseJsonConfigFileContent(
|
|
437553
|
-
|
|
437553
|
+
{
|
|
437554
|
+
...tsConfigFile.config,
|
|
437555
|
+
include: [
|
|
437556
|
+
...tsConfigFile.config?.include && Array.isArray(tsConfigFile.config.include) ? tsConfigFile.config.include : [],
|
|
437557
|
+
(0, import_node_path14.join)(import_devkit7.workspaceRoot, "node_modules/typescript/lib/*.d.ts")
|
|
437558
|
+
]
|
|
437559
|
+
},
|
|
437554
437560
|
ts.sys,
|
|
437555
437561
|
(0, import_node_path14.dirname)(tsConfigPath)
|
|
437556
437562
|
);
|
|
@@ -437657,10 +437663,9 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
437657
437663
|
options,
|
|
437658
437664
|
dependencies,
|
|
437659
437665
|
config
|
|
437660
|
-
)
|
|
437661
|
-
include: [(0, import_node_path14.join)(import_devkit7.workspaceRoot, "node_modules/typescript/lib/*.d.ts")]
|
|
437666
|
+
)
|
|
437662
437667
|
},
|
|
437663
|
-
verbosity:
|
|
437668
|
+
verbosity: convertRpts2LogLevel(config?.logLevel ?? "warn")
|
|
437664
437669
|
}),
|
|
437665
437670
|
(0, import_type_definitions.typeDefinitions)({
|
|
437666
437671
|
projectRoot
|
|
@@ -437679,9 +437684,7 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
437679
437684
|
getBabelInputPlugin({
|
|
437680
437685
|
// Lets `@nx/js/babel` preset know that we are packaging.
|
|
437681
437686
|
caller: {
|
|
437682
|
-
// Ignoring type checks for caller since we have custom attributes
|
|
437683
437687
|
isNxPackage: true,
|
|
437684
|
-
// Always target esnext and let rollup handle cjs
|
|
437685
437688
|
supportsStaticESM: true,
|
|
437686
437689
|
isModern: true
|
|
437687
437690
|
},
|
|
@@ -437709,6 +437712,20 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
437709
437712
|
}
|
|
437710
437713
|
return finalConfig;
|
|
437711
437714
|
}
|
|
437715
|
+
function convertRpts2LogLevel(logLevel) {
|
|
437716
|
+
switch (logLevel) {
|
|
437717
|
+
case "warn":
|
|
437718
|
+
return 1;
|
|
437719
|
+
case "info":
|
|
437720
|
+
return 2;
|
|
437721
|
+
case "debug":
|
|
437722
|
+
case "trace":
|
|
437723
|
+
case "all":
|
|
437724
|
+
return 3;
|
|
437725
|
+
default:
|
|
437726
|
+
return 0;
|
|
437727
|
+
}
|
|
437728
|
+
}
|
|
437712
437729
|
function createInput(options) {
|
|
437713
437730
|
if (global.NX_GRAPH_CREATION) return {};
|
|
437714
437731
|
const mainEntryFileName = options.outputFileName || options.main;
|