@storm-software/workspace-tools 1.179.4 → 1.179.6
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 +18 -10
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/base-executor.js +1 -0
- package/src/base/base-generator.js +1 -0
- package/src/base/index.js +1 -0
- package/src/executors/cargo-build/executor.js +1 -0
- package/src/executors/cargo-check/executor.js +1 -0
- package/src/executors/cargo-clippy/executor.js +1 -0
- package/src/executors/cargo-doc/executor.js +1 -0
- package/src/executors/cargo-format/executor.js +1 -0
- package/src/executors/clean-package/executor.js +1 -0
- package/src/executors/rolldown/executor.js +1 -0
- package/src/executors/rollup/executor.js +18 -10
- package/src/executors/size-limit/executor.js +1 -0
- package/src/executors/tsup/executor.js +1 -0
- package/src/executors/tsup-browser/executor.js +1 -0
- package/src/executors/tsup-neutral/executor.js +1 -0
- package/src/executors/tsup-node/executor.js +1 -0
- package/src/executors/typia/executor.js +1 -0
- package/src/executors/unbuild/executor.js +1 -0
- package/src/generators/browser-library/generator.js +1 -0
- package/src/generators/config-schema/generator.js +1 -0
- package/src/generators/neutral-library/generator.js +1 -0
- package/src/generators/node-library/generator.js +1 -0
- package/src/generators/preset/generator.js +1 -0
- package/src/generators/release-version/generator.js +1 -0
- package/src/utils/index.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
## 1.179.6 (2024-09-10)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **eslint-config:** Resolve issue with missing TypeScript configuration
|
|
6
|
+
([3692faa9](https://github.com/storm-software/storm-ops/commit/3692faa9))
|
|
7
|
+
|
|
8
|
+
- **workspace-tools:** Resolve issue with workspace paths
|
|
9
|
+
([1b3305e6](https://github.com/storm-software/storm-ops/commit/1b3305e6))
|
|
10
|
+
|
|
11
|
+
## 1.179.5 (2024-09-10)
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- **workspace-tools:** Added `baseUrl` to compiler options
|
|
16
|
+
([dd058e2e](https://github.com/storm-software/storm-ops/commit/dd058e2e))
|
|
17
|
+
|
|
1
18
|
## 1.179.4 (2024-09-09)
|
|
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
|
@@ -61294,6 +61294,7 @@ var init_correct_paths = __esm({
|
|
|
61294
61294
|
}
|
|
61295
61295
|
if (!path11.toUpperCase().startsWith("C:") && path11.includes("\\")) {
|
|
61296
61296
|
path11 = `C:${path11}`;
|
|
61297
|
+
return path11.replaceAll("/", "\\");
|
|
61297
61298
|
}
|
|
61298
61299
|
return path11.replaceAll("\\", "/");
|
|
61299
61300
|
};
|
|
@@ -437507,10 +437508,10 @@ function analyze() {
|
|
|
437507
437508
|
};
|
|
437508
437509
|
}
|
|
437509
437510
|
async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, config) {
|
|
437510
|
-
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));
|
|
437511
437512
|
const finalConfig = { ...rollupConfig };
|
|
437512
437513
|
const projectNode = getProjectNode();
|
|
437513
|
-
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));
|
|
437514
437515
|
const projectGraph = global.NX_GRAPH_CREATION ? null : (0, import_devkit7.readCachedProjectGraph)();
|
|
437515
437516
|
if (!projectGraph) {
|
|
437516
437517
|
throw new Error(`Cannot find project graph.`);
|
|
@@ -437545,7 +437546,9 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
437545
437546
|
projectNode.data.sourceRoot,
|
|
437546
437547
|
rawOptions
|
|
437547
437548
|
);
|
|
437548
|
-
const tsConfigPath = (
|
|
437549
|
+
const tsConfigPath = correctPaths2(
|
|
437550
|
+
(0, import_devkit7.joinPathFragments)(import_devkit7.workspaceRoot, options.tsConfig)
|
|
437551
|
+
);
|
|
437549
437552
|
const tsConfigFile = ts.readConfigFile(tsConfigPath, ts.sys.readFile);
|
|
437550
437553
|
const tsConfig = ts.parseJsonConfigFileContent(
|
|
437551
437554
|
tsConfigFile.config,
|
|
@@ -437585,7 +437588,7 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
437585
437588
|
// Options are not normalized with project root during graph creation due to the lack of project and project root.
|
|
437586
437589
|
// Cannot be joined with workspace root now, but will be handled by @nx/rollup/plugin.
|
|
437587
437590
|
options.outputPath
|
|
437588
|
-
) : (0, import_node_path14.join)(import_devkit7.workspaceRoot, options.outputPath),
|
|
437591
|
+
) : correctPaths2((0, import_node_path14.join)(import_devkit7.workspaceRoot, options.outputPath)),
|
|
437589
437592
|
sourcemap: options.sourceMap
|
|
437590
437593
|
}));
|
|
437591
437594
|
}
|
|
@@ -437654,8 +437657,7 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
437654
437657
|
config
|
|
437655
437658
|
)
|
|
437656
437659
|
},
|
|
437657
|
-
verbosity: 3
|
|
437658
|
-
useTsconfigDeclarationDir: true
|
|
437660
|
+
verbosity: 3
|
|
437659
437661
|
}),
|
|
437660
437662
|
(0, import_type_definitions.typeDefinitions)({
|
|
437661
437663
|
projectRoot
|
|
@@ -437684,9 +437686,11 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
|
|
|
437684
437686
|
supportsStaticESM: true,
|
|
437685
437687
|
isModern: true
|
|
437686
437688
|
},
|
|
437687
|
-
cwd: (
|
|
437688
|
-
|
|
437689
|
-
|
|
437689
|
+
cwd: correctPaths2(
|
|
437690
|
+
(0, import_node_path14.join)(
|
|
437691
|
+
import_devkit7.workspaceRoot,
|
|
437692
|
+
projectNode.data.sourceRoot ?? projectNode.data.root
|
|
437693
|
+
)
|
|
437690
437694
|
),
|
|
437691
437695
|
rootMode: options.babelUpwardRootMode ? "upward" : void 0,
|
|
437692
437696
|
babelrc: true,
|
|
@@ -437718,13 +437722,17 @@ function createInput(options) {
|
|
|
437718
437722
|
}
|
|
437719
437723
|
async function createTsCompilerOptions(parsedCommandLine, options, dependencies, config) {
|
|
437720
437724
|
const { correctPaths: correctPaths2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
|
|
437725
|
+
if (!config?.workspaceRoot) {
|
|
437726
|
+
throw new Error(`Cannot find workspace root in the config.`);
|
|
437727
|
+
}
|
|
437728
|
+
parsedCommandLine.options.rootDir = correctPaths2(config?.workspaceRoot);
|
|
437729
|
+
parsedCommandLine.options.baseUrl = correctPaths2(config?.workspaceRoot);
|
|
437721
437730
|
const compilerOptionPaths = (0, import_buildable_libs_utils.computeCompilerOptionsPaths)(
|
|
437722
437731
|
parsedCommandLine,
|
|
437723
437732
|
dependencies ?? []
|
|
437724
437733
|
);
|
|
437725
437734
|
const compilerOptions = {
|
|
437726
437735
|
rootDir: correctPaths2(config?.workspaceRoot).replaceAll("/", "\\"),
|
|
437727
|
-
baseUrl: correctPaths2(config?.workspaceRoot).replaceAll("/", "\\"),
|
|
437728
437736
|
declaration: true,
|
|
437729
437737
|
skipLibCheck: true,
|
|
437730
437738
|
skipDefaultLibCheck: true,
|