@storm-software/workspace-tools 1.270.2 → 1.271.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/CHANGELOG.md +40 -0
- package/README.md +1 -1
- package/dist/chunk-4QYM3VS4.mjs +282 -0
- package/dist/{chunk-ZP76EMBE.js → chunk-FYXWAGK3.js} +97 -27
- package/dist/chunk-MJMN2T4N.mjs +166 -0
- package/dist/chunk-RZVF4LHT.js +282 -0
- package/dist/executors.js +6 -6
- package/dist/executors.mjs +6 -6
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/index.mjs +8 -8
- package/dist/src/executors/npm-publish/executor.js +3 -3
- package/dist/src/executors/npm-publish/executor.mjs +2 -2
- package/dist/src/generators/preset/files/LICENSE +201 -0
- package/dist/src/utils/index.d.mts +1 -1
- package/dist/src/utils/index.d.ts +1 -1
- package/dist/src/utils/index.js +2 -2
- package/dist/src/utils/index.mjs +3 -3
- package/dist/src/utils/pnpm-deps-update.d.mts +3 -3
- package/dist/src/utils/pnpm-deps-update.d.ts +3 -3
- package/dist/src/utils/pnpm-deps-update.js +2 -2
- package/dist/src/utils/pnpm-deps-update.mjs +3 -3
- package/docs/api/base/base-executor.schema.md +16 -0
- package/docs/api/base/base-generator.schema.md +15 -0
- package/docs/api/base/cargo-base-executor.schema.md +90 -0
- package/docs/api/base/typescript-build-executor.schema.md +126 -0
- package/docs/api/base/typescript-library-generator.schema.md +129 -0
- package/docs/api/executors/cargo-build/schema.md +89 -0
- package/docs/api/executors/cargo-check/schema.md +90 -0
- package/docs/api/executors/cargo-clippy/schema.md +99 -0
- package/docs/api/executors/cargo-doc/schema.md +130 -0
- package/docs/api/executors/cargo-format/schema.md +90 -0
- package/docs/api/executors/cargo-publish/schema.md +117 -0
- package/docs/api/executors/clean-package/schema.md +65 -0
- package/docs/api/executors/esbuild/schema.md +126 -0
- package/docs/api/executors/npm-publish/schema.md +64 -0
- package/docs/api/executors/size-limit/schema.md +25 -0
- package/docs/api/executors/typia/schema.md +46 -0
- package/docs/api/executors/unbuild/schema.md +222 -0
- package/docs/api/generators/browser-library/files/README.md +58 -0
- package/docs/api/generators/browser-library/schema.md +129 -0
- package/docs/api/generators/config-schema/schema.md +25 -0
- package/docs/api/generators/init/schema.md +15 -0
- package/docs/api/generators/neutral-library/files/README.md +58 -0
- package/docs/api/generators/neutral-library/schema.md +129 -0
- package/docs/api/generators/node-library/files/README.md +63 -0
- package/docs/api/generators/node-library/schema.md +129 -0
- package/docs/api/generators/preset/schema.md +110 -0
- package/docs/api/generators/release-version/schema.md +160 -0
- package/package.json +13 -35
- package/dist/chunk-CMH2A42G.js +0 -467
- package/dist/chunk-HMJTTE4A.mjs +0 -96
- package/dist/chunk-I54IKCIV.mjs +0 -467
- package/docs/executors/rollup.md +0 -88
- package/executors.ts +0 -23
- package/generators.ts +0 -14
- package/index.ts +0 -5
- package/project.json +0 -58
- package/src/base/base-executor.ts +0 -200
- package/src/base/base-executor.untyped.ts +0 -18
- package/src/base/base-generator.ts +0 -130
- package/src/base/base-generator.untyped.ts +0 -16
- package/src/base/cargo-base-executor.untyped.ts +0 -73
- package/src/base/index.ts +0 -8
- package/src/base/typescript-build-executor.untyped.ts +0 -153
- package/src/base/typescript-library-generator.ts +0 -415
- package/src/base/typescript-library-generator.untyped.ts +0 -106
- package/src/executors/cargo-build/executor.spec.ts +0 -18
- package/src/executors/cargo-build/executor.ts +0 -28
- package/src/executors/cargo-build/untyped.ts +0 -18
- package/src/executors/cargo-check/executor.spec.ts +0 -18
- package/src/executors/cargo-check/executor.ts +0 -27
- package/src/executors/cargo-check/untyped.ts +0 -11
- package/src/executors/cargo-clippy/executor.spec.ts +0 -18
- package/src/executors/cargo-clippy/executor.ts +0 -28
- package/src/executors/cargo-clippy/untyped.ts +0 -18
- package/src/executors/cargo-doc/executor.spec.ts +0 -18
- package/src/executors/cargo-doc/executor.ts +0 -39
- package/src/executors/cargo-doc/untyped.ts +0 -44
- package/src/executors/cargo-format/executor.spec.ts +0 -18
- package/src/executors/cargo-format/executor.ts +0 -28
- package/src/executors/cargo-format/untyped.ts +0 -11
- package/src/executors/cargo-publish/executor.spec.ts +0 -11
- package/src/executors/cargo-publish/executor.ts +0 -139
- package/src/executors/cargo-publish/untyped.ts +0 -33
- package/src/executors/clean-package/constants.ts +0 -99
- package/src/executors/clean-package/executor.spec.ts +0 -18
- package/src/executors/clean-package/executor.ts +0 -214
- package/src/executors/clean-package/types.ts +0 -6
- package/src/executors/clean-package/untyped.ts +0 -60
- package/src/executors/clean-package/utils.ts +0 -85
- package/src/executors/esbuild/executor.spec.ts +0 -11
- package/src/executors/esbuild/executor.ts +0 -67
- package/src/executors/esbuild/untyped.ts +0 -20
- package/src/executors/npm-publish/executor.spec.ts +0 -11
- package/src/executors/npm-publish/executor.ts +0 -680
- package/src/executors/npm-publish/untyped.ts +0 -56
- package/src/executors/size-limit/executor.spec.ts +0 -18
- package/src/executors/size-limit/executor.ts +0 -88
- package/src/executors/size-limit/untyped.ts +0 -22
- package/src/executors/typia/executor.ts +0 -54
- package/src/executors/typia/untyped.ts +0 -48
- package/src/executors/unbuild/executor.spec.ts +0 -11
- package/src/executors/unbuild/executor.ts +0 -136
- package/src/executors/unbuild/untyped.ts +0 -152
- package/src/generators/browser-library/generator.spec.ts +0 -20
- package/src/generators/browser-library/generator.ts +0 -109
- package/src/generators/browser-library/untyped.ts +0 -29
- package/src/generators/config-schema/generator.spec.ts +0 -20
- package/src/generators/config-schema/generator.ts +0 -90
- package/src/generators/config-schema/untyped.ts +0 -19
- package/src/generators/init/init.ts +0 -32
- package/src/generators/init/untyped.ts +0 -16
- package/src/generators/neutral-library/generator.spec.ts +0 -20
- package/src/generators/neutral-library/generator.ts +0 -81
- package/src/generators/neutral-library/untyped.ts +0 -29
- package/src/generators/node-library/generator.spec.ts +0 -20
- package/src/generators/node-library/generator.ts +0 -84
- package/src/generators/node-library/untyped.ts +0 -29
- package/src/generators/preset/files/.all-contributorsrc.template +0 -48
- package/src/generators/preset/files/.editorconfig +0 -454
- package/src/generators/preset/files/.env.template +0 -38
- package/src/generators/preset/files/.gitattributes +0 -52
- package/src/generators/preset/files/.github/.nvmrc +0 -1
- package/src/generators/preset/files/.github/CODEOWNERS +0 -3
- package/src/generators/preset/files/.github/CODE_OF_CONDUCT.md +0 -125
- package/src/generators/preset/files/.github/CONTRIBUTING.md.template +0 -15
- package/src/generators/preset/files/.github/FUNDING.yml +0 -3
- package/src/generators/preset/files/.github/ISSUE_TEMPLATE/bug-report.yml.template +0 -102
- package/src/generators/preset/files/.github/ISSUE_TEMPLATE/documentation.yml.template +0 -56
- package/src/generators/preset/files/.github/ISSUE_TEMPLATE/feature-request.yml.template +0 -60
- package/src/generators/preset/files/.github/PULL_REQUEST_TEMPLATE.md.template +0 -39
- package/src/generators/preset/files/.github/SECURITY.md +0 -9
- package/src/generators/preset/files/.github/codecov.yml +0 -29
- package/src/generators/preset/files/.github/dependabot.yml +0 -64
- package/src/generators/preset/files/.github/labels.yml +0 -84
- package/src/generators/preset/files/.github/renovate.json +0 -4
- package/src/generators/preset/files/.github/renovate.json.template +0 -63
- package/src/generators/preset/files/.github/stale.yml +0 -55
- package/src/generators/preset/files/.github/workflows/build-release.yml.template +0 -25
- package/src/generators/preset/files/.github/workflows/code-review.yml +0 -18
- package/src/generators/preset/files/.github/workflows/codeql.yml +0 -84
- package/src/generators/preset/files/.github/workflows/dependabot-update.yml +0 -32
- package/src/generators/preset/files/.github/workflows/git-guardian.yml +0 -23
- package/src/generators/preset/files/.github/workflows/greetings.yml +0 -31
- package/src/generators/preset/files/.github/workflows/labels.yml +0 -31
- package/src/generators/preset/files/.github/workflows/lock.yml +0 -26
- package/src/generators/preset/files/.log4brains.yml.template +0 -5
- package/src/generators/preset/files/.markdownlint.json +0 -155
- package/src/generators/preset/files/.verdaccio/config.yml.template +0 -40
- package/src/generators/preset/files/.vscode/README.md +0 -32
- package/src/generators/preset/files/.vscode/cspell.json +0 -3
- package/src/generators/preset/files/.vscode/extensions.json +0 -14
- package/src/generators/preset/files/.vscode/launch.json +0 -37
- package/src/generators/preset/files/.vscode/settings.json +0 -401
- package/src/generators/preset/files/.vscode/tasks.json +0 -4
- package/src/generators/preset/files/.whitesource +0 -14
- package/src/generators/preset/files/assets/diagrams/.gitkeep +0 -0
- package/src/generators/preset/files/assets/icons/dark/.gitkeep +0 -0
- package/src/generators/preset/files/assets/icons/light/.gitkeep +0 -0
- package/src/generators/preset/files/assets/logos/.gitkeep +0 -0
- package/src/generators/preset/files/docs/api-reference/.gitkeep +0 -0
- package/src/generators/preset/generator.spec.ts +0 -20
- package/src/generators/preset/generator.ts +0 -315
- package/src/generators/preset/untyped.ts +0 -88
- package/src/generators/release-version/generator.spec.ts +0 -20
- package/src/generators/release-version/generator.ts +0 -920
- package/src/generators/release-version/untyped.ts +0 -156
- package/src/plugins/rust/cargo-toml.ts +0 -434
- package/src/plugins/rust/index.ts +0 -1
- package/src/plugins/typescript/index.ts +0 -1
- package/src/plugins/typescript/project-config.ts +0 -564
- package/src/plugins/typescript/tsup.ts +0 -198
- package/src/types.ts +0 -130
- package/src/utils/apply-workspace-tokens.ts +0 -73
- package/src/utils/cargo.ts +0 -219
- package/src/utils/create-cli-options.ts +0 -23
- package/src/utils/get-project-configurations.ts +0 -27
- package/src/utils/index.ts +0 -12
- package/src/utils/lock-file.ts +0 -159
- package/src/utils/package-helpers.ts +0 -54
- package/src/utils/plugin-helpers.ts +0 -112
- package/src/utils/pnpm-deps-update.ts +0 -111
- package/src/utils/project-tags.ts +0 -162
- package/src/utils/toml.ts +0 -204
- package/src/utils/typia-transform.ts +0 -8
- package/src/utils/versions.ts +0 -19
- package/tsconfig.json +0 -30
- package/tsup.config.ts +0 -36
- /package/{src/generators/preset/files/LICENSE → LICENSE} +0 -0
- /package/{src → dist/src}/base/base-executor.schema.d.ts +0 -0
- /package/{src → dist/src}/base/base-executor.schema.json +0 -0
- /package/{src → dist/src}/base/base-executor.schema.md +0 -0
- /package/{src → dist/src}/base/base-generator.schema.d.ts +0 -0
- /package/{src → dist/src}/base/base-generator.schema.json +0 -0
- /package/{src → dist/src}/base/base-generator.schema.md +0 -0
- /package/{src → dist/src}/base/cargo-base-executor.schema.d.ts +0 -0
- /package/{src → dist/src}/base/cargo-base-executor.schema.json +0 -0
- /package/{src → dist/src}/base/cargo-base-executor.schema.md +0 -0
- /package/{src → dist/src}/base/typescript-build-executor.schema.d.ts +0 -0
- /package/{src → dist/src}/base/typescript-build-executor.schema.json +0 -0
- /package/{src → dist/src}/base/typescript-build-executor.schema.md +0 -0
- /package/{src → dist/src}/base/typescript-library-generator.schema.d.ts +0 -0
- /package/{src → dist/src}/base/typescript-library-generator.schema.json +0 -0
- /package/{src → dist/src}/base/typescript-library-generator.schema.md +0 -0
- /package/{src → dist/src}/executors/cargo-build/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/cargo-build/schema.json +0 -0
- /package/{src → dist/src}/executors/cargo-build/schema.md +0 -0
- /package/{src → dist/src}/executors/cargo-check/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/cargo-check/schema.json +0 -0
- /package/{src → dist/src}/executors/cargo-check/schema.md +0 -0
- /package/{src → dist/src}/executors/cargo-clippy/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/cargo-clippy/schema.json +0 -0
- /package/{src → dist/src}/executors/cargo-clippy/schema.md +0 -0
- /package/{src → dist/src}/executors/cargo-doc/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/cargo-doc/schema.json +0 -0
- /package/{src → dist/src}/executors/cargo-doc/schema.md +0 -0
- /package/{src → dist/src}/executors/cargo-format/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/cargo-format/schema.json +0 -0
- /package/{src → dist/src}/executors/cargo-format/schema.md +0 -0
- /package/{src → dist/src}/executors/cargo-publish/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/cargo-publish/schema.json +0 -0
- /package/{src → dist/src}/executors/cargo-publish/schema.md +0 -0
- /package/{src → dist/src}/executors/clean-package/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/clean-package/schema.json +0 -0
- /package/{src → dist/src}/executors/clean-package/schema.md +0 -0
- /package/{src → dist/src}/executors/esbuild/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/esbuild/schema.json +0 -0
- /package/{src → dist/src}/executors/esbuild/schema.md +0 -0
- /package/{src → dist/src}/executors/npm-publish/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/npm-publish/schema.json +0 -0
- /package/{src → dist/src}/executors/npm-publish/schema.md +0 -0
- /package/{src → dist/src}/executors/size-limit/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/size-limit/schema.json +0 -0
- /package/{src → dist/src}/executors/size-limit/schema.md +0 -0
- /package/{src → dist/src}/executors/typia/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/typia/schema.json +0 -0
- /package/{src → dist/src}/executors/typia/schema.md +0 -0
- /package/{src → dist/src}/executors/unbuild/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/unbuild/schema.json +0 -0
- /package/{src → dist/src}/executors/unbuild/schema.md +0 -0
- /package/{src → dist/src}/generators/browser-library/files/README.md +0 -0
- /package/{src → dist/src}/generators/browser-library/files/jest.config.ts +0 -0
- /package/{src → dist/src}/generators/browser-library/files/src/index.ts.template +0 -0
- /package/{src → dist/src}/generators/browser-library/files/tsconfig.spec.json +0 -0
- /package/{src → dist/src}/generators/browser-library/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/browser-library/schema.json +0 -0
- /package/{src → dist/src}/generators/browser-library/schema.md +0 -0
- /package/{src → dist/src}/generators/config-schema/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/config-schema/schema.json +0 -0
- /package/{src → dist/src}/generators/config-schema/schema.md +0 -0
- /package/{src → dist/src}/generators/init/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/init/schema.json +0 -0
- /package/{src → dist/src}/generators/init/schema.md +0 -0
- /package/{src → dist/src}/generators/neutral-library/files/README.md +0 -0
- /package/{src → dist/src}/generators/neutral-library/files/jest.config.ts +0 -0
- /package/{src → dist/src}/generators/neutral-library/files/src/index.ts.template +0 -0
- /package/{src → dist/src}/generators/neutral-library/files/tsconfig.spec.json +0 -0
- /package/{src → dist/src}/generators/neutral-library/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/neutral-library/schema.json +0 -0
- /package/{src → dist/src}/generators/neutral-library/schema.md +0 -0
- /package/{src → dist/src}/generators/node-library/files/README.md +0 -0
- /package/{src → dist/src}/generators/node-library/files/jest.config.ts +0 -0
- /package/{src → dist/src}/generators/node-library/files/src/index.ts.template +0 -0
- /package/{src → dist/src}/generators/node-library/files/tsconfig.spec.json +0 -0
- /package/{src → dist/src}/generators/node-library/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/node-library/schema.json +0 -0
- /package/{src → dist/src}/generators/node-library/schema.md +0 -0
- /package/{src → dist/src}/generators/preset/files/README.md.template +0 -0
- /package/{src → dist/src}/generators/preset/files/docs/readme-templates/README.footer.md.template +0 -0
- /package/{src → dist/src}/generators/preset/files/docs/readme-templates/README.header.md.template +0 -0
- /package/{src → dist/src}/generators/preset/files/eslint.config.js.template +0 -0
- /package/{src → dist/src}/generators/preset/files/knip.json +0 -0
- /package/{src → dist/src}/generators/preset/files/lefthook.json +0 -0
- /package/{src → dist/src}/generators/preset/files/nx.json +0 -0
- /package/{src → dist/src}/generators/preset/files/pnpm-workspace.yaml +0 -0
- /package/{src → dist/src}/generators/preset/files/socket.yaml +0 -0
- /package/{src → dist/src}/generators/preset/files/storm.json.template +0 -0
- /package/{src → dist/src}/generators/preset/files/tsconfig.base.json.template +0 -0
- /package/{src → dist/src}/generators/preset/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/preset/schema.json +0 -0
- /package/{src → dist/src}/generators/preset/schema.md +0 -0
- /package/{src → dist/src}/generators/release-version/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/release-version/schema.json +0 -0
- /package/{src → dist/src}/generators/release-version/schema.md +0 -0
- /package/{src → dist/src}/plugins/typescript/untyped-schema.ts +0 -0
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
+
|
|
3
|
+
var _chunkFYXWAGK3js = require('./chunk-FYXWAGK3.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
|
|
7
|
+
|
|
8
|
+
// src/executors/npm-publish/executor.ts
|
|
9
|
+
var _child_process = require('child_process');
|
|
10
|
+
var _promises = require('fs/promises');
|
|
11
|
+
var LARGE_BUFFER = 1024 * 1e6;
|
|
12
|
+
async function npmPublishExecutorFn(options, context) {
|
|
13
|
+
const isDryRun = process.env.NX_DRY_RUN === "true" || options.dryRun || false;
|
|
14
|
+
if (!context.projectName) {
|
|
15
|
+
throw new Error("The `npm-publish` executor requires a `projectName`.");
|
|
16
|
+
}
|
|
17
|
+
const projectConfig = _optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects, 'optionalAccess', _3 => _3[context.projectName]]);
|
|
18
|
+
if (!projectConfig) {
|
|
19
|
+
throw new Error(
|
|
20
|
+
`Could not find project configuration for \`${context.projectName}\``
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
const packageRoot = _chunk53DNHF7Bjs.joinPaths.call(void 0,
|
|
24
|
+
context.root,
|
|
25
|
+
options.packageRoot || _chunk53DNHF7Bjs.joinPaths.call(void 0, "dist", projectConfig.root)
|
|
26
|
+
);
|
|
27
|
+
const packageJsonPath = _chunk53DNHF7Bjs.joinPaths.call(void 0, packageRoot, "package.json");
|
|
28
|
+
const packageJsonFile = await _promises.readFile.call(void 0, packageJsonPath, "utf8");
|
|
29
|
+
if (!packageJsonFile) {
|
|
30
|
+
throw new Error(`Could not find \`package.json\` at ${packageJsonPath}`);
|
|
31
|
+
}
|
|
32
|
+
const packageJson = JSON.parse(packageJsonFile);
|
|
33
|
+
const packageName = packageJson.name;
|
|
34
|
+
console.info(
|
|
35
|
+
`\u{1F680} Running Storm NPM Publish executor on the ${packageName} package`
|
|
36
|
+
);
|
|
37
|
+
const packageTxt = packageName === context.projectName ? `package "${packageName}"` : `package "${packageName}" from project "${context.projectName}"`;
|
|
38
|
+
if (packageJson.private === true) {
|
|
39
|
+
console.warn(
|
|
40
|
+
`Skipped ${packageTxt}, because it has \`"private": true\` in ${packageJsonPath}`
|
|
41
|
+
);
|
|
42
|
+
return { success: true };
|
|
43
|
+
}
|
|
44
|
+
await _chunkFYXWAGK3js.pnpmUpdate.call(void 0, packageRoot, context.root);
|
|
45
|
+
const npmPublishCommandSegments = [`npm publish --json`];
|
|
46
|
+
const npmViewCommandSegments = [
|
|
47
|
+
`npm view ${packageName} versions dist-tags --json`
|
|
48
|
+
];
|
|
49
|
+
const registry = options.registry ? options.registry : _child_process.execSync.call(void 0, "npm config get registry", {
|
|
50
|
+
cwd: packageRoot,
|
|
51
|
+
env: {
|
|
52
|
+
...process.env,
|
|
53
|
+
FORCE_COLOR: "true"
|
|
54
|
+
},
|
|
55
|
+
maxBuffer: LARGE_BUFFER,
|
|
56
|
+
killSignal: "SIGTERM"
|
|
57
|
+
}).toString().trim();
|
|
58
|
+
if (registry) {
|
|
59
|
+
npmPublishCommandSegments.push(`--registry="${registry}" `);
|
|
60
|
+
npmViewCommandSegments.push(`--registry="${registry}" `);
|
|
61
|
+
}
|
|
62
|
+
if (options.otp) {
|
|
63
|
+
npmPublishCommandSegments.push(`--otp="${options.otp}" `);
|
|
64
|
+
}
|
|
65
|
+
if (isDryRun) {
|
|
66
|
+
npmPublishCommandSegments.push("--dry-run");
|
|
67
|
+
}
|
|
68
|
+
npmPublishCommandSegments.push("--provenance --access=public ");
|
|
69
|
+
const tag = options.tag || _child_process.execSync.call(void 0, "npm config get tag", {
|
|
70
|
+
cwd: packageRoot,
|
|
71
|
+
env: {
|
|
72
|
+
...process.env,
|
|
73
|
+
FORCE_COLOR: "true"
|
|
74
|
+
},
|
|
75
|
+
maxBuffer: LARGE_BUFFER,
|
|
76
|
+
killSignal: "SIGTERM"
|
|
77
|
+
}).toString().trim();
|
|
78
|
+
if (tag) {
|
|
79
|
+
npmPublishCommandSegments.push(`--tag="${tag}" `);
|
|
80
|
+
}
|
|
81
|
+
if (!isDryRun) {
|
|
82
|
+
const currentVersion = packageJson.version;
|
|
83
|
+
try {
|
|
84
|
+
try {
|
|
85
|
+
const result = _child_process.execSync.call(void 0, npmViewCommandSegments.join(" "), {
|
|
86
|
+
cwd: packageRoot,
|
|
87
|
+
env: {
|
|
88
|
+
...process.env,
|
|
89
|
+
FORCE_COLOR: "true"
|
|
90
|
+
},
|
|
91
|
+
maxBuffer: LARGE_BUFFER,
|
|
92
|
+
killSignal: "SIGTERM"
|
|
93
|
+
});
|
|
94
|
+
const resultJson = JSON.parse(result.toString());
|
|
95
|
+
const distTags = resultJson["dist-tags"] || {};
|
|
96
|
+
if (distTags[tag] === currentVersion) {
|
|
97
|
+
console.warn(
|
|
98
|
+
`Skipped ${packageTxt} because v${currentVersion} already exists in ${registry} with tag "${tag}"`
|
|
99
|
+
);
|
|
100
|
+
return { success: true };
|
|
101
|
+
}
|
|
102
|
+
} catch (err) {
|
|
103
|
+
console.warn("\n ********************** \n");
|
|
104
|
+
console.warn(
|
|
105
|
+
`An error occurred while checking for existing dist-tags
|
|
106
|
+
${JSON.stringify(err)}
|
|
107
|
+
|
|
108
|
+
Note: If this is the first time this package has been published to NPM, this can be ignored.
|
|
109
|
+
|
|
110
|
+
`
|
|
111
|
+
);
|
|
112
|
+
console.info("");
|
|
113
|
+
}
|
|
114
|
+
try {
|
|
115
|
+
if (!isDryRun) {
|
|
116
|
+
const command = `npm dist-tag add ${packageName}@${currentVersion} ${tag} --registry="${registry}" `;
|
|
117
|
+
console.info(
|
|
118
|
+
`Adding the dist-tag ${tag} - preparing to run the following:
|
|
119
|
+
${command}
|
|
120
|
+
`
|
|
121
|
+
);
|
|
122
|
+
const result = _child_process.execSync.call(void 0, command, {
|
|
123
|
+
cwd: packageRoot,
|
|
124
|
+
env: {
|
|
125
|
+
...process.env,
|
|
126
|
+
FORCE_COLOR: "true"
|
|
127
|
+
},
|
|
128
|
+
maxBuffer: LARGE_BUFFER,
|
|
129
|
+
killSignal: "SIGTERM"
|
|
130
|
+
});
|
|
131
|
+
console.info(
|
|
132
|
+
`Added the dist-tag ${tag} to v${currentVersion} for registry "${registry}"
|
|
133
|
+
|
|
134
|
+
Execution response: ${result.toString()}
|
|
135
|
+
`
|
|
136
|
+
);
|
|
137
|
+
} else {
|
|
138
|
+
console.info(
|
|
139
|
+
`Would add the dist-tag ${tag} to v${currentVersion} for registry "${registry}", but [dry-run] was set.
|
|
140
|
+
`
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
return { success: true };
|
|
144
|
+
} catch (err) {
|
|
145
|
+
try {
|
|
146
|
+
console.warn("\n ********************** \n");
|
|
147
|
+
let error = err;
|
|
148
|
+
if (Buffer.isBuffer(error)) {
|
|
149
|
+
error = error.toString();
|
|
150
|
+
}
|
|
151
|
+
console.warn(
|
|
152
|
+
`An error occurred while adding dist-tags:
|
|
153
|
+
${error}
|
|
154
|
+
|
|
155
|
+
Note: If this is the first time this package has been published to NPM, this can be ignored.
|
|
156
|
+
|
|
157
|
+
`
|
|
158
|
+
);
|
|
159
|
+
console.info("");
|
|
160
|
+
const stdoutData = JSON.parse(_optionalChain([err, 'access', _4 => _4.stdout, 'optionalAccess', _5 => _5.toString, 'call', _6 => _6()]) || "{}");
|
|
161
|
+
if (_optionalChain([stdoutData, 'optionalAccess', _7 => _7.error]) && !(_optionalChain([stdoutData, 'access', _8 => _8.error, 'optionalAccess', _9 => _9.code, 'optionalAccess', _10 => _10.includes, 'call', _11 => _11("E404")]) && _optionalChain([stdoutData, 'access', _12 => _12.error, 'optionalAccess', _13 => _13.summary, 'optionalAccess', _14 => _14.includes, 'call', _15 => _15("no such package available")])) && !(_optionalChain([err, 'access', _16 => _16.stderr, 'optionalAccess', _17 => _17.toString, 'call', _18 => _18(), 'access', _19 => _19.includes, 'call', _20 => _20("E404")]) && _optionalChain([err, 'access', _21 => _21.stderr, 'optionalAccess', _22 => _22.toString, 'call', _23 => _23(), 'access', _24 => _24.includes, 'call', _25 => _25("no such package available")]))) {
|
|
162
|
+
console.error(
|
|
163
|
+
"npm dist-tag add error please see below for more information:"
|
|
164
|
+
);
|
|
165
|
+
if (stdoutData.error.summary) {
|
|
166
|
+
console.error(_optionalChain([stdoutData, 'access', _26 => _26.error, 'optionalAccess', _27 => _27.summary]));
|
|
167
|
+
}
|
|
168
|
+
if (stdoutData.error.detail) {
|
|
169
|
+
console.error(_optionalChain([stdoutData, 'access', _28 => _28.error, 'optionalAccess', _29 => _29.detail]));
|
|
170
|
+
}
|
|
171
|
+
if (context.isVerbose) {
|
|
172
|
+
console.error(
|
|
173
|
+
`npm dist-tag add stdout: ${JSON.stringify(stdoutData, null, 2)}`
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
return { success: false };
|
|
177
|
+
}
|
|
178
|
+
} catch (err2) {
|
|
179
|
+
console.error(
|
|
180
|
+
`Something unexpected went wrong when processing the npm dist-tag add output
|
|
181
|
+
${JSON.stringify(err2)}`
|
|
182
|
+
);
|
|
183
|
+
return { success: false };
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
} catch (err) {
|
|
187
|
+
let error = err;
|
|
188
|
+
if (Buffer.isBuffer(error)) {
|
|
189
|
+
error = error.toString();
|
|
190
|
+
}
|
|
191
|
+
console.error("\n ********************** \n");
|
|
192
|
+
console.info("");
|
|
193
|
+
console.error(
|
|
194
|
+
"An error occured trying to run the npm dist-tag add command."
|
|
195
|
+
);
|
|
196
|
+
console.error(error);
|
|
197
|
+
console.info("");
|
|
198
|
+
const stdoutData = JSON.parse(_optionalChain([err, 'access', _30 => _30.stdout, 'optionalAccess', _31 => _31.toString, 'call', _32 => _32()]) || "{}");
|
|
199
|
+
if (!(_optionalChain([stdoutData, 'access', _33 => _33.error, 'optionalAccess', _34 => _34.code, 'optionalAccess', _35 => _35.includes, 'call', _36 => _36("E404")]) && _optionalChain([stdoutData, 'access', _37 => _37.error, 'optionalAccess', _38 => _38.summary, 'optionalAccess', _39 => _39.toLowerCase, 'call', _40 => _40(), 'access', _41 => _41.includes, 'call', _42 => _42("not found")])) && !(_optionalChain([err, 'access', _43 => _43.stderr, 'optionalAccess', _44 => _44.toString, 'call', _45 => _45(), 'access', _46 => _46.includes, 'call', _47 => _47("E404")]) && _optionalChain([err, 'access', _48 => _48.stderr, 'optionalAccess', _49 => _49.toString, 'call', _50 => _50(), 'access', _51 => _51.toLowerCase, 'call', _52 => _52(), 'access', _53 => _53.includes, 'call', _54 => _54("not found")]))) {
|
|
200
|
+
console.error(
|
|
201
|
+
`Something unexpected went wrong when checking for existing dist-tags.
|
|
202
|
+
|
|
203
|
+
Error: ${JSON.stringify(err)}
|
|
204
|
+
`
|
|
205
|
+
);
|
|
206
|
+
return { success: false };
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
try {
|
|
211
|
+
const cwd = packageRoot;
|
|
212
|
+
const command = npmPublishCommandSegments.join(" ");
|
|
213
|
+
console.info(
|
|
214
|
+
`Running publish command "${command}" in current working directory: "${cwd}" `
|
|
215
|
+
);
|
|
216
|
+
const result = _child_process.execSync.call(void 0, command, {
|
|
217
|
+
cwd,
|
|
218
|
+
env: {
|
|
219
|
+
...process.env,
|
|
220
|
+
FORCE_COLOR: "true"
|
|
221
|
+
},
|
|
222
|
+
maxBuffer: LARGE_BUFFER,
|
|
223
|
+
killSignal: "SIGTERM"
|
|
224
|
+
});
|
|
225
|
+
if (isDryRun) {
|
|
226
|
+
console.info(
|
|
227
|
+
`Would publish to ${registry} with tag "${tag}", but [dry-run] was set ${result ? `
|
|
228
|
+
|
|
229
|
+
Execution response: ${result.toString()}` : ""}
|
|
230
|
+
`
|
|
231
|
+
);
|
|
232
|
+
} else {
|
|
233
|
+
console.info(`Published to ${registry} with tag "${tag}" ${result ? `
|
|
234
|
+
|
|
235
|
+
Execution response: ${result.toString()}` : ""}
|
|
236
|
+
`);
|
|
237
|
+
}
|
|
238
|
+
return { success: true };
|
|
239
|
+
} catch (err) {
|
|
240
|
+
try {
|
|
241
|
+
console.error("\n ********************** \n");
|
|
242
|
+
console.info("");
|
|
243
|
+
console.error("An error occured running npm publish.");
|
|
244
|
+
console.error("Please see below for more information:");
|
|
245
|
+
console.info("");
|
|
246
|
+
const stdoutData = JSON.parse(_optionalChain([err, 'access', _55 => _55.stdout, 'optionalAccess', _56 => _56.toString, 'call', _57 => _57()]) || "{}");
|
|
247
|
+
if (stdoutData.error.summary) {
|
|
248
|
+
console.error(stdoutData.error.summary);
|
|
249
|
+
console.error(stdoutData.error.summary);
|
|
250
|
+
}
|
|
251
|
+
if (stdoutData.error.detail) {
|
|
252
|
+
console.error(stdoutData.error.detail);
|
|
253
|
+
}
|
|
254
|
+
if (context.isVerbose) {
|
|
255
|
+
console.error(
|
|
256
|
+
`npm publish stdout:
|
|
257
|
+
${JSON.stringify(stdoutData, null, 2)}`
|
|
258
|
+
);
|
|
259
|
+
}
|
|
260
|
+
console.error("\n ********************** \n");
|
|
261
|
+
return { success: false };
|
|
262
|
+
} catch (err2) {
|
|
263
|
+
let error = err2;
|
|
264
|
+
if (Buffer.isBuffer(error)) {
|
|
265
|
+
error = error.toString();
|
|
266
|
+
}
|
|
267
|
+
console.error(
|
|
268
|
+
`Something unexpected went wrong when processing the npm publish output
|
|
269
|
+
|
|
270
|
+
Error: ${JSON.stringify(error)}
|
|
271
|
+
`
|
|
272
|
+
);
|
|
273
|
+
console.error("\n ********************** \n");
|
|
274
|
+
return { success: false };
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
exports.LARGE_BUFFER = LARGE_BUFFER; exports.npmPublishExecutorFn = npmPublishExecutorFn;
|
package/dist/executors.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-7VDOGZYO.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var _chunkCMH2A42Gjs = require('./chunk-CMH2A42G.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
4
|
var _chunkT7BALDKJjs = require('./chunk-T7BALDKJ.js');
|
|
8
5
|
|
|
9
6
|
|
|
10
7
|
var _chunkSPXJBMLYjs = require('./chunk-SPXJBMLY.js');
|
|
11
8
|
|
|
12
9
|
|
|
10
|
+
var _chunkDCPKZRRYjs = require('./chunk-DCPKZRRY.js');
|
|
11
|
+
|
|
12
|
+
|
|
13
13
|
var _chunkEYXDS7SGjs = require('./chunk-EYXDS7SG.js');
|
|
14
14
|
|
|
15
15
|
|
|
@@ -19,7 +19,7 @@ var _chunkEU6N7QT3js = require('./chunk-EU6N7QT3.js');
|
|
|
19
19
|
var _chunk54FVHKCUjs = require('./chunk-54FVHKCU.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkRZVF4LHTjs = require('./chunk-RZVF4LHT.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
var _chunkTSYIV33Wjs = require('./chunk-TSYIV33W.js');
|
|
@@ -32,7 +32,7 @@ var _chunkO6RRIC6Ijs = require('./chunk-O6RRIC6I.js');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
var _chunk22UY7NFXjs = require('./chunk-22UY7NFX.js');
|
|
35
|
-
require('./chunk-
|
|
35
|
+
require('./chunk-FYXWAGK3.js');
|
|
36
36
|
require('./chunk-4BECJRPP.js');
|
|
37
37
|
require('./chunk-BWGJVRAS.js');
|
|
38
38
|
require('./chunk-AJ3C2EDW.js');
|
|
@@ -53,4 +53,4 @@ require('./chunk-3RG5ZIWI.js');
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
exports.LARGE_BUFFER =
|
|
56
|
+
exports.LARGE_BUFFER = _chunkRZVF4LHTjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkTSYIV33Wjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkAOFWKOAIjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkO6RRIC6Ijs.cargoClippyExecutor; exports.cargoDocExecutor = _chunk22UY7NFXjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkEU6N7QT3js.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkDCPKZRRYjs.esbuildExecutorFn; exports.getRegistryVersion = _chunk54FVHKCUjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunkT7BALDKJjs.sizeLimitExecutorFn; exports.typiaExecutorFn = _chunkSPXJBMLYjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkEYXDS7SGjs.unbuildExecutorFn;
|
package/dist/executors.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./chunk-BLX5SLPC.mjs";
|
|
2
|
-
import {
|
|
3
|
-
LARGE_BUFFER
|
|
4
|
-
} from "./chunk-I54IKCIV.mjs";
|
|
5
2
|
import {
|
|
6
3
|
sizeLimitExecutorFn
|
|
7
4
|
} from "./chunk-AMW7VHFM.mjs";
|
|
8
5
|
import {
|
|
9
6
|
typiaExecutorFn
|
|
10
7
|
} from "./chunk-Q2HYWACQ.mjs";
|
|
8
|
+
import {
|
|
9
|
+
esbuildExecutorFn
|
|
10
|
+
} from "./chunk-J6OXY3KI.mjs";
|
|
11
11
|
import {
|
|
12
12
|
unbuildExecutorFn
|
|
13
13
|
} from "./chunk-KP4RPOBI.mjs";
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
getRegistryVersion
|
|
19
19
|
} from "./chunk-EKWR7TBP.mjs";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
21
|
+
LARGE_BUFFER
|
|
22
|
+
} from "./chunk-4QYM3VS4.mjs";
|
|
23
23
|
import {
|
|
24
24
|
cargoBuildExecutor
|
|
25
25
|
} from "./chunk-BFD7HHVZ.mjs";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
cargoDocExecutor
|
|
34
34
|
} from "./chunk-SNMXP6JV.mjs";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-MJMN2T4N.mjs";
|
|
36
36
|
import "./chunk-QFWQZOVG.mjs";
|
|
37
37
|
import "./chunk-U65XVJ4Y.mjs";
|
|
38
38
|
import "./chunk-UYSJG2E5.mjs";
|
package/dist/index.d.mts
CHANGED
|
@@ -33,7 +33,7 @@ export { getProjectConfiguration, getProjectConfigurations } from './src/utils/g
|
|
|
33
33
|
export { LOCK_FILES, NPM_LOCK_FILE, NPM_LOCK_PATH, PNPM_LOCK_FILE, PNPM_LOCK_PATH, YARN_LOCK_FILE, YARN_LOCK_PATH, getLockFileDependencies, getLockFileName, getLockFileNodes, lockFileExists } from './src/utils/lock-file.mjs';
|
|
34
34
|
export { PackageInfo, PackageManagerType, PackageManagerTypes, getPackageInfo } from './src/utils/package-helpers.mjs';
|
|
35
35
|
export { getProjectConfigFromProjectJsonPath, getProjectConfigFromProjectRoot, getProjectPlatform, getProjectRoot } from './src/utils/plugin-helpers.mjs';
|
|
36
|
-
export {
|
|
36
|
+
export { pnpmUpdate } from './src/utils/pnpm-deps-update.mjs';
|
|
37
37
|
export { ProjectTagConstants, addPluginProjectTag, addProjectTag, formatProjectTag, getProjectTag, hasProjectTag, isEqualProjectTag, setDefaultProjectTags } from './src/utils/project-tags.mjs';
|
|
38
38
|
export { CargoMetadata, CargoToml, Dep, DepKind, Dependency, Docs, Docs2, Features, Metadata, Metadata2, Node, Package, Resolve, Rs, Rs2, Target, modifyCargoNestedTable, modifyCargoTable, parseCargoToml, parseCargoTomlWithTree, stringifyCargoToml } from './src/utils/toml.mjs';
|
|
39
39
|
export { getTypiaTransform } from './src/utils/typia-transform.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export { getProjectConfiguration, getProjectConfigurations } from './src/utils/g
|
|
|
33
33
|
export { LOCK_FILES, NPM_LOCK_FILE, NPM_LOCK_PATH, PNPM_LOCK_FILE, PNPM_LOCK_PATH, YARN_LOCK_FILE, YARN_LOCK_PATH, getLockFileDependencies, getLockFileName, getLockFileNodes, lockFileExists } from './src/utils/lock-file.js';
|
|
34
34
|
export { PackageInfo, PackageManagerType, PackageManagerTypes, getPackageInfo } from './src/utils/package-helpers.js';
|
|
35
35
|
export { getProjectConfigFromProjectJsonPath, getProjectConfigFromProjectRoot, getProjectPlatform, getProjectRoot } from './src/utils/plugin-helpers.js';
|
|
36
|
-
export {
|
|
36
|
+
export { pnpmUpdate } from './src/utils/pnpm-deps-update.js';
|
|
37
37
|
export { ProjectTagConstants, addPluginProjectTag, addProjectTag, formatProjectTag, getProjectTag, hasProjectTag, isEqualProjectTag, setDefaultProjectTags } from './src/utils/project-tags.js';
|
|
38
38
|
export { CargoMetadata, CargoToml, Dep, DepKind, Dependency, Docs, Docs2, Features, Metadata, Metadata2, Node, Package, Resolve, Rs, Rs2, Target, modifyCargoNestedTable, modifyCargoTable, parseCargoToml, parseCargoTomlWithTree, stringifyCargoToml } from './src/utils/toml.js';
|
|
39
39
|
export { getTypiaTransform } from './src/utils/typia-transform.js';
|
package/dist/index.js
CHANGED
|
@@ -48,15 +48,15 @@ var _chunkA5CKB6IJjs = require('./chunk-A5CKB6IJ.js');
|
|
|
48
48
|
require('./chunk-7VDOGZYO.js');
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
var _chunkCMH2A42Gjs = require('./chunk-CMH2A42G.js');
|
|
52
|
-
|
|
53
|
-
|
|
54
51
|
var _chunkT7BALDKJjs = require('./chunk-T7BALDKJ.js');
|
|
55
52
|
|
|
56
53
|
|
|
57
54
|
var _chunkSPXJBMLYjs = require('./chunk-SPXJBMLY.js');
|
|
58
55
|
|
|
59
56
|
|
|
57
|
+
var _chunkDCPKZRRYjs = require('./chunk-DCPKZRRY.js');
|
|
58
|
+
|
|
59
|
+
|
|
60
60
|
var _chunkEYXDS7SGjs = require('./chunk-EYXDS7SG.js');
|
|
61
61
|
|
|
62
62
|
|
|
@@ -66,7 +66,7 @@ var _chunkEU6N7QT3js = require('./chunk-EU6N7QT3.js');
|
|
|
66
66
|
var _chunk54FVHKCUjs = require('./chunk-54FVHKCU.js');
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
var
|
|
69
|
+
var _chunkRZVF4LHTjs = require('./chunk-RZVF4LHT.js');
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
var _chunkTSYIV33Wjs = require('./chunk-TSYIV33W.js');
|
|
@@ -81,7 +81,7 @@ var _chunkO6RRIC6Ijs = require('./chunk-O6RRIC6I.js');
|
|
|
81
81
|
var _chunk22UY7NFXjs = require('./chunk-22UY7NFX.js');
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
var
|
|
84
|
+
var _chunkFYXWAGK3js = require('./chunk-FYXWAGK3.js');
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
@@ -282,4 +282,4 @@ require('./chunk-3RG5ZIWI.js');
|
|
|
282
282
|
|
|
283
283
|
|
|
284
284
|
|
|
285
|
-
exports.INVALID_CARGO_ARGS = _chunk4BECJRPPjs.INVALID_CARGO_ARGS; exports.LARGE_BUFFER =
|
|
285
|
+
exports.INVALID_CARGO_ARGS = _chunk4BECJRPPjs.INVALID_CARGO_ARGS; exports.LARGE_BUFFER = _chunkRZVF4LHTjs.LARGE_BUFFER; exports.LOCK_FILES = _chunkXZSS3YABjs.LOCK_FILES; exports.NPM_LOCK_FILE = _chunkXZSS3YABjs.NPM_LOCK_FILE; exports.NPM_LOCK_PATH = _chunkXZSS3YABjs.NPM_LOCK_PATH; exports.PNPM_LOCK_FILE = _chunkXZSS3YABjs.PNPM_LOCK_FILE; exports.PNPM_LOCK_PATH = _chunkXZSS3YABjs.PNPM_LOCK_PATH; exports.PackageManagerTypes = _chunkYXBFVZ3Kjs.PackageManagerTypes; exports.ProjectTagConstants = _chunkAX3RSZT7js.ProjectTagConstants; exports.ProjectTagDistStyleValue = _chunk4NOLUAQNjs.ProjectTagDistStyleValue; exports.ProjectTagLanguageValue = _chunk4NOLUAQNjs.ProjectTagLanguageValue; exports.ProjectTagPlatformValue = _chunk4NOLUAQNjs.ProjectTagPlatformValue; exports.ProjectTagRegistryValue = _chunk4NOLUAQNjs.ProjectTagRegistryValue; exports.ProjectTagTypeValue = _chunk4NOLUAQNjs.ProjectTagTypeValue; exports.ProjectTagVariant = _chunk4NOLUAQNjs.ProjectTagVariant; exports.YARN_LOCK_FILE = _chunkXZSS3YABjs.YARN_LOCK_FILE; exports.YARN_LOCK_PATH = _chunkXZSS3YABjs.YARN_LOCK_PATH; exports.addPluginProjectTag = _chunkAX3RSZT7js.addPluginProjectTag; exports.addProjectTag = _chunkAX3RSZT7js.addProjectTag; exports.applyWorkspaceExecutorTokens = _chunk3TYXXJKVjs.applyWorkspaceExecutorTokens; exports.baseExecutorSchema = _chunkI734UVDTjs.base_executor_untyped_default; exports.baseGeneratorSchema = _chunk7CJRMBX3js.base_generator_untyped_default; exports.browserLibraryGeneratorFn = _chunkI5MSPQMOjs.browserLibraryGeneratorFn; exports.buildCargoCommand = _chunk4BECJRPPjs.buildCargoCommand; exports.cargoBaseExecutorSchema = _chunk5ZFTWEKBjs.cargo_base_executor_untyped_default; exports.cargoBuildExecutor = _chunkTSYIV33Wjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkAOFWKOAIjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkO6RRIC6Ijs.cargoClippyExecutor; exports.cargoCommand = _chunk4BECJRPPjs.cargoCommand; exports.cargoCommandSync = _chunk4BECJRPPjs.cargoCommandSync; exports.cargoDocExecutor = _chunk22UY7NFXjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkEU6N7QT3js.cargoFormatExecutor; exports.cargoMetadata = _chunk4BECJRPPjs.cargoMetadata; exports.cargoRunCommand = _chunk4BECJRPPjs.cargoRunCommand; exports.childProcess = _chunk4BECJRPPjs.childProcess; exports.configSchemaGeneratorFn = _chunkS5Z4QGF3js.configSchemaGeneratorFn; exports.createCliOptions = _chunkQVYCDINGjs.createCliOptions; exports.createProjectTsConfigJson = _chunkJ4DYXH46js.createProjectTsConfigJson; exports.esbuildExecutorFn = _chunkDCPKZRRYjs.esbuildExecutorFn; exports.eslintVersion = _chunkHI4G4OOGjs.eslintVersion; exports.formatProjectTag = _chunkAX3RSZT7js.formatProjectTag; exports.getLockFileDependencies = _chunkXZSS3YABjs.getLockFileDependencies; exports.getLockFileName = _chunkXZSS3YABjs.getLockFileName; exports.getLockFileNodes = _chunkXZSS3YABjs.getLockFileNodes; exports.getOutputPath = _chunkJ4DYXH46js.getOutputPath; exports.getPackageInfo = _chunkYXBFVZ3Kjs.getPackageInfo; exports.getProjectConfigFromProjectJsonPath = _chunk5VY5IBBQjs.getProjectConfigFromProjectJsonPath; exports.getProjectConfigFromProjectRoot = _chunk5VY5IBBQjs.getProjectConfigFromProjectRoot; exports.getProjectConfiguration = _chunkA5CKB6IJjs.getProjectConfiguration; exports.getProjectConfigurations = _chunkA5CKB6IJjs.getProjectConfigurations; exports.getProjectPlatform = _chunk5VY5IBBQjs.getProjectPlatform; exports.getProjectRoot = _chunk5VY5IBBQjs.getProjectRoot; exports.getProjectTag = _chunkAX3RSZT7js.getProjectTag; exports.getRegistryVersion = _chunk54FVHKCUjs.getRegistryVersion; exports.getTypiaTransform = _chunk6EMYX25Vjs.getTypiaTransform; exports.hasProjectTag = _chunkAX3RSZT7js.hasProjectTag; exports.initGenerator = _chunkOKSECMVKjs.initGenerator; exports.isEqualProjectTag = _chunkAX3RSZT7js.isEqualProjectTag; exports.isExternal = _chunk4BECJRPPjs.isExternal; exports.lintStagedVersion = _chunkHI4G4OOGjs.lintStagedVersion; exports.lockFileExists = _chunkXZSS3YABjs.lockFileExists; exports.modifyCargoNestedTable = _chunkBWGJVRASjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkBWGJVRASjs.modifyCargoTable; exports.neutralLibraryGeneratorFn = _chunkH5NKKUPVjs.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkGNOIETZRjs.nodeLibraryGeneratorFn; exports.nodeVersion = _chunkHI4G4OOGjs.nodeVersion; exports.normalizeOptions = _chunkJ4DYXH46js.normalizeOptions; exports.nxVersion = _chunkHI4G4OOGjs.nxVersion; exports.parseCargoToml = _chunkBWGJVRASjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkBWGJVRASjs.parseCargoTomlWithTree; exports.pnpmUpdate = _chunkFYXWAGK3js.pnpmUpdate; exports.pnpmVersion = _chunkHI4G4OOGjs.pnpmVersion; exports.presetGeneratorFn = _chunkIZN2IVJ4js.presetGeneratorFn; exports.prettierPackageJsonVersion = _chunkHI4G4OOGjs.prettierPackageJsonVersion; exports.prettierPrismaVersion = _chunkHI4G4OOGjs.prettierPrismaVersion; exports.prettierVersion = _chunkHI4G4OOGjs.prettierVersion; exports.releaseVersionGeneratorFn = _chunkLBAVVYKUjs.releaseVersionGeneratorFn; exports.runProcess = _chunk4BECJRPPjs.runProcess; exports.semanticReleaseVersion = _chunkHI4G4OOGjs.semanticReleaseVersion; exports.setDefaultProjectTags = _chunkAX3RSZT7js.setDefaultProjectTags; exports.sizeLimitExecutorFn = _chunkT7BALDKJjs.sizeLimitExecutorFn; exports.stringifyCargoToml = _chunkBWGJVRASjs.stringifyCargoToml; exports.swcCliVersion = _chunkHI4G4OOGjs.swcCliVersion; exports.swcCoreVersion = _chunkHI4G4OOGjs.swcCoreVersion; exports.swcHelpersVersion = _chunkHI4G4OOGjs.swcHelpersVersion; exports.swcNodeVersion = _chunkHI4G4OOGjs.swcNodeVersion; exports.tsLibVersion = _chunkHI4G4OOGjs.tsLibVersion; exports.tsupVersion = _chunkHI4G4OOGjs.tsupVersion; exports.typeScriptLibraryGeneratorFn = _chunkJ4DYXH46js.typeScriptLibraryGeneratorFn; exports.typesNodeVersion = _chunkHI4G4OOGjs.typesNodeVersion; exports.typescriptBuildExecutorSchema = _chunkIL3R5ZVSjs.typescript_build_executor_untyped_default; exports.typescriptLibraryGeneratorSchema = _chunk2AVWFUXPjs.typescript_library_generator_untyped_default; exports.typescriptVersion = _chunkHI4G4OOGjs.typescriptVersion; exports.typiaExecutorFn = _chunkSPXJBMLYjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkEYXDS7SGjs.unbuildExecutorFn; exports.verdaccioVersion = _chunkHI4G4OOGjs.verdaccioVersion; exports.withRunExecutor = _chunkAJ3C2EDWjs.withRunExecutor; exports.withRunGenerator = _chunkRJRBED5Qjs.withRunGenerator;
|
package/dist/index.mjs
CHANGED
|
@@ -46,15 +46,15 @@ import {
|
|
|
46
46
|
getProjectConfigurations
|
|
47
47
|
} from "./chunk-L4NCVOB5.mjs";
|
|
48
48
|
import "./chunk-BLX5SLPC.mjs";
|
|
49
|
-
import {
|
|
50
|
-
LARGE_BUFFER
|
|
51
|
-
} from "./chunk-I54IKCIV.mjs";
|
|
52
49
|
import {
|
|
53
50
|
sizeLimitExecutorFn
|
|
54
51
|
} from "./chunk-AMW7VHFM.mjs";
|
|
55
52
|
import {
|
|
56
53
|
typiaExecutorFn
|
|
57
54
|
} from "./chunk-Q2HYWACQ.mjs";
|
|
55
|
+
import {
|
|
56
|
+
esbuildExecutorFn
|
|
57
|
+
} from "./chunk-J6OXY3KI.mjs";
|
|
58
58
|
import {
|
|
59
59
|
unbuildExecutorFn
|
|
60
60
|
} from "./chunk-KP4RPOBI.mjs";
|
|
@@ -65,8 +65,8 @@ import {
|
|
|
65
65
|
getRegistryVersion
|
|
66
66
|
} from "./chunk-EKWR7TBP.mjs";
|
|
67
67
|
import {
|
|
68
|
-
|
|
69
|
-
} from "./chunk-
|
|
68
|
+
LARGE_BUFFER
|
|
69
|
+
} from "./chunk-4QYM3VS4.mjs";
|
|
70
70
|
import {
|
|
71
71
|
cargoBuildExecutor
|
|
72
72
|
} from "./chunk-BFD7HHVZ.mjs";
|
|
@@ -80,8 +80,8 @@ import {
|
|
|
80
80
|
cargoDocExecutor
|
|
81
81
|
} from "./chunk-SNMXP6JV.mjs";
|
|
82
82
|
import {
|
|
83
|
-
|
|
84
|
-
} from "./chunk-
|
|
83
|
+
pnpmUpdate
|
|
84
|
+
} from "./chunk-MJMN2T4N.mjs";
|
|
85
85
|
import {
|
|
86
86
|
INVALID_CARGO_ARGS,
|
|
87
87
|
buildCargoCommand,
|
|
@@ -254,7 +254,7 @@ export {
|
|
|
254
254
|
nxVersion,
|
|
255
255
|
parseCargoToml,
|
|
256
256
|
parseCargoTomlWithTree,
|
|
257
|
-
|
|
257
|
+
pnpmUpdate,
|
|
258
258
|
pnpmVersion,
|
|
259
259
|
presetGeneratorFn,
|
|
260
260
|
prettierPackageJsonVersion,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../../chunk-
|
|
4
|
+
var _chunkRZVF4LHTjs = require('../../../chunk-RZVF4LHT.js');
|
|
5
|
+
require('../../../chunk-FYXWAGK3.js');
|
|
6
6
|
require('../../../chunk-53DNHF7B.js');
|
|
7
7
|
require('../../../chunk-3RG5ZIWI.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.LARGE_BUFFER =
|
|
11
|
+
exports.LARGE_BUFFER = _chunkRZVF4LHTjs.LARGE_BUFFER; exports.default = _chunkRZVF4LHTjs.npmPublishExecutorFn;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LARGE_BUFFER,
|
|
3
3
|
npmPublishExecutorFn
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
4
|
+
} from "../../../chunk-4QYM3VS4.mjs";
|
|
5
|
+
import "../../../chunk-MJMN2T4N.mjs";
|
|
6
6
|
import "../../../chunk-U7JFVMCK.mjs";
|
|
7
7
|
import "../../../chunk-IEZKYJSF.mjs";
|
|
8
8
|
export {
|