@storm-software/workspace-tools 1.272.0 → 1.273.0
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 +34 -0
- package/README.md +2 -1
- package/dist/chunk-2CZBN33P.js +685 -0
- package/dist/{chunk-LBAVVYKU.js → chunk-2F5TLK3C.js} +21 -19
- package/dist/{chunk-AHLKRK7D.mjs → chunk-33FZTHTK.mjs} +2 -2
- package/dist/{chunk-7RVW57VK.js → chunk-3G3HNZ22.js} +2 -2
- package/dist/{chunk-DCPKZRRY.js → chunk-3QD2U6SS.js} +30 -28
- package/dist/{chunk-EKWR7TBP.mjs → chunk-5MOK3MSQ.mjs} +1 -1
- package/dist/{chunk-MZSZKV4N.mjs → chunk-5XTW4576.mjs} +1 -1
- package/dist/{chunk-MMBLGUC3.mjs → chunk-5XYM22SB.mjs} +5 -3
- package/dist/{chunk-YXBFVZ3K.js → chunk-7Q2NOIDR.js} +2 -2
- package/dist/{chunk-4QYM3VS4.mjs → chunk-A6H2SCIM.mjs} +41 -3
- package/dist/{chunk-4K5FV2MH.mjs → chunk-AAQQSGPY.mjs} +1 -1
- package/dist/{chunk-EXYV2BKT.mjs → chunk-AW3I76E2.mjs} +1 -1
- package/dist/{chunk-WE4HK4RN.js → chunk-BNERGX6I.js} +1 -655
- package/dist/{chunk-KQBEYBS7.js → chunk-BNV64O5L.js} +2 -2
- package/dist/{chunk-T7BALDKJ.js → chunk-C22PXFKF.js} +5 -5
- package/dist/{chunk-RZVF4LHT.js → chunk-CUMWQELT.js} +41 -3
- package/dist/{chunk-6QZSAZZ3.mjs → chunk-DJYOYWNY.mjs} +2 -2
- package/dist/{chunk-Q2HYWACQ.mjs → chunk-DMJKKHEC.mjs} +2 -2
- package/dist/{chunk-SPXJBMLY.js → chunk-DYDIVZRW.js} +5 -5
- package/dist/{chunk-BWGJVRAS.js → chunk-EDMNYJEB.js} +7 -9
- package/dist/{chunk-SITFTWPY.mjs → chunk-EHAI3NXN.mjs} +1 -1
- package/dist/{chunk-AMW7VHFM.mjs → chunk-EQ3664ZD.mjs} +2 -2
- package/dist/{chunk-FYXWAGK3.js → chunk-F6X43VUX.js} +1 -4
- package/dist/{chunk-UYSJG2E5.mjs → chunk-FCRAGTW6.mjs} +4 -2
- package/dist/{chunk-7HWV6U3E.mjs → chunk-HLMSVHZY.mjs} +2 -2
- package/dist/{chunk-X5VIC7HP.js → chunk-KF6AKLGE.js} +2 -2
- package/dist/{chunk-MJMN2T4N.mjs → chunk-KHT5W6AJ.mjs} +0 -3
- package/dist/{chunk-I2GT7ECM.mjs → chunk-M6IYTP2T.mjs} +1 -1
- package/dist/{chunk-7CA3TDXD.js → chunk-M75P2EGZ.js} +2 -2
- package/dist/{chunk-5HUW3BTP.mjs → chunk-MLF7ZQBW.mjs} +4 -2
- package/dist/{chunk-H5NKKUPV.js → chunk-MNQIKYEB.js} +5 -5
- package/dist/{chunk-EYXDS7SG.js → chunk-MSCI7LQ2.js} +4 -4
- package/dist/chunk-N63KWRTH.mjs +685 -0
- package/dist/{chunk-WGDJV4SH.js → chunk-ON5324R7.js} +2 -2
- package/dist/{chunk-RJRBED5Q.js → chunk-QWRE2UFS.js} +17 -15
- package/dist/{chunk-U65XVJ4Y.mjs → chunk-R2WP5YDO.mjs} +7 -9
- package/dist/{chunk-S5Z4QGF3.js → chunk-S2JDNKK6.js} +9 -9
- package/dist/{chunk-I5MSPQMO.js → chunk-SMRFUKN7.js} +5 -5
- package/dist/{chunk-54FVHKCU.js → chunk-TSP73RLP.js} +2 -2
- package/dist/{chunk-GNOIETZR.js → chunk-TVH6TDED.js} +5 -5
- package/dist/{chunk-AJ3C2EDW.js → chunk-VUSG5IWM.js} +22 -20
- package/dist/{chunk-PCVYQGOH.mjs → chunk-W2RLHQ24.mjs} +1 -1
- package/dist/{chunk-2M22JVJQ.mjs → chunk-WLB7XVWW.mjs} +9 -663
- package/dist/{chunk-MF6VZSIO.mjs → chunk-XOKT6TQL.mjs} +2 -2
- package/dist/{chunk-KP4RPOBI.mjs → chunk-Y5UH66KY.mjs} +2 -2
- package/dist/{chunk-IZN2IVJ4.js → chunk-Y7JE33K2.js} +2 -2
- package/dist/{chunk-J6OXY3KI.mjs → chunk-YTHGOOKO.mjs} +5 -3
- package/dist/{chunk-EZPQKO5C.mjs → chunk-ZASRR3NW.mjs} +1 -1
- package/dist/{executor-B3lwM9GM.d.mts → executor-0ivVjqma.d.mts} +8 -0
- package/dist/{executor-B3lwM9GM.d.ts → executor-0ivVjqma.d.ts} +8 -0
- package/dist/executors.d.mts +1 -1
- package/dist/executors.d.ts +1 -1
- package/dist/executors.js +17 -16
- package/dist/executors.mjs +16 -15
- package/dist/generators.js +13 -12
- package/dist/generators.mjs +12 -11
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +29 -39
- package/dist/index.mjs +36 -46
- package/dist/src/base/base-executor.js +4 -3
- package/dist/src/base/base-executor.mjs +3 -2
- package/dist/src/base/base-generator.js +4 -3
- package/dist/src/base/base-generator.mjs +3 -2
- package/dist/src/base/index.js +7 -6
- package/dist/src/base/index.mjs +6 -5
- package/dist/src/executors/cargo-build/executor.js +5 -4
- package/dist/src/executors/cargo-build/executor.mjs +4 -3
- package/dist/src/executors/cargo-check/executor.js +5 -4
- package/dist/src/executors/cargo-check/executor.mjs +4 -3
- package/dist/src/executors/cargo-clippy/executor.js +5 -4
- package/dist/src/executors/cargo-clippy/executor.mjs +4 -3
- package/dist/src/executors/cargo-doc/executor.js +5 -4
- package/dist/src/executors/cargo-doc/executor.mjs +4 -3
- package/dist/src/executors/cargo-format/executor.js +5 -4
- package/dist/src/executors/cargo-format/executor.mjs +4 -3
- package/dist/src/executors/cargo-publish/executor.js +6 -3
- package/dist/src/executors/cargo-publish/executor.mjs +5 -2
- package/dist/src/executors/clean-package/executor.js +6 -5
- package/dist/src/executors/clean-package/executor.mjs +3 -2
- package/dist/src/executors/esbuild/executor.js +5 -4
- package/dist/src/executors/esbuild/executor.mjs +4 -3
- package/dist/src/executors/npm-publish/executor.d.mts +1 -1
- package/dist/src/executors/npm-publish/executor.d.ts +1 -1
- package/dist/src/executors/npm-publish/executor.js +3 -3
- package/dist/src/executors/npm-publish/executor.mjs +2 -2
- package/dist/src/executors/npm-publish/untyped.js +7 -0
- package/dist/src/executors/npm-publish/untyped.mjs +7 -0
- package/dist/src/executors/size-limit/executor.js +5 -4
- package/dist/src/executors/size-limit/executor.mjs +4 -3
- package/dist/src/executors/typia/executor.js +5 -4
- package/dist/src/executors/typia/executor.mjs +4 -3
- package/dist/src/executors/unbuild/executor.js +5 -4
- package/dist/src/executors/unbuild/executor.mjs +4 -3
- package/dist/src/generators/browser-library/generator.js +7 -6
- package/dist/src/generators/browser-library/generator.mjs +6 -5
- package/dist/src/generators/config-schema/generator.js +5 -4
- package/dist/src/generators/config-schema/generator.mjs +4 -3
- package/dist/src/generators/neutral-library/generator.js +7 -6
- package/dist/src/generators/neutral-library/generator.mjs +6 -5
- package/dist/src/generators/node-library/generator.js +7 -6
- package/dist/src/generators/node-library/generator.mjs +6 -5
- package/dist/src/generators/preset/generator.js +5 -4
- package/dist/src/generators/preset/generator.mjs +4 -3
- package/dist/src/generators/release-version/generator.js +5 -4
- package/dist/src/generators/release-version/generator.mjs +4 -3
- package/dist/src/utils/cargo.d.mts +1 -1
- package/dist/src/utils/cargo.d.ts +1 -1
- package/dist/src/utils/index.d.mts +1 -1
- package/dist/src/utils/index.d.ts +1 -1
- package/dist/src/utils/index.js +8 -18
- package/dist/src/utils/index.mjs +15 -25
- package/dist/src/utils/package-helpers.d.mts +1 -1
- package/dist/src/utils/package-helpers.d.ts +1 -1
- package/dist/src/utils/package-helpers.js +6 -3
- package/dist/src/utils/package-helpers.mjs +5 -2
- package/dist/src/utils/pnpm-deps-update.js +2 -2
- package/dist/src/utils/pnpm-deps-update.mjs +1 -1
- package/dist/{src/utils/toml.d.mts → toml-C0imOcwz.d.mts} +1 -8
- package/dist/{src/utils/toml.d.ts → toml-C0imOcwz.d.ts} +1 -8
- package/docs/api/executors/npm-publish/schema.md +9 -0
- package/package.json +4 -4
- package/dist/src/base/base-executor.schema.d.ts +0 -17
- package/dist/src/base/base-executor.schema.json +0 -19
- package/dist/src/base/base-executor.schema.md +0 -16
- package/dist/src/base/base-generator.schema.d.ts +0 -14
- package/dist/src/base/base-generator.schema.json +0 -15
- package/dist/src/base/base-generator.schema.md +0 -15
- package/dist/src/base/cargo-base-executor.schema.d.ts +0 -89
- package/dist/src/base/cargo-base-executor.schema.json +0 -88
- package/dist/src/base/cargo-base-executor.schema.md +0 -90
- package/dist/src/base/typescript-build-executor.schema.d.ts +0 -135
- package/dist/src/base/typescript-build-executor.schema.json +0 -178
- package/dist/src/base/typescript-build-executor.schema.md +0 -126
- package/dist/src/base/typescript-library-generator.schema.d.ts +0 -122
- package/dist/src/base/typescript-library-generator.schema.json +0 -119
- package/dist/src/base/typescript-library-generator.schema.md +0 -129
- package/dist/src/executors/cargo-build/schema.d.ts +0 -86
- package/dist/src/executors/cargo-build/schema.json +0 -85
- package/dist/src/executors/cargo-build/schema.md +0 -89
- package/dist/src/executors/cargo-check/schema.d.ts +0 -89
- package/dist/src/executors/cargo-check/schema.json +0 -88
- package/dist/src/executors/cargo-check/schema.md +0 -90
- package/dist/src/executors/cargo-clippy/schema.d.ts +0 -97
- package/dist/src/executors/cargo-clippy/schema.json +0 -94
- package/dist/src/executors/cargo-clippy/schema.md +0 -99
- package/dist/src/executors/cargo-doc/schema.d.ts +0 -125
- package/dist/src/executors/cargo-doc/schema.json +0 -164
- package/dist/src/executors/cargo-doc/schema.md +0 -130
- package/dist/src/executors/cargo-format/schema.d.ts +0 -89
- package/dist/src/executors/cargo-format/schema.json +0 -88
- package/dist/src/executors/cargo-format/schema.md +0 -90
- package/dist/src/executors/cargo-publish/schema.d.ts +0 -115
- package/dist/src/executors/cargo-publish/schema.json +0 -107
- package/dist/src/executors/cargo-publish/schema.md +0 -117
- package/dist/src/executors/clean-package/schema.d.ts +0 -60
- package/dist/src/executors/clean-package/schema.json +0 -57
- package/dist/src/executors/clean-package/schema.md +0 -65
- package/dist/src/executors/esbuild/schema.d.ts +0 -137
- package/dist/src/executors/esbuild/schema.json +0 -165
- package/dist/src/executors/esbuild/schema.md +0 -126
- package/dist/src/executors/npm-publish/schema.d.ts +0 -60
- package/dist/src/executors/npm-publish/schema.json +0 -55
- package/dist/src/executors/npm-publish/schema.md +0 -64
- package/dist/src/executors/size-limit/schema.d.ts +0 -25
- package/dist/src/executors/size-limit/schema.json +0 -29
- package/dist/src/executors/size-limit/schema.md +0 -25
- package/dist/src/executors/typia/schema.d.ts +0 -48
- package/dist/src/executors/typia/schema.json +0 -57
- package/dist/src/executors/typia/schema.md +0 -46
- package/dist/src/executors/unbuild/schema.d.ts +0 -258
- package/dist/src/executors/unbuild/schema.json +0 -301
- package/dist/src/executors/unbuild/schema.md +0 -222
- package/dist/src/generators/browser-library/schema.d.ts +0 -122
- package/dist/src/generators/browser-library/schema.json +0 -117
- package/dist/src/generators/browser-library/schema.md +0 -129
- package/dist/src/generators/config-schema/schema.d.ts +0 -23
- package/dist/src/generators/config-schema/schema.json +0 -24
- package/dist/src/generators/config-schema/schema.md +0 -25
- package/dist/src/generators/init/schema.d.ts +0 -14
- package/dist/src/generators/init/schema.json +0 -15
- package/dist/src/generators/init/schema.md +0 -15
- package/dist/src/generators/neutral-library/schema.d.ts +0 -122
- package/dist/src/generators/neutral-library/schema.json +0 -116
- package/dist/src/generators/neutral-library/schema.md +0 -129
- package/dist/src/generators/node-library/schema.d.ts +0 -122
- package/dist/src/generators/node-library/schema.json +0 -117
- package/dist/src/generators/node-library/schema.md +0 -129
- package/dist/src/generators/preset/schema.d.ts +0 -101
- package/dist/src/generators/preset/schema.json +0 -96
- package/dist/src/generators/preset/schema.md +0 -110
- package/dist/src/generators/release-version/schema.d.ts +0 -180
- package/dist/src/generators/release-version/schema.json +0 -158
- package/dist/src/generators/release-version/schema.md +0 -160
- package/dist/src/plugins/typescript/untyped-schema.ts +0 -192
- package/dist/src/utils/toml.js +0 -15
- package/dist/src/utils/toml.mjs +0 -15
- package/dist/{chunk-3EDSGFA5.mjs → chunk-3PTWOMU2.mjs} +3 -3
- package/dist/{chunk-XCVH63OO.mjs → chunk-6YZ3OUJB.mjs} +0 -0
- package/dist/{chunk-DO2X7OZO.js → chunk-JGP4YWZY.js} +0 -0
- package/dist/{chunk-J4DYXH46.js → chunk-U3YH5M4L.js} +2 -2
package/dist/src/utils/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../chunk-
|
|
1
|
+
import "../../chunk-6YZ3OUJB.mjs";
|
|
2
2
|
import {
|
|
3
3
|
LOCK_FILES,
|
|
4
4
|
NPM_LOCK_FILE,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
PackageManagerTypes,
|
|
17
17
|
getPackageInfo
|
|
18
|
-
} from "../../chunk-
|
|
18
|
+
} from "../../chunk-5XTW4576.mjs";
|
|
19
19
|
import {
|
|
20
20
|
getProjectConfigFromProjectJsonPath,
|
|
21
21
|
getProjectConfigFromProjectRoot,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "../../chunk-L4NCVOB5.mjs";
|
|
38
38
|
import {
|
|
39
39
|
pnpmUpdate
|
|
40
|
-
} from "../../chunk-
|
|
40
|
+
} from "../../chunk-KHT5W6AJ.mjs";
|
|
41
41
|
import {
|
|
42
42
|
INVALID_CARGO_ARGS,
|
|
43
43
|
buildCargoCommand,
|
|
@@ -49,6 +49,16 @@ import {
|
|
|
49
49
|
isExternal,
|
|
50
50
|
runProcess
|
|
51
51
|
} from "../../chunk-6LP3KKXE.mjs";
|
|
52
|
+
import {
|
|
53
|
+
ProjectTagConstants,
|
|
54
|
+
addPluginProjectTag,
|
|
55
|
+
addProjectTag,
|
|
56
|
+
formatProjectTag,
|
|
57
|
+
getProjectTag,
|
|
58
|
+
hasProjectTag,
|
|
59
|
+
isEqualProjectTag,
|
|
60
|
+
setDefaultProjectTags
|
|
61
|
+
} from "../../chunk-F66XEAID.mjs";
|
|
52
62
|
import {
|
|
53
63
|
eslintVersion,
|
|
54
64
|
lintStagedVersion,
|
|
@@ -69,23 +79,8 @@ import {
|
|
|
69
79
|
typescriptVersion,
|
|
70
80
|
verdaccioVersion
|
|
71
81
|
} from "../../chunk-EK75QNMS.mjs";
|
|
72
|
-
import
|
|
73
|
-
|
|
74
|
-
addPluginProjectTag,
|
|
75
|
-
addProjectTag,
|
|
76
|
-
formatProjectTag,
|
|
77
|
-
getProjectTag,
|
|
78
|
-
hasProjectTag,
|
|
79
|
-
isEqualProjectTag,
|
|
80
|
-
setDefaultProjectTags
|
|
81
|
-
} from "../../chunk-F66XEAID.mjs";
|
|
82
|
-
import {
|
|
83
|
-
modifyCargoNestedTable,
|
|
84
|
-
modifyCargoTable,
|
|
85
|
-
parseCargoToml,
|
|
86
|
-
parseCargoTomlWithTree,
|
|
87
|
-
stringifyCargoToml
|
|
88
|
-
} from "../../chunk-U65XVJ4Y.mjs";
|
|
82
|
+
import "../../chunk-R2WP5YDO.mjs";
|
|
83
|
+
import "../../chunk-WLB7XVWW.mjs";
|
|
89
84
|
import "../../chunk-LSF4BHCI.mjs";
|
|
90
85
|
import "../../chunk-U7JFVMCK.mjs";
|
|
91
86
|
import "../../chunk-IEZKYJSF.mjs";
|
|
@@ -129,12 +124,8 @@ export {
|
|
|
129
124
|
isExternal,
|
|
130
125
|
lintStagedVersion,
|
|
131
126
|
lockFileExists,
|
|
132
|
-
modifyCargoNestedTable,
|
|
133
|
-
modifyCargoTable,
|
|
134
127
|
nodeVersion,
|
|
135
128
|
nxVersion,
|
|
136
|
-
parseCargoToml,
|
|
137
|
-
parseCargoTomlWithTree,
|
|
138
129
|
pnpmUpdate,
|
|
139
130
|
pnpmVersion,
|
|
140
131
|
prettierPackageJsonVersion,
|
|
@@ -143,7 +134,6 @@ export {
|
|
|
143
134
|
runProcess,
|
|
144
135
|
semanticReleaseVersion,
|
|
145
136
|
setDefaultProjectTags,
|
|
146
|
-
stringifyCargoToml,
|
|
147
137
|
swcCliVersion,
|
|
148
138
|
swcCoreVersion,
|
|
149
139
|
swcHelpersVersion,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProjectConfiguration } from '@nx/devkit';
|
|
2
|
+
import { C as CargoToml } from '../../toml-C0imOcwz.mjs';
|
|
2
3
|
import { PackageJson } from 'nx/src/utils/package-json.js';
|
|
3
|
-
import { CargoToml } from './toml.mjs';
|
|
4
4
|
|
|
5
5
|
type PackageManagerType = "package.json" | "Cargo.toml";
|
|
6
6
|
declare const PackageManagerTypes: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProjectConfiguration } from '@nx/devkit';
|
|
2
|
+
import { C as CargoToml } from '../../toml-C0imOcwz.js';
|
|
2
3
|
import { PackageJson } from 'nx/src/utils/package-json.js';
|
|
3
|
-
import { CargoToml } from './toml.js';
|
|
4
4
|
|
|
5
5
|
type PackageManagerType = "package.json" | "Cargo.toml";
|
|
6
6
|
declare const PackageManagerTypes: {
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk7Q2NOIDRjs = require('../../chunk-7Q2NOIDR.js');
|
|
5
5
|
require('../../chunk-AX3RSZT7.js');
|
|
6
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-EDMNYJEB.js');
|
|
7
|
+
require('../../chunk-BNERGX6I.js');
|
|
8
|
+
require('../../chunk-4WHSR4FK.js');
|
|
9
|
+
require('../../chunk-53DNHF7B.js');
|
|
7
10
|
require('../../chunk-3RG5ZIWI.js');
|
|
8
11
|
|
|
9
12
|
|
|
10
13
|
|
|
11
|
-
exports.PackageManagerTypes =
|
|
14
|
+
exports.PackageManagerTypes = _chunk7Q2NOIDRjs.PackageManagerTypes; exports.getPackageInfo = _chunk7Q2NOIDRjs.getPackageInfo;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PackageManagerTypes,
|
|
3
3
|
getPackageInfo
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-5XTW4576.mjs";
|
|
5
5
|
import "../../chunk-F66XEAID.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-R2WP5YDO.mjs";
|
|
7
|
+
import "../../chunk-WLB7XVWW.mjs";
|
|
8
|
+
import "../../chunk-LSF4BHCI.mjs";
|
|
9
|
+
import "../../chunk-U7JFVMCK.mjs";
|
|
7
10
|
import "../../chunk-IEZKYJSF.mjs";
|
|
8
11
|
export {
|
|
9
12
|
PackageManagerTypes,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkF6X43VUXjs = require('../../chunk-F6X43VUX.js');
|
|
4
4
|
require('../../chunk-53DNHF7B.js');
|
|
5
5
|
require('../../chunk-3RG5ZIWI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.pnpmUpdate =
|
|
8
|
+
exports.pnpmUpdate = _chunkF6X43VUXjs.pnpmUpdate;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { Tree } from '@nx/devkit';
|
|
2
|
-
|
|
3
1
|
interface CargoToml {
|
|
4
2
|
workspace?: {
|
|
5
3
|
members: string[];
|
|
@@ -127,10 +125,5 @@ interface Docs2 {
|
|
|
127
125
|
interface Rs2 {
|
|
128
126
|
"all-features": boolean;
|
|
129
127
|
}
|
|
130
|
-
declare function parseCargoTomlWithTree(tree: Tree, projectRoot: string, projectName: string): CargoToml;
|
|
131
|
-
declare function parseCargoToml(cargoString?: string): CargoToml;
|
|
132
|
-
declare function stringifyCargoToml(cargoToml: CargoToml): string;
|
|
133
|
-
declare function modifyCargoTable(toml: CargoToml, section: string, key: string, value: string | object | any[] | (() => any)): void;
|
|
134
|
-
declare function modifyCargoNestedTable(toml: CargoToml, section: string, key: string, value: object): void;
|
|
135
128
|
|
|
136
|
-
export
|
|
129
|
+
export type { CargoToml as C, Dependency as D, Package as P, CargoMetadata as a };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { Tree } from '@nx/devkit';
|
|
2
|
-
|
|
3
1
|
interface CargoToml {
|
|
4
2
|
workspace?: {
|
|
5
3
|
members: string[];
|
|
@@ -127,10 +125,5 @@ interface Docs2 {
|
|
|
127
125
|
interface Rs2 {
|
|
128
126
|
"all-features": boolean;
|
|
129
127
|
}
|
|
130
|
-
declare function parseCargoTomlWithTree(tree: Tree, projectRoot: string, projectName: string): CargoToml;
|
|
131
|
-
declare function parseCargoToml(cargoString?: string): CargoToml;
|
|
132
|
-
declare function stringifyCargoToml(cargoToml: CargoToml): string;
|
|
133
|
-
declare function modifyCargoTable(toml: CargoToml, section: string, key: string, value: string | object | any[] | (() => any)): void;
|
|
134
|
-
declare function modifyCargoNestedTable(toml: CargoToml, section: string, key: string, value: object): void;
|
|
135
128
|
|
|
136
|
-
export
|
|
129
|
+
export type { CargoToml as C, Dependency as D, Package as P, CargoMetadata as a };
|
|
@@ -33,6 +33,15 @@ The registry to publish to
|
|
|
33
33
|
The tag to publish with
|
|
34
34
|
|
|
35
35
|
|
|
36
|
+
## `version`
|
|
37
|
+
- **Type**: `string`
|
|
38
|
+
|
|
39
|
+
> Version
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
The version to publish. If not provided, the version from package.json will be used
|
|
43
|
+
|
|
44
|
+
|
|
36
45
|
## `otp`
|
|
37
46
|
- **Type**: `number`
|
|
38
47
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/workspace-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.273.0",
|
|
4
4
|
"description": "Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -208,9 +208,9 @@
|
|
|
208
208
|
"@size-limit/esbuild": "11.1.4",
|
|
209
209
|
"@size-limit/esbuild-why": "11.1.4",
|
|
210
210
|
"@size-limit/file": "11.1.4",
|
|
211
|
-
"@storm-software/esbuild": "^0.
|
|
212
|
-
"@storm-software/prettier": "^0.
|
|
213
|
-
"@storm-software/unbuild": "^0.
|
|
211
|
+
"@storm-software/esbuild": "^0.41.0",
|
|
212
|
+
"@storm-software/prettier": "^0.51.0",
|
|
213
|
+
"@storm-software/unbuild": "^0.47.0",
|
|
214
214
|
"fs-extra": "11.2.0",
|
|
215
215
|
"glob": "^11.0.1",
|
|
216
216
|
"jiti": "^2.4.2",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// Generated by @storm-software/untyped
|
|
3
|
-
// Do not edit this file directly
|
|
4
|
-
|
|
5
|
-
export interface BaseExecutorSchema {
|
|
6
|
-
/**
|
|
7
|
-
* Output Path
|
|
8
|
-
*
|
|
9
|
-
* The output path for the build
|
|
10
|
-
*
|
|
11
|
-
* @default "dist/{projectRoot}"
|
|
12
|
-
*
|
|
13
|
-
* @format path
|
|
14
|
-
*/
|
|
15
|
-
outputPath?: string,
|
|
16
|
-
}
|
|
17
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "#",
|
|
3
|
-
"title": "Base Executor",
|
|
4
|
-
"description": "A base type definition for an executor schema",
|
|
5
|
-
"properties": {
|
|
6
|
-
"outputPath": {
|
|
7
|
-
"title": "Output Path",
|
|
8
|
-
"type": "string",
|
|
9
|
-
"format": "path",
|
|
10
|
-
"description": "The output path for the build",
|
|
11
|
-
"id": "#outputPath",
|
|
12
|
-
"default": "dist/{projectRoot}"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"type": "object",
|
|
16
|
-
"default": {
|
|
17
|
-
"outputPath": "dist/{projectRoot}"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<!-- Generated by @storm-software/untyped -->
|
|
3
|
-
<!-- Do not edit this file directly -->
|
|
4
|
-
|
|
5
|
-
# Base Executor
|
|
6
|
-
|
|
7
|
-
## `outputPath`
|
|
8
|
-
- **Type**: `string`
|
|
9
|
-
- **Default**: `"dist/{projectRoot}"`
|
|
10
|
-
|
|
11
|
-
> Output Path
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
The output path for the build
|
|
15
|
-
|
|
16
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "#",
|
|
3
|
-
"title": "Base Generator",
|
|
4
|
-
"description": "A type definition for the base Generator schema",
|
|
5
|
-
"properties": {
|
|
6
|
-
"directory": {
|
|
7
|
-
"title": "Directory",
|
|
8
|
-
"type": "string",
|
|
9
|
-
"description": "The directory to create the library in",
|
|
10
|
-
"id": "#directory"
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"type": "object",
|
|
14
|
-
"default": {}
|
|
15
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// Generated by @storm-software/untyped
|
|
3
|
-
// Do not edit this file directly
|
|
4
|
-
|
|
5
|
-
export interface CargoBaseExecutorSchema {
|
|
6
|
-
/**
|
|
7
|
-
* Output Path
|
|
8
|
-
*
|
|
9
|
-
* The output path for the build
|
|
10
|
-
*
|
|
11
|
-
* @default "dist/{projectRoot}"
|
|
12
|
-
*
|
|
13
|
-
* @format path
|
|
14
|
-
*/
|
|
15
|
-
outputPath?: string,
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Cargo.toml Path
|
|
19
|
-
*
|
|
20
|
-
* The path to the Cargo.toml file
|
|
21
|
-
*
|
|
22
|
-
* @default "{projectRoot}/Cargo.toml"
|
|
23
|
-
*
|
|
24
|
-
* @format path
|
|
25
|
-
*/
|
|
26
|
-
package?: string,
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Toolchain
|
|
30
|
-
*
|
|
31
|
-
* The type of toolchain to use for the build
|
|
32
|
-
*
|
|
33
|
-
* @default "stable"
|
|
34
|
-
*
|
|
35
|
-
* @enum stable,beta,nightly
|
|
36
|
-
*/
|
|
37
|
-
toolchain?: string,
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Target
|
|
41
|
-
*
|
|
42
|
-
* The target to build
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
target?: string,
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* All Targets
|
|
49
|
-
*
|
|
50
|
-
* Build all targets
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
allTargets?: boolean,
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Profile
|
|
57
|
-
*
|
|
58
|
-
* The profile to build
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
profile?: string,
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Release
|
|
65
|
-
*
|
|
66
|
-
* Build in release mode
|
|
67
|
-
*
|
|
68
|
-
*/
|
|
69
|
-
release?: boolean,
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Features
|
|
73
|
-
*
|
|
74
|
-
* The features to build
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* @oneOf [object Object],[object Object]
|
|
78
|
-
*/
|
|
79
|
-
features?: string,
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* All Features
|
|
83
|
-
*
|
|
84
|
-
* Build all features
|
|
85
|
-
*
|
|
86
|
-
*/
|
|
87
|
-
allFeatures?: boolean,
|
|
88
|
-
}
|
|
89
|
-
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "#",
|
|
3
|
-
"title": "Cargo Base Executor",
|
|
4
|
-
"description": "A base type definition for a Cargo/rust related executor schema",
|
|
5
|
-
"properties": {
|
|
6
|
-
"outputPath": {
|
|
7
|
-
"title": "Output Path",
|
|
8
|
-
"type": "string",
|
|
9
|
-
"format": "path",
|
|
10
|
-
"description": "The output path for the build",
|
|
11
|
-
"id": "#outputPath",
|
|
12
|
-
"default": "dist/{projectRoot}"
|
|
13
|
-
},
|
|
14
|
-
"package": {
|
|
15
|
-
"title": "Cargo.toml Path",
|
|
16
|
-
"type": "string",
|
|
17
|
-
"format": "path",
|
|
18
|
-
"description": "The path to the Cargo.toml file",
|
|
19
|
-
"id": "#package",
|
|
20
|
-
"default": "{projectRoot}/Cargo.toml"
|
|
21
|
-
},
|
|
22
|
-
"toolchain": {
|
|
23
|
-
"title": "Toolchain",
|
|
24
|
-
"description": "The type of toolchain to use for the build",
|
|
25
|
-
"enum": [
|
|
26
|
-
"stable",
|
|
27
|
-
"beta",
|
|
28
|
-
"nightly"
|
|
29
|
-
],
|
|
30
|
-
"default": "stable",
|
|
31
|
-
"id": "#toolchain",
|
|
32
|
-
"type": "string"
|
|
33
|
-
},
|
|
34
|
-
"target": {
|
|
35
|
-
"title": "Target",
|
|
36
|
-
"type": "string",
|
|
37
|
-
"description": "The target to build",
|
|
38
|
-
"id": "#target"
|
|
39
|
-
},
|
|
40
|
-
"allTargets": {
|
|
41
|
-
"title": "All Targets",
|
|
42
|
-
"type": "boolean",
|
|
43
|
-
"description": "Build all targets",
|
|
44
|
-
"id": "#allTargets"
|
|
45
|
-
},
|
|
46
|
-
"profile": {
|
|
47
|
-
"title": "Profile",
|
|
48
|
-
"type": "string",
|
|
49
|
-
"description": "The profile to build",
|
|
50
|
-
"id": "#profile"
|
|
51
|
-
},
|
|
52
|
-
"release": {
|
|
53
|
-
"title": "Release",
|
|
54
|
-
"type": "boolean",
|
|
55
|
-
"description": "Build in release mode",
|
|
56
|
-
"id": "#release"
|
|
57
|
-
},
|
|
58
|
-
"features": {
|
|
59
|
-
"title": "Features",
|
|
60
|
-
"type": "string",
|
|
61
|
-
"description": "The features to build",
|
|
62
|
-
"oneOf": [
|
|
63
|
-
{
|
|
64
|
-
"type": "string"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"type": "array",
|
|
68
|
-
"items": {
|
|
69
|
-
"type": "string"
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"id": "#features"
|
|
74
|
-
},
|
|
75
|
-
"allFeatures": {
|
|
76
|
-
"title": "All Features",
|
|
77
|
-
"type": "boolean",
|
|
78
|
-
"description": "Build all features",
|
|
79
|
-
"id": "#allFeatures"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"type": "object",
|
|
83
|
-
"default": {
|
|
84
|
-
"outputPath": "dist/{projectRoot}",
|
|
85
|
-
"package": "{projectRoot}/Cargo.toml",
|
|
86
|
-
"toolchain": "stable"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<!-- Generated by @storm-software/untyped -->
|
|
3
|
-
<!-- Do not edit this file directly -->
|
|
4
|
-
|
|
5
|
-
# Cargo Base Executor
|
|
6
|
-
|
|
7
|
-
## `outputPath`
|
|
8
|
-
- **Type**: `string`
|
|
9
|
-
- **Default**: `"dist/{projectRoot}"`
|
|
10
|
-
|
|
11
|
-
> Output Path
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
The output path for the build
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## `package`
|
|
18
|
-
- **Type**: `string`
|
|
19
|
-
- **Default**: `"{projectRoot}/Cargo.toml"`
|
|
20
|
-
|
|
21
|
-
> Cargo.toml Path
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
The path to the Cargo.toml file
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
## `toolchain`
|
|
28
|
-
- **Type**: `string`
|
|
29
|
-
- **Default**: `"stable"`
|
|
30
|
-
|
|
31
|
-
> Toolchain
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
The type of toolchain to use for the build
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
## `target`
|
|
38
|
-
- **Type**: `string`
|
|
39
|
-
|
|
40
|
-
> Target
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
The target to build
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
## `allTargets`
|
|
47
|
-
- **Type**: `boolean`
|
|
48
|
-
|
|
49
|
-
> All Targets
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
Build all targets
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
## `profile`
|
|
56
|
-
- **Type**: `string`
|
|
57
|
-
|
|
58
|
-
> Profile
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
The profile to build
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
## `release`
|
|
65
|
-
- **Type**: `boolean`
|
|
66
|
-
|
|
67
|
-
> Release
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
Build in release mode
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
## `features`
|
|
74
|
-
- **Type**: `string`
|
|
75
|
-
|
|
76
|
-
> Features
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
The features to build
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
## `allFeatures`
|
|
83
|
-
- **Type**: `boolean`
|
|
84
|
-
|
|
85
|
-
> All Features
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
Build all features
|
|
89
|
-
|
|
90
|
-
|