@storm-software/workspace-tools 1.276.2 → 1.277.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/dist/{chunk-TZOJAAPI.js → chunk-2MU5RD5H.js} +3 -3
- package/dist/{chunk-5TG3INAM.js → chunk-ABQX64EZ.js} +3 -3
- package/dist/chunk-HXCYA4WX.mjs +93 -0
- package/dist/{chunk-2RYRJCJP.mjs → chunk-LWYT4AH6.mjs} +1 -1
- package/dist/{chunk-J43B54ZW.js → chunk-PBHL6OWR.js} +4 -0
- package/dist/chunk-SQD43P7J.js +93 -0
- package/dist/{chunk-DBMWS2IA.js → chunk-TZCJQ4CI.js} +3 -3
- package/dist/{chunk-2PZQYXN7.mjs → chunk-UM4JLGUU.mjs} +4 -0
- package/dist/{chunk-NWUV7MGR.mjs → chunk-VNNPLEEZ.mjs} +1 -1
- package/dist/{chunk-TLH7M3OP.mjs → chunk-XWO3XWPX.mjs} +1 -1
- package/dist/executors.js +4 -2
- package/dist/executors.mjs +3 -1
- package/dist/generators.js +6 -6
- package/dist/generators.mjs +5 -5
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -13
- package/dist/index.mjs +21 -19
- package/dist/src/base/index.js +3 -3
- package/dist/src/base/index.mjs +2 -2
- package/dist/src/executors/npm-publish/executor.js +7 -2
- package/dist/src/executors/npm-publish/executor.mjs +6 -1
- package/dist/src/generators/browser-library/generator.js +4 -4
- package/dist/src/generators/browser-library/generator.mjs +3 -3
- package/dist/src/generators/neutral-library/generator.js +4 -4
- package/dist/src/generators/neutral-library/generator.mjs +3 -3
- package/dist/src/generators/node-library/generator.js +4 -4
- package/dist/src/generators/node-library/generator.mjs +3 -3
- package/dist/src/utils/index.d.mts +1 -1
- package/dist/src/utils/index.d.ts +1 -1
- package/dist/src/utils/index.js +10 -8
- package/dist/src/utils/index.mjs +16 -14
- package/dist/src/utils/package-helpers.d.mts +9 -1
- package/dist/src/utils/package-helpers.d.ts +9 -1
- package/dist/src/utils/package-helpers.js +5 -3
- package/dist/src/utils/package-helpers.mjs +4 -2
- package/package.json +6 -5
- package/dist/chunk-IO4IWRFF.js +0 -47
- package/dist/chunk-Z2S37WBS.mjs +0 -47
- package/dist/{chunk-24I5UG2D.mjs → chunk-CNBBZVVG.mjs} +3 -3
- package/dist/{chunk-VTPEPAEB.js → chunk-GYLUTELW.js} +2 -2
package/dist/index.mjs
CHANGED
|
@@ -12,10 +12,6 @@ import {
|
|
|
12
12
|
getLockFileNodes,
|
|
13
13
|
lockFileExists
|
|
14
14
|
} from "./chunk-ABE7UOMX.mjs";
|
|
15
|
-
import {
|
|
16
|
-
PackageManagerTypes,
|
|
17
|
-
getPackageInfo
|
|
18
|
-
} from "./chunk-Z2S37WBS.mjs";
|
|
19
15
|
import {
|
|
20
16
|
getProjectConfigFromProjectJsonPath,
|
|
21
17
|
getProjectConfigFromProjectRoot,
|
|
@@ -48,7 +44,7 @@ import {
|
|
|
48
44
|
import "./chunk-BLX5SLPC.mjs";
|
|
49
45
|
import {
|
|
50
46
|
LARGE_BUFFER
|
|
51
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-UM4JLGUU.mjs";
|
|
52
48
|
import {
|
|
53
49
|
sizeLimitExecutorFn
|
|
54
50
|
} from "./chunk-DMMXAEFT.mjs";
|
|
@@ -79,6 +75,11 @@ import {
|
|
|
79
75
|
import {
|
|
80
76
|
cargoDocExecutor
|
|
81
77
|
} from "./chunk-OQTMLWUD.mjs";
|
|
78
|
+
import {
|
|
79
|
+
PackageManagerTypes,
|
|
80
|
+
addPackageJsonGitHead,
|
|
81
|
+
getPackageInfo
|
|
82
|
+
} from "./chunk-HXCYA4WX.mjs";
|
|
82
83
|
import {
|
|
83
84
|
pnpmUpdate
|
|
84
85
|
} from "./chunk-KHT5W6AJ.mjs";
|
|
@@ -96,7 +97,7 @@ import {
|
|
|
96
97
|
import "./chunk-RLIZVCIN.mjs";
|
|
97
98
|
import {
|
|
98
99
|
nodeLibraryGeneratorFn
|
|
99
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-LWYT4AH6.mjs";
|
|
100
101
|
import {
|
|
101
102
|
presetGeneratorFn
|
|
102
103
|
} from "./chunk-M7VQKYVL.mjs";
|
|
@@ -105,7 +106,7 @@ import {
|
|
|
105
106
|
} from "./chunk-7B3M3GQN.mjs";
|
|
106
107
|
import {
|
|
107
108
|
browserLibraryGeneratorFn
|
|
108
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-VNNPLEEZ.mjs";
|
|
109
110
|
import {
|
|
110
111
|
configSchemaGeneratorFn
|
|
111
112
|
} from "./chunk-I6UYMBJI.mjs";
|
|
@@ -114,23 +115,13 @@ import {
|
|
|
114
115
|
} from "./chunk-437WGH2M.mjs";
|
|
115
116
|
import {
|
|
116
117
|
neutralLibraryGeneratorFn
|
|
117
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-XWO3XWPX.mjs";
|
|
118
119
|
import {
|
|
119
120
|
createProjectTsConfigJson,
|
|
120
121
|
getOutputPath,
|
|
121
122
|
normalizeOptions,
|
|
122
123
|
typeScriptLibraryGeneratorFn
|
|
123
|
-
} from "./chunk-
|
|
124
|
-
import {
|
|
125
|
-
ProjectTagConstants,
|
|
126
|
-
addPluginProjectTag,
|
|
127
|
-
addProjectTag,
|
|
128
|
-
formatProjectTag,
|
|
129
|
-
getProjectTag,
|
|
130
|
-
hasProjectTag,
|
|
131
|
-
isEqualProjectTag,
|
|
132
|
-
setDefaultProjectTags
|
|
133
|
-
} from "./chunk-F66XEAID.mjs";
|
|
124
|
+
} from "./chunk-CNBBZVVG.mjs";
|
|
134
125
|
import {
|
|
135
126
|
eslintVersion,
|
|
136
127
|
lintStagedVersion,
|
|
@@ -152,6 +143,16 @@ import {
|
|
|
152
143
|
verdaccioVersion
|
|
153
144
|
} from "./chunk-EK75QNMS.mjs";
|
|
154
145
|
import "./chunk-PGQZ6GWB.mjs";
|
|
146
|
+
import {
|
|
147
|
+
ProjectTagConstants,
|
|
148
|
+
addPluginProjectTag,
|
|
149
|
+
addProjectTag,
|
|
150
|
+
formatProjectTag,
|
|
151
|
+
getProjectTag,
|
|
152
|
+
hasProjectTag,
|
|
153
|
+
isEqualProjectTag,
|
|
154
|
+
setDefaultProjectTags
|
|
155
|
+
} from "./chunk-F66XEAID.mjs";
|
|
155
156
|
import {
|
|
156
157
|
ProjectTagDistStyleValue,
|
|
157
158
|
ProjectTagLanguageValue,
|
|
@@ -196,6 +197,7 @@ export {
|
|
|
196
197
|
ProjectTagVariant,
|
|
197
198
|
YARN_LOCK_FILE,
|
|
198
199
|
YARN_LOCK_PATH,
|
|
200
|
+
addPackageJsonGitHead,
|
|
199
201
|
addPluginProjectTag,
|
|
200
202
|
addProjectTag,
|
|
201
203
|
applyWorkspaceExecutorTokens,
|
package/dist/src/base/index.js
CHANGED
|
@@ -13,9 +13,9 @@ var _chunk2AVWFUXPjs = require('../../chunk-2AVWFUXP.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
17
|
-
require('../../chunk-AX3RSZT7.js');
|
|
16
|
+
var _chunkGYLUTELWjs = require('../../chunk-GYLUTELW.js');
|
|
18
17
|
require('../../chunk-HI4G4OOG.js');
|
|
18
|
+
require('../../chunk-AX3RSZT7.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunk4PG3MS76js = require('../../chunk-4PG3MS76.js');
|
|
@@ -46,4 +46,4 @@ require('../../chunk-3RG5ZIWI.js');
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
exports.baseExecutorSchema = _chunkI734UVDTjs.base_executor_untyped_default; exports.baseGeneratorSchema = _chunk7CJRMBX3js.base_generator_untyped_default; exports.cargoBaseExecutorSchema = _chunk5ZFTWEKBjs.cargo_base_executor_untyped_default; exports.createProjectTsConfigJson =
|
|
49
|
+
exports.baseExecutorSchema = _chunkI734UVDTjs.base_executor_untyped_default; exports.baseGeneratorSchema = _chunk7CJRMBX3js.base_generator_untyped_default; exports.cargoBaseExecutorSchema = _chunk5ZFTWEKBjs.cargo_base_executor_untyped_default; exports.createProjectTsConfigJson = _chunkGYLUTELWjs.createProjectTsConfigJson; exports.getOutputPath = _chunkGYLUTELWjs.getOutputPath; exports.normalizeOptions = _chunkGYLUTELWjs.normalizeOptions; exports.typeScriptLibraryGeneratorFn = _chunkGYLUTELWjs.typeScriptLibraryGeneratorFn; exports.typescriptBuildExecutorSchema = _chunkCLMAB7TAjs.typescript_build_executor_untyped_default; exports.typescriptLibraryGeneratorSchema = _chunk2AVWFUXPjs.typescript_library_generator_untyped_default; exports.withRunExecutor = _chunk4PG3MS76js.withRunExecutor; exports.withRunGenerator = _chunkIM33U3N5js.withRunGenerator;
|
package/dist/src/base/index.mjs
CHANGED
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
getOutputPath,
|
|
14
14
|
normalizeOptions,
|
|
15
15
|
typeScriptLibraryGeneratorFn
|
|
16
|
-
} from "../../chunk-
|
|
17
|
-
import "../../chunk-F66XEAID.mjs";
|
|
16
|
+
} from "../../chunk-CNBBZVVG.mjs";
|
|
18
17
|
import "../../chunk-EK75QNMS.mjs";
|
|
18
|
+
import "../../chunk-F66XEAID.mjs";
|
|
19
19
|
import {
|
|
20
20
|
withRunExecutor
|
|
21
21
|
} from "../../chunk-EM2AALIN.mjs";
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkPBHL6OWRjs = require('../../../chunk-PBHL6OWR.js');
|
|
5
|
+
require('../../../chunk-SQD43P7J.js');
|
|
5
6
|
require('../../../chunk-F6X43VUX.js');
|
|
7
|
+
require('../../../chunk-WD2JTXUI.js');
|
|
8
|
+
require('../../../chunk-AX3RSZT7.js');
|
|
9
|
+
require('../../../chunk-K7STHRGH.js');
|
|
10
|
+
require('../../../chunk-4WHSR4FK.js');
|
|
6
11
|
require('../../../chunk-53DNHF7B.js');
|
|
7
12
|
require('../../../chunk-3RG5ZIWI.js');
|
|
8
13
|
|
|
9
14
|
|
|
10
15
|
|
|
11
|
-
exports.LARGE_BUFFER =
|
|
16
|
+
exports.LARGE_BUFFER = _chunkPBHL6OWRjs.LARGE_BUFFER; exports.default = _chunkPBHL6OWRjs.npmPublishExecutorFn;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LARGE_BUFFER,
|
|
3
3
|
npmPublishExecutorFn
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-UM4JLGUU.mjs";
|
|
5
|
+
import "../../../chunk-HXCYA4WX.mjs";
|
|
5
6
|
import "../../../chunk-KHT5W6AJ.mjs";
|
|
7
|
+
import "../../../chunk-PGQZ6GWB.mjs";
|
|
8
|
+
import "../../../chunk-F66XEAID.mjs";
|
|
9
|
+
import "../../../chunk-5AXTWPT3.mjs";
|
|
10
|
+
import "../../../chunk-LSF4BHCI.mjs";
|
|
6
11
|
import "../../../chunk-U7JFVMCK.mjs";
|
|
7
12
|
import "../../../chunk-LPNTTZ7I.mjs";
|
|
8
13
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../../chunk-
|
|
6
|
-
require('../../../chunk-AX3RSZT7.js');
|
|
4
|
+
var _chunkABQX64EZjs = require('../../../chunk-ABQX64EZ.js');
|
|
5
|
+
require('../../../chunk-GYLUTELW.js');
|
|
7
6
|
require('../../../chunk-HI4G4OOG.js');
|
|
7
|
+
require('../../../chunk-AX3RSZT7.js');
|
|
8
8
|
require('../../../chunk-IM33U3N5.js');
|
|
9
9
|
require('../../../chunk-J2Z4WP3E.js');
|
|
10
10
|
require('../../../chunk-VWERGJQ6.js');
|
|
@@ -15,4 +15,4 @@ require('../../../chunk-3RG5ZIWI.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.browserLibraryGeneratorFn =
|
|
18
|
+
exports.browserLibraryGeneratorFn = _chunkABQX64EZjs.browserLibraryGeneratorFn; exports.default = _chunkABQX64EZjs.generator_default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
browserLibraryGeneratorFn,
|
|
3
3
|
generator_default
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-F66XEAID.mjs";
|
|
4
|
+
} from "../../../chunk-VNNPLEEZ.mjs";
|
|
5
|
+
import "../../../chunk-CNBBZVVG.mjs";
|
|
7
6
|
import "../../../chunk-EK75QNMS.mjs";
|
|
7
|
+
import "../../../chunk-F66XEAID.mjs";
|
|
8
8
|
import "../../../chunk-6M7JRLZR.mjs";
|
|
9
9
|
import "../../../chunk-X6PHOMFB.mjs";
|
|
10
10
|
import "../../../chunk-IIIBVYB5.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../../chunk-
|
|
6
|
-
require('../../../chunk-AX3RSZT7.js');
|
|
4
|
+
var _chunkTZCJQ4CIjs = require('../../../chunk-TZCJQ4CI.js');
|
|
5
|
+
require('../../../chunk-GYLUTELW.js');
|
|
7
6
|
require('../../../chunk-HI4G4OOG.js');
|
|
7
|
+
require('../../../chunk-AX3RSZT7.js');
|
|
8
8
|
require('../../../chunk-IM33U3N5.js');
|
|
9
9
|
require('../../../chunk-J2Z4WP3E.js');
|
|
10
10
|
require('../../../chunk-VWERGJQ6.js');
|
|
@@ -15,4 +15,4 @@ require('../../../chunk-3RG5ZIWI.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.default =
|
|
18
|
+
exports.default = _chunkTZCJQ4CIjs.generator_default; exports.neutralLibraryGeneratorFn = _chunkTZCJQ4CIjs.neutralLibraryGeneratorFn;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generator_default,
|
|
3
3
|
neutralLibraryGeneratorFn
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-F66XEAID.mjs";
|
|
4
|
+
} from "../../../chunk-XWO3XWPX.mjs";
|
|
5
|
+
import "../../../chunk-CNBBZVVG.mjs";
|
|
7
6
|
import "../../../chunk-EK75QNMS.mjs";
|
|
7
|
+
import "../../../chunk-F66XEAID.mjs";
|
|
8
8
|
import "../../../chunk-6M7JRLZR.mjs";
|
|
9
9
|
import "../../../chunk-X6PHOMFB.mjs";
|
|
10
10
|
import "../../../chunk-IIIBVYB5.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../../chunk-
|
|
6
|
-
require('../../../chunk-AX3RSZT7.js');
|
|
4
|
+
var _chunk2MU5RD5Hjs = require('../../../chunk-2MU5RD5H.js');
|
|
5
|
+
require('../../../chunk-GYLUTELW.js');
|
|
7
6
|
require('../../../chunk-HI4G4OOG.js');
|
|
7
|
+
require('../../../chunk-AX3RSZT7.js');
|
|
8
8
|
require('../../../chunk-IM33U3N5.js');
|
|
9
9
|
require('../../../chunk-J2Z4WP3E.js');
|
|
10
10
|
require('../../../chunk-VWERGJQ6.js');
|
|
@@ -15,4 +15,4 @@ require('../../../chunk-3RG5ZIWI.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.default =
|
|
18
|
+
exports.default = _chunk2MU5RD5Hjs.generator_default; exports.nodeLibraryGeneratorFn = _chunk2MU5RD5Hjs.nodeLibraryGeneratorFn;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generator_default,
|
|
3
3
|
nodeLibraryGeneratorFn
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-F66XEAID.mjs";
|
|
4
|
+
} from "../../../chunk-LWYT4AH6.mjs";
|
|
5
|
+
import "../../../chunk-CNBBZVVG.mjs";
|
|
7
6
|
import "../../../chunk-EK75QNMS.mjs";
|
|
7
|
+
import "../../../chunk-F66XEAID.mjs";
|
|
8
8
|
import "../../../chunk-6M7JRLZR.mjs";
|
|
9
9
|
import "../../../chunk-X6PHOMFB.mjs";
|
|
10
10
|
import "../../../chunk-IIIBVYB5.mjs";
|
|
@@ -3,7 +3,7 @@ export { INVALID_CARGO_ARGS, buildCargoCommand, cargoCommand, cargoCommandSync,
|
|
|
3
3
|
export { createCliOptions } from './create-cli-options.mjs';
|
|
4
4
|
export { getProjectConfiguration, getProjectConfigurations } from './get-project-configurations.mjs';
|
|
5
5
|
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 './lock-file.mjs';
|
|
6
|
-
export { PackageInfo, PackageManagerType, PackageManagerTypes, getPackageInfo } from './package-helpers.mjs';
|
|
6
|
+
export { PackageInfo, PackageManagerType, PackageManagerTypes, addPackageJsonGitHead, getPackageInfo } from './package-helpers.mjs';
|
|
7
7
|
export { getProjectConfigFromProjectJsonPath, getProjectConfigFromProjectRoot, getProjectPlatform, getProjectRoot } from './plugin-helpers.mjs';
|
|
8
8
|
export { pnpmUpdate } from './pnpm-deps-update.mjs';
|
|
9
9
|
export { ProjectTagConstants, addPluginProjectTag, addProjectTag, formatProjectTag, getProjectTag, hasProjectTag, isEqualProjectTag, setDefaultProjectTags } from './project-tags.mjs';
|
|
@@ -3,7 +3,7 @@ export { INVALID_CARGO_ARGS, buildCargoCommand, cargoCommand, cargoCommandSync,
|
|
|
3
3
|
export { createCliOptions } from './create-cli-options.js';
|
|
4
4
|
export { getProjectConfiguration, getProjectConfigurations } from './get-project-configurations.js';
|
|
5
5
|
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 './lock-file.js';
|
|
6
|
-
export { PackageInfo, PackageManagerType, PackageManagerTypes, getPackageInfo } from './package-helpers.js';
|
|
6
|
+
export { PackageInfo, PackageManagerType, PackageManagerTypes, addPackageJsonGitHead, getPackageInfo } from './package-helpers.js';
|
|
7
7
|
export { getProjectConfigFromProjectJsonPath, getProjectConfigFromProjectRoot, getProjectPlatform, getProjectRoot } from './plugin-helpers.js';
|
|
8
8
|
export { pnpmUpdate } from './pnpm-deps-update.js';
|
|
9
9
|
export { ProjectTagConstants, addPluginProjectTag, addProjectTag, formatProjectTag, getProjectTag, hasProjectTag, isEqualProjectTag, setDefaultProjectTags } from './project-tags.js';
|
package/dist/src/utils/index.js
CHANGED
|
@@ -15,10 +15,6 @@ var _chunkXZSS3YABjs = require('../../chunk-XZSS3YAB.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var _chunkIO4IWRFFjs = require('../../chunk-IO4IWRFF.js');
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
18
|
|
|
23
19
|
|
|
24
20
|
var _chunk5VY5IBBQjs = require('../../chunk-5VY5IBBQ.js');
|
|
@@ -37,6 +33,11 @@ var _chunkQVYCDINGjs = require('../../chunk-QVYCDING.js');
|
|
|
37
33
|
var _chunkA5CKB6IJjs = require('../../chunk-A5CKB6IJ.js');
|
|
38
34
|
|
|
39
35
|
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
var _chunkSQD43P7Jjs = require('../../chunk-SQD43P7J.js');
|
|
39
|
+
|
|
40
|
+
|
|
40
41
|
var _chunkF6X43VUXjs = require('../../chunk-F6X43VUX.js');
|
|
41
42
|
|
|
42
43
|
|
|
@@ -58,7 +59,6 @@ var _chunkLJDV7HFTjs = require('../../chunk-LJDV7HFT.js');
|
|
|
58
59
|
|
|
59
60
|
|
|
60
61
|
|
|
61
|
-
var _chunkAX3RSZT7js = require('../../chunk-AX3RSZT7.js');
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
|
|
@@ -69,6 +69,8 @@ var _chunkAX3RSZT7js = require('../../chunk-AX3RSZT7.js');
|
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
|
|
72
|
+
var _chunkHI4G4OOGjs = require('../../chunk-HI4G4OOG.js');
|
|
73
|
+
require('../../chunk-WD2JTXUI.js');
|
|
72
74
|
|
|
73
75
|
|
|
74
76
|
|
|
@@ -78,8 +80,7 @@ var _chunkAX3RSZT7js = require('../../chunk-AX3RSZT7.js');
|
|
|
78
80
|
|
|
79
81
|
|
|
80
82
|
|
|
81
|
-
var
|
|
82
|
-
require('../../chunk-WD2JTXUI.js');
|
|
83
|
+
var _chunkAX3RSZT7js = require('../../chunk-AX3RSZT7.js');
|
|
83
84
|
require('../../chunk-K7STHRGH.js');
|
|
84
85
|
require('../../chunk-4WHSR4FK.js');
|
|
85
86
|
require('../../chunk-53DNHF7B.js');
|
|
@@ -143,4 +144,5 @@ require('../../chunk-3RG5ZIWI.js');
|
|
|
143
144
|
|
|
144
145
|
|
|
145
146
|
|
|
146
|
-
|
|
147
|
+
|
|
148
|
+
exports.INVALID_CARGO_ARGS = _chunkLJDV7HFTjs.INVALID_CARGO_ARGS; 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 = _chunkSQD43P7Jjs.PackageManagerTypes; exports.ProjectTagConstants = _chunkAX3RSZT7js.ProjectTagConstants; exports.YARN_LOCK_FILE = _chunkXZSS3YABjs.YARN_LOCK_FILE; exports.YARN_LOCK_PATH = _chunkXZSS3YABjs.YARN_LOCK_PATH; exports.addPackageJsonGitHead = _chunkSQD43P7Jjs.addPackageJsonGitHead; exports.addPluginProjectTag = _chunkAX3RSZT7js.addPluginProjectTag; exports.addProjectTag = _chunkAX3RSZT7js.addProjectTag; exports.applyWorkspaceExecutorTokens = _chunk3TYXXJKVjs.applyWorkspaceExecutorTokens; exports.buildCargoCommand = _chunkLJDV7HFTjs.buildCargoCommand; exports.cargoCommand = _chunkLJDV7HFTjs.cargoCommand; exports.cargoCommandSync = _chunkLJDV7HFTjs.cargoCommandSync; exports.cargoMetadata = _chunkLJDV7HFTjs.cargoMetadata; exports.cargoRunCommand = _chunkLJDV7HFTjs.cargoRunCommand; exports.childProcess = _chunkLJDV7HFTjs.childProcess; exports.createCliOptions = _chunkQVYCDINGjs.createCliOptions; exports.eslintVersion = _chunkHI4G4OOGjs.eslintVersion; exports.formatProjectTag = _chunkAX3RSZT7js.formatProjectTag; exports.getLockFileDependencies = _chunkXZSS3YABjs.getLockFileDependencies; exports.getLockFileName = _chunkXZSS3YABjs.getLockFileName; exports.getLockFileNodes = _chunkXZSS3YABjs.getLockFileNodes; exports.getPackageInfo = _chunkSQD43P7Jjs.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.getTypiaTransform = _chunk6EMYX25Vjs.getTypiaTransform; exports.hasProjectTag = _chunkAX3RSZT7js.hasProjectTag; exports.isEqualProjectTag = _chunkAX3RSZT7js.isEqualProjectTag; exports.isExternal = _chunkLJDV7HFTjs.isExternal; exports.lintStagedVersion = _chunkHI4G4OOGjs.lintStagedVersion; exports.lockFileExists = _chunkXZSS3YABjs.lockFileExists; exports.nodeVersion = _chunkHI4G4OOGjs.nodeVersion; exports.nxVersion = _chunkHI4G4OOGjs.nxVersion; exports.pnpmUpdate = _chunkF6X43VUXjs.pnpmUpdate; exports.pnpmVersion = _chunkHI4G4OOGjs.pnpmVersion; exports.prettierPackageJsonVersion = _chunkHI4G4OOGjs.prettierPackageJsonVersion; exports.prettierPrismaVersion = _chunkHI4G4OOGjs.prettierPrismaVersion; exports.prettierVersion = _chunkHI4G4OOGjs.prettierVersion; exports.runProcess = _chunkLJDV7HFTjs.runProcess; exports.semanticReleaseVersion = _chunkHI4G4OOGjs.semanticReleaseVersion; exports.setDefaultProjectTags = _chunkAX3RSZT7js.setDefaultProjectTags; 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.typesNodeVersion = _chunkHI4G4OOGjs.typesNodeVersion; exports.typescriptVersion = _chunkHI4G4OOGjs.typescriptVersion; exports.verdaccioVersion = _chunkHI4G4OOGjs.verdaccioVersion;
|
package/dist/src/utils/index.mjs
CHANGED
|
@@ -12,10 +12,6 @@ import {
|
|
|
12
12
|
getLockFileNodes,
|
|
13
13
|
lockFileExists
|
|
14
14
|
} from "../../chunk-ABE7UOMX.mjs";
|
|
15
|
-
import {
|
|
16
|
-
PackageManagerTypes,
|
|
17
|
-
getPackageInfo
|
|
18
|
-
} from "../../chunk-Z2S37WBS.mjs";
|
|
19
15
|
import {
|
|
20
16
|
getProjectConfigFromProjectJsonPath,
|
|
21
17
|
getProjectConfigFromProjectRoot,
|
|
@@ -35,6 +31,11 @@ import {
|
|
|
35
31
|
getProjectConfiguration,
|
|
36
32
|
getProjectConfigurations
|
|
37
33
|
} from "../../chunk-L4NCVOB5.mjs";
|
|
34
|
+
import {
|
|
35
|
+
PackageManagerTypes,
|
|
36
|
+
addPackageJsonGitHead,
|
|
37
|
+
getPackageInfo
|
|
38
|
+
} from "../../chunk-HXCYA4WX.mjs";
|
|
38
39
|
import {
|
|
39
40
|
pnpmUpdate
|
|
40
41
|
} from "../../chunk-KHT5W6AJ.mjs";
|
|
@@ -49,16 +50,6 @@ import {
|
|
|
49
50
|
isExternal,
|
|
50
51
|
runProcess
|
|
51
52
|
} from "../../chunk-6LP3KKXE.mjs";
|
|
52
|
-
import {
|
|
53
|
-
ProjectTagConstants,
|
|
54
|
-
addPluginProjectTag,
|
|
55
|
-
addProjectTag,
|
|
56
|
-
formatProjectTag,
|
|
57
|
-
getProjectTag,
|
|
58
|
-
hasProjectTag,
|
|
59
|
-
isEqualProjectTag,
|
|
60
|
-
setDefaultProjectTags
|
|
61
|
-
} from "../../chunk-F66XEAID.mjs";
|
|
62
53
|
import {
|
|
63
54
|
eslintVersion,
|
|
64
55
|
lintStagedVersion,
|
|
@@ -80,6 +71,16 @@ import {
|
|
|
80
71
|
verdaccioVersion
|
|
81
72
|
} from "../../chunk-EK75QNMS.mjs";
|
|
82
73
|
import "../../chunk-PGQZ6GWB.mjs";
|
|
74
|
+
import {
|
|
75
|
+
ProjectTagConstants,
|
|
76
|
+
addPluginProjectTag,
|
|
77
|
+
addProjectTag,
|
|
78
|
+
formatProjectTag,
|
|
79
|
+
getProjectTag,
|
|
80
|
+
hasProjectTag,
|
|
81
|
+
isEqualProjectTag,
|
|
82
|
+
setDefaultProjectTags
|
|
83
|
+
} from "../../chunk-F66XEAID.mjs";
|
|
83
84
|
import "../../chunk-5AXTWPT3.mjs";
|
|
84
85
|
import "../../chunk-LSF4BHCI.mjs";
|
|
85
86
|
import "../../chunk-U7JFVMCK.mjs";
|
|
@@ -95,6 +96,7 @@ export {
|
|
|
95
96
|
ProjectTagConstants,
|
|
96
97
|
YARN_LOCK_FILE,
|
|
97
98
|
YARN_LOCK_PATH,
|
|
99
|
+
addPackageJsonGitHead,
|
|
98
100
|
addPluginProjectTag,
|
|
99
101
|
addProjectTag,
|
|
100
102
|
applyWorkspaceExecutorTokens,
|
|
@@ -12,5 +12,13 @@ type PackageInfo = {
|
|
|
12
12
|
type: PackageManagerType;
|
|
13
13
|
};
|
|
14
14
|
declare const getPackageInfo: (project: ProjectConfiguration) => null | PackageInfo;
|
|
15
|
+
/**
|
|
16
|
+
* Adds the current git HEAD commit hash to the package.json file at the specified path.
|
|
17
|
+
*
|
|
18
|
+
* @param filePath - The path to the package.json file.
|
|
19
|
+
* @returns A promise that resolves when the file has been updated.
|
|
20
|
+
* @throws Will throw an error if no file path is provided or if the file cannot be read or written.
|
|
21
|
+
*/
|
|
22
|
+
declare function addPackageJsonGitHead(packageRoot: string): Promise<void>;
|
|
15
23
|
|
|
16
|
-
export { type PackageInfo, type PackageManagerType, PackageManagerTypes, getPackageInfo };
|
|
24
|
+
export { type PackageInfo, type PackageManagerType, PackageManagerTypes, addPackageJsonGitHead, getPackageInfo };
|
|
@@ -12,5 +12,13 @@ type PackageInfo = {
|
|
|
12
12
|
type: PackageManagerType;
|
|
13
13
|
};
|
|
14
14
|
declare const getPackageInfo: (project: ProjectConfiguration) => null | PackageInfo;
|
|
15
|
+
/**
|
|
16
|
+
* Adds the current git HEAD commit hash to the package.json file at the specified path.
|
|
17
|
+
*
|
|
18
|
+
* @param filePath - The path to the package.json file.
|
|
19
|
+
* @returns A promise that resolves when the file has been updated.
|
|
20
|
+
* @throws Will throw an error if no file path is provided or if the file cannot be read or written.
|
|
21
|
+
*/
|
|
22
|
+
declare function addPackageJsonGitHead(packageRoot: string): Promise<void>;
|
|
15
23
|
|
|
16
|
-
export { type PackageInfo, type PackageManagerType, PackageManagerTypes, getPackageInfo };
|
|
24
|
+
export { type PackageInfo, type PackageManagerType, PackageManagerTypes, addPackageJsonGitHead, getPackageInfo };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
require('../../chunk-
|
|
4
|
+
|
|
5
|
+
var _chunkSQD43P7Jjs = require('../../chunk-SQD43P7J.js');
|
|
6
6
|
require('../../chunk-WD2JTXUI.js');
|
|
7
|
+
require('../../chunk-AX3RSZT7.js');
|
|
7
8
|
require('../../chunk-K7STHRGH.js');
|
|
8
9
|
require('../../chunk-4WHSR4FK.js');
|
|
9
10
|
require('../../chunk-53DNHF7B.js');
|
|
@@ -11,4 +12,5 @@ require('../../chunk-3RG5ZIWI.js');
|
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
|
|
16
|
+
exports.PackageManagerTypes = _chunkSQD43P7Jjs.PackageManagerTypes; exports.addPackageJsonGitHead = _chunkSQD43P7Jjs.addPackageJsonGitHead; exports.getPackageInfo = _chunkSQD43P7Jjs.getPackageInfo;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PackageManagerTypes,
|
|
3
|
+
addPackageJsonGitHead,
|
|
3
4
|
getPackageInfo
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-F66XEAID.mjs";
|
|
5
|
+
} from "../../chunk-HXCYA4WX.mjs";
|
|
6
6
|
import "../../chunk-PGQZ6GWB.mjs";
|
|
7
|
+
import "../../chunk-F66XEAID.mjs";
|
|
7
8
|
import "../../chunk-5AXTWPT3.mjs";
|
|
8
9
|
import "../../chunk-LSF4BHCI.mjs";
|
|
9
10
|
import "../../chunk-U7JFVMCK.mjs";
|
|
10
11
|
import "../../chunk-LPNTTZ7I.mjs";
|
|
11
12
|
export {
|
|
12
13
|
PackageManagerTypes,
|
|
14
|
+
addPackageJsonGitHead,
|
|
13
15
|
getPackageInfo
|
|
14
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/workspace-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.277.0",
|
|
4
4
|
"description": "Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -208,9 +208,9 @@
|
|
|
208
208
|
"@size-limit/esbuild": "11.1.4",
|
|
209
209
|
"@size-limit/esbuild-why": "11.1.4",
|
|
210
210
|
"@size-limit/file": "11.1.4",
|
|
211
|
-
"@storm-software/esbuild": "^0.45.
|
|
212
|
-
"@storm-software/prettier": "^0.51.
|
|
213
|
-
"@storm-software/unbuild": "^0.49.
|
|
211
|
+
"@storm-software/esbuild": "^0.45.13",
|
|
212
|
+
"@storm-software/prettier": "^0.51.32",
|
|
213
|
+
"@storm-software/unbuild": "^0.49.24",
|
|
214
214
|
"fs-extra": "11.2.0",
|
|
215
215
|
"glob": "^11.0.1",
|
|
216
216
|
"jiti": "^2.4.2",
|
|
@@ -237,5 +237,6 @@
|
|
|
237
237
|
},
|
|
238
238
|
"publishConfig": { "access": "public" },
|
|
239
239
|
"executors": "./executors.json",
|
|
240
|
-
"generators": "./generators.json"
|
|
240
|
+
"generators": "./generators.json",
|
|
241
|
+
"gitHead": "cc6b643307c447a3a7e1118fee4893b3be34cdbd"
|
|
241
242
|
}
|
package/dist/chunk-IO4IWRFF.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkAX3RSZT7js = require('./chunk-AX3RSZT7.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkWD2JTXUIjs = require('./chunk-WD2JTXUI.js');
|
|
8
|
-
|
|
9
|
-
// src/utils/package-helpers.ts
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var _devkit = require('@nx/devkit');
|
|
14
|
-
var _fs = require('fs');
|
|
15
|
-
var PackageManagerTypes = {
|
|
16
|
-
PackageJson: "package.json",
|
|
17
|
-
CargoToml: "Cargo.toml"
|
|
18
|
-
};
|
|
19
|
-
var getPackageInfo = (project) => {
|
|
20
|
-
if (_chunkAX3RSZT7js.isEqualProjectTag.call(void 0,
|
|
21
|
-
project,
|
|
22
|
-
_chunkAX3RSZT7js.ProjectTagConstants.Language.TAG_ID,
|
|
23
|
-
_chunkAX3RSZT7js.ProjectTagConstants.Language.RUST
|
|
24
|
-
) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))) {
|
|
25
|
-
return {
|
|
26
|
-
type: "Cargo.toml",
|
|
27
|
-
content: _chunkWD2JTXUIjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
|
|
28
|
-
};
|
|
29
|
-
} else if (_chunkAX3RSZT7js.isEqualProjectTag.call(void 0,
|
|
30
|
-
project,
|
|
31
|
-
_chunkAX3RSZT7js.ProjectTagConstants.Language.TAG_ID,
|
|
32
|
-
_chunkAX3RSZT7js.ProjectTagConstants.Language.TYPESCRIPT
|
|
33
|
-
) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "package.json"))) {
|
|
34
|
-
return {
|
|
35
|
-
type: "package.json",
|
|
36
|
-
content: _devkit.readJsonFile.call(void 0,
|
|
37
|
-
_devkit.joinPathFragments.call(void 0, project.root, "package.json")
|
|
38
|
-
)
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
return null;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
exports.PackageManagerTypes = PackageManagerTypes; exports.getPackageInfo = getPackageInfo;
|
package/dist/chunk-Z2S37WBS.mjs
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ProjectTagConstants,
|
|
3
|
-
isEqualProjectTag
|
|
4
|
-
} from "./chunk-F66XEAID.mjs";
|
|
5
|
-
import {
|
|
6
|
-
parseCargoToml
|
|
7
|
-
} from "./chunk-PGQZ6GWB.mjs";
|
|
8
|
-
|
|
9
|
-
// src/utils/package-helpers.ts
|
|
10
|
-
import {
|
|
11
|
-
joinPathFragments,
|
|
12
|
-
readJsonFile
|
|
13
|
-
} from "@nx/devkit";
|
|
14
|
-
import { existsSync } from "node:fs";
|
|
15
|
-
var PackageManagerTypes = {
|
|
16
|
-
PackageJson: "package.json",
|
|
17
|
-
CargoToml: "Cargo.toml"
|
|
18
|
-
};
|
|
19
|
-
var getPackageInfo = (project) => {
|
|
20
|
-
if (isEqualProjectTag(
|
|
21
|
-
project,
|
|
22
|
-
ProjectTagConstants.Language.TAG_ID,
|
|
23
|
-
ProjectTagConstants.Language.RUST
|
|
24
|
-
) && existsSync(joinPathFragments(project.root, "Cargo.toml"))) {
|
|
25
|
-
return {
|
|
26
|
-
type: "Cargo.toml",
|
|
27
|
-
content: parseCargoToml(joinPathFragments(project.root, "Cargo.toml"))
|
|
28
|
-
};
|
|
29
|
-
} else if (isEqualProjectTag(
|
|
30
|
-
project,
|
|
31
|
-
ProjectTagConstants.Language.TAG_ID,
|
|
32
|
-
ProjectTagConstants.Language.TYPESCRIPT
|
|
33
|
-
) && existsSync(joinPathFragments(project.root, "package.json"))) {
|
|
34
|
-
return {
|
|
35
|
-
type: "package.json",
|
|
36
|
-
content: readJsonFile(
|
|
37
|
-
joinPathFragments(project.root, "package.json")
|
|
38
|
-
)
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
return null;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
export {
|
|
45
|
-
PackageManagerTypes,
|
|
46
|
-
getPackageInfo
|
|
47
|
-
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return 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
2
|
|
|
3
|
+
var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
|
|
3
4
|
|
|
4
|
-
var _chunkAX3RSZT7js = require('./chunk-AX3RSZT7.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkAX3RSZT7js = require('./chunk-AX3RSZT7.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
|