@storm-software/workspace-tools 1.296.115 → 1.297.1
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/dist/{chunk-6QGYUCID.mjs → chunk-2Z34TDPM.mjs} +3 -4
- package/dist/{chunk-RU4TNHFG.js → chunk-3AHXYCKA.js} +1 -2
- package/dist/chunk-52ZDVDIY.mjs +84 -0
- package/dist/{chunk-A3ELSD3U.js → chunk-HKZ7DBR7.js} +1 -2
- package/dist/chunk-KCQIASWP.js +84 -0
- package/dist/chunk-N55FJ7J3.mjs +328 -0
- package/dist/{chunk-K6UOPTIZ.mjs → chunk-QQ64FCAP.mjs} +1 -2
- package/dist/chunk-QSQTOZGN.js +328 -0
- package/dist/executors.d.mts +2 -1
- package/dist/executors.d.ts +2 -1
- package/dist/executors.js +9 -11
- package/dist/executors.mjs +9 -11
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +3 -3
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +12 -14
- package/dist/index.mjs +12 -14
- package/dist/{executor-BF7_LjrR.d.mts → schema.d-Muf2toJ0.d.mts} +1 -8
- package/dist/{executor-BF7_LjrR.d.ts → schema.d-Muf2toJ0.d.ts} +1 -8
- package/dist/schema.d-vPuQzus3.d.mts +41 -0
- package/dist/schema.d-vPuQzus3.d.ts +41 -0
- package/dist/src/executors/cargo-publish/executor.js +2 -2
- package/dist/src/executors/cargo-publish/executor.mjs +1 -1
- package/dist/src/executors/command-publish/executor.d.mts +8 -0
- package/dist/src/executors/command-publish/executor.d.ts +8 -0
- package/dist/src/executors/command-publish/executor.js +7 -0
- package/dist/src/executors/command-publish/executor.mjs +8 -0
- package/dist/src/executors/command-publish/schema.d.ts +41 -0
- package/dist/src/executors/command-publish/schema.json +52 -0
- package/dist/src/executors/command-publish/untyped.d.mts +5 -0
- package/dist/src/executors/command-publish/untyped.d.ts +5 -0
- package/dist/src/executors/command-publish/untyped.js +46 -0
- package/dist/src/executors/command-publish/untyped.mjs +48 -0
- package/dist/src/executors/npm-publish/executor.d.mts +8 -2
- package/dist/src/executors/npm-publish/executor.d.ts +8 -2
- package/dist/src/executors/npm-publish/executor.js +2 -4
- package/dist/src/executors/npm-publish/executor.mjs +1 -3
- package/docs/api/executors/command-publish/schema.md +43 -0
- package/executors.json +5 -0
- package/package.json +12 -12
- /package/dist/{chunk-GHQJKIMQ.mjs → chunk-OYOYESMB.mjs} +0 -0
- /package/dist/{chunk-P6HSE7LH.js → chunk-TEX5JJNH.js} +0 -0
|
@@ -0,0 +1,328 @@
|
|
|
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 _chunkP5OQBBN3js = require('./chunk-P5OQBBN3.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkVXOPWQTJjs = require('./chunk-VXOPWQTJ.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunk3MXZ2RJFjs = require('./chunk-3MXZ2RJF.js');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var _chunkIMY2BU43js = require('./chunk-IMY2BU43.js');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
17
|
+
|
|
18
|
+
// src/executors/npm-publish/executor.ts
|
|
19
|
+
var _jiti = require('jiti');
|
|
20
|
+
var _child_process = require('child_process');
|
|
21
|
+
var _promises = require('fs/promises');
|
|
22
|
+
var _prettier = require('prettier');
|
|
23
|
+
var _prettierpluginpackagejson = require('prettier-plugin-packagejson'); var _prettierpluginpackagejson2 = _interopRequireDefault(_prettierpluginpackagejson);
|
|
24
|
+
var LARGE_BUFFER = 1024 * 1e6;
|
|
25
|
+
async function replaceDepsAliases(jiti, packageRoot, workspaceRoot, packageManager) {
|
|
26
|
+
if (packageManager === "bun") {
|
|
27
|
+
const { replaceDepsAliases: replaceBunDepsAliases } = await jiti.import(jiti.esmResolve("@storm-software/bun-tools"));
|
|
28
|
+
return replaceBunDepsAliases(packageRoot, workspaceRoot);
|
|
29
|
+
}
|
|
30
|
+
if (packageManager === "pnpm") {
|
|
31
|
+
const { replaceDepsAliases: replacePnpmDepsAliases } = await jiti.import(jiti.esmResolve("@storm-software/pnpm-tools"));
|
|
32
|
+
return replacePnpmDepsAliases(packageRoot, workspaceRoot);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
async function npmPublishExecutorFn(options, context) {
|
|
36
|
+
const workspaceConfig = await _chunkIMY2BU43js.getConfig.call(void 0, context.root);
|
|
37
|
+
const packageManager = await _chunk3MXZ2RJFjs.getWorkspacePackageManager.call(void 0,
|
|
38
|
+
context.root,
|
|
39
|
+
workspaceConfig
|
|
40
|
+
);
|
|
41
|
+
const github = await _chunkP5OQBBN3js.getGitHubTools.call(void 0, workspaceConfig);
|
|
42
|
+
const isDryRun = process.env.NX_DRY_RUN === "true" || options.dryRun || false;
|
|
43
|
+
if (!context.projectName) {
|
|
44
|
+
github.error("The `npm-publish` executor requires a `projectName`.");
|
|
45
|
+
return { success: false };
|
|
46
|
+
}
|
|
47
|
+
const projectConfig = _optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects, 'optionalAccess', _3 => _3[context.projectName]]);
|
|
48
|
+
if (!projectConfig) {
|
|
49
|
+
github.error(
|
|
50
|
+
`Could not find project configuration for \`${context.projectName}\``
|
|
51
|
+
);
|
|
52
|
+
return { success: false };
|
|
53
|
+
}
|
|
54
|
+
const packageRoot = _chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
55
|
+
context.root,
|
|
56
|
+
options.packageRoot || _chunkCQDBLKPFjs.joinPaths.call(void 0, "dist", projectConfig.root)
|
|
57
|
+
);
|
|
58
|
+
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,
|
|
59
|
+
context.root,
|
|
60
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
61
|
+
context.projectsConfigurations.projects[context.projectName].root
|
|
62
|
+
) : packageRoot;
|
|
63
|
+
const jiti = _jiti.createJiti.call(void 0, context.root, {
|
|
64
|
+
fsCache: _chunkCQDBLKPFjs.joinPaths.call(void 0, context.root, "node_modules/.cache/storm", "jiti"),
|
|
65
|
+
interopDefault: true
|
|
66
|
+
});
|
|
67
|
+
const { getNpmRegistry, getRegistry } = await jiti.import(jiti.esmResolve("@storm-software/npm-tools/helpers"));
|
|
68
|
+
const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, packageRoot, "package.json");
|
|
69
|
+
const packageJsonFile = await _promises.readFile.call(void 0, packageJsonPath, "utf8");
|
|
70
|
+
if (!packageJsonFile) {
|
|
71
|
+
github.error(`Could not find \`package.json\` at ${packageJsonPath}`);
|
|
72
|
+
return { success: false };
|
|
73
|
+
}
|
|
74
|
+
const packageJson = JSON.parse(packageJsonFile);
|
|
75
|
+
const projectPackageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, projectRoot, "package.json");
|
|
76
|
+
const projectPackageJsonFile = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
|
|
77
|
+
if (!projectPackageJsonFile) {
|
|
78
|
+
github.error(
|
|
79
|
+
`Could not find \`package.json\` at ${projectPackageJsonPath}`
|
|
80
|
+
);
|
|
81
|
+
return { success: false };
|
|
82
|
+
}
|
|
83
|
+
const projectPackageJson = JSON.parse(projectPackageJsonFile);
|
|
84
|
+
if (packageJson.version !== projectPackageJson.version) {
|
|
85
|
+
console.warn(
|
|
86
|
+
`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.`
|
|
87
|
+
);
|
|
88
|
+
if (projectPackageJson.version) {
|
|
89
|
+
packageJson.version = projectPackageJson.version;
|
|
90
|
+
await _promises.writeFile.call(void 0,
|
|
91
|
+
packageJsonPath,
|
|
92
|
+
await _prettier.format.call(void 0, JSON.stringify(packageJson), {
|
|
93
|
+
parser: "json",
|
|
94
|
+
proseWrap: "preserve",
|
|
95
|
+
trailingComma: "none",
|
|
96
|
+
tabWidth: 2,
|
|
97
|
+
semi: true,
|
|
98
|
+
singleQuote: false,
|
|
99
|
+
quoteProps: "as-needed",
|
|
100
|
+
insertPragma: false,
|
|
101
|
+
bracketSameLine: true,
|
|
102
|
+
printWidth: 80,
|
|
103
|
+
bracketSpacing: true,
|
|
104
|
+
arrowParens: "avoid",
|
|
105
|
+
endOfLine: "lf",
|
|
106
|
+
plugins: [_prettierpluginpackagejson2.default]
|
|
107
|
+
})
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
const packageName = packageJson.name;
|
|
112
|
+
console.info(
|
|
113
|
+
`\u{1F680} Running Storm NPM Publish executor on the ${packageName} package`
|
|
114
|
+
);
|
|
115
|
+
const packageTxt = packageName === context.projectName ? `package "${packageName}"` : `package "${packageName}" from project "${context.projectName}"`;
|
|
116
|
+
if (packageJson.private === true) {
|
|
117
|
+
console.warn(
|
|
118
|
+
`Skipped ${packageTxt}, because it has \`"private": true\` in ${packageJsonPath}`
|
|
119
|
+
);
|
|
120
|
+
return { success: true };
|
|
121
|
+
}
|
|
122
|
+
const removedPrivateWorkspaceDeps = await _chunkVXOPWQTJjs.stripPrivateWorkspaceDeps.call(void 0,
|
|
123
|
+
packageRoot,
|
|
124
|
+
context.root
|
|
125
|
+
);
|
|
126
|
+
if (removedPrivateWorkspaceDeps.length > 0) {
|
|
127
|
+
console.info(
|
|
128
|
+
`Removed private workspace dependencies from ${packageJsonPath}: ${removedPrivateWorkspaceDeps.join(", ")}`
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
await replaceDepsAliases(jiti, packageRoot, context.root, packageManager);
|
|
132
|
+
await _chunkVXOPWQTJjs.addPackageJsonGitHead.call(void 0, packageRoot);
|
|
133
|
+
const npmPublishCommandSegments = [`npm publish --json`];
|
|
134
|
+
const npmViewCommandSegments = [
|
|
135
|
+
`npm view ${packageName} versions dist-tags --json`
|
|
136
|
+
];
|
|
137
|
+
const registry = await Promise.resolve(
|
|
138
|
+
await _asyncNullishCoalesce(options.registry, async () => ( (await getRegistry() || getNpmRegistry())))
|
|
139
|
+
);
|
|
140
|
+
if (registry) {
|
|
141
|
+
npmPublishCommandSegments.push(`--registry="${registry}" `);
|
|
142
|
+
npmViewCommandSegments.push(`--registry="${registry}" `);
|
|
143
|
+
}
|
|
144
|
+
if (options.otp) {
|
|
145
|
+
npmPublishCommandSegments.push(`--otp="${options.otp}" `);
|
|
146
|
+
}
|
|
147
|
+
let token;
|
|
148
|
+
if (!options.otp && registry) {
|
|
149
|
+
token = await github.getIDToken(
|
|
150
|
+
`npm:${registry.replace(/^https?:\/\//, "")}`
|
|
151
|
+
);
|
|
152
|
+
if (!token) {
|
|
153
|
+
github.warning(
|
|
154
|
+
`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.`
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
npmPublishCommandSegments.push("--provenance --access=public ");
|
|
159
|
+
if (isDryRun) {
|
|
160
|
+
npmPublishCommandSegments.push("--dry-run");
|
|
161
|
+
}
|
|
162
|
+
const tag = options.tag || _child_process.execSync.call(void 0, "npm config get tag", {
|
|
163
|
+
cwd: packageRoot,
|
|
164
|
+
env: {
|
|
165
|
+
NPM_ID_TOKEN: token ? token : void 0,
|
|
166
|
+
...process.env,
|
|
167
|
+
FORCE_COLOR: "true"
|
|
168
|
+
},
|
|
169
|
+
maxBuffer: LARGE_BUFFER,
|
|
170
|
+
killSignal: "SIGTERM"
|
|
171
|
+
}).toString().trim();
|
|
172
|
+
if (tag) {
|
|
173
|
+
npmPublishCommandSegments.push(`--tag="${tag}" `);
|
|
174
|
+
}
|
|
175
|
+
if (!isDryRun) {
|
|
176
|
+
const currentVersion = options.version || packageJson.version;
|
|
177
|
+
try {
|
|
178
|
+
try {
|
|
179
|
+
const result = _child_process.execSync.call(void 0, npmViewCommandSegments.join(" "), {
|
|
180
|
+
cwd: packageRoot,
|
|
181
|
+
env: {
|
|
182
|
+
NPM_ID_TOKEN: token,
|
|
183
|
+
...process.env,
|
|
184
|
+
FORCE_COLOR: "true"
|
|
185
|
+
},
|
|
186
|
+
maxBuffer: LARGE_BUFFER,
|
|
187
|
+
killSignal: "SIGTERM"
|
|
188
|
+
});
|
|
189
|
+
const resultJson = JSON.parse(result.toString());
|
|
190
|
+
const distTags = resultJson["dist-tags"] || {};
|
|
191
|
+
if (distTags[tag] === currentVersion) {
|
|
192
|
+
console.warn(
|
|
193
|
+
`Skipped ${packageTxt} because v${currentVersion} already exists in ${registry} with tag "${tag}"`
|
|
194
|
+
);
|
|
195
|
+
return { success: true };
|
|
196
|
+
}
|
|
197
|
+
} catch (err) {
|
|
198
|
+
console.debug(
|
|
199
|
+
`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.
|
|
200
|
+
|
|
201
|
+
Error: ${JSON.stringify(
|
|
202
|
+
err,
|
|
203
|
+
null,
|
|
204
|
+
2
|
|
205
|
+
)}`
|
|
206
|
+
);
|
|
207
|
+
}
|
|
208
|
+
try {
|
|
209
|
+
if (!isDryRun) {
|
|
210
|
+
const command = `npm dist-tag add ${packageName}@${currentVersion} ${tag} --registry="${registry}" `;
|
|
211
|
+
console.debug(
|
|
212
|
+
`Adding the dist-tag ${tag} - preparing to run the following: ${command}`
|
|
213
|
+
);
|
|
214
|
+
const result = _child_process.execSync.call(void 0, command, {
|
|
215
|
+
cwd: packageRoot,
|
|
216
|
+
env: {
|
|
217
|
+
NPM_ID_TOKEN: token,
|
|
218
|
+
...process.env,
|
|
219
|
+
FORCE_COLOR: "true"
|
|
220
|
+
},
|
|
221
|
+
maxBuffer: LARGE_BUFFER,
|
|
222
|
+
killSignal: "SIGTERM"
|
|
223
|
+
});
|
|
224
|
+
console.info(
|
|
225
|
+
`Added the dist-tag ${tag} to v${currentVersion} for registry "${registry}".
|
|
226
|
+
|
|
227
|
+
Execution response: ${result.toString()}`
|
|
228
|
+
);
|
|
229
|
+
} else {
|
|
230
|
+
console.info(
|
|
231
|
+
`Would have added the dist-tag ${tag} to v${currentVersion} for registry "${registry}", but [dry-run] was set.
|
|
232
|
+
`
|
|
233
|
+
);
|
|
234
|
+
}
|
|
235
|
+
return { success: true };
|
|
236
|
+
} catch (err) {
|
|
237
|
+
try {
|
|
238
|
+
const stdoutData = JSON.parse(_optionalChain([err, 'access', _8 => _8.stdout, 'optionalAccess', _9 => _9.toString, 'call', _10 => _10()]) || "{}");
|
|
239
|
+
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")]))) {
|
|
240
|
+
const errorMessage = `An unexpected error occured while running the npm dist-tag add command:
|
|
241
|
+
|
|
242
|
+
${_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])})` : ""}
|
|
243
|
+
` : ""}${_optionalChain([stdoutData, 'optionalAccess', _38 => _38.error, 'optionalAccess', _39 => _39.detail]) ? `Detail: ${_optionalChain([stdoutData, 'optionalAccess', _40 => _40.error, 'optionalAccess', _41 => _41.detail])}
|
|
244
|
+
` : ""}`;
|
|
245
|
+
github.error(errorMessage);
|
|
246
|
+
return { success: false };
|
|
247
|
+
}
|
|
248
|
+
} catch (err2) {
|
|
249
|
+
const stdoutData = JSON.parse(_optionalChain([err2, 'access', _42 => _42.stdout, 'optionalAccess', _43 => _43.toString, 'call', _44 => _44()]) || "{}");
|
|
250
|
+
const errorMessage = `An unexpected error occured while processing the npm dist-tag add output:
|
|
251
|
+
|
|
252
|
+
${_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])})` : ""}
|
|
253
|
+
` : ""}${_optionalChain([stdoutData, 'optionalAccess', _53 => _53.error, 'optionalAccess', _54 => _54.detail]) ? `Detail: ${_optionalChain([stdoutData, 'optionalAccess', _55 => _55.error, 'optionalAccess', _56 => _56.detail])}
|
|
254
|
+
` : ""}`;
|
|
255
|
+
github.error(errorMessage);
|
|
256
|
+
return { success: false };
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
} catch (err) {
|
|
260
|
+
const stdoutData = JSON.parse(_optionalChain([err, 'access', _57 => _57.stdout, 'optionalAccess', _58 => _58.toString, 'call', _59 => _59()]) || "{}");
|
|
261
|
+
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")]))) {
|
|
262
|
+
const errorMessage = `An unexpected error occured while checking for existing dist-tags:
|
|
263
|
+
|
|
264
|
+
${_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])})` : ""}
|
|
265
|
+
` : ""}${_optionalChain([stdoutData, 'optionalAccess', _90 => _90.error, 'optionalAccess', _91 => _91.detail]) ? `Detail: ${_optionalChain([stdoutData, 'optionalAccess', _92 => _92.error, 'optionalAccess', _93 => _93.detail])}
|
|
266
|
+
` : ""}`;
|
|
267
|
+
github.error(errorMessage);
|
|
268
|
+
return { success: false };
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
try {
|
|
273
|
+
const cwd = packageRoot;
|
|
274
|
+
const command = npmPublishCommandSegments.join(" ");
|
|
275
|
+
console.info(
|
|
276
|
+
`Running publish command "${command}" in current working directory: "${cwd}" `
|
|
277
|
+
);
|
|
278
|
+
const result = _child_process.execSync.call(void 0, command, {
|
|
279
|
+
cwd,
|
|
280
|
+
env: {
|
|
281
|
+
NPM_ID_TOKEN: token,
|
|
282
|
+
...process.env,
|
|
283
|
+
FORCE_COLOR: "true"
|
|
284
|
+
},
|
|
285
|
+
maxBuffer: LARGE_BUFFER,
|
|
286
|
+
killSignal: "SIGTERM"
|
|
287
|
+
});
|
|
288
|
+
if (isDryRun) {
|
|
289
|
+
console.info(
|
|
290
|
+
`Would publish tag "${tag}" to ${registry}, but [dry-run] was set. ${result ? `
|
|
291
|
+
|
|
292
|
+
Execution response: ${result.toString()}` : ""}`
|
|
293
|
+
);
|
|
294
|
+
} else {
|
|
295
|
+
console.info(
|
|
296
|
+
`Published tag "${tag}" to ${registry}. ${result ? `
|
|
297
|
+
|
|
298
|
+
Execution response: ${result.toString()}` : ""}`
|
|
299
|
+
);
|
|
300
|
+
}
|
|
301
|
+
return { success: true };
|
|
302
|
+
} catch (err) {
|
|
303
|
+
try {
|
|
304
|
+
const stdoutData = JSON.parse(_optionalChain([err, 'access', _94 => _94.stdout, 'optionalAccess', _95 => _95.toString, 'call', _96 => _96()]) || "{}");
|
|
305
|
+
const errorMessage = `An error occurred while publishing the npm package:
|
|
306
|
+
|
|
307
|
+
${_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])})` : ""}
|
|
308
|
+
` : ""}${_optionalChain([stdoutData, 'optionalAccess', _105 => _105.error, 'optionalAccess', _106 => _106.detail]) ? `Detail: ${_optionalChain([stdoutData, 'optionalAccess', _107 => _107.error, 'optionalAccess', _108 => _108.detail])}
|
|
309
|
+
` : ""}`;
|
|
310
|
+
github.error(errorMessage);
|
|
311
|
+
return { success: false };
|
|
312
|
+
} catch (err2) {
|
|
313
|
+
const errorMessage = `Something unexpected went wrong when processing the npm publish output.
|
|
314
|
+
|
|
315
|
+
Error: ${JSON.stringify(
|
|
316
|
+
Buffer.isBuffer(err2) ? err2.toString() : err2,
|
|
317
|
+
null,
|
|
318
|
+
2
|
|
319
|
+
)}`;
|
|
320
|
+
github.error(errorMessage);
|
|
321
|
+
return { success: false };
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
exports.npmPublishExecutorFn = npmPublishExecutorFn;
|
package/dist/executors.d.mts
CHANGED
|
@@ -4,10 +4,11 @@ export { C as CargoClippyExecutorSchema, c as cargoClippyExecutor } from './exec
|
|
|
4
4
|
export { C as CargoDocExecutorSchema, c as cargoDocExecutor } from './executor-DpEbHA1f.mjs';
|
|
5
5
|
export { C as CargoFormatExecutorSchema, c as cargoFormatExecutor } from './executor-CVgzIGPj.mjs';
|
|
6
6
|
export { C as CargoPublishExecutorSchema, g as getRegistryVersion } from './executor-jYQ7uQ13.mjs';
|
|
7
|
+
export { C as CommandPublishExecutorSchema } from './schema.d-vPuQzus3.mjs';
|
|
7
8
|
export { C as CleanPackageExecutorSchema } from './schema.d-B9y7rRms.mjs';
|
|
8
9
|
export { E as ESBuildExecutorSchema, e as esbuildExecutorFn } from './executor-Bvhe30H9.mjs';
|
|
9
10
|
export { N as NapiExecutorSchema, n as napiExecutor } from './executor-DGBYJ2e9.mjs';
|
|
10
|
-
export {
|
|
11
|
+
export { N as NpmPublishExecutorSchema } from './schema.d-Muf2toJ0.mjs';
|
|
11
12
|
export { S as SizeLimitExecutorSchema, s as sizeLimitExecutorFn } from './executor-gZ6drqad.mjs';
|
|
12
13
|
export { T as TSDownExecutorSchema, t as tsdownExecutorFn } from './executor-CfRFawOI.mjs';
|
|
13
14
|
export { T as TypiaExecutorSchema, t as typiaExecutorFn } from './executor-ByqK10v5.mjs';
|
package/dist/executors.d.ts
CHANGED
|
@@ -4,10 +4,11 @@ export { C as CargoClippyExecutorSchema, c as cargoClippyExecutor } from './exec
|
|
|
4
4
|
export { C as CargoDocExecutorSchema, c as cargoDocExecutor } from './executor-DpEbHA1f.js';
|
|
5
5
|
export { C as CargoFormatExecutorSchema, c as cargoFormatExecutor } from './executor-CVgzIGPj.js';
|
|
6
6
|
export { C as CargoPublishExecutorSchema, g as getRegistryVersion } from './executor-jYQ7uQ13.js';
|
|
7
|
+
export { C as CommandPublishExecutorSchema } from './schema.d-vPuQzus3.js';
|
|
7
8
|
export { C as CleanPackageExecutorSchema } from './schema.d-B9y7rRms.js';
|
|
8
9
|
export { E as ESBuildExecutorSchema, e as esbuildExecutorFn } from './executor-Bvhe30H9.js';
|
|
9
10
|
export { N as NapiExecutorSchema, n as napiExecutor } from './executor-DGBYJ2e9.js';
|
|
10
|
-
export {
|
|
11
|
+
export { N as NpmPublishExecutorSchema } from './schema.d-Muf2toJ0.js';
|
|
11
12
|
export { S as SizeLimitExecutorSchema, s as sizeLimitExecutorFn } from './executor-gZ6drqad.js';
|
|
12
13
|
export { T as TSDownExecutorSchema, t as tsdownExecutorFn } from './executor-CfRFawOI.js';
|
|
13
14
|
export { T as TypiaExecutorSchema, t as typiaExecutorFn } from './executor-ByqK10v5.js';
|
package/dist/executors.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-TEX5JJNH.js');
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkUEDAT7SJjs = require('./chunk-UEDAT7SJ.js');
|
|
2
5
|
|
|
3
6
|
|
|
4
7
|
var _chunkZWUGCEBZjs = require('./chunk-ZWUGCEBZ.js');
|
|
8
|
+
require('./chunk-HKZ7DBR7.js');
|
|
5
9
|
|
|
6
10
|
|
|
7
|
-
var
|
|
11
|
+
var _chunkVKLLVYQ5js = require('./chunk-VKLLVYQ5.js');
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
var _chunk65C6CGV3js = require('./chunk-65C6CGV3.js');
|
|
@@ -13,18 +17,13 @@ var _chunk65C6CGV3js = require('./chunk-65C6CGV3.js');
|
|
|
13
17
|
var _chunkULONYXYFjs = require('./chunk-ULONYXYF.js');
|
|
14
18
|
|
|
15
19
|
|
|
16
|
-
var
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var _chunkRU4TNHFGjs = require('./chunk-RU4TNHFG.js');
|
|
20
|
+
var _chunk3AHXYCKAjs = require('./chunk-3AHXYCKA.js');
|
|
21
|
+
require('./chunk-KCQIASWP.js');
|
|
20
22
|
|
|
21
23
|
|
|
22
24
|
var _chunkN5LZIOWWjs = require('./chunk-N5LZIOWW.js');
|
|
23
25
|
|
|
24
26
|
|
|
25
|
-
var _chunkVKLLVYQ5js = require('./chunk-VKLLVYQ5.js');
|
|
26
|
-
|
|
27
|
-
|
|
28
27
|
var _chunkIV2QQRXOjs = require('./chunk-IV2QQRXO.js');
|
|
29
28
|
|
|
30
29
|
|
|
@@ -63,5 +62,4 @@ require('./chunk-CQDBLKPF.js');
|
|
|
63
62
|
|
|
64
63
|
|
|
65
64
|
|
|
66
|
-
|
|
67
|
-
exports.LARGE_BUFFER = _chunkA3ELSD3Ujs.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;
|
|
65
|
+
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 = _chunk3AHXYCKAjs.getRegistryVersion; exports.napiExecutor = _chunkVKLLVYQ5js.napiExecutor; exports.sizeLimitExecutorFn = _chunk65C6CGV3js.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunkULONYXYFjs.tsdownExecutorFn; exports.typiaExecutorFn = _chunkUEDAT7SJjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkZWUGCEBZjs.unbuildExecutorFn;
|
package/dist/executors.mjs
CHANGED
|
@@ -1,28 +1,27 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-OYOYESMB.mjs";
|
|
2
|
+
import {
|
|
3
|
+
typiaExecutorFn
|
|
4
|
+
} from "./chunk-B2MF67R6.mjs";
|
|
2
5
|
import {
|
|
3
6
|
unbuildExecutorFn
|
|
4
7
|
} from "./chunk-N2PEIA6H.mjs";
|
|
8
|
+
import "./chunk-N55FJ7J3.mjs";
|
|
5
9
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
10
|
+
napiExecutor
|
|
11
|
+
} from "./chunk-U6J67ZUE.mjs";
|
|
8
12
|
import {
|
|
9
13
|
sizeLimitExecutorFn
|
|
10
14
|
} from "./chunk-I7RM7R7C.mjs";
|
|
11
15
|
import {
|
|
12
16
|
tsdownExecutorFn
|
|
13
17
|
} from "./chunk-MOIGXVIF.mjs";
|
|
14
|
-
import {
|
|
15
|
-
typiaExecutorFn
|
|
16
|
-
} from "./chunk-B2MF67R6.mjs";
|
|
17
18
|
import {
|
|
18
19
|
getRegistryVersion
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QQ64FCAP.mjs";
|
|
21
|
+
import "./chunk-52ZDVDIY.mjs";
|
|
20
22
|
import {
|
|
21
23
|
esbuildExecutorFn
|
|
22
24
|
} from "./chunk-XLOJK63P.mjs";
|
|
23
|
-
import {
|
|
24
|
-
napiExecutor
|
|
25
|
-
} from "./chunk-U6J67ZUE.mjs";
|
|
26
25
|
import {
|
|
27
26
|
cargoCheckExecutor
|
|
28
27
|
} from "./chunk-36N55IVK.mjs";
|
|
@@ -52,7 +51,6 @@ import "./chunk-JUJWJXED.mjs";
|
|
|
52
51
|
import "./chunk-TBW5MCN6.mjs";
|
|
53
52
|
import "./chunk-63OCFWY4.mjs";
|
|
54
53
|
export {
|
|
55
|
-
LARGE_BUFFER,
|
|
56
54
|
cargoBuildExecutor,
|
|
57
55
|
cargoCheckExecutor,
|
|
58
56
|
cargoClippyExecutor,
|
package/dist/generators.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-C3TC7AUW.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
var _chunkOKSECMVKjs = require('./chunk-OKSECMVK.js');
|
|
5
|
+
|
|
6
|
+
|
|
4
7
|
var _chunkW4JSEGT2js = require('./chunk-W4JSEGT2.js');
|
|
5
8
|
|
|
6
9
|
|
|
@@ -14,9 +17,6 @@ var _chunkXV4FCARJjs = require('./chunk-XV4FCARJ.js');
|
|
|
14
17
|
|
|
15
18
|
|
|
16
19
|
var _chunk32MOOPKKjs = require('./chunk-32MOOPKK.js');
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var _chunkOKSECMVKjs = require('./chunk-OKSECMVK.js');
|
|
20
20
|
require('./chunk-HN5UXNLM.js');
|
|
21
21
|
require('./chunk-ILSI74FW.js');
|
|
22
22
|
require('./chunk-3G7PNDZ5.js');
|
package/dist/generators.mjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import "./chunk-SAIDGUHG.mjs";
|
|
2
|
+
import {
|
|
3
|
+
initGenerator
|
|
4
|
+
} from "./chunk-437WGH2M.mjs";
|
|
2
5
|
import {
|
|
3
6
|
neutralLibraryGeneratorFn
|
|
4
7
|
} from "./chunk-5IB3CZCB.mjs";
|
|
@@ -14,9 +17,6 @@ import {
|
|
|
14
17
|
import {
|
|
15
18
|
configSchemaGeneratorFn
|
|
16
19
|
} from "./chunk-EYIUJSGD.mjs";
|
|
17
|
-
import {
|
|
18
|
-
initGenerator
|
|
19
|
-
} from "./chunk-437WGH2M.mjs";
|
|
20
20
|
import "./chunk-VQYZG5YE.mjs";
|
|
21
21
|
import "./chunk-XSHN3XHD.mjs";
|
|
22
22
|
import "./chunk-DEHA5C77.mjs";
|
package/dist/index.d.mts
CHANGED
|
@@ -4,10 +4,12 @@ export { C as CargoClippyExecutorSchema, c as cargoClippyExecutor } from './exec
|
|
|
4
4
|
export { C as CargoDocExecutorSchema, c as cargoDocExecutor } from './executor-DpEbHA1f.mjs';
|
|
5
5
|
export { C as CargoFormatExecutorSchema, c as cargoFormatExecutor } from './executor-CVgzIGPj.mjs';
|
|
6
6
|
export { C as CargoPublishExecutorSchema, g as getRegistryVersion } from './executor-jYQ7uQ13.mjs';
|
|
7
|
+
export { PackageManager } from '@nx/devkit';
|
|
8
|
+
export { C as CommandPublishExecutorSchema } from './schema.d-vPuQzus3.mjs';
|
|
7
9
|
export { C as CleanPackageExecutorSchema } from './schema.d-B9y7rRms.mjs';
|
|
8
10
|
export { E as ESBuildExecutorSchema, e as esbuildExecutorFn } from './executor-Bvhe30H9.mjs';
|
|
9
11
|
export { N as NapiExecutorSchema, n as napiExecutor } from './executor-DGBYJ2e9.mjs';
|
|
10
|
-
export {
|
|
12
|
+
export { N as NpmPublishExecutorSchema } from './schema.d-Muf2toJ0.mjs';
|
|
11
13
|
export { S as SizeLimitExecutorSchema, s as sizeLimitExecutorFn } from './executor-gZ6drqad.mjs';
|
|
12
14
|
export { T as TSDownExecutorSchema, t as tsdownExecutorFn } from './executor-CfRFawOI.mjs';
|
|
13
15
|
export { T as TypiaExecutorSchema, t as typiaExecutorFn } from './executor-ByqK10v5.mjs';
|
|
@@ -44,7 +46,6 @@ export { getTypiaTransform } from './src/utils/typia-transform.mjs';
|
|
|
44
46
|
export { bunVersion, eslintVersion, lintStagedVersion, nodeVersion, npmVersion, nxVersion, packageManagerVersions, pnpmVersion, prettierPackageJsonVersion, prettierPrismaVersion, prettierVersion, semanticReleaseVersion, swcCliVersion, swcCoreVersion, swcHelpersVersion, swcNodeVersion, tsLibVersion, tsupVersion, typesNodeVersion, typescriptVersion, verdaccioVersion, yarnVersion } from './src/utils/versions.mjs';
|
|
45
47
|
export * from '@storm-software/package-constants/tags';
|
|
46
48
|
export * from '@storm-software/package-constants/types';
|
|
47
|
-
export { PackageManager } from '@nx/devkit';
|
|
48
49
|
import '@storm-software/config';
|
|
49
50
|
import '@storm-software/config/types';
|
|
50
51
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,10 +4,12 @@ export { C as CargoClippyExecutorSchema, c as cargoClippyExecutor } from './exec
|
|
|
4
4
|
export { C as CargoDocExecutorSchema, c as cargoDocExecutor } from './executor-DpEbHA1f.js';
|
|
5
5
|
export { C as CargoFormatExecutorSchema, c as cargoFormatExecutor } from './executor-CVgzIGPj.js';
|
|
6
6
|
export { C as CargoPublishExecutorSchema, g as getRegistryVersion } from './executor-jYQ7uQ13.js';
|
|
7
|
+
export { PackageManager } from '@nx/devkit';
|
|
8
|
+
export { C as CommandPublishExecutorSchema } from './schema.d-vPuQzus3.js';
|
|
7
9
|
export { C as CleanPackageExecutorSchema } from './schema.d-B9y7rRms.js';
|
|
8
10
|
export { E as ESBuildExecutorSchema, e as esbuildExecutorFn } from './executor-Bvhe30H9.js';
|
|
9
11
|
export { N as NapiExecutorSchema, n as napiExecutor } from './executor-DGBYJ2e9.js';
|
|
10
|
-
export {
|
|
12
|
+
export { N as NpmPublishExecutorSchema } from './schema.d-Muf2toJ0.js';
|
|
11
13
|
export { S as SizeLimitExecutorSchema, s as sizeLimitExecutorFn } from './executor-gZ6drqad.js';
|
|
12
14
|
export { T as TSDownExecutorSchema, t as tsdownExecutorFn } from './executor-CfRFawOI.js';
|
|
13
15
|
export { T as TypiaExecutorSchema, t as typiaExecutorFn } from './executor-ByqK10v5.js';
|
|
@@ -44,7 +46,6 @@ export { getTypiaTransform } from './src/utils/typia-transform.js';
|
|
|
44
46
|
export { bunVersion, eslintVersion, lintStagedVersion, nodeVersion, npmVersion, nxVersion, packageManagerVersions, pnpmVersion, prettierPackageJsonVersion, prettierPrismaVersion, prettierVersion, semanticReleaseVersion, swcCliVersion, swcCoreVersion, swcHelpersVersion, swcNodeVersion, tsLibVersion, tsupVersion, typesNodeVersion, typescriptVersion, verdaccioVersion, yarnVersion } from './src/utils/versions.js';
|
|
45
47
|
export * from '@storm-software/package-constants/tags';
|
|
46
48
|
export * from '@storm-software/package-constants/types';
|
|
47
|
-
export { PackageManager } from '@nx/devkit';
|
|
48
49
|
import '@storm-software/config';
|
|
49
50
|
import '@storm-software/config/types';
|
|
50
51
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -42,13 +42,17 @@ require('./chunk-ANHKV7HZ.js');
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
var _chunkDIIMX7QFjs = require('./chunk-DIIMX7QF.js');
|
|
45
|
-
require('./chunk-
|
|
45
|
+
require('./chunk-TEX5JJNH.js');
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
var _chunkUEDAT7SJjs = require('./chunk-UEDAT7SJ.js');
|
|
46
49
|
|
|
47
50
|
|
|
48
51
|
var _chunkZWUGCEBZjs = require('./chunk-ZWUGCEBZ.js');
|
|
52
|
+
require('./chunk-HKZ7DBR7.js');
|
|
49
53
|
|
|
50
54
|
|
|
51
|
-
var
|
|
55
|
+
var _chunkVKLLVYQ5js = require('./chunk-VKLLVYQ5.js');
|
|
52
56
|
|
|
53
57
|
|
|
54
58
|
var _chunk65C6CGV3js = require('./chunk-65C6CGV3.js');
|
|
@@ -57,18 +61,13 @@ var _chunk65C6CGV3js = require('./chunk-65C6CGV3.js');
|
|
|
57
61
|
var _chunkULONYXYFjs = require('./chunk-ULONYXYF.js');
|
|
58
62
|
|
|
59
63
|
|
|
60
|
-
var
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
var _chunkRU4TNHFGjs = require('./chunk-RU4TNHFG.js');
|
|
64
|
+
var _chunk3AHXYCKAjs = require('./chunk-3AHXYCKA.js');
|
|
65
|
+
require('./chunk-KCQIASWP.js');
|
|
64
66
|
|
|
65
67
|
|
|
66
68
|
var _chunkN5LZIOWWjs = require('./chunk-N5LZIOWW.js');
|
|
67
69
|
|
|
68
70
|
|
|
69
|
-
var _chunkVKLLVYQ5js = require('./chunk-VKLLVYQ5.js');
|
|
70
|
-
|
|
71
|
-
|
|
72
71
|
var _chunkIV2QQRXOjs = require('./chunk-IV2QQRXO.js');
|
|
73
72
|
|
|
74
73
|
|
|
@@ -111,6 +110,9 @@ require('./chunk-N2365RCI.js');
|
|
|
111
110
|
require('./chunk-C3TC7AUW.js');
|
|
112
111
|
|
|
113
112
|
|
|
113
|
+
var _chunkOKSECMVKjs = require('./chunk-OKSECMVK.js');
|
|
114
|
+
|
|
115
|
+
|
|
114
116
|
var _chunkW4JSEGT2js = require('./chunk-W4JSEGT2.js');
|
|
115
117
|
|
|
116
118
|
|
|
@@ -126,9 +128,6 @@ var _chunkXV4FCARJjs = require('./chunk-XV4FCARJ.js');
|
|
|
126
128
|
var _chunk32MOOPKKjs = require('./chunk-32MOOPKK.js');
|
|
127
129
|
|
|
128
130
|
|
|
129
|
-
var _chunkOKSECMVKjs = require('./chunk-OKSECMVK.js');
|
|
130
|
-
|
|
131
|
-
|
|
132
131
|
|
|
133
132
|
|
|
134
133
|
|
|
@@ -326,5 +325,4 @@ var _chunk7CJRMBX3js = require('./chunk-7CJRMBX3.js');
|
|
|
326
325
|
|
|
327
326
|
|
|
328
327
|
|
|
329
|
-
|
|
330
|
-
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 = _chunkA3ELSD3Ujs.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 = _chunkVXOPWQTJjs.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 = _chunkVXOPWQTJjs.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 = _chunkP5OQBBN3js.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 = _chunkVXOPWQTJjs.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.stripPrivateWorkspaceDeps = _chunkVXOPWQTJjs.stripPrivateWorkspaceDeps; 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.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 = _chunkVXOPWQTJjs.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 = _chunkVXOPWQTJjs.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 = _chunkP5OQBBN3js.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 = _chunkVXOPWQTJjs.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 = _chunk3AHXYCKAjs.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.stripPrivateWorkspaceDeps = _chunkVXOPWQTJjs.stripPrivateWorkspaceDeps; 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;
|