@storm-software/workspace-tools 1.296.111 → 1.296.112

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.
@@ -0,0 +1,319 @@
1
+ import {
2
+ getGitHubTools
3
+ } from "./chunk-54BBSJHK.mjs";
4
+ import {
5
+ addPackageJsonGitHead
6
+ } from "./chunk-KD4DD3ZC.mjs";
7
+ import {
8
+ getWorkspacePackageManager
9
+ } from "./chunk-EXRSULNO.mjs";
10
+ import {
11
+ getConfig
12
+ } from "./chunk-I4KVL3GR.mjs";
13
+ import {
14
+ joinPaths
15
+ } from "./chunk-TBW5MCN6.mjs";
16
+
17
+ // src/executors/npm-publish/executor.ts
18
+ import { createJiti } from "jiti";
19
+ import { execSync } from "node:child_process";
20
+ import { readFile, writeFile } from "node:fs/promises";
21
+ import { format } from "prettier";
22
+ import prettierPlugin from "prettier-plugin-packagejson";
23
+ var LARGE_BUFFER = 1024 * 1e6;
24
+ async function replaceDepsAliases(jiti, packageRoot, workspaceRoot, packageManager) {
25
+ if (packageManager === "bun") {
26
+ const { replaceDepsAliases: replaceBunDepsAliases } = await jiti.import(jiti.esmResolve("@storm-software/bun-tools"));
27
+ return replaceBunDepsAliases(packageRoot, workspaceRoot);
28
+ }
29
+ if (packageManager === "pnpm") {
30
+ const { replaceDepsAliases: replacePnpmDepsAliases } = await jiti.import(jiti.esmResolve("@storm-software/pnpm-tools"));
31
+ return replacePnpmDepsAliases(packageRoot, workspaceRoot);
32
+ }
33
+ }
34
+ async function npmPublishExecutorFn(options, context) {
35
+ const workspaceConfig = await getConfig(context.root);
36
+ const packageManager = await getWorkspacePackageManager(
37
+ context.root,
38
+ workspaceConfig
39
+ );
40
+ const github = await getGitHubTools(workspaceConfig);
41
+ const isDryRun = process.env.NX_DRY_RUN === "true" || options.dryRun || false;
42
+ if (!context.projectName) {
43
+ github.error("The `npm-publish` executor requires a `projectName`.");
44
+ return { success: false };
45
+ }
46
+ const projectConfig = context.projectsConfigurations?.projects?.[context.projectName];
47
+ if (!projectConfig) {
48
+ github.error(
49
+ `Could not find project configuration for \`${context.projectName}\``
50
+ );
51
+ return { success: false };
52
+ }
53
+ const packageRoot = joinPaths(
54
+ context.root,
55
+ options.packageRoot || joinPaths("dist", projectConfig.root)
56
+ );
57
+ const projectRoot = context.projectsConfigurations.projects[context.projectName]?.root ? joinPaths(
58
+ context.root,
59
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
60
+ context.projectsConfigurations.projects[context.projectName].root
61
+ ) : packageRoot;
62
+ const jiti = createJiti(context.root, {
63
+ fsCache: joinPaths(context.root, "node_modules/.cache/storm", "jiti"),
64
+ interopDefault: true
65
+ });
66
+ const { getNpmRegistry, getRegistry } = await jiti.import(jiti.esmResolve("@storm-software/npm-tools/helpers"));
67
+ const packageJsonPath = joinPaths(packageRoot, "package.json");
68
+ const packageJsonFile = await readFile(packageJsonPath, "utf8");
69
+ if (!packageJsonFile) {
70
+ github.error(`Could not find \`package.json\` at ${packageJsonPath}`);
71
+ return { success: false };
72
+ }
73
+ const packageJson = JSON.parse(packageJsonFile);
74
+ const projectPackageJsonPath = joinPaths(projectRoot, "package.json");
75
+ const projectPackageJsonFile = await readFile(projectPackageJsonPath, "utf8");
76
+ if (!projectPackageJsonFile) {
77
+ github.error(
78
+ `Could not find \`package.json\` at ${projectPackageJsonPath}`
79
+ );
80
+ return { success: false };
81
+ }
82
+ const projectPackageJson = JSON.parse(projectPackageJsonFile);
83
+ if (packageJson.version !== projectPackageJson.version) {
84
+ console.warn(
85
+ `The version in the package.json file at ${packageJsonPath} (current: ${packageJson.version}) does not match the version in the package.json file at ${projectPackageJsonPath} (current: ${projectPackageJson.version}). This file will be updated to match the version in the project package.json file.`
86
+ );
87
+ if (projectPackageJson.version) {
88
+ packageJson.version = projectPackageJson.version;
89
+ await writeFile(
90
+ packageJsonPath,
91
+ await format(JSON.stringify(packageJson), {
92
+ parser: "json",
93
+ proseWrap: "preserve",
94
+ trailingComma: "none",
95
+ tabWidth: 2,
96
+ semi: true,
97
+ singleQuote: false,
98
+ quoteProps: "as-needed",
99
+ insertPragma: false,
100
+ bracketSameLine: true,
101
+ printWidth: 80,
102
+ bracketSpacing: true,
103
+ arrowParens: "avoid",
104
+ endOfLine: "lf",
105
+ plugins: [prettierPlugin]
106
+ })
107
+ );
108
+ }
109
+ }
110
+ const packageName = packageJson.name;
111
+ console.info(
112
+ `\u{1F680} Running Storm NPM Publish executor on the ${packageName} package`
113
+ );
114
+ const packageTxt = packageName === context.projectName ? `package "${packageName}"` : `package "${packageName}" from project "${context.projectName}"`;
115
+ if (packageJson.private === true) {
116
+ console.warn(
117
+ `Skipped ${packageTxt}, because it has \`"private": true\` in ${packageJsonPath}`
118
+ );
119
+ return { success: true };
120
+ }
121
+ await replaceDepsAliases(jiti, packageRoot, context.root, packageManager);
122
+ await addPackageJsonGitHead(packageRoot);
123
+ const npmPublishCommandSegments = [`npm publish --json`];
124
+ const npmViewCommandSegments = [
125
+ `npm view ${packageName} versions dist-tags --json`
126
+ ];
127
+ const registry = await Promise.resolve(
128
+ options.registry ?? (await getRegistry() || getNpmRegistry())
129
+ );
130
+ if (registry) {
131
+ npmPublishCommandSegments.push(`--registry="${registry}" `);
132
+ npmViewCommandSegments.push(`--registry="${registry}" `);
133
+ }
134
+ if (options.otp) {
135
+ npmPublishCommandSegments.push(`--otp="${options.otp}" `);
136
+ }
137
+ let token;
138
+ if (!options.otp && registry) {
139
+ token = await github.getIDToken(
140
+ `npm:${registry.replace(/^https?:\/\//, "")}`
141
+ );
142
+ if (!token) {
143
+ github.warning(
144
+ `Either a One time password (OTP) or an OpenID Connect (OIDC) token is generally required to publish ${packageTxt} to NPM. Usually the OIDC token should be provided automatically via GitHub Actions (see: https://github.com/actions/toolkit/tree/main/packages/core#oidc-token); however, the release process was unable to retrieve it. Please provide a \`otp\` executor option, or investigate why the OIDC token could not be retrieved.`
145
+ );
146
+ }
147
+ }
148
+ npmPublishCommandSegments.push("--provenance --access=public ");
149
+ if (isDryRun) {
150
+ npmPublishCommandSegments.push("--dry-run");
151
+ }
152
+ const tag = options.tag || execSync("npm config get tag", {
153
+ cwd: packageRoot,
154
+ env: {
155
+ NPM_ID_TOKEN: token,
156
+ ...process.env,
157
+ FORCE_COLOR: "true"
158
+ },
159
+ maxBuffer: LARGE_BUFFER,
160
+ killSignal: "SIGTERM"
161
+ }).toString().trim();
162
+ if (tag) {
163
+ npmPublishCommandSegments.push(`--tag="${tag}" `);
164
+ }
165
+ if (!isDryRun) {
166
+ const currentVersion = options.version || packageJson.version;
167
+ try {
168
+ try {
169
+ const result = execSync(npmViewCommandSegments.join(" "), {
170
+ cwd: packageRoot,
171
+ env: {
172
+ NPM_ID_TOKEN: token,
173
+ ...process.env,
174
+ FORCE_COLOR: "true"
175
+ },
176
+ maxBuffer: LARGE_BUFFER,
177
+ killSignal: "SIGTERM"
178
+ });
179
+ const resultJson = JSON.parse(result.toString());
180
+ const distTags = resultJson["dist-tags"] || {};
181
+ if (distTags[tag] === currentVersion) {
182
+ console.warn(
183
+ `Skipped ${packageTxt} because v${currentVersion} already exists in ${registry} with tag "${tag}"`
184
+ );
185
+ return { success: true };
186
+ }
187
+ } catch (err) {
188
+ console.debug(
189
+ `An error occurred while checking for existing dist-tags. Please note: if this is the first time this package has been published to npm, this can be ignored.
190
+
191
+ Error: ${JSON.stringify(
192
+ err,
193
+ null,
194
+ 2
195
+ )}`
196
+ );
197
+ }
198
+ try {
199
+ if (!isDryRun) {
200
+ const command = `npm dist-tag add ${packageName}@${currentVersion} ${tag} --registry="${registry}" `;
201
+ console.debug(
202
+ `Adding the dist-tag ${tag} - preparing to run the following: ${command}`
203
+ );
204
+ const result = execSync(command, {
205
+ cwd: packageRoot,
206
+ env: {
207
+ NPM_ID_TOKEN: token,
208
+ ...process.env,
209
+ FORCE_COLOR: "true"
210
+ },
211
+ maxBuffer: LARGE_BUFFER,
212
+ killSignal: "SIGTERM"
213
+ });
214
+ console.info(
215
+ `Added the dist-tag ${tag} to v${currentVersion} for registry "${registry}".
216
+
217
+ Execution response: ${result.toString()}`
218
+ );
219
+ } else {
220
+ console.info(
221
+ `Would have added the dist-tag ${tag} to v${currentVersion} for registry "${registry}", but [dry-run] was set.
222
+ `
223
+ );
224
+ }
225
+ return { success: true };
226
+ } catch (err) {
227
+ try {
228
+ const stdoutData = JSON.parse(err.stdout?.toString() || "{}");
229
+ if (stdoutData?.error && !(stdoutData.error?.code?.includes("E404") && stdoutData.error?.summary?.includes("no such package available")) && !(err.stderr?.toString().includes("E404") && err.stderr?.toString().includes("no such package available"))) {
230
+ const errorMessage = `An unexpected error occured while running the npm dist-tag add command:
231
+
232
+ ${stdoutData?.error?.summary ? `Summary: ${stdoutData?.error?.summary}${stdoutData?.error?.code ? ` (${stdoutData?.error?.code})` : ""}
233
+ ` : ""}${stdoutData?.error?.detail ? `Detail: ${stdoutData?.error?.detail}
234
+ ` : ""}`;
235
+ github.error(errorMessage);
236
+ return { success: false };
237
+ }
238
+ } catch (err2) {
239
+ const stdoutData = JSON.parse(err2.stdout?.toString() || "{}");
240
+ const errorMessage = `An unexpected error occured while processing the npm dist-tag add output:
241
+
242
+ ${stdoutData?.error?.summary ? `Summary: ${stdoutData?.error?.summary}${stdoutData?.error?.code ? ` (${stdoutData?.error?.code})` : ""}
243
+ ` : ""}${stdoutData?.error?.detail ? `Detail: ${stdoutData?.error?.detail}
244
+ ` : ""}`;
245
+ github.error(errorMessage);
246
+ return { success: false };
247
+ }
248
+ }
249
+ } catch (err) {
250
+ const stdoutData = JSON.parse(err.stdout?.toString() || "{}");
251
+ if (!(stdoutData.error?.code?.includes("E404") && stdoutData.error?.summary?.toLowerCase().includes("not found")) && !(err.stderr?.toString().includes("E404") && err.stderr?.toString().toLowerCase().includes("not found"))) {
252
+ const errorMessage = `An unexpected error occured while checking for existing dist-tags:
253
+
254
+ ${stdoutData?.error?.summary ? `Summary: ${stdoutData?.error?.summary}${stdoutData?.error?.code ? ` (${stdoutData?.error?.code})` : ""}
255
+ ` : ""}${stdoutData?.error?.detail ? `Detail: ${stdoutData?.error?.detail}
256
+ ` : ""}`;
257
+ github.error(errorMessage);
258
+ return { success: false };
259
+ }
260
+ }
261
+ }
262
+ try {
263
+ const cwd = packageRoot;
264
+ const command = npmPublishCommandSegments.join(" ");
265
+ console.info(
266
+ `Running publish command "${command}" in current working directory: "${cwd}" `
267
+ );
268
+ const result = execSync(command, {
269
+ cwd,
270
+ env: {
271
+ NPM_ID_TOKEN: token,
272
+ ...process.env,
273
+ FORCE_COLOR: "true"
274
+ },
275
+ maxBuffer: LARGE_BUFFER,
276
+ killSignal: "SIGTERM"
277
+ });
278
+ if (isDryRun) {
279
+ console.info(
280
+ `Would publish tag "${tag}" to ${registry}, but [dry-run] was set. ${result ? `
281
+
282
+ Execution response: ${result.toString()}` : ""}`
283
+ );
284
+ } else {
285
+ console.info(
286
+ `Published tag "${tag}" to ${registry}. ${result ? `
287
+
288
+ Execution response: ${result.toString()}` : ""}`
289
+ );
290
+ }
291
+ return { success: true };
292
+ } catch (err) {
293
+ try {
294
+ const stdoutData = JSON.parse(err.stdout?.toString() || "{}");
295
+ const errorMessage = `An error occurred while publishing the npm package:
296
+
297
+ ${stdoutData?.error?.summary ? `Summary: ${stdoutData?.error?.summary}${stdoutData?.error?.code ? ` (${stdoutData?.error?.code})` : ""}
298
+ ` : ""}${stdoutData?.error?.detail ? `Detail: ${stdoutData?.error?.detail}
299
+ ` : ""}`;
300
+ github.error(errorMessage);
301
+ return { success: false };
302
+ } catch (err2) {
303
+ const errorMessage = `Something unexpected went wrong when processing the npm publish output.
304
+
305
+ Error: ${JSON.stringify(
306
+ Buffer.isBuffer(err2) ? err2.toString() : err2,
307
+ null,
308
+ 2
309
+ )}`;
310
+ github.error(errorMessage);
311
+ return { success: false };
312
+ }
313
+ }
314
+ }
315
+
316
+ export {
317
+ LARGE_BUFFER,
318
+ npmPublishExecutorFn
319
+ };
@@ -0,0 +1,319 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } 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; }
2
+
3
+ var _chunkMKJITWLNjs = require('./chunk-MKJITWLN.js');
4
+
5
+
6
+ var _chunkR6QU3B53js = require('./chunk-R6QU3B53.js');
7
+
8
+
9
+ var _chunk3MXZ2RJFjs = require('./chunk-3MXZ2RJF.js');
10
+
11
+
12
+ var _chunkIMY2BU43js = require('./chunk-IMY2BU43.js');
13
+
14
+
15
+ var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
16
+
17
+ // src/executors/npm-publish/executor.ts
18
+ var _jiti = require('jiti');
19
+ var _child_process = require('child_process');
20
+ var _promises = require('fs/promises');
21
+ var _prettier = require('prettier');
22
+ var _prettierpluginpackagejson = require('prettier-plugin-packagejson'); var _prettierpluginpackagejson2 = _interopRequireDefault(_prettierpluginpackagejson);
23
+ var LARGE_BUFFER = 1024 * 1e6;
24
+ async function replaceDepsAliases(jiti, packageRoot, workspaceRoot, packageManager) {
25
+ if (packageManager === "bun") {
26
+ const { replaceDepsAliases: replaceBunDepsAliases } = await jiti.import(jiti.esmResolve("@storm-software/bun-tools"));
27
+ return replaceBunDepsAliases(packageRoot, workspaceRoot);
28
+ }
29
+ if (packageManager === "pnpm") {
30
+ const { replaceDepsAliases: replacePnpmDepsAliases } = await jiti.import(jiti.esmResolve("@storm-software/pnpm-tools"));
31
+ return replacePnpmDepsAliases(packageRoot, workspaceRoot);
32
+ }
33
+ }
34
+ async function npmPublishExecutorFn(options, context) {
35
+ const workspaceConfig = await _chunkIMY2BU43js.getConfig.call(void 0, context.root);
36
+ const packageManager = await _chunk3MXZ2RJFjs.getWorkspacePackageManager.call(void 0,
37
+ context.root,
38
+ workspaceConfig
39
+ );
40
+ const github = await _chunkMKJITWLNjs.getGitHubTools.call(void 0, workspaceConfig);
41
+ const isDryRun = process.env.NX_DRY_RUN === "true" || options.dryRun || false;
42
+ if (!context.projectName) {
43
+ github.error("The `npm-publish` executor requires a `projectName`.");
44
+ return { success: false };
45
+ }
46
+ const projectConfig = _optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects, 'optionalAccess', _3 => _3[context.projectName]]);
47
+ if (!projectConfig) {
48
+ github.error(
49
+ `Could not find project configuration for \`${context.projectName}\``
50
+ );
51
+ return { success: false };
52
+ }
53
+ const packageRoot = _chunkCQDBLKPFjs.joinPaths.call(void 0,
54
+ context.root,
55
+ options.packageRoot || _chunkCQDBLKPFjs.joinPaths.call(void 0, "dist", projectConfig.root)
56
+ );
57
+ const projectRoot = _optionalChain([context, 'access', _4 => _4.projectsConfigurations, 'access', _5 => _5.projects, 'access', _6 => _6[context.projectName], 'optionalAccess', _7 => _7.root]) ? _chunkCQDBLKPFjs.joinPaths.call(void 0,
58
+ context.root,
59
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
60
+ context.projectsConfigurations.projects[context.projectName].root
61
+ ) : packageRoot;
62
+ const jiti = _jiti.createJiti.call(void 0, context.root, {
63
+ fsCache: _chunkCQDBLKPFjs.joinPaths.call(void 0, context.root, "node_modules/.cache/storm", "jiti"),
64
+ interopDefault: true
65
+ });
66
+ const { getNpmRegistry, getRegistry } = await jiti.import(jiti.esmResolve("@storm-software/npm-tools/helpers"));
67
+ const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, packageRoot, "package.json");
68
+ const packageJsonFile = await _promises.readFile.call(void 0, packageJsonPath, "utf8");
69
+ if (!packageJsonFile) {
70
+ github.error(`Could not find \`package.json\` at ${packageJsonPath}`);
71
+ return { success: false };
72
+ }
73
+ const packageJson = JSON.parse(packageJsonFile);
74
+ const projectPackageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, projectRoot, "package.json");
75
+ const projectPackageJsonFile = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
76
+ if (!projectPackageJsonFile) {
77
+ github.error(
78
+ `Could not find \`package.json\` at ${projectPackageJsonPath}`
79
+ );
80
+ return { success: false };
81
+ }
82
+ const projectPackageJson = JSON.parse(projectPackageJsonFile);
83
+ if (packageJson.version !== projectPackageJson.version) {
84
+ console.warn(
85
+ `The version in the package.json file at ${packageJsonPath} (current: ${packageJson.version}) does not match the version in the package.json file at ${projectPackageJsonPath} (current: ${projectPackageJson.version}). This file will be updated to match the version in the project package.json file.`
86
+ );
87
+ if (projectPackageJson.version) {
88
+ packageJson.version = projectPackageJson.version;
89
+ await _promises.writeFile.call(void 0,
90
+ packageJsonPath,
91
+ await _prettier.format.call(void 0, JSON.stringify(packageJson), {
92
+ parser: "json",
93
+ proseWrap: "preserve",
94
+ trailingComma: "none",
95
+ tabWidth: 2,
96
+ semi: true,
97
+ singleQuote: false,
98
+ quoteProps: "as-needed",
99
+ insertPragma: false,
100
+ bracketSameLine: true,
101
+ printWidth: 80,
102
+ bracketSpacing: true,
103
+ arrowParens: "avoid",
104
+ endOfLine: "lf",
105
+ plugins: [_prettierpluginpackagejson2.default]
106
+ })
107
+ );
108
+ }
109
+ }
110
+ const packageName = packageJson.name;
111
+ console.info(
112
+ `\u{1F680} Running Storm NPM Publish executor on the ${packageName} package`
113
+ );
114
+ const packageTxt = packageName === context.projectName ? `package "${packageName}"` : `package "${packageName}" from project "${context.projectName}"`;
115
+ if (packageJson.private === true) {
116
+ console.warn(
117
+ `Skipped ${packageTxt}, because it has \`"private": true\` in ${packageJsonPath}`
118
+ );
119
+ return { success: true };
120
+ }
121
+ await replaceDepsAliases(jiti, packageRoot, context.root, packageManager);
122
+ await _chunkR6QU3B53js.addPackageJsonGitHead.call(void 0, packageRoot);
123
+ const npmPublishCommandSegments = [`npm publish --json`];
124
+ const npmViewCommandSegments = [
125
+ `npm view ${packageName} versions dist-tags --json`
126
+ ];
127
+ const registry = await Promise.resolve(
128
+ await _asyncNullishCoalesce(options.registry, async () => ( (await getRegistry() || getNpmRegistry())))
129
+ );
130
+ if (registry) {
131
+ npmPublishCommandSegments.push(`--registry="${registry}" `);
132
+ npmViewCommandSegments.push(`--registry="${registry}" `);
133
+ }
134
+ if (options.otp) {
135
+ npmPublishCommandSegments.push(`--otp="${options.otp}" `);
136
+ }
137
+ let token;
138
+ if (!options.otp && registry) {
139
+ token = await github.getIDToken(
140
+ `npm:${registry.replace(/^https?:\/\//, "")}`
141
+ );
142
+ if (!token) {
143
+ github.warning(
144
+ `Either a One time password (OTP) or an OpenID Connect (OIDC) token is generally required to publish ${packageTxt} to NPM. Usually the OIDC token should be provided automatically via GitHub Actions (see: https://github.com/actions/toolkit/tree/main/packages/core#oidc-token); however, the release process was unable to retrieve it. Please provide a \`otp\` executor option, or investigate why the OIDC token could not be retrieved.`
145
+ );
146
+ }
147
+ }
148
+ npmPublishCommandSegments.push("--provenance --access=public ");
149
+ if (isDryRun) {
150
+ npmPublishCommandSegments.push("--dry-run");
151
+ }
152
+ const tag = options.tag || _child_process.execSync.call(void 0, "npm config get tag", {
153
+ cwd: packageRoot,
154
+ env: {
155
+ NPM_ID_TOKEN: token,
156
+ ...process.env,
157
+ FORCE_COLOR: "true"
158
+ },
159
+ maxBuffer: LARGE_BUFFER,
160
+ killSignal: "SIGTERM"
161
+ }).toString().trim();
162
+ if (tag) {
163
+ npmPublishCommandSegments.push(`--tag="${tag}" `);
164
+ }
165
+ if (!isDryRun) {
166
+ const currentVersion = options.version || packageJson.version;
167
+ try {
168
+ try {
169
+ const result = _child_process.execSync.call(void 0, npmViewCommandSegments.join(" "), {
170
+ cwd: packageRoot,
171
+ env: {
172
+ NPM_ID_TOKEN: token,
173
+ ...process.env,
174
+ FORCE_COLOR: "true"
175
+ },
176
+ maxBuffer: LARGE_BUFFER,
177
+ killSignal: "SIGTERM"
178
+ });
179
+ const resultJson = JSON.parse(result.toString());
180
+ const distTags = resultJson["dist-tags"] || {};
181
+ if (distTags[tag] === currentVersion) {
182
+ console.warn(
183
+ `Skipped ${packageTxt} because v${currentVersion} already exists in ${registry} with tag "${tag}"`
184
+ );
185
+ return { success: true };
186
+ }
187
+ } catch (err) {
188
+ console.debug(
189
+ `An error occurred while checking for existing dist-tags. Please note: if this is the first time this package has been published to npm, this can be ignored.
190
+
191
+ Error: ${JSON.stringify(
192
+ err,
193
+ null,
194
+ 2
195
+ )}`
196
+ );
197
+ }
198
+ try {
199
+ if (!isDryRun) {
200
+ const command = `npm dist-tag add ${packageName}@${currentVersion} ${tag} --registry="${registry}" `;
201
+ console.debug(
202
+ `Adding the dist-tag ${tag} - preparing to run the following: ${command}`
203
+ );
204
+ const result = _child_process.execSync.call(void 0, command, {
205
+ cwd: packageRoot,
206
+ env: {
207
+ NPM_ID_TOKEN: token,
208
+ ...process.env,
209
+ FORCE_COLOR: "true"
210
+ },
211
+ maxBuffer: LARGE_BUFFER,
212
+ killSignal: "SIGTERM"
213
+ });
214
+ console.info(
215
+ `Added the dist-tag ${tag} to v${currentVersion} for registry "${registry}".
216
+
217
+ Execution response: ${result.toString()}`
218
+ );
219
+ } else {
220
+ console.info(
221
+ `Would have added the dist-tag ${tag} to v${currentVersion} for registry "${registry}", but [dry-run] was set.
222
+ `
223
+ );
224
+ }
225
+ return { success: true };
226
+ } catch (err) {
227
+ try {
228
+ const stdoutData = JSON.parse(_optionalChain([err, 'access', _8 => _8.stdout, 'optionalAccess', _9 => _9.toString, 'call', _10 => _10()]) || "{}");
229
+ if (_optionalChain([stdoutData, 'optionalAccess', _11 => _11.error]) && !(_optionalChain([stdoutData, 'access', _12 => _12.error, 'optionalAccess', _13 => _13.code, 'optionalAccess', _14 => _14.includes, 'call', _15 => _15("E404")]) && _optionalChain([stdoutData, 'access', _16 => _16.error, 'optionalAccess', _17 => _17.summary, 'optionalAccess', _18 => _18.includes, 'call', _19 => _19("no such package available")])) && !(_optionalChain([err, 'access', _20 => _20.stderr, 'optionalAccess', _21 => _21.toString, 'call', _22 => _22(), 'access', _23 => _23.includes, 'call', _24 => _24("E404")]) && _optionalChain([err, 'access', _25 => _25.stderr, 'optionalAccess', _26 => _26.toString, 'call', _27 => _27(), 'access', _28 => _28.includes, 'call', _29 => _29("no such package available")]))) {
230
+ const errorMessage = `An unexpected error occured while running the npm dist-tag add command:
231
+
232
+ ${_optionalChain([stdoutData, 'optionalAccess', _30 => _30.error, 'optionalAccess', _31 => _31.summary]) ? `Summary: ${_optionalChain([stdoutData, 'optionalAccess', _32 => _32.error, 'optionalAccess', _33 => _33.summary])}${_optionalChain([stdoutData, 'optionalAccess', _34 => _34.error, 'optionalAccess', _35 => _35.code]) ? ` (${_optionalChain([stdoutData, 'optionalAccess', _36 => _36.error, 'optionalAccess', _37 => _37.code])})` : ""}
233
+ ` : ""}${_optionalChain([stdoutData, 'optionalAccess', _38 => _38.error, 'optionalAccess', _39 => _39.detail]) ? `Detail: ${_optionalChain([stdoutData, 'optionalAccess', _40 => _40.error, 'optionalAccess', _41 => _41.detail])}
234
+ ` : ""}`;
235
+ github.error(errorMessage);
236
+ return { success: false };
237
+ }
238
+ } catch (err2) {
239
+ const stdoutData = JSON.parse(_optionalChain([err2, 'access', _42 => _42.stdout, 'optionalAccess', _43 => _43.toString, 'call', _44 => _44()]) || "{}");
240
+ const errorMessage = `An unexpected error occured while processing the npm dist-tag add output:
241
+
242
+ ${_optionalChain([stdoutData, 'optionalAccess', _45 => _45.error, 'optionalAccess', _46 => _46.summary]) ? `Summary: ${_optionalChain([stdoutData, 'optionalAccess', _47 => _47.error, 'optionalAccess', _48 => _48.summary])}${_optionalChain([stdoutData, 'optionalAccess', _49 => _49.error, 'optionalAccess', _50 => _50.code]) ? ` (${_optionalChain([stdoutData, 'optionalAccess', _51 => _51.error, 'optionalAccess', _52 => _52.code])})` : ""}
243
+ ` : ""}${_optionalChain([stdoutData, 'optionalAccess', _53 => _53.error, 'optionalAccess', _54 => _54.detail]) ? `Detail: ${_optionalChain([stdoutData, 'optionalAccess', _55 => _55.error, 'optionalAccess', _56 => _56.detail])}
244
+ ` : ""}`;
245
+ github.error(errorMessage);
246
+ return { success: false };
247
+ }
248
+ }
249
+ } catch (err) {
250
+ const stdoutData = JSON.parse(_optionalChain([err, 'access', _57 => _57.stdout, 'optionalAccess', _58 => _58.toString, 'call', _59 => _59()]) || "{}");
251
+ if (!(_optionalChain([stdoutData, 'access', _60 => _60.error, 'optionalAccess', _61 => _61.code, 'optionalAccess', _62 => _62.includes, 'call', _63 => _63("E404")]) && _optionalChain([stdoutData, 'access', _64 => _64.error, 'optionalAccess', _65 => _65.summary, 'optionalAccess', _66 => _66.toLowerCase, 'call', _67 => _67(), 'access', _68 => _68.includes, 'call', _69 => _69("not found")])) && !(_optionalChain([err, 'access', _70 => _70.stderr, 'optionalAccess', _71 => _71.toString, 'call', _72 => _72(), 'access', _73 => _73.includes, 'call', _74 => _74("E404")]) && _optionalChain([err, 'access', _75 => _75.stderr, 'optionalAccess', _76 => _76.toString, 'call', _77 => _77(), 'access', _78 => _78.toLowerCase, 'call', _79 => _79(), 'access', _80 => _80.includes, 'call', _81 => _81("not found")]))) {
252
+ const errorMessage = `An unexpected error occured while checking for existing dist-tags:
253
+
254
+ ${_optionalChain([stdoutData, 'optionalAccess', _82 => _82.error, 'optionalAccess', _83 => _83.summary]) ? `Summary: ${_optionalChain([stdoutData, 'optionalAccess', _84 => _84.error, 'optionalAccess', _85 => _85.summary])}${_optionalChain([stdoutData, 'optionalAccess', _86 => _86.error, 'optionalAccess', _87 => _87.code]) ? ` (${_optionalChain([stdoutData, 'optionalAccess', _88 => _88.error, 'optionalAccess', _89 => _89.code])})` : ""}
255
+ ` : ""}${_optionalChain([stdoutData, 'optionalAccess', _90 => _90.error, 'optionalAccess', _91 => _91.detail]) ? `Detail: ${_optionalChain([stdoutData, 'optionalAccess', _92 => _92.error, 'optionalAccess', _93 => _93.detail])}
256
+ ` : ""}`;
257
+ github.error(errorMessage);
258
+ return { success: false };
259
+ }
260
+ }
261
+ }
262
+ try {
263
+ const cwd = packageRoot;
264
+ const command = npmPublishCommandSegments.join(" ");
265
+ console.info(
266
+ `Running publish command "${command}" in current working directory: "${cwd}" `
267
+ );
268
+ const result = _child_process.execSync.call(void 0, command, {
269
+ cwd,
270
+ env: {
271
+ NPM_ID_TOKEN: token,
272
+ ...process.env,
273
+ FORCE_COLOR: "true"
274
+ },
275
+ maxBuffer: LARGE_BUFFER,
276
+ killSignal: "SIGTERM"
277
+ });
278
+ if (isDryRun) {
279
+ console.info(
280
+ `Would publish tag "${tag}" to ${registry}, but [dry-run] was set. ${result ? `
281
+
282
+ Execution response: ${result.toString()}` : ""}`
283
+ );
284
+ } else {
285
+ console.info(
286
+ `Published tag "${tag}" to ${registry}. ${result ? `
287
+
288
+ Execution response: ${result.toString()}` : ""}`
289
+ );
290
+ }
291
+ return { success: true };
292
+ } catch (err) {
293
+ try {
294
+ const stdoutData = JSON.parse(_optionalChain([err, 'access', _94 => _94.stdout, 'optionalAccess', _95 => _95.toString, 'call', _96 => _96()]) || "{}");
295
+ const errorMessage = `An error occurred while publishing the npm package:
296
+
297
+ ${_optionalChain([stdoutData, 'optionalAccess', _97 => _97.error, 'optionalAccess', _98 => _98.summary]) ? `Summary: ${_optionalChain([stdoutData, 'optionalAccess', _99 => _99.error, 'optionalAccess', _100 => _100.summary])}${_optionalChain([stdoutData, 'optionalAccess', _101 => _101.error, 'optionalAccess', _102 => _102.code]) ? ` (${_optionalChain([stdoutData, 'optionalAccess', _103 => _103.error, 'optionalAccess', _104 => _104.code])})` : ""}
298
+ ` : ""}${_optionalChain([stdoutData, 'optionalAccess', _105 => _105.error, 'optionalAccess', _106 => _106.detail]) ? `Detail: ${_optionalChain([stdoutData, 'optionalAccess', _107 => _107.error, 'optionalAccess', _108 => _108.detail])}
299
+ ` : ""}`;
300
+ github.error(errorMessage);
301
+ return { success: false };
302
+ } catch (err2) {
303
+ const errorMessage = `Something unexpected went wrong when processing the npm publish output.
304
+
305
+ Error: ${JSON.stringify(
306
+ Buffer.isBuffer(err2) ? err2.toString() : err2,
307
+ null,
308
+ 2
309
+ )}`;
310
+ github.error(errorMessage);
311
+ return { success: false };
312
+ }
313
+ }
314
+ }
315
+
316
+
317
+
318
+
319
+ exports.LARGE_BUFFER = LARGE_BUFFER; exports.npmPublishExecutorFn = npmPublishExecutorFn;
package/dist/executors.js CHANGED
@@ -4,7 +4,7 @@
4
4
  var _chunkZWUGCEBZjs = require('./chunk-ZWUGCEBZ.js');
