@storm-software/workspace-tools 1.179.5 → 1.179.7
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 +17 -0
- package/README.md +1 -1
- package/index.js +16 -14
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/rollup/executor.js +16 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
## 1.179.7 (2024-09-10)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **workspace-tools:** Resolve paths issue in configuration
|
|
6
|
+
([ad5950ef](https://github.com/storm-software/storm-ops/commit/ad5950ef))
|
|
7
|
+
|
|
8
|
+
## 1.179.6 (2024-09-10)
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
- **eslint-config:** Resolve issue with missing TypeScript configuration
|
|
13
|
+
([3692faa9](https://github.com/storm-software/storm-ops/commit/3692faa9))
|
|
14
|
+
|
|
15
|
+
- **workspace-tools:** Resolve issue with workspace paths
|
|
16
|
+
([1b3305e6](https://github.com/storm-software/storm-ops/commit/1b3305e6))
|
|
17
|
+
|
|
1
18
|
## 1.179.5 (2024-09-10)
|
|
2
19
|
|
|
3
20
|
### Bug Fixes
|
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
|
@@ -437508,10 +437508,10 @@ function analyze() {
|
|
|
437508
437508
|
};
|
|
437509
437509
|
}
|
|
437510
437510
|
async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, config) {
|
|
437511
|
-
const { writeWarning: writeWarning2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
|
|
437511
|
+
const { writeWarning: writeWarning2, correctPaths: correctPaths2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
|
|
437512
437512
|
const finalConfig = { ...rollupConfig };
|
|
437513
437513
|
const projectNode = getProjectNode();
|
|
437514
|
-
const projectRoot = (0, import_node_path14.join)(import_devkit7.workspaceRoot, projectNode.data.root);
|
|
437514
|
+
const projectRoot = correctPaths2((0, import_node_path14.join)(import_devkit7.workspaceRoot, projectNode.data.root));
|
|
437515
437515
|
const projectGraph = global.NX_GRAPH_CREATION ? null : (0, import_devkit7.readCachedProjectGraph)();
|
|
437516
437516
|
if (!projectGraph) {
|
|
437517
437517
|
throw new Error(`Cannot find project graph.`);
|
|
@@ -437546,7 +437546,9 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
437546
437546
|
projectNode.data.sourceRoot,
|
|
437547
437547
|
rawOptions
|
|
437548
437548
|
);
|
|
437549
|
-
const tsConfigPath = (
|
|
437549
|
+
const tsConfigPath = correctPaths2(
|
|
437550
|
+
(0, import_devkit7.joinPathFragments)(import_devkit7.workspaceRoot, options.tsConfig)
|
|
437551
|
+
);
|
|
437550
437552
|
const tsConfigFile = ts.readConfigFile(tsConfigPath, ts.sys.readFile);
|
|
437551
437553
|
const tsConfig = ts.parseJsonConfigFileContent(
|
|
437552
437554
|
tsConfigFile.config,
|
|
@@ -437586,7 +437588,7 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
437586
437588
|
// Options are not normalized with project root during graph creation due to the lack of project and project root.
|
|
437587
437589
|
// Cannot be joined with workspace root now, but will be handled by @nx/rollup/plugin.
|
|
437588
437590
|
options.outputPath
|
|
437589
|
-
) : (0, import_node_path14.join)(import_devkit7.workspaceRoot, options.outputPath),
|
|
437591
|
+
) : correctPaths2((0, import_node_path14.join)(import_devkit7.workspaceRoot, options.outputPath)),
|
|
437590
437592
|
sourcemap: options.sourceMap
|
|
437591
437593
|
}));
|
|
437592
437594
|
}
|
|
@@ -437643,7 +437645,10 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
437643
437645
|
}),
|
|
437644
437646
|
image(),
|
|
437645
437647
|
json(),
|
|
437646
|
-
|
|
437648
|
+
nodeResolve({
|
|
437649
|
+
preferBuiltins: true,
|
|
437650
|
+
extensions: fileExtensions
|
|
437651
|
+
}),
|
|
437647
437652
|
require_rollup_plugin_typescript2_cjs()({
|
|
437648
437653
|
check: !options.skipTypeCheck,
|
|
437649
437654
|
tsconfig: options.tsConfig,
|
|
@@ -437655,8 +437660,7 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
437655
437660
|
config
|
|
437656
437661
|
)
|
|
437657
437662
|
},
|
|
437658
|
-
verbosity: 3
|
|
437659
|
-
useTsconfigDeclarationDir: true
|
|
437663
|
+
verbosity: 3
|
|
437660
437664
|
}),
|
|
437661
437665
|
(0, import_type_definitions.typeDefinitions)({
|
|
437662
437666
|
projectRoot
|
|
@@ -437672,10 +437676,6 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
437672
437676
|
// }
|
|
437673
437677
|
// }
|
|
437674
437678
|
// }),
|
|
437675
|
-
nodeResolve({
|
|
437676
|
-
preferBuiltins: true,
|
|
437677
|
-
extensions: fileExtensions
|
|
437678
|
-
}),
|
|
437679
437679
|
getBabelInputPlugin({
|
|
437680
437680
|
// Lets `@nx/js/babel` preset know that we are packaging.
|
|
437681
437681
|
caller: {
|
|
@@ -437685,9 +437685,11 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
437685
437685
|
supportsStaticESM: true,
|
|
437686
437686
|
isModern: true
|
|
437687
437687
|
},
|
|
437688
|
-
cwd: (
|
|
437689
|
-
|
|
437690
|
-
|
|
437688
|
+
cwd: correctPaths2(
|
|
437689
|
+
(0, import_node_path14.join)(
|
|
437690
|
+
import_devkit7.workspaceRoot,
|
|
437691
|
+
projectNode.data.sourceRoot ?? projectNode.data.root
|
|
437692
|
+
)
|
|
437691
437693
|
),
|
|
437692
437694
|
rootMode: options.babelUpwardRootMode ? "upward" : void 0,
|
|
437693
437695
|
babelrc: true,
|