@storm-software/workspace-tools 1.292.24 → 1.292.26
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 +47 -0
- package/README.md +1 -1
- package/dist/{chunk-IPWUJVZZ.mjs → chunk-6TYMSSXV.mjs} +1 -1
- package/dist/{chunk-JHJLQ2O7.mjs → chunk-CDBRCMR4.mjs} +1 -1
- package/dist/{chunk-D2ENLOCH.mjs → chunk-IDYJQV74.mjs} +58 -33
- package/dist/{chunk-WH72XZPS.mjs → chunk-K5XMGL6Y.mjs} +1 -1
- package/dist/{chunk-QUHBEE5D.mjs → chunk-TMUZX6IO.mjs} +1 -1
- package/dist/{chunk-O2FPRXPD.js → chunk-YYBWK3LE.js} +65 -40
- package/dist/{chunk-KCVIHYZQ.mjs → chunk-ZM7BQH6Q.mjs} +1 -1
- package/dist/executors.js +2 -2
- package/dist/executors.mjs +4 -4
- package/dist/generators.js +6 -6
- package/dist/generators.mjs +10 -10
- package/dist/index.js +8 -8
- package/dist/index.mjs +13 -13
- package/dist/src/base/base-executor.mjs +1 -1
- package/dist/src/base/base-executor.untyped.mjs +1 -1
- package/dist/src/base/base-generator.mjs +1 -1
- package/dist/src/base/base-generator.untyped.mjs +1 -1
- package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
- package/dist/src/base/index.mjs +1 -1
- package/dist/src/base/typescript-build-executor.untyped.mjs +1 -1
- package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
- package/dist/src/executors/cargo-build/executor.mjs +1 -1
- package/dist/src/executors/cargo-build/untyped.mjs +1 -1
- package/dist/src/executors/cargo-check/executor.mjs +1 -1
- package/dist/src/executors/cargo-check/untyped.mjs +1 -1
- package/dist/src/executors/cargo-clippy/executor.mjs +1 -1
- package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
- package/dist/src/executors/cargo-doc/executor.mjs +1 -1
- package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
- package/dist/src/executors/cargo-format/executor.mjs +1 -1
- package/dist/src/executors/cargo-format/untyped.mjs +1 -1
- package/dist/src/executors/cargo-publish/executor.mjs +1 -1
- package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
- package/dist/src/executors/clean-package/executor.mjs +1 -1
- package/dist/src/executors/clean-package/untyped.mjs +1 -1
- package/dist/src/executors/esbuild/executor.mjs +1 -1
- package/dist/src/executors/esbuild/untyped.mjs +1 -1
- package/dist/src/executors/npm-publish/executor.mjs +1 -1
- package/dist/src/executors/npm-publish/untyped.mjs +1 -1
- package/dist/src/executors/size-limit/executor.mjs +1 -1
- package/dist/src/executors/size-limit/untyped.mjs +1 -1
- package/dist/src/executors/tsdown/executor.mjs +1 -1
- package/dist/src/executors/tsdown/untyped.mjs +1 -1
- package/dist/src/executors/typia/executor.mjs +1 -1
- package/dist/src/executors/typia/untyped.mjs +1 -1
- package/dist/src/executors/unbuild/executor.mjs +1 -1
- package/dist/src/executors/unbuild/untyped.mjs +1 -1
- package/dist/src/generators/browser-library/generator.mjs +2 -2
- package/dist/src/generators/browser-library/untyped.mjs +1 -1
- package/dist/src/generators/config-schema/generator.mjs +1 -1
- package/dist/src/generators/config-schema/untyped.mjs +1 -1
- package/dist/src/generators/init/init.mjs +1 -1
- package/dist/src/generators/init/untyped.mjs +1 -1
- package/dist/src/generators/neutral-library/generator.mjs +2 -2
- package/dist/src/generators/neutral-library/untyped.mjs +1 -1
- package/dist/src/generators/node-library/generator.mjs +2 -2
- package/dist/src/generators/node-library/untyped.mjs +1 -1
- package/dist/src/generators/preset/generator.mjs +2 -2
- package/dist/src/generators/preset/untyped.mjs +1 -1
- package/dist/src/plugins/rust/cargo-toml.d.mts +27 -3
- package/dist/src/plugins/rust/cargo-toml.d.ts +27 -3
- package/dist/src/plugins/rust/cargo-toml.js +2 -4
- package/dist/src/plugins/rust/cargo-toml.mjs +2 -4
- package/dist/src/plugins/rust/index.d.mts +1 -1
- package/dist/src/plugins/rust/index.d.ts +1 -1
- package/dist/src/plugins/rust/index.js +2 -4
- package/dist/src/plugins/rust/index.mjs +2 -4
- package/dist/src/plugins/typescript/index.mjs +1 -1
- package/dist/src/plugins/typescript/tsdown.mjs +1 -1
- package/dist/src/plugins/typescript/tsup.mjs +1 -1
- package/dist/src/plugins/typescript/untyped-schema.mjs +1 -1
- package/dist/src/release/index.mjs +1 -1
- package/dist/src/release/js-version-actions.mjs +1 -1
- package/dist/src/release/rust-version-actions.mjs +1 -1
- package/dist/src/types.mjs +1 -1
- package/dist/src/utils/apply-workspace-tokens.mjs +1 -1
- package/dist/src/utils/cargo.mjs +1 -1
- package/dist/src/utils/create-cli-options.mjs +1 -1
- package/dist/src/utils/get-project-configurations.mjs +1 -1
- package/dist/src/utils/index.mjs +1 -1
- package/dist/src/utils/lock-file.mjs +1 -1
- package/dist/src/utils/nx-json.mjs +1 -1
- package/dist/src/utils/package-helpers.mjs +1 -1
- package/dist/src/utils/plugin-helpers.mjs +1 -1
- package/dist/src/utils/project-tags.mjs +1 -1
- package/dist/src/utils/registry-helpers.mjs +1 -1
- package/dist/src/utils/typia-transform.mjs +1 -1
- package/dist/src/utils/versions.mjs +1 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,53 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.292.25](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.292.25) (11/12/2025)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **workspace-tools:** Improved `rust` Nx plugin logging
|
|
10
|
+
([bd839c5a4](https://github.com/storm-software/storm-ops/commit/bd839c5a4))
|
|
11
|
+
- **monorepo:** Update workspace package dependencies
|
|
12
|
+
([2f7e4c39e](https://github.com/storm-software/storm-ops/commit/2f7e4c39e))
|
|
13
|
+
- **monorepo:** Update README markdown files
|
|
14
|
+
([b8f258457](https://github.com/storm-software/storm-ops/commit/b8f258457))
|
|
15
|
+
|
|
16
|
+
### Updated Dependencies
|
|
17
|
+
|
|
18
|
+
- Updated **testing-tools** to **v1.119.25**
|
|
19
|
+
- Updated **config-tools** to **v1.188.25**
|
|
20
|
+
- Updated **pnpm-tools** to **v0.6.25**
|
|
21
|
+
- Updated **npm-tools** to **v0.5.25**
|
|
22
|
+
- Updated **prettier** to **v0.57.25**
|
|
23
|
+
- Updated **esbuild** to **v0.53.25**
|
|
24
|
+
- Updated **unbuild** to **v0.57.25**
|
|
25
|
+
- Updated **config** to **v1.134.25**
|
|
26
|
+
- Updated **tsdown** to **v0.45.25**
|
|
27
|
+
|
|
28
|
+
## [1.292.24](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.292.24) (11/10/2025)
|
|
29
|
+
|
|
30
|
+
### Miscellaneous
|
|
31
|
+
|
|
32
|
+
- **monorepo:** Regenerate README markdown files
|
|
33
|
+
([5eb9b8129](https://github.com/storm-software/storm-ops/commit/5eb9b8129))
|
|
34
|
+
|
|
35
|
+
### Features
|
|
36
|
+
|
|
37
|
+
- **storm-config:** Added the `from` method to `WorkspaceConfig`
|
|
38
|
+
([94a5e30f6](https://github.com/storm-software/storm-ops/commit/94a5e30f6))
|
|
39
|
+
|
|
40
|
+
### Updated Dependencies
|
|
41
|
+
|
|
42
|
+
- Updated **testing-tools** to **v1.119.24**
|
|
43
|
+
- Updated **config-tools** to **v1.188.24**
|
|
44
|
+
- Updated **pnpm-tools** to **v0.6.24**
|
|
45
|
+
- Updated **npm-tools** to **v0.5.24**
|
|
46
|
+
- Updated **prettier** to **v0.57.24**
|
|
47
|
+
- Updated **esbuild** to **v0.53.24**
|
|
48
|
+
- Updated **unbuild** to **v0.57.24**
|
|
49
|
+
- Updated **config** to **v1.134.24**
|
|
50
|
+
- Updated **tsdown** to **v0.45.24**
|
|
51
|
+
|
|
5
52
|
## [1.292.23](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.292.23) (11/09/2025)
|
|
6
53
|
|
|
7
54
|
### Miscellaneous
|
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 -->
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
1
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__21d011a8c8956eb8b1103334669f4dc3/node_modules/tsup/assets/esm_shims.js
|
|
2
2
|
import { fileURLToPath } from "url";
|
|
3
3
|
import path from "path";
|
|
4
4
|
var getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
createNodesFromFiles,
|
|
17
17
|
joinPathFragments,
|
|
18
18
|
readJsonFile,
|
|
19
|
+
validateDependency,
|
|
19
20
|
workspaceRoot
|
|
20
21
|
} from "@nx/devkit";
|
|
21
22
|
import defu from "defu";
|
|
@@ -30,7 +31,6 @@ var DefaultCargoPluginProfileMap = {
|
|
|
30
31
|
development: "dev",
|
|
31
32
|
production: "prod"
|
|
32
33
|
};
|
|
33
|
-
var DEFAULT_ERROR_MESSAGE = "An error occurred in the Storm Rust Nx plugin.";
|
|
34
34
|
var createNodesV2 = [
|
|
35
35
|
"*/**/Cargo.toml",
|
|
36
36
|
async (configFiles, options, context) => {
|
|
@@ -315,9 +315,11 @@ var createNodesV2 = [
|
|
|
315
315
|
externalNodes
|
|
316
316
|
};
|
|
317
317
|
} catch (e) {
|
|
318
|
-
console.error(
|
|
318
|
+
console.error("An error occurred in the Storm Rust Nx plugin.");
|
|
319
319
|
console.error(e);
|
|
320
|
-
throw new Error(
|
|
320
|
+
throw new Error("An error occurred in the Storm Rust Nx plugin.", {
|
|
321
|
+
cause: e
|
|
322
|
+
});
|
|
321
323
|
}
|
|
322
324
|
},
|
|
323
325
|
configFiles,
|
|
@@ -326,54 +328,77 @@ var createNodesV2 = [
|
|
|
326
328
|
);
|
|
327
329
|
}
|
|
328
330
|
];
|
|
329
|
-
var createDependencies = (
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
if (
|
|
331
|
+
var createDependencies = (options, context) => {
|
|
332
|
+
try {
|
|
333
|
+
console.debug(
|
|
334
|
+
`[storm-software/rust]: Creating dependencies using cargo metadata.`
|
|
335
|
+
);
|
|
336
|
+
const metadata = cargoMetadata();
|
|
337
|
+
if (!metadata?.packages) {
|
|
338
|
+
console.debug(
|
|
339
|
+
`[storm-software/rust]: Unable to find cargo metadata. Skipping dependency creation.`
|
|
340
|
+
);
|
|
341
|
+
return [];
|
|
342
|
+
}
|
|
343
|
+
const dependencies = [];
|
|
344
|
+
for (const pkg of metadata.packages) {
|
|
345
|
+
if (context.projects[pkg.name]) {
|
|
346
|
+
for (const deps of pkg.dependencies) {
|
|
347
|
+
if (!metadata.packages.find((p) => p.name === deps.name)) {
|
|
348
|
+
console.debug(
|
|
349
|
+
`[storm-software/rust]: Dependency ${deps.name} not found in the cargo metadata.`
|
|
350
|
+
);
|
|
351
|
+
continue;
|
|
352
|
+
}
|
|
353
|
+
if (context.projects[deps.name]) {
|
|
352
354
|
dependencies.push(
|
|
353
|
-
createDependency(pkg,
|
|
355
|
+
createDependency(context, pkg, deps.name, DependencyType.static)
|
|
354
356
|
);
|
|
357
|
+
} else {
|
|
358
|
+
const externalDepName = `cargo:${deps.name}`;
|
|
359
|
+
if (externalDepName in (context.externalNodes ?? {})) {
|
|
360
|
+
dependencies.push(
|
|
361
|
+
createDependency(
|
|
362
|
+
context,
|
|
363
|
+
pkg,
|
|
364
|
+
externalDepName,
|
|
365
|
+
DependencyType.static
|
|
366
|
+
)
|
|
367
|
+
);
|
|
368
|
+
}
|
|
355
369
|
}
|
|
356
370
|
}
|
|
357
371
|
}
|
|
358
372
|
}
|
|
373
|
+
return dependencies;
|
|
374
|
+
} catch (e) {
|
|
375
|
+
console.error(
|
|
376
|
+
"An error occurred creating dependencies in the Storm Rust Nx plugin."
|
|
377
|
+
);
|
|
378
|
+
console.error(e);
|
|
379
|
+
throw new Error(
|
|
380
|
+
"An error occurred creating dependencies in the Storm Rust Nx plugin.",
|
|
381
|
+
{
|
|
382
|
+
cause: e
|
|
383
|
+
}
|
|
384
|
+
);
|
|
359
385
|
}
|
|
360
|
-
return dependencies;
|
|
361
386
|
};
|
|
362
|
-
function createDependency(pkg, depName, type) {
|
|
363
|
-
const
|
|
364
|
-
return {
|
|
387
|
+
function createDependency(context, pkg, depName, type) {
|
|
388
|
+
const dependency = {
|
|
365
389
|
type,
|
|
366
390
|
source: pkg.name,
|
|
367
391
|
target: depName,
|
|
368
|
-
sourceFile:
|
|
392
|
+
sourceFile: pkg.manifest_path.replace(/\\/g, "/").replace(`${workspaceRoot.replace(/\\/g, "/")}/`, "")
|
|
369
393
|
};
|
|
394
|
+
validateDependency(dependency, context);
|
|
395
|
+
return dependency;
|
|
370
396
|
}
|
|
371
397
|
|
|
372
398
|
export {
|
|
373
399
|
name,
|
|
374
400
|
description,
|
|
375
401
|
DefaultCargoPluginProfileMap,
|
|
376
|
-
DEFAULT_ERROR_MESSAGE,
|
|
377
402
|
createNodesV2,
|
|
378
403
|
createDependencies
|
|
379
404
|
};
|
|
@@ -17,6 +17,7 @@ var _chunkAX3RSZT7js = require('./chunk-AX3RSZT7.js');
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
+
|
|
20
21
|
var _devkit = require('@nx/devkit');
|
|
21
22
|
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
22
23
|
var _fs = require('fs');
|
|
@@ -30,17 +31,16 @@ var DefaultCargoPluginProfileMap = {
|
|
|
30
31
|
development: "dev",
|
|
31
32
|
production: "prod"
|
|
32
33
|
};
|
|
33
|
-
var DEFAULT_ERROR_MESSAGE = "An error occurred in the Storm Rust Nx plugin.";
|
|
34
34
|
var createNodesV2 = [
|
|
35
35
|
"*/**/Cargo.toml",
|
|
36
36
|
async (configFiles, options, context) => {
|
|
37
37
|
return await _devkit.createNodesFromFiles.call(void 0,
|
|
38
38
|
(configFile, options2, context2) => {
|
|
39
39
|
try {
|
|
40
|
-
const profiles = _nullishCoalesce(_optionalChain([options2, 'optionalAccess',
|
|
41
|
-
const includeApps = _nullishCoalesce(_optionalChain([options2, 'optionalAccess',
|
|
42
|
-
const toolchain = _optionalChain([options2, 'optionalAccess',
|
|
43
|
-
const skipDocs = _nullishCoalesce(_optionalChain([options2, 'optionalAccess',
|
|
40
|
+
const profiles = _nullishCoalesce(_optionalChain([options2, 'optionalAccess', _ => _.profiles]), () => ( {}));
|
|
41
|
+
const includeApps = _nullishCoalesce(_optionalChain([options2, 'optionalAccess', _2 => _2.includeApps]), () => ( true));
|
|
42
|
+
const toolchain = _optionalChain([options2, 'optionalAccess', _3 => _3.toolchain]);
|
|
43
|
+
const skipDocs = _nullishCoalesce(_optionalChain([options2, 'optionalAccess', _4 => _4.skipDocs]), () => ( false));
|
|
44
44
|
const metadata = _chunkLJDV7HFTjs.cargoMetadata.call(void 0, );
|
|
45
45
|
if (!metadata) {
|
|
46
46
|
return {};
|
|
@@ -295,7 +295,7 @@ var createNodesV2 = [
|
|
|
295
295
|
for (const dep of cargoPackage.dependencies) {
|
|
296
296
|
if (_chunkLJDV7HFTjs.isExternal.call(void 0, dep, context2.workspaceRoot)) {
|
|
297
297
|
const externalDepName = `cargo:${dep.name}`;
|
|
298
|
-
if (!_optionalChain([externalNodes, 'optionalAccess',
|
|
298
|
+
if (!_optionalChain([externalNodes, 'optionalAccess', _5 => _5[externalDepName]])) {
|
|
299
299
|
externalNodes[externalDepName] = {
|
|
300
300
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
301
301
|
type: "cargo",
|
|
@@ -303,7 +303,7 @@ var createNodesV2 = [
|
|
|
303
303
|
name: externalDepName,
|
|
304
304
|
data: {
|
|
305
305
|
packageName: dep.name,
|
|
306
|
-
version: _nullishCoalesce(_optionalChain([cargoPackageMap, 'access',
|
|
306
|
+
version: _nullishCoalesce(_optionalChain([cargoPackageMap, 'access', _6 => _6.get, 'call', _7 => _7(dep.name), 'optionalAccess', _8 => _8.version]), () => ( "0.0.0"))
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
309
|
}
|
|
@@ -315,9 +315,11 @@ var createNodesV2 = [
|
|
|
315
315
|
externalNodes
|
|
316
316
|
};
|
|
317
317
|
} catch (e) {
|
|
318
|
-
console.error(
|
|
318
|
+
console.error("An error occurred in the Storm Rust Nx plugin.");
|
|
319
319
|
console.error(e);
|
|
320
|
-
throw new Error(
|
|
320
|
+
throw new Error("An error occurred in the Storm Rust Nx plugin.", {
|
|
321
|
+
cause: e
|
|
322
|
+
});
|
|
321
323
|
}
|
|
322
324
|
},
|
|
323
325
|
configFiles,
|
|
@@ -326,47 +328,71 @@ var createNodesV2 = [
|
|
|
326
328
|
);
|
|
327
329
|
}
|
|
328
330
|
];
|
|
329
|
-
var createDependencies = (
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
if (
|
|
331
|
+
var createDependencies = (options, context) => {
|
|
332
|
+
try {
|
|
333
|
+
console.debug(
|
|
334
|
+
`[storm-software/rust]: Creating dependencies using cargo metadata.`
|
|
335
|
+
);
|
|
336
|
+
const metadata = _chunkLJDV7HFTjs.cargoMetadata.call(void 0, );
|
|
337
|
+
if (!_optionalChain([metadata, 'optionalAccess', _9 => _9.packages])) {
|
|
338
|
+
console.debug(
|
|
339
|
+
`[storm-software/rust]: Unable to find cargo metadata. Skipping dependency creation.`
|
|
340
|
+
);
|
|
341
|
+
return [];
|
|
342
|
+
}
|
|
343
|
+
const dependencies = [];
|
|
344
|
+
for (const pkg of metadata.packages) {
|
|
345
|
+
if (context.projects[pkg.name]) {
|
|
346
|
+
for (const deps of pkg.dependencies) {
|
|
347
|
+
if (!metadata.packages.find((p) => p.name === deps.name)) {
|
|
348
|
+
console.debug(
|
|
349
|
+
`[storm-software/rust]: Dependency ${deps.name} not found in the cargo metadata.`
|
|
350
|
+
);
|
|
351
|
+
continue;
|
|
352
|
+
}
|
|
353
|
+
if (context.projects[deps.name]) {
|
|
352
354
|
dependencies.push(
|
|
353
|
-
createDependency(pkg,
|
|
355
|
+
createDependency(context, pkg, deps.name, _projectgraph.DependencyType.static)
|
|
354
356
|
);
|
|
357
|
+
} else {
|
|
358
|
+
const externalDepName = `cargo:${deps.name}`;
|
|
359
|
+
if (externalDepName in (_nullishCoalesce(context.externalNodes, () => ( {})))) {
|
|
360
|
+
dependencies.push(
|
|
361
|
+
createDependency(
|
|
362
|
+
context,
|
|
363
|
+
pkg,
|
|
364
|
+
externalDepName,
|
|
365
|
+
_projectgraph.DependencyType.static
|
|
366
|
+
)
|
|
367
|
+
);
|
|
368
|
+
}
|
|
355
369
|
}
|
|
356
370
|
}
|
|
357
371
|
}
|
|
358
372
|
}
|
|
373
|
+
return dependencies;
|
|
374
|
+
} catch (e) {
|
|
375
|
+
console.error(
|
|
376
|
+
"An error occurred creating dependencies in the Storm Rust Nx plugin."
|
|
377
|
+
);
|
|
378
|
+
console.error(e);
|
|
379
|
+
throw new Error(
|
|
380
|
+
"An error occurred creating dependencies in the Storm Rust Nx plugin.",
|
|
381
|
+
{
|
|
382
|
+
cause: e
|
|
383
|
+
}
|
|
384
|
+
);
|
|
359
385
|
}
|
|
360
|
-
return dependencies;
|
|
361
386
|
};
|
|
362
|
-
function createDependency(pkg, depName, type) {
|
|
363
|
-
const
|
|
364
|
-
return {
|
|
387
|
+
function createDependency(context, pkg, depName, type) {
|
|
388
|
+
const dependency = {
|
|
365
389
|
type,
|
|
366
390
|
source: pkg.name,
|
|
367
391
|
target: depName,
|
|
368
|
-
sourceFile:
|
|
392
|
+
sourceFile: pkg.manifest_path.replace(/\\/g, "/").replace(`${_devkit.workspaceRoot.replace(/\\/g, "/")}/`, "")
|
|
369
393
|
};
|
|
394
|
+
_devkit.validateDependency.call(void 0, dependency, context);
|
|
395
|
+
return dependency;
|
|
370
396
|
}
|
|
371
397
|
|
|
372
398
|
|
|
@@ -375,5 +401,4 @@ function createDependency(pkg, depName, type) {
|
|
|
375
401
|
|
|
376
402
|
|
|
377
403
|
|
|
378
|
-
|
|
379
|
-
exports.name = name; exports.description = description; exports.DefaultCargoPluginProfileMap = DefaultCargoPluginProfileMap; exports.DEFAULT_ERROR_MESSAGE = DEFAULT_ERROR_MESSAGE; exports.createNodesV2 = createNodesV2; exports.createDependencies = createDependencies;
|
|
404
|
+
exports.name = name; exports.description = description; exports.DefaultCargoPluginProfileMap = DefaultCargoPluginProfileMap; exports.createNodesV2 = createNodesV2; exports.createDependencies = createDependencies;
|
package/dist/executors.js
CHANGED
|
@@ -14,10 +14,10 @@ var _chunkMYFQ64WEjs = require('./chunk-MYFQ64WE.js');
|
|
|
14
14
|
require('./chunk-FSYURQ5X.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk5C7DI3NFjs = require('./chunk-5C7DI3NF.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkEECJXHDAjs = require('./chunk-EECJXHDA.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
var _chunkVWQYDQYVjs = require('./chunk-VWQYDQYV.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
esbuildExecutorFn
|
|
13
13
|
} from "./chunk-NXWRHUNL.mjs";
|
|
14
14
|
import "./chunk-F3NQOV2M.mjs";
|
|
15
|
-
import {
|
|
16
|
-
LARGE_BUFFER
|
|
17
|
-
} from "./chunk-OOR7HG4P.mjs";
|
|
18
15
|
import {
|
|
19
16
|
sizeLimitExecutorFn
|
|
20
17
|
} from "./chunk-IIDQ2ITD.mjs";
|
|
18
|
+
import {
|
|
19
|
+
LARGE_BUFFER
|
|
20
|
+
} from "./chunk-OOR7HG4P.mjs";
|
|
21
21
|
import {
|
|
22
22
|
cargoClippyExecutor
|
|
23
23
|
} from "./chunk-BC7TUSC7.mjs";
|
|
@@ -46,7 +46,7 @@ import "./chunk-NOTQLVZP.mjs";
|
|
|
46
46
|
import "./chunk-V44DYGWX.mjs";
|
|
47
47
|
import "./chunk-VGJEUOUN.mjs";
|
|
48
48
|
import "./chunk-C26A6BXG.mjs";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-6TYMSSXV.mjs";
|
|
50
50
|
export {
|
|
51
51
|
LARGE_BUFFER,
|
|
52
52
|
cargoBuildExecutor,
|
package/dist/generators.js
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-C3TC7AUW.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var _chunkJ3WZEN2Ujs = require('./chunk-J3WZEN2U.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkMBO4Z5AVjs = require('./chunk-MBO4Z5AV.js');
|
|
8
|
-
|
|
9
|
-
|
|
10
4
|
var _chunkOKSECMVKjs = require('./chunk-OKSECMVK.js');
|
|
11
5
|
|
|
12
6
|
|
|
@@ -16,7 +10,13 @@ var _chunkT5BI42AOjs = require('./chunk-T5BI42AO.js');
|
|
|
16
10
|
var _chunkYMZQ7GGXjs = require('./chunk-YMZQ7GGX.js');
|
|
17
11
|
|
|
18
12
|
|
|
13
|
+
var _chunkJ3WZEN2Ujs = require('./chunk-J3WZEN2U.js');
|
|
14
|
+
|
|
15
|
+
|
|
19
16
|
var _chunk6A7OOTO2js = require('./chunk-6A7OOTO2.js');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
var _chunkMBO4Z5AVjs = require('./chunk-MBO4Z5AV.js');
|
|
20
20
|
require('./chunk-4HV5G4DT.js');
|
|
21
21
|
require('./chunk-SZWM7COV.js');
|
|
22
22
|
require('./chunk-AX3RSZT7.js');
|
package/dist/generators.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "./chunk-SAIDGUHG.mjs";
|
|
2
|
-
import {
|
|
3
|
-
presetGeneratorFn
|
|
4
|
-
} from "./chunk-JHJLQ2O7.mjs";
|
|
5
|
-
import {
|
|
6
|
-
configSchemaGeneratorFn
|
|
7
|
-
} from "./chunk-REKF65PT.mjs";
|
|
8
2
|
import {
|
|
9
3
|
initGenerator
|
|
10
4
|
} from "./chunk-437WGH2M.mjs";
|
|
11
5
|
import {
|
|
12
6
|
neutralLibraryGeneratorFn
|
|
13
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-K5XMGL6Y.mjs";
|
|
14
8
|
import {
|
|
15
9
|
nodeLibraryGeneratorFn
|
|
16
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZM7BQH6Q.mjs";
|
|
11
|
+
import {
|
|
12
|
+
presetGeneratorFn
|
|
13
|
+
} from "./chunk-CDBRCMR4.mjs";
|
|
17
14
|
import {
|
|
18
15
|
browserLibraryGeneratorFn
|
|
19
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TMUZX6IO.mjs";
|
|
17
|
+
import {
|
|
18
|
+
configSchemaGeneratorFn
|
|
19
|
+
} from "./chunk-REKF65PT.mjs";
|
|
20
20
|
import "./chunk-HP36FVRU.mjs";
|
|
21
21
|
import "./chunk-QC5ON3X4.mjs";
|
|
22
22
|
import "./chunk-F66XEAID.mjs";
|
|
@@ -26,7 +26,7 @@ import "./chunk-NOTQLVZP.mjs";
|
|
|
26
26
|
import "./chunk-V44DYGWX.mjs";
|
|
27
27
|
import "./chunk-VGJEUOUN.mjs";
|
|
28
28
|
import "./chunk-C26A6BXG.mjs";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-6TYMSSXV.mjs";
|
|
30
30
|
export {
|
|
31
31
|
browserLibraryGeneratorFn,
|
|
32
32
|
configSchemaGeneratorFn,
|
package/dist/index.js
CHANGED
|
@@ -71,10 +71,10 @@ var _chunkMYFQ64WEjs = require('./chunk-MYFQ64WE.js');
|
|
|
71
71
|
require('./chunk-FSYURQ5X.js');
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
var
|
|
74
|
+
var _chunk5C7DI3NFjs = require('./chunk-5C7DI3NF.js');
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
var
|
|
77
|
+
var _chunkEECJXHDAjs = require('./chunk-EECJXHDA.js');
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
var _chunkVWQYDQYVjs = require('./chunk-VWQYDQYV.js');
|
|
@@ -113,12 +113,6 @@ require('./chunk-JWFGGMYQ.js');
|
|
|
113
113
|
require('./chunk-C3TC7AUW.js');
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
var _chunkJ3WZEN2Ujs = require('./chunk-J3WZEN2U.js');
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
var _chunkMBO4Z5AVjs = require('./chunk-MBO4Z5AV.js');
|
|
120
|
-
|
|
121
|
-
|
|
122
116
|
var _chunkOKSECMVKjs = require('./chunk-OKSECMVK.js');
|
|
123
117
|
|
|
124
118
|
|
|
@@ -128,9 +122,15 @@ var _chunkT5BI42AOjs = require('./chunk-T5BI42AO.js');
|
|
|
128
122
|
var _chunkYMZQ7GGXjs = require('./chunk-YMZQ7GGX.js');
|
|
129
123
|
|
|
130
124
|
|
|
125
|
+
var _chunkJ3WZEN2Ujs = require('./chunk-J3WZEN2U.js');
|
|
126
|
+
|
|
127
|
+
|
|
131
128
|
var _chunk6A7OOTO2js = require('./chunk-6A7OOTO2.js');
|
|
132
129
|
|
|
133
130
|
|
|
131
|
+
var _chunkMBO4Z5AVjs = require('./chunk-MBO4Z5AV.js');
|
|
132
|
+
|
|
133
|
+
|
|
134
134
|
|
|
135
135
|
|
|
136
136
|
|
package/dist/index.mjs
CHANGED
|
@@ -69,12 +69,12 @@ import {
|
|
|
69
69
|
esbuildExecutorFn
|
|
70
70
|
} from "./chunk-NXWRHUNL.mjs";
|
|
71
71
|
import "./chunk-F3NQOV2M.mjs";
|
|
72
|
-
import {
|
|
73
|
-
LARGE_BUFFER
|
|
74
|
-
} from "./chunk-OOR7HG4P.mjs";
|
|
75
72
|
import {
|
|
76
73
|
sizeLimitExecutorFn
|
|
77
74
|
} from "./chunk-IIDQ2ITD.mjs";
|
|
75
|
+
import {
|
|
76
|
+
LARGE_BUFFER
|
|
77
|
+
} from "./chunk-OOR7HG4P.mjs";
|
|
78
78
|
import {
|
|
79
79
|
cargoClippyExecutor
|
|
80
80
|
} from "./chunk-BC7TUSC7.mjs";
|
|
@@ -111,24 +111,24 @@ import {
|
|
|
111
111
|
} from "./chunk-6PVCCKX4.mjs";
|
|
112
112
|
import "./chunk-X2SLQ73Q.mjs";
|
|
113
113
|
import "./chunk-SAIDGUHG.mjs";
|
|
114
|
-
import {
|
|
115
|
-
presetGeneratorFn
|
|
116
|
-
} from "./chunk-JHJLQ2O7.mjs";
|
|
117
|
-
import {
|
|
118
|
-
configSchemaGeneratorFn
|
|
119
|
-
} from "./chunk-REKF65PT.mjs";
|
|
120
114
|
import {
|
|
121
115
|
initGenerator
|
|
122
116
|
} from "./chunk-437WGH2M.mjs";
|
|
123
117
|
import {
|
|
124
118
|
neutralLibraryGeneratorFn
|
|
125
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-K5XMGL6Y.mjs";
|
|
126
120
|
import {
|
|
127
121
|
nodeLibraryGeneratorFn
|
|
128
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-ZM7BQH6Q.mjs";
|
|
123
|
+
import {
|
|
124
|
+
presetGeneratorFn
|
|
125
|
+
} from "./chunk-CDBRCMR4.mjs";
|
|
129
126
|
import {
|
|
130
127
|
browserLibraryGeneratorFn
|
|
131
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-TMUZX6IO.mjs";
|
|
129
|
+
import {
|
|
130
|
+
configSchemaGeneratorFn
|
|
131
|
+
} from "./chunk-REKF65PT.mjs";
|
|
132
132
|
import {
|
|
133
133
|
createProjectTsConfigJson,
|
|
134
134
|
getOutputPath,
|
|
@@ -190,7 +190,7 @@ import "./chunk-C26A6BXG.mjs";
|
|
|
190
190
|
import {
|
|
191
191
|
base_generator_untyped_default
|
|
192
192
|
} from "./chunk-34LSWMWV.mjs";
|
|
193
|
-
import "./chunk-
|
|
193
|
+
import "./chunk-6TYMSSXV.mjs";
|
|
194
194
|
export {
|
|
195
195
|
INVALID_CARGO_ARGS,
|
|
196
196
|
LARGE_BUFFER,
|