@storm-software/workspace-tools 1.292.15 → 1.292.18
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 +66 -0
- package/README.md +4 -36
- package/config/base.json +13 -14
- package/dist/{chunk-UCXAD2SG.mjs → chunk-6PVCCKX4.mjs} +1 -1
- package/dist/chunk-ANHKV7HZ.js +22 -0
- package/dist/{chunk-PUFTJ2BG.mjs → chunk-D2ENLOCH.mjs} +14 -12
- package/dist/{chunk-MGF3DTWM.js → chunk-EECJXHDA.js} +50 -17
- package/dist/chunk-EGI64HQ2.mjs +22 -0
- package/dist/chunk-EYRX4NM6.mjs +213 -0
- package/dist/{chunk-LOFMB5G3.mjs → chunk-IPWUJVZZ.mjs} +1 -1
- package/dist/{chunk-YNLDYAEE.mjs → chunk-JHJLQ2O7.mjs} +1 -1
- package/dist/{chunk-452FQZ3B.js → chunk-JWFGGMYQ.js} +1 -6
- package/dist/{chunk-Q57UD72U.mjs → chunk-KCVIHYZQ.mjs} +1 -1
- package/dist/{chunk-7DLHAWLG.mjs → chunk-MU6OJDOC.mjs} +1 -1
- package/dist/{chunk-IBTPJDV6.js → chunk-N3YCERS6.js} +5 -2
- package/dist/{chunk-WV5SNA37.js → chunk-O2FPRXPD.js} +17 -15
- package/dist/{chunk-FQSIFEMR.mjs → chunk-OOR7HG4P.mjs} +37 -4
- package/dist/{chunk-2LY7DGBH.mjs → chunk-OV33RACH.mjs} +5 -2
- package/dist/{chunk-WRXLSZ6I.js → chunk-POXELQII.js} +2 -2
- package/dist/{chunk-B4RJUBHW.mjs → chunk-QUHBEE5D.mjs} +1 -1
- package/dist/chunk-SAIDGUHG.mjs +0 -0
- package/dist/chunk-TCGF4GS7.js +213 -0
- package/dist/chunk-TJRQRM4Z.mjs +49 -0
- package/dist/chunk-W4IH547O.js +49 -0
- package/dist/{chunk-2ONEZU6V.mjs → chunk-WH72XZPS.mjs} +1 -1
- package/dist/{chunk-SVIG7SR3.mjs → chunk-X2SLQ73Q.mjs} +1 -6
- package/dist/chunk-YYLV7UA6.js +1 -0
- package/dist/{chunk-7QY4X73C.js → chunk-ZP4B44CQ.js} +2 -2
- package/dist/executors.js +16 -17
- package/dist/executors.mjs +19 -20
- package/dist/generators.d.mts +0 -2
- package/dist/generators.d.ts +0 -2
- package/dist/generators.js +8 -14
- package/dist/generators.mjs +13 -19
- package/dist/index.d.mts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +39 -34
- package/dist/index.mjs +53 -48
- 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.js +3 -3
- package/dist/src/executors/cargo-publish/executor.mjs +3 -3
- 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.js +4 -5
- package/dist/src/executors/npm-publish/executor.mjs +4 -5
- 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.js +2 -2
- package/dist/src/plugins/rust/cargo-toml.mjs +2 -2
- package/dist/src/plugins/rust/index.js +2 -2
- package/dist/src/plugins/rust/index.mjs +2 -2
- package/dist/src/plugins/typescript/index.js +22 -22
- package/dist/src/plugins/typescript/index.mjs +23 -23
- 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.d.mts +11 -0
- package/dist/src/release/index.d.ts +11 -0
- package/dist/src/release/index.js +17 -0
- package/dist/src/release/index.mjs +18 -0
- package/dist/src/release/js-version-actions.d.mts +44 -0
- package/dist/src/release/js-version-actions.d.ts +44 -0
- package/dist/src/release/js-version-actions.js +10 -0
- package/dist/src/release/js-version-actions.mjs +11 -0
- package/dist/src/release/rust-version-actions.d.mts +56 -0
- package/dist/src/release/rust-version-actions.d.ts +56 -0
- package/dist/src/release/rust-version-actions.js +12 -0
- package/dist/src/release/rust-version-actions.mjs +13 -0
- 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.js +11 -11
- package/dist/src/utils/index.mjs +18 -18
- package/dist/src/utils/lock-file.d.mts +2 -2
- package/dist/src/utils/lock-file.d.ts +2 -2
- package/dist/src/utils/lock-file.mjs +1 -1
- package/dist/src/utils/nx-json.d.mts +3 -27
- package/dist/src/utils/nx-json.d.ts +3 -27
- package/dist/src/utils/nx-json.js +2 -2
- package/dist/src/utils/nx-json.mjs +2 -2
- package/dist/src/utils/package-helpers.js +3 -3
- package/dist/src/utils/package-helpers.mjs +3 -3
- package/dist/src/utils/plugin-helpers.d.mts +2 -2
- package/dist/src/utils/plugin-helpers.d.ts +2 -2
- package/dist/src/utils/plugin-helpers.mjs +1 -1
- package/dist/src/utils/project-tags.mjs +1 -1
- package/dist/src/utils/registry-helpers.d.mts +11 -0
- package/dist/src/utils/registry-helpers.d.ts +11 -0
- package/dist/src/utils/registry-helpers.js +6 -0
- package/dist/src/utils/registry-helpers.mjs +7 -0
- package/dist/src/utils/typia-transform.mjs +1 -1
- package/dist/src/utils/versions.mjs +1 -1
- package/package.json +47 -18
- package/dist/chunk-J4I6MJT2.js +0 -73
- package/dist/chunk-JLXBL5BC.mjs +0 -73
- package/dist/chunk-WEL4BVFX.js +0 -1049
- package/dist/chunk-ZZWU35JU.mjs +0 -1049
- package/dist/generator-DLXza9BZ.d.ts +0 -186
- package/dist/generator-DVYJZa5j.d.mts +0 -186
- package/dist/src/generators/release-version/generator.d.mts +0 -6
- package/dist/src/generators/release-version/generator.d.ts +0 -6
- package/dist/src/generators/release-version/generator.js +0 -14
- package/dist/src/generators/release-version/generator.mjs +0 -15
- 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/untyped.d.mts +0 -5
- package/dist/src/generators/release-version/untyped.d.ts +0 -5
- package/dist/src/generators/release-version/untyped.js +0 -159
- package/dist/src/generators/release-version/untyped.mjs +0 -161
- package/docs/api/generators/release-version/schema.md +0 -160
- /package/dist/{chunk-RLIZVCIN.mjs → chunk-5GZC2PF6.mjs} +0 -0
- /package/dist/{chunk-INERRJ6Q.js → chunk-C3TC7AUW.js} +0 -0
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
|
|
2
|
+
|
|
3
|
+
var _chunkANHKV7HZjs = require('./chunk-ANHKV7HZ.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkJWFGGMYQjs = require('./chunk-JWFGGMYQ.js');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var _chunkDSDE2UL5js = require('./chunk-DSDE2UL5.js');
|
|
12
|
+
|
|
13
|
+
// src/release/rust-version-actions.ts
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _devkit = require('@nx/devkit');
|
|
17
|
+
var _release = require('nx/release');
|
|
18
|
+
var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
19
|
+
__init() {this.validManifestFilenames = ["Cargo.toml"]}
|
|
20
|
+
/**
|
|
21
|
+
* The Storm workspace configuration object, which is loaded from the `storm-workspace.json` file.
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
* This member variable is populated during the {@link init} method.
|
|
25
|
+
*/
|
|
26
|
+
__init2() {this.workspaceConfig = null}
|
|
27
|
+
constructor(releaseGroup, projectGraphNode, finalConfigForProject) {
|
|
28
|
+
super(releaseGroup, projectGraphNode, finalConfigForProject);_class.prototype.__init.call(this);_class.prototype.__init2.call(this);;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Asynchronous initialization of the version actions and resolution of manifest paths.
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* This does NOT validate that manifest files exist - that happens later in validate().
|
|
35
|
+
*
|
|
36
|
+
* @params tree - The file system tree to read from.
|
|
37
|
+
*/
|
|
38
|
+
async init(tree) {
|
|
39
|
+
this.workspaceConfig = await _chunkDSDE2UL5js.getWorkspaceConfig.call(void 0, );
|
|
40
|
+
return super.init(tree);
|
|
41
|
+
}
|
|
42
|
+
async readCurrentVersionFromSourceManifest(tree) {
|
|
43
|
+
const sourceCargoTomlPath = _devkit.joinPathFragments.call(void 0,
|
|
44
|
+
this.projectGraphNode.data.root,
|
|
45
|
+
"Cargo.toml"
|
|
46
|
+
);
|
|
47
|
+
try {
|
|
48
|
+
const cargoToml = _chunkJWFGGMYQjs.parseCargoTomlWithTree.call(void 0,
|
|
49
|
+
tree,
|
|
50
|
+
this.projectGraphNode.data.root,
|
|
51
|
+
this.projectGraphNode.name
|
|
52
|
+
);
|
|
53
|
+
return {
|
|
54
|
+
manifestPath: sourceCargoTomlPath,
|
|
55
|
+
currentVersion: cargoToml.package.version
|
|
56
|
+
};
|
|
57
|
+
} catch (e) {
|
|
58
|
+
throw new Error(
|
|
59
|
+
`Unable to determine the current version for project "${this.projectGraphNode.name}" from ${sourceCargoTomlPath}, please ensure that the "version" field is set within the Cargo.toml file`
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
async readCurrentVersionFromRegistry(tree, currentVersionResolverMetadata) {
|
|
64
|
+
const cargoToml = _chunkJWFGGMYQjs.parseCargoTomlWithTree.call(void 0,
|
|
65
|
+
tree,
|
|
66
|
+
this.projectGraphNode.data.root,
|
|
67
|
+
this.projectGraphNode.name
|
|
68
|
+
);
|
|
69
|
+
const crateName = cargoToml.package.name;
|
|
70
|
+
const metadata = currentVersionResolverMetadata;
|
|
71
|
+
const registryArg = typeof _optionalChain([metadata, 'optionalAccess', _ => _.registry]) === "string" ? metadata.registry : _optionalChain([this, 'access', _2 => _2.workspaceConfig, 'optionalAccess', _3 => _3.registry, 'optionalAccess', _4 => _4.cargo]) || "https://crates.io";
|
|
72
|
+
const tagArg = typeof _optionalChain([metadata, 'optionalAccess', _5 => _5.tag]) === "string" ? metadata.tag : "latest";
|
|
73
|
+
let currentVersion = null;
|
|
74
|
+
try {
|
|
75
|
+
currentVersion = await _chunkANHKV7HZjs.getCrateRegistryVersion.call(void 0,
|
|
76
|
+
crateName,
|
|
77
|
+
tagArg,
|
|
78
|
+
registryArg
|
|
79
|
+
);
|
|
80
|
+
} catch (e2) {
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
currentVersion: currentVersion || "0.0.0",
|
|
84
|
+
// Make troubleshooting easier by including the registry and tag data in the log text
|
|
85
|
+
logText: `"cargoRegistry=${registryArg}" tag=${tagArg}`
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
async readCurrentVersionOfDependency(tree, projectGraph, dependencyProjectName) {
|
|
89
|
+
const cargoToml = _chunkJWFGGMYQjs.parseCargoTomlWithTree.call(void 0,
|
|
90
|
+
tree,
|
|
91
|
+
this.projectGraphNode.data.root,
|
|
92
|
+
this.projectGraphNode.name
|
|
93
|
+
);
|
|
94
|
+
if (!_optionalChain([projectGraph, 'access', _6 => _6.nodes, 'access', _7 => _7[dependencyProjectName], 'optionalAccess', _8 => _8.data, 'optionalAccess', _9 => _9.root])) {
|
|
95
|
+
return {
|
|
96
|
+
currentVersion: null,
|
|
97
|
+
dependencyCollection: null
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
const dependencyCargoToml = _chunkJWFGGMYQjs.parseCargoTomlWithTree.call(void 0,
|
|
101
|
+
tree,
|
|
102
|
+
_optionalChain([projectGraph, 'access', _10 => _10.nodes, 'access', _11 => _11[dependencyProjectName], 'optionalAccess', _12 => _12.data, 'access', _13 => _13.root]),
|
|
103
|
+
dependencyProjectName
|
|
104
|
+
);
|
|
105
|
+
if (!_optionalChain([dependencyCargoToml, 'optionalAccess', _14 => _14.package, 'optionalAccess', _15 => _15.name])) {
|
|
106
|
+
return {
|
|
107
|
+
currentVersion: null,
|
|
108
|
+
dependencyCollection: null
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
let currentVersion = null;
|
|
112
|
+
let dependencyCollection = null;
|
|
113
|
+
for (const depType of ["dependencies", "dev-dependencies"]) {
|
|
114
|
+
if (cargoToml[depType] && cargoToml[depType][dependencyCargoToml.package.name]) {
|
|
115
|
+
currentVersion = typeof cargoToml[depType][dependencyCargoToml.package.name] === "string" ? cargoToml[depType][dependencyCargoToml.package.name] : cargoToml[depType][dependencyCargoToml.package.name].version;
|
|
116
|
+
dependencyCollection = depType;
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return {
|
|
121
|
+
currentVersion,
|
|
122
|
+
dependencyCollection
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
async updateProjectVersion(tree, newVersion) {
|
|
126
|
+
const logMessages = [];
|
|
127
|
+
for (const manifestToUpdate of this.manifestsToUpdate) {
|
|
128
|
+
const cargoTomlString = _optionalChain([tree, 'access', _16 => _16.read, 'call', _17 => _17(manifestToUpdate.manifestPath), 'optionalAccess', _18 => _18.toString, 'call', _19 => _19()]);
|
|
129
|
+
if (!cargoTomlString) {
|
|
130
|
+
throw new Error(
|
|
131
|
+
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
const cargoToml = _chunkJWFGGMYQjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
135
|
+
cargoToml.package.version = newVersion;
|
|
136
|
+
tree.write(manifestToUpdate.manifestPath, _chunkJWFGGMYQjs.stringifyCargoToml.call(void 0, cargoToml));
|
|
137
|
+
logMessages.push(
|
|
138
|
+
`\u270D\uFE0F New version ${newVersion} written to manifest: ${manifestToUpdate.manifestPath}`
|
|
139
|
+
);
|
|
140
|
+
}
|
|
141
|
+
return logMessages;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Updates the dependencies of the project in the specified Cargo.toml files.
|
|
145
|
+
*
|
|
146
|
+
* @param tree - The file system tree to read from and write to.
|
|
147
|
+
* @param projectGraph - The project graph to use for resolving dependencies.
|
|
148
|
+
* @param dependenciesToUpdate - A mapping of dependency names to their new versions.
|
|
149
|
+
* @returns An array of log messages indicating the results of the updates.
|
|
150
|
+
*/
|
|
151
|
+
async updateProjectDependencies(tree, projectGraph, dependenciesToUpdate = {}) {
|
|
152
|
+
const numDependenciesToUpdate = Object.keys(dependenciesToUpdate).length;
|
|
153
|
+
if (numDependenciesToUpdate === 0) {
|
|
154
|
+
return [];
|
|
155
|
+
}
|
|
156
|
+
const logMessages = [];
|
|
157
|
+
for (const manifestToUpdate of this.manifestsToUpdate) {
|
|
158
|
+
const cargoTomlString = _optionalChain([tree, 'access', _20 => _20.read, 'call', _21 => _21(manifestToUpdate.manifestPath), 'optionalAccess', _22 => _22.toString, 'call', _23 => _23()]);
|
|
159
|
+
if (!cargoTomlString) {
|
|
160
|
+
throw new Error(
|
|
161
|
+
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
162
|
+
);
|
|
163
|
+
}
|
|
164
|
+
const cargoToml = _chunkJWFGGMYQjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
165
|
+
for (const depType of ["dependencies", "dev-dependencies"]) {
|
|
166
|
+
if (cargoToml[depType]) {
|
|
167
|
+
for (const [dep, version] of Object.entries(dependenciesToUpdate)) {
|
|
168
|
+
try {
|
|
169
|
+
const projectRoot = _optionalChain([projectGraph, 'access', _24 => _24.nodes, 'access', _25 => _25[dep], 'optionalAccess', _26 => _26.data, 'access', _27 => _27.root]);
|
|
170
|
+
if (!projectRoot) {
|
|
171
|
+
throw new Error(
|
|
172
|
+
`Unable to determine the project root for "${dep}" from the project graph metadata, please ensure that the "@storm-software/workspace-tools" plugin is installed and the project graph has been built. If the issue persists, please report this issue on https://github.com/storm-software/storm-ops/issues`
|
|
173
|
+
);
|
|
174
|
+
}
|
|
175
|
+
const dependencyCargoTomlString = _optionalChain([tree, 'access', _28 => _28.read, 'call', _29 => _29(manifestToUpdate.manifestPath), 'optionalAccess', _30 => _30.toString, 'call', _31 => _31()]);
|
|
176
|
+
if (!dependencyCargoTomlString) {
|
|
177
|
+
throw new Error(
|
|
178
|
+
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
179
|
+
);
|
|
180
|
+
}
|
|
181
|
+
const dependencyCargoToml = _chunkJWFGGMYQjs.parseCargoToml.call(void 0,
|
|
182
|
+
dependencyCargoTomlString
|
|
183
|
+
);
|
|
184
|
+
const dependencyCrateName = cargoToml[depType][dependencyCargoToml.package.name] ? dependencyCargoToml.package.name : dep;
|
|
185
|
+
if (typeof cargoToml[depType][dependencyCrateName] === "string") {
|
|
186
|
+
cargoToml[depType][dependencyCrateName] = version;
|
|
187
|
+
} else {
|
|
188
|
+
cargoToml[depType][dependencyCrateName].version = version;
|
|
189
|
+
}
|
|
190
|
+
tree.write(
|
|
191
|
+
manifestToUpdate.manifestPath,
|
|
192
|
+
_chunkJWFGGMYQjs.stringifyCargoToml.call(void 0, cargoToml)
|
|
193
|
+
);
|
|
194
|
+
} catch (error) {
|
|
195
|
+
throw new Error(
|
|
196
|
+
`Unable to update ${depType === "dev-dependencies" ? "dev-dependency" : "dependency"} "${dep}" in manifest at path: ${manifestToUpdate.manifestPath}.`,
|
|
197
|
+
{ cause: error }
|
|
198
|
+
);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
logMessages.push(
|
|
204
|
+
`\u270D\uFE0F Updated ${numDependenciesToUpdate} ${numDependenciesToUpdate === 1 ? "dependency" : "dependencies"} in manifest: ${manifestToUpdate.manifestPath}`
|
|
205
|
+
);
|
|
206
|
+
}
|
|
207
|
+
return logMessages;
|
|
208
|
+
}
|
|
209
|
+
}, _class);
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
exports.StormRustVersionActions = StormRustVersionActions;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getWorkspaceConfig
|
|
3
|
+
} from "./chunk-NOTQLVZP.mjs";
|
|
4
|
+
|
|
5
|
+
// src/release/js-version-actions.ts
|
|
6
|
+
import JsVersionActions from "@nx/js/src/release/version-actions.js";
|
|
7
|
+
var StormJsVersionActions = class extends JsVersionActions {
|
|
8
|
+
/**
|
|
9
|
+
* The Storm workspace configuration object, which is loaded from the `storm-workspace.json` file.
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* This member variable is populated during the {@link init} method.
|
|
13
|
+
*/
|
|
14
|
+
workspaceConfig = null;
|
|
15
|
+
constructor(releaseGroup, projectGraphNode, finalConfigForProject) {
|
|
16
|
+
super(releaseGroup, projectGraphNode, finalConfigForProject);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Asynchronous initialization of the version actions and resolution of manifest paths.
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* This does NOT validate that manifest files exist - that happens later in validate().
|
|
23
|
+
*
|
|
24
|
+
* @params tree - The file system tree to read from.
|
|
25
|
+
*/
|
|
26
|
+
async init(tree) {
|
|
27
|
+
this.workspaceConfig = await getWorkspaceConfig();
|
|
28
|
+
return super.init(tree);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Reads the current version of a package from the registry.
|
|
32
|
+
*
|
|
33
|
+
* @param tree - The file system tree to read from.
|
|
34
|
+
* @param currentVersionResolverMetadata - Metadata for resolving the current version.
|
|
35
|
+
* @returns The current version and log text.
|
|
36
|
+
*/
|
|
37
|
+
readCurrentVersionFromRegistry(tree, currentVersionResolverMetadata) {
|
|
38
|
+
currentVersionResolverMetadata ??= {};
|
|
39
|
+
currentVersionResolverMetadata.registry ??= this.workspaceConfig?.registry?.npm;
|
|
40
|
+
return super.readCurrentVersionFromRegistry(
|
|
41
|
+
tree,
|
|
42
|
+
currentVersionResolverMetadata
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export {
|
|
48
|
+
StormJsVersionActions
|
|
49
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
|
|
2
|
+
|
|
3
|
+
var _chunkDSDE2UL5js = require('./chunk-DSDE2UL5.js');
|
|
4
|
+
|
|
5
|
+
// src/release/js-version-actions.ts
|
|
6
|
+
var _versionactionsjs = require('@nx/js/src/release/version-actions.js'); var _versionactionsjs2 = _interopRequireDefault(_versionactionsjs);
|
|
7
|
+
var StormJsVersionActions = (_class = class extends _versionactionsjs2.default {
|
|
8
|
+
/**
|
|
9
|
+
* The Storm workspace configuration object, which is loaded from the `storm-workspace.json` file.
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* This member variable is populated during the {@link init} method.
|
|
13
|
+
*/
|
|
14
|
+
__init() {this.workspaceConfig = null}
|
|
15
|
+
constructor(releaseGroup, projectGraphNode, finalConfigForProject) {
|
|
16
|
+
super(releaseGroup, projectGraphNode, finalConfigForProject);_class.prototype.__init.call(this);;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Asynchronous initialization of the version actions and resolution of manifest paths.
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* This does NOT validate that manifest files exist - that happens later in validate().
|
|
23
|
+
*
|
|
24
|
+
* @params tree - The file system tree to read from.
|
|
25
|
+
*/
|
|
26
|
+
async init(tree) {
|
|
27
|
+
this.workspaceConfig = await _chunkDSDE2UL5js.getWorkspaceConfig.call(void 0, );
|
|
28
|
+
return super.init(tree);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Reads the current version of a package from the registry.
|
|
32
|
+
*
|
|
33
|
+
* @param tree - The file system tree to read from.
|
|
34
|
+
* @param currentVersionResolverMetadata - Metadata for resolving the current version.
|
|
35
|
+
* @returns The current version and log text.
|
|
36
|
+
*/
|
|
37
|
+
readCurrentVersionFromRegistry(tree, currentVersionResolverMetadata) {
|
|
38
|
+
currentVersionResolverMetadata ??= {};
|
|
39
|
+
currentVersionResolverMetadata.registry ??= _optionalChain([this, 'access', _ => _.workspaceConfig, 'optionalAccess', _2 => _2.registry, 'optionalAccess', _3 => _3.npm]);
|
|
40
|
+
return super.readCurrentVersionFromRegistry(
|
|
41
|
+
tree,
|
|
42
|
+
currentVersionResolverMetadata
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
}, _class);
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
exports.StormJsVersionActions = StormJsVersionActions;
|
|
@@ -29,14 +29,9 @@ function stringifyCargoToml(cargoToml) {
|
|
|
29
29
|
}
|
|
30
30
|
return tomlString;
|
|
31
31
|
}
|
|
32
|
-
function modifyCargoTable(toml, section, key, value) {
|
|
33
|
-
toml[section] ??= TOML.Section({});
|
|
34
|
-
toml[section][key] = typeof value === "object" && !Array.isArray(value) ? TOML.inline(value) : typeof value === "function" ? value() : value;
|
|
35
|
-
}
|
|
36
32
|
|
|
37
33
|
export {
|
|
38
34
|
parseCargoTomlWithTree,
|
|
39
35
|
parseCargoToml,
|
|
40
|
-
stringifyCargoToml
|
|
41
|
-
modifyCargoTable
|
|
36
|
+
stringifyCargoToml
|
|
42
37
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJWFGGMYQjs = require('./chunk-JWFGGMYQ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -31,7 +31,7 @@ var getPackageInfo = (project) => {
|
|
|
31
31
|
) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))) {
|
|
32
32
|
return {
|
|
33
33
|
type: "Cargo.toml",
|
|
34
|
-
content:
|
|
34
|
+
content: _chunkJWFGGMYQjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
|
|
35
35
|
};
|
|
36
36
|
} else if (_chunkAX3RSZT7js.isEqualProjectTag.call(void 0,
|
|
37
37
|
project,
|
package/dist/executors.js
CHANGED
|
@@ -1,45 +1,44 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-3J53KHVV.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkADWXA4ZQjs = require('./chunk-ADWXA4ZQ.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkSVSX2DDYjs = require('./chunk-SVSX2DDY.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkYNZUCZH3js = require('./chunk-YNZUCZH3.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkMYFQ64WEjs = require('./chunk-MYFQ64WE.js');
|
|
14
|
+
require('./chunk-FSYURQ5X.js');
|
|
14
15
|
|
|
15
16
|
|
|
16
|
-
var
|
|
17
|
+
var _chunkEECJXHDAjs = require('./chunk-EECJXHDA.js');
|
|
17
18
|
|
|
18
19
|
|
|
19
|
-
var
|
|
20
|
+
var _chunk5C7DI3NFjs = require('./chunk-5C7DI3NF.js');
|
|
20
21
|
|
|
21
22
|
|
|
22
|
-
var
|
|
23
|
+
var _chunkVWQYDQYVjs = require('./chunk-VWQYDQYV.js');
|
|
23
24
|
|
|
24
25
|
|
|
25
|
-
var
|
|
26
|
-
require('./chunk-FSYURQ5X.js');
|
|
26
|
+
var _chunk5Z2FOAF6js = require('./chunk-5Z2FOAF6.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunk3JD245PMjs = require('./chunk-3JD245PM.js');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkPOXELQIIjs = require('./chunk-POXELQII.js');
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkF23XFCK3js = require('./chunk-F23XFCK3.js');
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
39
|
-
require('./chunk-7QY4X73C.js');
|
|
38
|
+
var _chunkJOWRO646js = require('./chunk-JOWRO646.js');
|
|
40
39
|
require('./chunk-LJDV7HFT.js');
|
|
41
|
-
require('./chunk-
|
|
42
|
-
require('./chunk-
|
|
40
|
+
require('./chunk-ZP4B44CQ.js');
|
|
41
|
+
require('./chunk-JWFGGMYQ.js');
|
|
43
42
|
require('./chunk-AX3RSZT7.js');
|
|
44
43
|
require('./chunk-TCC635LO.js');
|
|
45
44
|
require('./chunk-LA2KY2TQ.js');
|
|
@@ -60,4 +59,4 @@ require('./chunk-G2L3EEEO.js');
|
|
|
60
59
|
|
|
61
60
|
|
|
62
61
|
|
|
63
|
-
exports.LARGE_BUFFER =
|
|
62
|
+
exports.LARGE_BUFFER = _chunkEECJXHDAjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkF23XFCK3js.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkJOWRO646js.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkVWQYDQYVjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunk5Z2FOAF6js.cargoDocExecutor; exports.cargoFormatExecutor = _chunk3JD245PMjs.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkMYFQ64WEjs.esbuildExecutorFn; exports.getRegistryVersion = _chunkPOXELQIIjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunk5C7DI3NFjs.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunkADWXA4ZQjs.tsdownExecutorFn; exports.typiaExecutorFn = _chunkSVSX2DDYjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkYNZUCZH3js.unbuildExecutorFn;
|
package/dist/executors.mjs
CHANGED
|
@@ -1,45 +1,44 @@
|
|
|
1
1
|
import "./chunk-V7YZ3666.mjs";
|
|
2
|
+
import {
|
|
3
|
+
tsdownExecutorFn
|
|
4
|
+
} from "./chunk-32G4OHA3.mjs";
|
|
5
|
+
import {
|
|
6
|
+
typiaExecutorFn
|
|
7
|
+
} from "./chunk-BCXNBLCP.mjs";
|
|
2
8
|
import {
|
|
3
9
|
unbuildExecutorFn
|
|
4
10
|
} from "./chunk-YJXVS5UQ.mjs";
|
|
11
|
+
import {
|
|
12
|
+
esbuildExecutorFn
|
|
13
|
+
} from "./chunk-NXWRHUNL.mjs";
|
|
14
|
+
import "./chunk-F3NQOV2M.mjs";
|
|
5
15
|
import {
|
|
6
16
|
LARGE_BUFFER
|
|
7
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-OOR7HG4P.mjs";
|
|
8
18
|
import {
|
|
9
19
|
sizeLimitExecutorFn
|
|
10
20
|
} from "./chunk-IIDQ2ITD.mjs";
|
|
11
21
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
22
|
+
cargoClippyExecutor
|
|
23
|
+
} from "./chunk-BC7TUSC7.mjs";
|
|
14
24
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
25
|
+
cargoDocExecutor
|
|
26
|
+
} from "./chunk-DSC7W7VD.mjs";
|
|
17
27
|
import {
|
|
18
28
|
cargoFormatExecutor
|
|
19
29
|
} from "./chunk-6FX2E553.mjs";
|
|
20
30
|
import {
|
|
21
31
|
getRegistryVersion
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import {
|
|
24
|
-
esbuildExecutorFn
|
|
25
|
-
} from "./chunk-NXWRHUNL.mjs";
|
|
26
|
-
import "./chunk-F3NQOV2M.mjs";
|
|
32
|
+
} from "./chunk-MU6OJDOC.mjs";
|
|
27
33
|
import {
|
|
28
34
|
cargoBuildExecutor
|
|
29
35
|
} from "./chunk-CVK7A2Z7.mjs";
|
|
30
36
|
import {
|
|
31
37
|
cargoCheckExecutor
|
|
32
38
|
} from "./chunk-5C3AZXZ2.mjs";
|
|
33
|
-
import {
|
|
34
|
-
cargoClippyExecutor
|
|
35
|
-
} from "./chunk-BC7TUSC7.mjs";
|
|
36
|
-
import {
|
|
37
|
-
cargoDocExecutor
|
|
38
|
-
} from "./chunk-DSC7W7VD.mjs";
|
|
39
|
-
import "./chunk-UCXAD2SG.mjs";
|
|
40
39
|
import "./chunk-6LP3KKXE.mjs";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-6PVCCKX4.mjs";
|
|
41
|
+
import "./chunk-X2SLQ73Q.mjs";
|
|
43
42
|
import "./chunk-F66XEAID.mjs";
|
|
44
43
|
import "./chunk-ZTFZJPOM.mjs";
|
|
45
44
|
import "./chunk-76SRFTZ2.mjs";
|
|
@@ -47,7 +46,7 @@ import "./chunk-NOTQLVZP.mjs";
|
|
|
47
46
|
import "./chunk-V44DYGWX.mjs";
|
|
48
47
|
import "./chunk-VGJEUOUN.mjs";
|
|
49
48
|
import "./chunk-C26A6BXG.mjs";
|
|
50
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-IPWUJVZZ.mjs";
|
|
51
50
|
export {
|
|
52
51
|
LARGE_BUFFER,
|
|
53
52
|
cargoBuildExecutor,
|
package/dist/generators.d.mts
CHANGED
|
@@ -4,11 +4,9 @@ export { I as InitGeneratorSchema, i as initGenerator } from './init-6Nmtv8d5.mj
|
|
|
4
4
|
export { N as NeutralLibraryGeneratorSchema, n as neutralLibraryGeneratorFn } from './generator-BZkyEGDm.mjs';
|
|
5
5
|
export { N as NodeLibraryGeneratorSchema, n as nodeLibraryGeneratorFn } from './generator-BwkUk_k0.mjs';
|
|
6
6
|
export { P as PresetGeneratorSchema, p as presetGeneratorFn } from './generator-BXP2GmDc.mjs';
|
|
7
|
-
export { R as ReleaseVersionGeneratorSchema, r as releaseVersionGeneratorFn } from './generator-DVYJZa5j.mjs';
|
|
8
7
|
import './types-BQTn5wl0.mjs';
|
|
9
8
|
import './types-DeaeRt7S.mjs';
|
|
10
9
|
import 'zod';
|
|
11
10
|
import 'zod/mini';
|
|
12
11
|
import 'tsup';
|
|
13
12
|
import '@nx/devkit';
|
|
14
|
-
import 'nx/src/command-line/release/version-legacy';
|
package/dist/generators.d.ts
CHANGED
|
@@ -4,11 +4,9 @@ export { I as InitGeneratorSchema, i as initGenerator } from './init-6Nmtv8d5.js
|
|
|
4
4
|
export { N as NeutralLibraryGeneratorSchema, n as neutralLibraryGeneratorFn } from './generator-ZeG7RiW9.js';
|
|
5
5
|
export { N as NodeLibraryGeneratorSchema, n as nodeLibraryGeneratorFn } from './generator-zLXInw7b.js';
|
|
6
6
|
export { P as PresetGeneratorSchema, p as presetGeneratorFn } from './generator-B8QUcZay.js';
|
|
7
|
-
export { R as ReleaseVersionGeneratorSchema, r as releaseVersionGeneratorFn } from './generator-DLXza9BZ.js';
|
|
8
7
|
import './types-HINpespO.js';
|
|
9
8
|
import './types-DeaeRt7S.js';
|
|
10
9
|
import 'zod';
|
|
11
10
|
import 'zod/mini';
|
|
12
11
|
import 'tsup';
|
|
13
12
|
import '@nx/devkit';
|
|
14
|
-
import 'nx/src/command-line/release/version-legacy';
|
package/dist/generators.js
CHANGED
|
@@ -1,29 +1,24 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-C3TC7AUW.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkYMZQ7GGXjs = require('./chunk-YMZQ7GGX.js');
|
|
4
|
+
var _chunkJ3WZEN2Ujs = require('./chunk-J3WZEN2U.js');
|
|
8
5
|
|
|
9
6
|
|
|
10
|
-
var
|
|
7
|
+
var _chunkMBO4Z5AVjs = require('./chunk-MBO4Z5AV.js');
|
|
11
8
|
|
|
12
9
|
|
|
13
|
-
var
|
|
10
|
+
var _chunkOKSECMVKjs = require('./chunk-OKSECMVK.js');
|
|
14
11
|
|
|
15
12
|
|
|
16
|
-
var
|
|
13
|
+
var _chunkT5BI42AOjs = require('./chunk-T5BI42AO.js');
|
|
17
14
|
|
|
18
15
|
|
|
19
|
-
var
|
|
16
|
+
var _chunkYMZQ7GGXjs = require('./chunk-YMZQ7GGX.js');
|
|
20
17
|
|
|
21
18
|
|
|
22
|
-
var
|
|
19
|
+
var _chunk6A7OOTO2js = require('./chunk-6A7OOTO2.js');
|
|
23
20
|
require('./chunk-4HV5G4DT.js');
|
|
24
21
|
require('./chunk-SZWM7COV.js');
|
|
25
|
-
require('./chunk-J4I6MJT2.js');
|
|
26
|
-
require('./chunk-452FQZ3B.js');
|
|
27
22
|
require('./chunk-AX3RSZT7.js');
|
|
28
23
|
require('./chunk-XYDGMWNM.js');
|
|
29
24
|
require('./chunk-LA2KY2TQ.js');
|
|
@@ -38,5 +33,4 @@ require('./chunk-G2L3EEEO.js');
|
|
|
38
33
|
|
|
39
34
|
|
|
40
35
|
|
|
41
|
-
|
|
42
|
-
exports.browserLibraryGeneratorFn = _chunk6A7OOTO2js.browserLibraryGeneratorFn; exports.configSchemaGeneratorFn = _chunkMBO4Z5AVjs.configSchemaGeneratorFn; exports.initGenerator = _chunkOKSECMVKjs.initGenerator; exports.neutralLibraryGeneratorFn = _chunkT5BI42AOjs.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkYMZQ7GGXjs.nodeLibraryGeneratorFn; exports.presetGeneratorFn = _chunkJ3WZEN2Ujs.presetGeneratorFn; exports.releaseVersionGeneratorFn = _chunkWEL4BVFXjs.releaseVersionGeneratorFn;
|
|
36
|
+
exports.browserLibraryGeneratorFn = _chunk6A7OOTO2js.browserLibraryGeneratorFn; exports.configSchemaGeneratorFn = _chunkMBO4Z5AVjs.configSchemaGeneratorFn; exports.initGenerator = _chunkOKSECMVKjs.initGenerator; exports.neutralLibraryGeneratorFn = _chunkT5BI42AOjs.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkYMZQ7GGXjs.nodeLibraryGeneratorFn; exports.presetGeneratorFn = _chunkJ3WZEN2Ujs.presetGeneratorFn;
|
package/dist/generators.mjs
CHANGED
|
@@ -1,29 +1,24 @@
|
|
|
1
|
-
import "./chunk-
|
|
2
|
-
import {
|
|
3
|
-
neutralLibraryGeneratorFn
|
|
4
|
-
} from "./chunk-2ONEZU6V.mjs";
|
|
5
|
-
import {
|
|
6
|
-
nodeLibraryGeneratorFn
|
|
7
|
-
} from "./chunk-Q57UD72U.mjs";
|
|
1
|
+
import "./chunk-SAIDGUHG.mjs";
|
|
8
2
|
import {
|
|
9
3
|
presetGeneratorFn
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
releaseVersionGeneratorFn
|
|
13
|
-
} from "./chunk-ZZWU35JU.mjs";
|
|
14
|
-
import {
|
|
15
|
-
browserLibraryGeneratorFn
|
|
16
|
-
} from "./chunk-B4RJUBHW.mjs";
|
|
4
|
+
} from "./chunk-JHJLQ2O7.mjs";
|
|
17
5
|
import {
|
|
18
6
|
configSchemaGeneratorFn
|
|
19
7
|
} from "./chunk-REKF65PT.mjs";
|
|
20
8
|
import {
|
|
21
9
|
initGenerator
|
|
22
10
|
} from "./chunk-437WGH2M.mjs";
|
|
11
|
+
import {
|
|
12
|
+
neutralLibraryGeneratorFn
|
|
13
|
+
} from "./chunk-WH72XZPS.mjs";
|
|
14
|
+
import {
|
|
15
|
+
nodeLibraryGeneratorFn
|
|
16
|
+
} from "./chunk-KCVIHYZQ.mjs";
|
|
17
|
+
import {
|
|
18
|
+
browserLibraryGeneratorFn
|
|
19
|
+
} from "./chunk-QUHBEE5D.mjs";
|
|
23
20
|
import "./chunk-HP36FVRU.mjs";
|
|
24
21
|
import "./chunk-QC5ON3X4.mjs";
|
|
25
|
-
import "./chunk-JLXBL5BC.mjs";
|
|
26
|
-
import "./chunk-SVIG7SR3.mjs";
|
|
27
22
|
import "./chunk-F66XEAID.mjs";
|
|
28
23
|
import "./chunk-JGFRV7ZL.mjs";
|
|
29
24
|
import "./chunk-76SRFTZ2.mjs";
|
|
@@ -31,13 +26,12 @@ import "./chunk-NOTQLVZP.mjs";
|
|
|
31
26
|
import "./chunk-V44DYGWX.mjs";
|
|
32
27
|
import "./chunk-VGJEUOUN.mjs";
|
|
33
28
|
import "./chunk-C26A6BXG.mjs";
|
|
34
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-IPWUJVZZ.mjs";
|
|
35
30
|
export {
|
|
36
31
|
browserLibraryGeneratorFn,
|
|
37
32
|
configSchemaGeneratorFn,
|
|
38
33
|
initGenerator,
|
|
39
34
|
neutralLibraryGeneratorFn,
|
|
40
35
|
nodeLibraryGeneratorFn,
|
|
41
|
-
presetGeneratorFn
|
|
42
|
-
releaseVersionGeneratorFn
|
|
36
|
+
presetGeneratorFn
|
|
43
37
|
};
|
package/dist/index.d.mts
CHANGED
|
@@ -17,7 +17,6 @@ export { I as InitGeneratorSchema, i as initGenerator } from './init-6Nmtv8d5.mj
|
|
|
17
17
|
export { N as NeutralLibraryGeneratorSchema, n as neutralLibraryGeneratorFn } from './generator-BZkyEGDm.mjs';
|
|
18
18
|
export { N as NodeLibraryGeneratorSchema, n as nodeLibraryGeneratorFn } from './generator-BwkUk_k0.mjs';
|
|
19
19
|
export { P as PresetGeneratorSchema, p as presetGeneratorFn } from './generator-BXP2GmDc.mjs';
|
|
20
|
-
export { R as ReleaseVersionGeneratorSchema, r as releaseVersionGeneratorFn } from './generator-DVYJZa5j.mjs';
|
|
21
20
|
export { withRunExecutor } from './src/base/base-executor.mjs';
|
|
22
21
|
export { default as baseExecutorSchema } from './src/base/base-executor.untyped.mjs';
|
|
23
22
|
export { withRunGenerator } from './src/base/base-generator.mjs';
|
|
@@ -26,6 +25,8 @@ export { default as cargoBaseExecutorSchema } from './src/base/cargo-base-execut
|
|
|
26
25
|
export { default as typescriptBuildExecutorSchema } from './src/base/typescript-build-executor.untyped.mjs';
|
|
27
26
|
export { TestEnvironment, TypeScriptLibraryGeneratorNormalizedOptions, TypeScriptLibraryGeneratorOptions, UnitTestRunner, createProjectTsConfigJson, getOutputPath, normalizeOptions, typeScriptLibraryGeneratorFn } from './src/base/index.mjs';
|
|
28
27
|
export { default as typescriptLibraryGeneratorSchema } from './src/base/typescript-library-generator.untyped.mjs';
|
|
28
|
+
export { default as StormJsVersionActions } from './src/release/js-version-actions.mjs';
|
|
29
|
+
export { default as StormRustVersionActions } from './src/release/rust-version-actions.mjs';
|
|
29
30
|
export { b as BaseExecutorOptions, c as BaseExecutorResult, d as BaseGeneratorOptions, e as BaseGeneratorResult, a as BaseWorkspaceToolOptions, B as BuildOptions, E as Entry, h as ProjectTagDistStyleValue, f as ProjectTagLanguageValue, i as ProjectTagPlatformValue, j as ProjectTagRegistryValue, g as ProjectTagTypeValue, P as ProjectTagVariant, T as TsupContext, W as WorkspaceToolHooks } from './types-BQTn5wl0.mjs';
|
|
30
31
|
export { ExecutorTokenizerOptions, applyWorkspaceExecutorTokens } from './src/utils/apply-workspace-tokens.mjs';
|
|
31
32
|
export { INVALID_CARGO_ARGS, buildCargoCommand, cargoCommand, cargoCommandSync, cargoMetadata, cargoRunCommand, childProcess, isExternal, runProcess } from './src/utils/cargo.mjs';
|
|
@@ -42,9 +43,13 @@ import '@nx/devkit';
|
|
|
42
43
|
import './types-DeaeRt7S.mjs';
|
|
43
44
|
import 'zod';
|
|
44
45
|
import 'zod/mini';
|
|
45
|
-
import 'nx/src/command-line/release/version-legacy';
|
|
46
46
|
import 'untyped';
|
|
47
47
|
import '@nx/js/src/generators/library/schema';
|
|
48
|
+
import '@nx/js/src/release/version-actions.js';
|
|
49
|
+
import 'nx/src/command-line/release/config/filter-release-groups';
|
|
50
|
+
import 'nx/src/command-line/release/utils/release-graph';
|
|
51
|
+
import 'nx/src/config/nx-json';
|
|
52
|
+
import 'nx/release';
|
|
48
53
|
import 'tsup';
|
|
49
54
|
import './toml-C0imOcwz.mjs';
|
|
50
55
|
import 'node:child_process';
|