5
5
 
6
6
 
7
- var _chunkRWESELHTjs = require('./chunk-RWESELHT.js');
7
+ var _chunkVB5HL6WXjs = require('./chunk-VB5HL6WX.js');
8
8
 
9
9
 
10
10
  var _chunk65C6CGV3js = require('./chunk-65C6CGV3.js');
@@ -38,10 +38,10 @@ var _chunkXXCBFZB6js = require('./chunk-XXCBFZB6.js');
38
38
 
39
39
 
40
40
  var _chunkWKCSKEFYjs = require('./chunk-WKCSKEFY.js');
41
- require('./chunk-3MXZ2RJF.js');
42
- require('./chunk-HYK7OVZ3.js');
43
41
  require('./chunk-MKJITWLN.js');
44
42
  require('./chunk-R6QU3B53.js');
43
+ require('./chunk-3MXZ2RJF.js');
44
+ require('./chunk-HYK7OVZ3.js');
45
45
  require('./chunk-N2365RCI.js');
46
46
  require('./chunk-TAP26ZJQ.js');
47
47
  require('./chunk-2VQ55YPW.js');
@@ -64,4 +64,4 @@ require('./chunk-CQDBLKPF.js');
64
64
 
65
65
 
66
66
 
67
- exports.LARGE_BUFFER = _chunkRWESELHTjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkWKCSKEFYjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkIV2QQRXOjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkKDZH66U5js.cargoClippyExecutor; exports.cargoDocExecutor = _chunk6W7UEKUNjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkXXCBFZB6js.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkN5LZIOWWjs.esbuildExecutorFn; exports.getRegistryVersion = _chunkRU4TNHFGjs.getRegistryVersion; exports.napiExecutor = _chunkVKLLVYQ5js.napiExecutor; exports.sizeLimitExecutorFn = _chunk65C6CGV3js.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunkULONYXYFjs.tsdownExecutorFn; exports.typiaExecutorFn = _chunkUEDAT7SJjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkZWUGCEBZjs.unbuildExecutorFn;
67
+ exports.LARGE_BUFFER = _chunkVB5HL6WXjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkWKCSKEFYjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkIV2QQRXOjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkKDZH66U5js.cargoClippyExecutor; exports.cargoDocExecutor = _chunk6W7UEKUNjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkXXCBFZB6js.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkN5LZIOWWjs.esbuildExecutorFn; exports.getRegistryVersion = _chunkRU4TNHFGjs.getRegistryVersion; exports.napiExecutor = _chunkVKLLVYQ5js.napiExecutor; exports.sizeLimitExecutorFn = _chunk65C6CGV3js.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunkULONYXYFjs.tsdownExecutorFn; exports.typiaExecutorFn = _chunkUEDAT7SJjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkZWUGCEBZjs.unbuildExecutorFn;
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-N2PEIA6H.mjs";
5
5
  import {
6
6
  LARGE_BUFFER
7
- } from "./chunk-XDEOQGWH.mjs";
7
+ } from "./chunk-CNDWQ6SF.mjs";
8
8
  import {
9
9
  sizeLimitExecutorFn
10
10
  } from "./chunk-I7RM7R7C.mjs";
@@ -38,10 +38,10 @@ import {
38
38
  import {
39
39
  cargoBuildExecutor
40
40
  } from "./chunk-XMATGAG4.mjs";
41
- import "./chunk-EXRSULNO.mjs";
42
- import "./chunk-C3G4MZGP.mjs";
43
41
  import "./chunk-54BBSJHK.mjs";
44
42
  import "./chunk-KD4DD3ZC.mjs";
43
+ import "./chunk-EXRSULNO.mjs";
44
+ import "./chunk-C3G4MZGP.mjs";
45
45
  import "./chunk-UA33NH5O.mjs";
46
46
  import "./chunk-2GQSCZ3J.mjs";
47
47
  import "./chunk-Y3CN5O3K.mjs";
package/dist/index.js CHANGED
@@ -1,26 +1,27 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-CVKUY5YY.js');
2
-
3
-
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-YYLV7UA6.js');
4
2
 
5
3
 
4
+ var _chunkGCYJYDE3js = require('./chunk-GCYJYDE3.js');
6
5
 
7
6
 
8
- var _chunkBAPFD3TOjs = require('./chunk-BAPFD3TO.js');
7
+ var _chunkEFJ2PGGVjs = require('./chunk-EFJ2PGGV.js');
8
+ require('./chunk-ANHKV7HZ.js');
9
+ require('./chunk-CVKUY5YY.js');
9
10
 
10
11
 
11
12
  var _chunk6EMYX25Vjs = require('./chunk-6EMYX25V.js');
12
13
 
13
14
 
14
- var _chunkQVYCDINGjs = require('./chunk-QVYCDING.js');
15
15
 
16
16
 
17
+ var _chunk5KAJDSTQjs = require('./chunk-5KAJDSTQ.js');
17
18
 
18
- var _chunkUAK3EVR2js = require('./chunk-UAK3EVR2.js');
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunk5KAJDSTQjs = require('./chunk-5KAJDSTQ.js');
23
+
24
+ var _chunkBAPFD3TOjs = require('./chunk-BAPFD3TO.js');
24
25
  require('./chunk-KBJ7IEXI.js');
25
26
 
26
27
 
@@ -31,24 +32,23 @@ var _chunkPMPKOMMDjs = require('./chunk-PMPKOMMD.js');
31
32
 
32
33
 
33
34
  var _chunk2AVWFUXPjs = require('./chunk-2AVWFUXP.js');
34
- require('./chunk-YYLV7UA6.js');
35
35
 
36
36
 
37
- var _chunkGCYJYDE3js = require('./chunk-GCYJYDE3.js');
37
+ var _chunkDIIMX7QFjs = require('./chunk-DIIMX7QF.js');
38
38
 
39
39
 
40
- var _chunkEFJ2PGGVjs = require('./chunk-EFJ2PGGV.js');
41
- require('./chunk-ANHKV7HZ.js');
40
+ var _chunkQVYCDINGjs = require('./chunk-QVYCDING.js');
42
41
 
43
42
 
44
- var _chunkDIIMX7QFjs = require('./chunk-DIIMX7QF.js');
43
+
44
+ var _chunkUAK3EVR2js = require('./chunk-UAK3EVR2.js');
45
45
  require('./chunk-P6HSE7LH.js');
46
46
 
47
47
 
48
48
  var _chunkZWUGCEBZjs = require('./chunk-ZWUGCEBZ.js');
49
49
 
50
50
 
51
- var _chunkRWESELHTjs = require('./chunk-RWESELHT.js');
51
+ var _chunkVB5HL6WXjs = require('./chunk-VB5HL6WX.js');
52
52
 
53
53
 
54
54
  var _chunk65C6CGV3js = require('./chunk-65C6CGV3.js');
@@ -84,28 +84,28 @@ var _chunkXXCBFZB6js = require('./chunk-XXCBFZB6.js');
84
84
  var _chunkWKCSKEFYjs = require('./chunk-WKCSKEFY.js');
85
85
 
86
86
 
87
+ var _chunkMKJITWLNjs = require('./chunk-MKJITWLN.js');
87
88
 
88
89
 
89
- var _chunk3MXZ2RJFjs = require('./chunk-3MXZ2RJF.js');
90
90
 
91
91
 
92
+ var _chunkR6QU3B53js = require('./chunk-R6QU3B53.js');
92
93
 
93
94
 
94
95
 
95
96
 
97
+ var _chunk3MXZ2RJFjs = require('./chunk-3MXZ2RJF.js');
96
98
 
97
99
 
98
100
 
99
101
 
100
- var _chunkHYK7OVZ3js = require('./chunk-HYK7OVZ3.js');
101
102
 
102
103
 
103
- var _chunkMKJITWLNjs = require('./chunk-MKJITWLN.js');
104
104
 
105
105
 
106
106
 
107
107
 
108
- var _chunkR6QU3B53js = require('./chunk-R6QU3B53.js');
108
+ var _chunkHYK7OVZ3js = require('./chunk-HYK7OVZ3.js');
109
109
  require('./chunk-N2365RCI.js');
110
110
  require('./chunk-C3TC7AUW.js');
111
111
 
@@ -325,4 +325,4 @@ var _chunk7CJRMBX3js = require('./chunk-7CJRMBX3.js');
325
325
 
326
326
 
327
327
 
328
- exports.BUN_LOCK_FILE = _chunkHN5UXNLMjs.BUN_LOCK_FILE; exports.BUN_LOCK_PATH = _chunkHN5UXNLMjs.BUN_LOCK_PATH; exports.INVALID_CARGO_ARGS = _chunkHYK7OVZ3js.INVALID_CARGO_ARGS; exports.LARGE_BUFFER = _chunkRWESELHTjs.LARGE_BUFFER; exports.LOCK_FILES = _chunkHN5UXNLMjs.LOCK_FILES; exports.LOCK_FILE_BY_PACKAGE_MANAGER = _chunkHN5UXNLMjs.LOCK_FILE_BY_PACKAGE_MANAGER; exports.NAMED_INPUTS = _chunk5KAJDSTQjs.NAMED_INPUTS; exports.NPM_LOCK_FILE = _chunkHN5UXNLMjs.NPM_LOCK_FILE; exports.NPM_LOCK_PATH = _chunkHN5UXNLMjs.NPM_LOCK_PATH; exports.OTHER_LOCK_FILES = _chunkHN5UXNLMjs.OTHER_LOCK_FILES; exports.PNPM_LOCK_FILE = _chunkHN5UXNLMjs.PNPM_LOCK_FILE; exports.PNPM_LOCK_PATH = _chunkHN5UXNLMjs.PNPM_LOCK_PATH; exports.PackageManagerTypes = _chunkR6QU3B53js.PackageManagerTypes; exports.ProjectTagConstants = _chunkTAP26ZJQjs.ProjectTagConstants; exports.ProjectTagDistStyleValue = _chunkX3HC3R2Ijs.ProjectTagDistStyleValue; exports.ProjectTagLanguageValue = _chunkX3HC3R2Ijs.ProjectTagLanguageValue; exports.ProjectTagPlatformValue = _chunkX3HC3R2Ijs.ProjectTagPlatformValue; exports.ProjectTagRegistryValue = _chunkX3HC3R2Ijs.ProjectTagRegistryValue; exports.ProjectTagTypeValue = _chunkX3HC3R2Ijs.ProjectTagTypeValue; exports.ProjectTagVariant = _chunkX3HC3R2Ijs.ProjectTagVariant; exports.RELEASE = _chunk5KAJDSTQjs.RELEASE; exports.StormJsVersionActions = _chunkGCYJYDE3js.StormJsVersionActions; exports.StormRustVersionActions = _chunkEFJ2PGGVjs.StormRustVersionActions; exports.TypescriptProjectLinkingType = _chunkX3HC3R2Ijs.TypescriptProjectLinkingType; exports.YARN_LOCK_FILE = _chunkHN5UXNLMjs.YARN_LOCK_FILE; exports.YARN_LOCK_PATH = _chunkHN5UXNLMjs.YARN_LOCK_PATH; exports.addPackageJsonGitHead = _chunkR6QU3B53js.addPackageJsonGitHead; exports.addPluginProjectTag = _chunkTAP26ZJQjs.addPluginProjectTag; exports.addProjectTag = _chunkTAP26ZJQjs.addProjectTag; exports.applyWorkspaceExecutorTokens = _chunkDIIMX7QFjs.applyWorkspaceExecutorTokens; exports.baseExecutorSchema = _chunk7JRL2LE3js.base_executor_untyped_default; exports.baseGeneratorSchema = _chunk7CJRMBX3js.base_generator_untyped_default; exports.browserLibraryGeneratorFn = _chunkXV4FCARJjs.browserLibraryGeneratorFn; exports.buildCargoCommand = _chunkHYK7OVZ3js.buildCargoCommand; exports.bunVersion = _chunk3G7PNDZ5js.bunVersion; exports.cargoBaseExecutorSchema = _chunkLQHVZMFVjs.cargo_base_executor_untyped_default; exports.cargoBuildExecutor = _chunkWKCSKEFYjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkIV2QQRXOjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkKDZH66U5js.cargoClippyExecutor; exports.cargoCommand = _chunkHYK7OVZ3js.cargoCommand; exports.cargoCommandSync = _chunkHYK7OVZ3js.cargoCommandSync; exports.cargoDocExecutor = _chunk6W7UEKUNjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkXXCBFZB6js.cargoFormatExecutor; exports.cargoMetadata = _chunkHYK7OVZ3js.cargoMetadata; exports.cargoRunCommand = _chunkHYK7OVZ3js.cargoRunCommand; exports.childProcess = _chunkHYK7OVZ3js.childProcess; exports.configSchemaGeneratorFn = _chunk32MOOPKKjs.configSchemaGeneratorFn; exports.createCliOptions = _chunkQVYCDINGjs.createCliOptions; exports.createProjectTsConfigJson = _chunkILSI74FWjs.createProjectTsConfigJson; exports.esbuildExecutorFn = _chunkN5LZIOWWjs.esbuildExecutorFn; exports.eslintVersion = _chunk3G7PNDZ5js.eslintVersion; exports.formatProjectTag = _chunkTAP26ZJQjs.formatProjectTag; exports.getGitHubTools = _chunkMKJITWLNjs.getGitHubTools; exports.getInstallCommand = _chunk3MXZ2RJFjs.getInstallCommand; exports.getLockFileDependencies = _chunkHN5UXNLMjs.getLockFileDependencies; exports.getLockFileName = _chunkHN5UXNLMjs.getLockFileName; exports.getLockFileNodes = _chunkHN5UXNLMjs.getLockFileNodes; exports.getOtherLockFileNames = _chunkHN5UXNLMjs.getOtherLockFileNames; exports.getOutputPath = _chunkILSI74FWjs.getOutputPath; exports.getPackageInfo = _chunkR6QU3B53js.getPackageInfo; exports.getProjectConfigFromProjectJsonPath = _chunkBAPFD3TOjs.getProjectConfigFromProjectJsonPath; exports.getProjectConfigFromProjectRoot = _chunkBAPFD3TOjs.getProjectConfigFromProjectRoot; exports.getProjectConfiguration = _chunkUAK3EVR2js.getProjectConfiguration; exports.getProjectConfigurations = _chunkUAK3EVR2js.getProjectConfigurations; exports.getProjectPlatform = _chunkBAPFD3TOjs.getProjectPlatform; exports.getProjectRoot = _chunkBAPFD3TOjs.getProjectRoot; exports.getProjectTag = _chunkTAP26ZJQjs.getProjectTag; exports.getRegistryVersion = _chunkRU4TNHFGjs.getRegistryVersion; exports.getRoot = _chunkBAPFD3TOjs.getRoot; exports.getTypiaTransform = _chunk6EMYX25Vjs.getTypiaTransform; exports.getWorkspacePackageManager = _chunk3MXZ2RJFjs.getWorkspacePackageManager; exports.getWorkspacePackageManagerCommand = _chunk3MXZ2RJFjs.getWorkspacePackageManagerCommand; exports.hasProjectTag = _chunkTAP26ZJQjs.hasProjectTag; exports.initGenerator = _chunkOKSECMVKjs.initGenerator; exports.isEqualProjectTag = _chunkTAP26ZJQjs.isEqualProjectTag; exports.isExternal = _chunkHYK7OVZ3js.isExternal; exports.lintStagedVersion = _chunk3G7PNDZ5js.lintStagedVersion; exports.lockFileExists = _chunkHN5UXNLMjs.lockFileExists; exports.napiExecutor = _chunkVKLLVYQ5js.napiExecutor; exports.neutralLibraryGeneratorFn = _chunkW4JSEGT2js.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkAETRB5I7js.nodeLibraryGeneratorFn; exports.nodeVersion = _chunk3G7PNDZ5js.nodeVersion; exports.normalizeOptions = _chunkILSI74FWjs.normalizeOptions; exports.npmVersion = _chunk3G7PNDZ5js.npmVersion; exports.nxVersion = _chunk3G7PNDZ5js.nxVersion; exports.packageManagerVersions = _chunk3G7PNDZ5js.packageManagerVersions; exports.pnpmVersion = _chunk3G7PNDZ5js.pnpmVersion; exports.presetGeneratorFn = _chunkHNSYCP2Yjs.presetGeneratorFn; exports.prettierPackageJsonVersion = _chunk3G7PNDZ5js.prettierPackageJsonVersion; exports.prettierPrismaVersion = _chunk3G7PNDZ5js.prettierPrismaVersion; exports.prettierVersion = _chunk3G7PNDZ5js.prettierVersion; exports.runProcess = _chunkHYK7OVZ3js.runProcess; exports.semanticReleaseVersion = _chunk3G7PNDZ5js.semanticReleaseVersion; exports.setDefaultProjectTags = _chunkTAP26ZJQjs.setDefaultProjectTags; exports.sizeLimitExecutorFn = _chunk65C6CGV3js.sizeLimitExecutorFn; exports.swcCliVersion = _chunk3G7PNDZ5js.swcCliVersion; exports.swcCoreVersion = _chunk3G7PNDZ5js.swcCoreVersion; exports.swcHelpersVersion = _chunk3G7PNDZ5js.swcHelpersVersion; exports.swcNodeVersion = _chunk3G7PNDZ5js.swcNodeVersion; exports.tsLibVersion = _chunk3G7PNDZ5js.tsLibVersion; exports.tsdownExecutorFn = _chunkULONYXYFjs.tsdownExecutorFn; exports.tsupVersion = _chunk3G7PNDZ5js.tsupVersion; exports.typeScriptLibraryGeneratorFn = _chunkILSI74FWjs.typeScriptLibraryGeneratorFn; exports.typesNodeVersion = _chunk3G7PNDZ5js.typesNodeVersion; exports.typescriptBuildExecutorSchema = _chunkPMPKOMMDjs.typescript_build_executor_untyped_default; exports.typescriptLibraryGeneratorSchema = _chunk2AVWFUXPjs.typescript_library_generator_untyped_default; exports.typescriptVersion = _chunk3G7PNDZ5js.typescriptVersion; exports.typiaExecutorFn = _chunkUEDAT7SJjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkZWUGCEBZjs.unbuildExecutorFn; exports.verdaccioVersion = _chunk3G7PNDZ5js.verdaccioVersion; exports.withNamedInputs = _chunk5KAJDSTQjs.withNamedInputs; exports.withRunExecutor = _chunk2VQ55YPWjs.withRunExecutor; exports.withRunGenerator = _chunkIZLEVS44js.withRunGenerator; exports.yarnVersion = _chunk3G7PNDZ5js.yarnVersion;
328
+ exports.BUN_LOCK_FILE = _chunkHN5UXNLMjs.BUN_LOCK_FILE; exports.BUN_LOCK_PATH = _chunkHN5UXNLMjs.BUN_LOCK_PATH; exports.INVALID_CARGO_ARGS = _chunkHYK7OVZ3js.INVALID_CARGO_ARGS; exports.LARGE_BUFFER = _chunkVB5HL6WXjs.LARGE_BUFFER; exports.LOCK_FILES = _chunkHN5UXNLMjs.LOCK_FILES; exports.LOCK_FILE_BY_PACKAGE_MANAGER = _chunkHN5UXNLMjs.LOCK_FILE_BY_PACKAGE_MANAGER; exports.NAMED_INPUTS = _chunk5KAJDSTQjs.NAMED_INPUTS; exports.NPM_LOCK_FILE = _chunkHN5UXNLMjs.NPM_LOCK_FILE; exports.NPM_LOCK_PATH = _chunkHN5UXNLMjs.NPM_LOCK_PATH; exports.OTHER_LOCK_FILES = _chunkHN5UXNLMjs.OTHER_LOCK_FILES; exports.PNPM_LOCK_FILE = _chunkHN5UXNLMjs.PNPM_LOCK_FILE; exports.PNPM_LOCK_PATH = _chunkHN5UXNLMjs.PNPM_LOCK_PATH; exports.PackageManagerTypes = _chunkR6QU3B53js.PackageManagerTypes; exports.ProjectTagConstants = _chunkTAP26ZJQjs.ProjectTagConstants; exports.ProjectTagDistStyleValue = _chunkX3HC3R2Ijs.ProjectTagDistStyleValue; exports.ProjectTagLanguageValue = _chunkX3HC3R2Ijs.ProjectTagLanguageValue; exports.ProjectTagPlatformValue = _chunkX3HC3R2Ijs.ProjectTagPlatformValue; exports.ProjectTagRegistryValue = _chunkX3HC3R2Ijs.ProjectTagRegistryValue; exports.ProjectTagTypeValue = _chunkX3HC3R2Ijs.ProjectTagTypeValue; exports.ProjectTagVariant = _chunkX3HC3R2Ijs.ProjectTagVariant; exports.RELEASE = _chunk5KAJDSTQjs.RELEASE; exports.StormJsVersionActions = _chunkGCYJYDE3js.StormJsVersionActions; exports.StormRustVersionActions = _chunkEFJ2PGGVjs.StormRustVersionActions; exports.TypescriptProjectLinkingType = _chunkX3HC3R2Ijs.TypescriptProjectLinkingType; exports.YARN_LOCK_FILE = _chunkHN5UXNLMjs.YARN_LOCK_FILE; exports.YARN_LOCK_PATH = _chunkHN5UXNLMjs.YARN_LOCK_PATH; exports.addPackageJsonGitHead = _chunkR6QU3B53js.addPackageJsonGitHead; exports.addPluginProjectTag = _chunkTAP26ZJQjs.addPluginProjectTag; exports.addProjectTag = _chunkTAP26ZJQjs.addProjectTag; exports.applyWorkspaceExecutorTokens = _chunkDIIMX7QFjs.applyWorkspaceExecutorTokens; exports.baseExecutorSchema = _chunk7JRL2LE3js.base_executor_untyped_default; exports.baseGeneratorSchema = _chunk7CJRMBX3js.base_generator_untyped_default; exports.browserLibraryGeneratorFn = _chunkXV4FCARJjs.browserLibraryGeneratorFn; exports.buildCargoCommand = _chunkHYK7OVZ3js.buildCargoCommand; exports.bunVersion = _chunk3G7PNDZ5js.bunVersion; exports.cargoBaseExecutorSchema = _chunkLQHVZMFVjs.cargo_base_executor_untyped_default; exports.cargoBuildExecutor = _chunkWKCSKEFYjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkIV2QQRXOjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkKDZH66U5js.cargoClippyExecutor; exports.cargoCommand = _chunkHYK7OVZ3js.cargoCommand; exports.cargoCommandSync = _chunkHYK7OVZ3js.cargoCommandSync; exports.cargoDocExecutor = _chunk6W7UEKUNjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkXXCBFZB6js.cargoFormatExecutor; exports.cargoMetadata = _chunkHYK7OVZ3js.cargoMetadata; exports.cargoRunCommand = _chunkHYK7OVZ3js.cargoRunCommand; exports.childProcess = _chunkHYK7OVZ3js.childProcess; exports.configSchemaGeneratorFn = _chunk32MOOPKKjs.configSchemaGeneratorFn; exports.createCliOptions = _chunkQVYCDINGjs.createCliOptions; exports.createProjectTsConfigJson = _chunkILSI74FWjs.createProjectTsConfigJson; exports.esbuildExecutorFn = _chunkN5LZIOWWjs.esbuildExecutorFn; exports.eslintVersion = _chunk3G7PNDZ5js.eslintVersion; exports.formatProjectTag = _chunkTAP26ZJQjs.formatProjectTag; exports.getGitHubTools = _chunkMKJITWLNjs.getGitHubTools; exports.getInstallCommand = _chunk3MXZ2RJFjs.getInstallCommand; exports.getLockFileDependencies = _chunkHN5UXNLMjs.getLockFileDependencies; exports.getLockFileName = _chunkHN5UXNLMjs.getLockFileName; exports.getLockFileNodes = _chunkHN5UXNLMjs.getLockFileNodes; exports.getOtherLockFileNames = _chunkHN5UXNLMjs.getOtherLockFileNames; exports.getOutputPath = _chunkILSI74FWjs.getOutputPath; exports.getPackageInfo = _chunkR6QU3B53js.getPackageInfo; exports.getProjectConfigFromProjectJsonPath = _chunkBAPFD3TOjs.getProjectConfigFromProjectJsonPath; exports.getProjectConfigFromProjectRoot = _chunkBAPFD3TOjs.getProjectConfigFromProjectRoot; exports.getProjectConfiguration = _chunkUAK3EVR2js.getProjectConfiguration; exports.getProjectConfigurations = _chunkUAK3EVR2js.getProjectConfigurations; exports.getProjectPlatform = _chunkBAPFD3TOjs.getProjectPlatform; exports.getProjectRoot = _chunkBAPFD3TOjs.getProjectRoot; exports.getProjectTag = _chunkTAP26ZJQjs.getProjectTag; exports.getRegistryVersion = _chunkRU4TNHFGjs.getRegistryVersion; exports.getRoot = _chunkBAPFD3TOjs.getRoot; exports.getTypiaTransform = _chunk6EMYX25Vjs.getTypiaTransform; exports.getWorkspacePackageManager = _chunk3MXZ2RJFjs.getWorkspacePackageManager; exports.getWorkspacePackageManagerCommand = _chunk3MXZ2RJFjs.getWorkspacePackageManagerCommand; exports.hasProjectTag = _chunkTAP26ZJQjs.hasProjectTag; exports.initGenerator = _chunkOKSECMVKjs.initGenerator; exports.isEqualProjectTag = _chunkTAP26ZJQjs.isEqualProjectTag; exports.isExternal = _chunkHYK7OVZ3js.isExternal; exports.lintStagedVersion = _chunk3G7PNDZ5js.lintStagedVersion; exports.lockFileExists = _chunkHN5UXNLMjs.lockFileExists; exports.napiExecutor = _chunkVKLLVYQ5js.napiExecutor; exports.neutralLibraryGeneratorFn = _chunkW4JSEGT2js.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkAETRB5I7js.nodeLibraryGeneratorFn; exports.nodeVersion = _chunk3G7PNDZ5js.nodeVersion; exports.normalizeOptions = _chunkILSI74FWjs.normalizeOptions; exports.npmVersion = _chunk3G7PNDZ5js.npmVersion; exports.nxVersion = _chunk3G7PNDZ5js.nxVersion; exports.packageManagerVersions = _chunk3G7PNDZ5js.packageManagerVersions; exports.pnpmVersion = _chunk3G7PNDZ5js.pnpmVersion; exports.presetGeneratorFn = _chunkHNSYCP2Yjs.presetGeneratorFn; exports.prettierPackageJsonVersion = _chunk3G7PNDZ5js.prettierPackageJsonVersion; exports.prettierPrismaVersion = _chunk3G7PNDZ5js.prettierPrismaVersion; exports.prettierVersion = _chunk3G7PNDZ5js.prettierVersion; exports.runProcess = _chunkHYK7OVZ3js.runProcess; exports.semanticReleaseVersion = _chunk3G7PNDZ5js.semanticReleaseVersion; exports.setDefaultProjectTags = _chunkTAP26ZJQjs.setDefaultProjectTags; exports.sizeLimitExecutorFn = _chunk65C6CGV3js.sizeLimitExecutorFn; exports.swcCliVersion = _chunk3G7PNDZ5js.swcCliVersion; exports.swcCoreVersion = _chunk3G7PNDZ5js.swcCoreVersion; exports.swcHelpersVersion = _chunk3G7PNDZ5js.swcHelpersVersion; exports.swcNodeVersion = _chunk3G7PNDZ5js.swcNodeVersion; exports.tsLibVersion = _chunk3G7PNDZ5js.tsLibVersion; exports.tsdownExecutorFn = _chunkULONYXYFjs.tsdownExecutorFn; exports.tsupVersion = _chunk3G7PNDZ5js.tsupVersion; exports.typeScriptLibraryGeneratorFn = _chunkILSI74FWjs.typeScriptLibraryGeneratorFn; exports.typesNodeVersion = _chunk3G7PNDZ5js.typesNodeVersion; exports.typescriptBuildExecutorSchema = _chunkPMPKOMMDjs.typescript_build_executor_untyped_default; exports.typescriptLibraryGeneratorSchema = _chunk2AVWFUXPjs.typescript_library_generator_untyped_default; exports.typescriptVersion = _chunk3G7PNDZ5js.typescriptVersion; exports.typiaExecutorFn = _chunkUEDAT7SJjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkZWUGCEBZjs.unbuildExecutorFn; exports.verdaccioVersion = _chunk3G7PNDZ5js.verdaccioVersion; exports.withNamedInputs = _chunk5KAJDSTQjs.withNamedInputs; exports.withRunExecutor = _chunk2VQ55YPWjs.withRunExecutor; exports.withRunGenerator = _chunkIZLEVS44js.withRunGenerator; exports.yarnVersion = _chunk3G7PNDZ5js.yarnVersion;
package/dist/index.mjs CHANGED
@@ -1,26 +1,27 @@
1
- import "./chunk-QCN77EOQ.mjs";
1
+ import "./chunk-5GZC2PF6.mjs";
2
2
  import {
3
- getProjectConfigFromProjectJsonPath,
4
- getProjectConfigFromProjectRoot,
5
- getProjectPlatform,
6
- getProjectRoot,
7
- getRoot
8
- } from "./chunk-K4QMCCQB.mjs";
3
+ StormJsVersionActions
4
+ } from "./chunk-YKCMKHXT.mjs";
5
+ import {
6
+ StormRustVersionActions
7
+ } from "./chunk-P6AKIT3J.mjs";
8
+ import "./chunk-EGI64HQ2.mjs";
9
+ import "./chunk-QCN77EOQ.mjs";
9
10
  import {
10
11
  getTypiaTransform
11
12
  } from "./chunk-KR72GKIT.mjs";
12
- import {
13
- createCliOptions
14
- } from "./chunk-W2C5IGWW.mjs";
15
- import {
16
- getProjectConfiguration,
17
- getProjectConfigurations
18
- } from "./chunk-FL2BH4QQ.mjs";
19
13
  import {
20
14
  NAMED_INPUTS,
21
15
  RELEASE,
22
16
  withNamedInputs
23
17
  } from "./chunk-KMTNXFZA.mjs";
18
+ import {
19
+ getProjectConfigFromProjectJsonPath,
20
+ getProjectConfigFromProjectRoot,
21
+ getProjectPlatform,
22
+ getProjectRoot,
23
+ getRoot
24
+ } from "./chunk-K4QMCCQB.mjs";
24
25
  import "./chunk-P5P43FOZ.mjs";
25
26
  import {
26
27
  cargo_base_executor_untyped_default
@@ -31,24 +32,23 @@ import {
31
32
  import {
32
33
  typescript_library_generator_untyped_default
33
34
  } from "./chunk-SW2E5MQJ.mjs";
34
- import "./chunk-5GZC2PF6.mjs";
35
- import {
36
- StormJsVersionActions
37
- } from "./chunk-YKCMKHXT.mjs";
38
- import {
39
- StormRustVersionActions
40
- } from "./chunk-P6AKIT3J.mjs";
41
- import "./chunk-EGI64HQ2.mjs";
42
35
  import {
43
36
  applyWorkspaceExecutorTokens
44
37
  } from "./chunk-EDROFLKN.mjs";
38
+ import {
39
+ createCliOptions
40
+ } from "./chunk-W2C5IGWW.mjs";
41
+ import {
42
+ getProjectConfiguration,
43
+ getProjectConfigurations
44
+ } from "./chunk-FL2BH4QQ.mjs";
45
45
  import "./chunk-GHQJKIMQ.mjs";
46
46
  import {
47
47
  unbuildExecutorFn
48
48
  } from "./chunk-N2PEIA6H.mjs";
49
49
  import {
50
50
  LARGE_BUFFER
51
- } from "./chunk-XDEOQGWH.mjs";
51
+ } from "./chunk-CNDWQ6SF.mjs";
52
52
  import {
53
53
  sizeLimitExecutorFn
54
54
  } from "./chunk-I7RM7R7C.mjs";
@@ -82,6 +82,14 @@ import {
82
82
  import {
83
83
  cargoBuildExecutor
84
84
  } from "./chunk-XMATGAG4.mjs";
85
+ import {
86
+ getGitHubTools
87
+ } from "./chunk-54BBSJHK.mjs";
88
+ import {
89
+ PackageManagerTypes,
90
+ addPackageJsonGitHead,
91
+ getPackageInfo
92
+ } from "./chunk-KD4DD3ZC.mjs";
85
93
  import {
86
94
  getInstallCommand,
87
95
  getWorkspacePackageManager,
@@ -98,14 +106,6 @@ import {
98
106
  isExternal,
99
107
  runProcess
100
108
  } from "./chunk-C3G4MZGP.mjs";
101
- import {
102
- getGitHubTools
103
- } from "./chunk-54BBSJHK.mjs";
104
- import {
105
- PackageManagerTypes,
106
- addPackageJsonGitHead,
107
- getPackageInfo
108
- } from "./chunk-KD4DD3ZC.mjs";
109
109
  import "./chunk-UA33NH5O.mjs";
110
110
  import "./chunk-SAIDGUHG.mjs";
111
111
  import {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkRWESELHTjs = require('../../../chunk-RWESELHT.js');
5
- require('../../../chunk-3MXZ2RJF.js');
4
+ var _chunkVB5HL6WXjs = require('../../../chunk-VB5HL6WX.js');
6
5
  require('../../../chunk-MKJITWLN.js');
7
6
  require('../../../chunk-R6QU3B53.js');
7
+ require('../../../chunk-3MXZ2RJF.js');
8
8
  require('../../../chunk-N2365RCI.js');
9
9
  require('../../../chunk-TAP26ZJQ.js');
10
10
  require('../../../chunk-IMY2BU43.js');
@@ -14,4 +14,4 @@ require('../../../chunk-CQDBLKPF.js');
14
14
 
15
15
 
16
16
 
17
- exports.LARGE_BUFFER = _chunkRWESELHTjs.LARGE_BUFFER; exports.default = _chunkRWESELHTjs.npmPublishExecutorFn;
17
+ exports.LARGE_BUFFER = _chunkVB5HL6WXjs.LARGE_BUFFER; exports.default = _chunkVB5HL6WXjs.npmPublishExecutorFn;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  LARGE_BUFFER,
3
3
  npmPublishExecutorFn
4
- } from "../../../chunk-XDEOQGWH.mjs";
5
- import "../../../chunk-EXRSULNO.mjs";
4
+ } from "../../../chunk-CNDWQ6SF.mjs";
6
5
  import "../../../chunk-54BBSJHK.mjs";
7
6
  import "../../../chunk-KD4DD3ZC.mjs";
7
+ import "../../../chunk-EXRSULNO.mjs";
8
8
  import "../../../chunk-UA33NH5O.mjs";
9
9
  import "../../../chunk-2GQSCZ3J.mjs";
10
10
  import "../../../chunk-I4KVL3GR.mjs";
@@ -1,53 +1,53 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-CVKUY5YY.js');
2
2
 
3
3
 
4
+ var _chunk6EMYX25Vjs = require('../../chunk-6EMYX25V.js');
4
5
 
5
6
 
6
7
 
7
8
 
8
- var _chunkBAPFD3TOjs = require('../../chunk-BAPFD3TO.js');
9
+ var _chunk5KAJDSTQjs = require('../../chunk-5KAJDSTQ.js');
9
10
 
10
11
 
11
- var _chunk6EMYX25Vjs = require('../../chunk-6EMYX25V.js');
12
12
 
13
13
 
14
- var _chunkQVYCDINGjs = require('../../chunk-QVYCDING.js');
15
14
 
16
15
 
16
+ var _chunkBAPFD3TOjs = require('../../chunk-BAPFD3TO.js');
17
17
 
18
- var _chunkUAK3EVR2js = require('../../chunk-UAK3EVR2.js');
19
18
 
19
+ var _chunkDIIMX7QFjs = require('../../chunk-DIIMX7QF.js');
20
20
 
21
21
 
22
+ var _chunkQVYCDINGjs = require('../../chunk-QVYCDING.js');
22
23
 
23
- var _chunk5KAJDSTQjs = require('../../chunk-5KAJDSTQ.js');
24
24
 
25
25
 
26
- var _chunkDIIMX7QFjs = require('../../chunk-DIIMX7QF.js');
26
+ var _chunkUAK3EVR2js = require('../../chunk-UAK3EVR2.js');
27
27
 
28
28
 
29
+ var _chunkMKJITWLNjs = require('../../chunk-MKJITWLN.js');
29
30
 
30
31
 
31
- var _chunk3MXZ2RJFjs = require('../../chunk-3MXZ2RJF.js');
32
32
 
33
33
 
34
+ var _chunkR6QU3B53js = require('../../chunk-R6QU3B53.js');
34
35
 
35
36
 
36
37
 
37
38
 
39
+ var _chunk3MXZ2RJFjs = require('../../chunk-3MXZ2RJF.js');
38
40
 
39
41
 
40
42
 
41
43
 
42
- var _chunkHYK7OVZ3js = require('../../chunk-HYK7OVZ3.js');
43
44
 
44
45
 
45
- var _chunkMKJITWLNjs = require('../../chunk-MKJITWLN.js');
46
46
 
47
47
 
48
48
 
49
49
 
50
- var _chunkR6QU3B53js = require('../../chunk-R6QU3B53.js');
50
+ var _chunkHYK7OVZ3js = require('../../chunk-HYK7OVZ3.js');
51
51
  require('../../chunk-N2365RCI.js');
52
52
 
53
53
 
@@ -1,4 +1,12 @@
1
1
  import "../../chunk-QCN77EOQ.mjs";
2
+ import {
3
+ getTypiaTransform
4
+ } from "../../chunk-KR72GKIT.mjs";
5
+ import {
6
+ NAMED_INPUTS,
7
+ RELEASE,
8
+ withNamedInputs
9
+ } from "../../chunk-KMTNXFZA.mjs";
2
10
  import {
3
11
  getProjectConfigFromProjectJsonPath,
4
12
  getProjectConfigFromProjectRoot,
@@ -7,8 +15,8 @@ import {
7
15
  getRoot
8
16
  } from "../../chunk-K4QMCCQB.mjs";
9
17
  import {
10
- getTypiaTransform
11
- } from "../../chunk-KR72GKIT.mjs";
18
+ applyWorkspaceExecutorTokens
19
+ } from "../../chunk-EDROFLKN.mjs";
12
20
  import {
13
21
  createCliOptions
14
22
  } from "../../chunk-W2C5IGWW.mjs";
@@ -17,13 +25,13 @@ import {
17
25
  getProjectConfigurations
18
26
  } from "../../chunk-FL2BH4QQ.mjs";
19
27
  import {
20
- NAMED_INPUTS,
21
- RELEASE,
22
- withNamedInputs
23
- } from "../../chunk-KMTNXFZA.mjs";
28
+ getGitHubTools
29
+ } from "../../chunk-54BBSJHK.mjs";
24
30
  import {
25
- applyWorkspaceExecutorTokens
26
- } from "../../chunk-EDROFLKN.mjs";
31
+ PackageManagerTypes,
32
+ addPackageJsonGitHead,
33
+ getPackageInfo
34
+ } from "../../chunk-KD4DD3ZC.mjs";
27
35
  import {
28
36
  getInstallCommand,
29
37
  getWorkspacePackageManager,
@@ -40,14 +48,6 @@ import {
40
48
  isExternal,
41
49
  runProcess
42
50
  } from "../../chunk-C3G4MZGP.mjs";
43
- import {
44
- getGitHubTools
45
- } from "../../chunk-54BBSJHK.mjs";
46
- import {
47
- PackageManagerTypes,
48
- addPackageJsonGitHead,
49
- getPackageInfo
50
- } from "../../chunk-KD4DD3ZC.mjs";
51
51
  import "../../chunk-UA33NH5O.mjs";
52
52
  import {
53
53
  BUN_LOCK_FILE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.296.111",
3
+ "version": "1.296.112",
4
4
  "description": "Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.",
5
5
  "keywords": [
6
6
  "monorepo",
@@ -239,10 +239,10 @@
239
239
  "@size-limit/esbuild-why": "^11.2.0",
240
240
  "@size-limit/file": "^11.2.0",
241
241
  "@storm-software/config": "^1.138.65",
242
- "@storm-software/config-tools": "^1.190.128",
243
- "@storm-software/npm-tools": "^0.6.246",
242
+ "@storm-software/config-tools": "^1.190.129",
243
+ "@storm-software/npm-tools": "^0.6.247",
244
244
  "@storm-software/prettier": "^0.59.182",
245
- "@storm-software/tsdown": "^0.45.289",
245
+ "@storm-software/tsdown": "^0.45.290",
246
246
  "defu": "^6.1.7",
247
247
  "esbuild": "^0.25.12",
248
248
  "fs-extra": "^11.4.0",
@@ -261,11 +261,11 @@
261
261
  },
262
262
  "devDependencies": {
263
263
  "@napi-rs/cli": "^3.8.2",
264
- "@storm-software/bun-tools": "0.0.39",
265
- "@storm-software/esbuild": "^0.53.289",
264
+ "@storm-software/bun-tools": "^0.0.40",
265
+ "@storm-software/esbuild": "^0.53.290",
266
266
  "@storm-software/package-constants": "^0.1.141",
267
- "@storm-software/pnpm-tools": "0.7.140",
268
- "@storm-software/unbuild": "^0.57.289",
267
+ "@storm-software/pnpm-tools": "^0.7.141",
268
+ "@storm-software/unbuild": "^0.57.290",
269
269
  "@types/micromatch": "^4.0.10",
270
270
  "@types/node": "^25.9.5",
271
271
  "@types/semver": "^7.8.0",
@@ -294,5 +294,5 @@
294
294
  "publishConfig": { "access": "public" },
295
295
  "executors": "./executors.json",
296
296
  "generators": "./generators.json",
297
- "gitHead": "b6654873da31d48a7bea1a7bf307aebd0ab75fba"
297
+ "gitHead": "b42641c3e4afdcfa82cb04d47afe5c6f372115ec"
298
298
  }