@storm-software/workspace-tools 1.296.104 → 1.296.106
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/README.md +1 -1
- package/dist/{chunk-PS3344Z2.js → chunk-CBTNZPVD.js} +4 -4
- package/dist/{chunk-MVSTFKO3.mjs → chunk-XNPPL6DM.mjs} +4 -4
- package/dist/executors.js +12 -12
- package/dist/executors.mjs +11 -11
- package/dist/generators.js +7 -7
- package/dist/generators.mjs +6 -6
- package/dist/index.js +43 -43
- package/dist/index.mjs +67 -67
- package/dist/src/base/index.js +10 -10
- package/dist/src/base/index.mjs +15 -15
- package/dist/src/executors/cargo-build/executor.js +4 -4
- package/dist/src/executors/cargo-build/executor.mjs +3 -3
- package/dist/src/executors/cargo-check/executor.js +4 -4
- package/dist/src/executors/cargo-check/executor.mjs +3 -3
- package/dist/src/executors/cargo-clippy/executor.js +4 -4
- package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
- package/dist/src/executors/cargo-doc/executor.js +4 -4
- package/dist/src/executors/cargo-doc/executor.mjs +3 -3
- package/dist/src/executors/cargo-format/executor.js +4 -4
- package/dist/src/executors/cargo-format/executor.mjs +3 -3
- package/dist/src/executors/napi/executor.js +4 -4
- package/dist/src/executors/napi/executor.mjs +3 -3
- package/dist/src/executors/npm-publish/executor.js +4 -4
- package/dist/src/executors/npm-publish/executor.mjs +3 -3
- package/dist/src/generators/browser-library/generator.js +2 -2
- package/dist/src/generators/browser-library/generator.mjs +2 -2
- package/dist/src/generators/neutral-library/generator.js +2 -2
- package/dist/src/generators/neutral-library/generator.mjs +2 -2
- package/dist/src/generators/node-library/generator.js +4 -4
- package/dist/src/generators/node-library/generator.mjs +3 -3
- package/dist/src/generators/preset/generator.js +4 -4
- package/dist/src/generators/preset/generator.mjs +3 -3
- package/dist/src/plugins/rust/cargo-toml.js +1 -1
- package/dist/src/plugins/rust/cargo-toml.mjs +1 -1
- package/dist/src/plugins/rust/index.js +1 -1
- package/dist/src/plugins/rust/index.mjs +1 -1
- package/dist/src/utils/index.js +8 -8
- package/dist/src/utils/index.mjs +23 -23
- package/dist/src/utils/package-helpers.js +3 -3
- package/dist/src/utils/package-helpers.mjs +2 -2
- package/package.json +12 -12
- package/dist/chunk-2D2626GQ.js +0 -128
- package/dist/chunk-5T4QN26P.js +0 -93
- package/dist/chunk-62U3K4QL.js +0 -31
- package/dist/chunk-6DTG46OS.mjs +0 -128
- package/dist/chunk-7YO4PMLG.mjs +0 -32
- package/dist/chunk-BKTSNX4U.js +0 -41
- package/dist/chunk-BZB6C7OW.mjs +0 -31
- package/dist/chunk-CW6ERHR6.js +0 -79
- package/dist/chunk-DPKPIVRB.mjs +0 -93
- package/dist/chunk-K4DWEHZO.js +0 -262
- package/dist/chunk-MBQOVLFH.js +0 -32
- package/dist/chunk-NP4JJVGY.js +0 -32
- package/dist/chunk-P42HBYJL.js +0 -32
- package/dist/chunk-TYLGU2FW.mjs +0 -41
- package/dist/chunk-UUWXIOS5.mjs +0 -32
- package/dist/chunk-WAXMGLST.mjs +0 -32
- package/dist/chunk-WSB4F36F.mjs +0 -82
- package/dist/chunk-Z2ZHQ4GR.mjs +0 -265
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generator_default,
|
|
3
3
|
nodeLibraryGeneratorFn
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-YJ6NNN24.mjs";
|
|
5
5
|
import "../../../chunk-XSHN3XHD.mjs";
|
|
6
|
-
import "../../../chunk-3G7TXYW2.mjs";
|
|
7
6
|
import "../../../chunk-DEHA5C77.mjs";
|
|
8
|
-
import "../../../chunk-6YP444OR.mjs";
|
|
9
7
|
import "../../../chunk-2GQSCZ3J.mjs";
|
|
8
|
+
import "../../../chunk-3G7TXYW2.mjs";
|
|
9
|
+
import "../../../chunk-6YP444OR.mjs";
|
|
10
10
|
import "../../../chunk-I4KVL3GR.mjs";
|
|
11
11
|
import "../../../chunk-45CW7OJB.mjs";
|
|
12
12
|
import "../../../chunk-JUJWJXED.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../../chunk-IZLEVS44.js');
|
|
6
|
-
require('../../../chunk-3G7PNDZ5.js');
|
|
4
|
+
var _chunkRJ6FZTSIjs = require('../../../chunk-RJ6FZTSI.js');
|
|
7
5
|
require('../../../chunk-HN5UXNLM.js');
|
|
6
|
+
require('../../../chunk-3G7PNDZ5.js');
|
|
7
|
+
require('../../../chunk-IZLEVS44.js');
|
|
8
8
|
require('../../../chunk-3PMAVAFI.js');
|
|
9
9
|
require('../../../chunk-IMY2BU43.js');
|
|
10
10
|
require('../../../chunk-CLKU7UMG.js');
|
|
@@ -13,4 +13,4 @@ require('../../../chunk-CQDBLKPF.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
exports.default =
|
|
16
|
+
exports.default = _chunkRJ6FZTSIjs.generator_default; exports.presetGeneratorFn = _chunkRJ6FZTSIjs.presetGeneratorFn;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generator_default,
|
|
3
3
|
presetGeneratorFn
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-3G7TXYW2.mjs";
|
|
6
|
-
import "../../../chunk-DEHA5C77.mjs";
|
|
4
|
+
} from "../../../chunk-GESAJF7P.mjs";
|
|
7
5
|
import "../../../chunk-VQYZG5YE.mjs";
|
|
6
|
+
import "../../../chunk-DEHA5C77.mjs";
|
|
7
|
+
import "../../../chunk-3G7TXYW2.mjs";
|
|
8
8
|
import "../../../chunk-6YP444OR.mjs";
|
|
9
9
|
import "../../../chunk-I4KVL3GR.mjs";
|
|
10
10
|
import "../../../chunk-45CW7OJB.mjs";
|
|
@@ -8,8 +8,8 @@ var _chunk2CUG3SS2js = require('../../../chunk-2CUG3SS2.js');
|
|
|
8
8
|
require('../../../chunk-BAPFD3TO.js');
|
|
9
9
|
require('../../../chunk-3MXZ2RJF.js');
|
|
10
10
|
require('../../../chunk-HYK7OVZ3.js');
|
|
11
|
-
require('../../../chunk-TAP26ZJQ.js');
|
|
12
11
|
require('../../../chunk-N2365RCI.js');
|
|
12
|
+
require('../../../chunk-TAP26ZJQ.js');
|
|
13
13
|
require('../../../chunk-IMY2BU43.js');
|
|
14
14
|
require('../../../chunk-CLKU7UMG.js');
|
|
15
15
|
require('../../../chunk-GUI4USIO.js');
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
import "../../../chunk-K4QMCCQB.mjs";
|
|
9
9
|
import "../../../chunk-EXRSULNO.mjs";
|
|
10
10
|
import "../../../chunk-C3G4MZGP.mjs";
|
|
11
|
-
import "../../../chunk-2GQSCZ3J.mjs";
|
|
12
11
|
import "../../../chunk-UA33NH5O.mjs";
|
|
12
|
+
import "../../../chunk-2GQSCZ3J.mjs";
|
|
13
13
|
import "../../../chunk-I4KVL3GR.mjs";
|
|
14
14
|
import "../../../chunk-45CW7OJB.mjs";
|
|
15
15
|
import "../../../chunk-JUJWJXED.mjs";
|
|
@@ -8,8 +8,8 @@ var _chunk2CUG3SS2js = require('../../../chunk-2CUG3SS2.js');
|
|
|
8
8
|
require('../../../chunk-BAPFD3TO.js');
|
|
9
9
|
require('../../../chunk-3MXZ2RJF.js');
|
|
10
10
|
require('../../../chunk-HYK7OVZ3.js');
|
|
11
|
-
require('../../../chunk-TAP26ZJQ.js');
|
|
12
11
|
require('../../../chunk-N2365RCI.js');
|
|
12
|
+
require('../../../chunk-TAP26ZJQ.js');
|
|
13
13
|
require('../../../chunk-IMY2BU43.js');
|
|
14
14
|
require('../../../chunk-CLKU7UMG.js');
|
|
15
15
|
require('../../../chunk-GUI4USIO.js');
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
import "../../../chunk-K4QMCCQB.mjs";
|
|
9
9
|
import "../../../chunk-EXRSULNO.mjs";
|
|
10
10
|
import "../../../chunk-C3G4MZGP.mjs";
|
|
11
|
-
import "../../../chunk-2GQSCZ3J.mjs";
|
|
12
11
|
import "../../../chunk-UA33NH5O.mjs";
|
|
12
|
+
import "../../../chunk-2GQSCZ3J.mjs";
|
|
13
13
|
import "../../../chunk-I4KVL3GR.mjs";
|
|
14
14
|
import "../../../chunk-45CW7OJB.mjs";
|
|
15
15
|
import "../../../chunk-JUJWJXED.mjs";
|
package/dist/src/utils/index.js
CHANGED
|
@@ -23,6 +23,9 @@ var _chunkUAK3EVR2js = require('../../chunk-UAK3EVR2.js');
|
|
|
23
23
|
var _chunk5KAJDSTQjs = require('../../chunk-5KAJDSTQ.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
+
var _chunkDIIMX7QFjs = require('../../chunk-DIIMX7QF.js');
|
|
27
|
+
|
|
28
|
+
|
|
26
29
|
|
|
27
30
|
|
|
28
31
|
var _chunk3MXZ2RJFjs = require('../../chunk-3MXZ2RJF.js');
|
|
@@ -44,7 +47,8 @@ var _chunkMKJITWLNjs = require('../../chunk-MKJITWLN.js');
|
|
|
44
47
|
|
|
45
48
|
|
|
46
49
|
|
|
47
|
-
var
|
|
50
|
+
var _chunk46OIJVV3js = require('../../chunk-46OIJVV3.js');
|
|
51
|
+
require('../../chunk-N2365RCI.js');
|
|
48
52
|
|
|
49
53
|
|
|
50
54
|
|
|
@@ -62,13 +66,13 @@ var _chunk5T4QN26Pjs = require('../../chunk-5T4QN26P.js');
|
|
|
62
66
|
|
|
63
67
|
|
|
64
68
|
|
|
69
|
+
var _chunkHN5UXNLMjs = require('../../chunk-HN5UXNLM.js');
|
|
65
70
|
|
|
66
71
|
|
|
67
72
|
|
|
68
73
|
|
|
69
74
|
|
|
70
75
|
|
|
71
|
-
var _chunk3G7PNDZ5js = require('../../chunk-3G7PNDZ5.js');
|
|
72
76
|
|
|
73
77
|
|
|
74
78
|
|
|
@@ -86,7 +90,7 @@ var _chunk3G7PNDZ5js = require('../../chunk-3G7PNDZ5.js');
|
|
|
86
90
|
|
|
87
91
|
|
|
88
92
|
|
|
89
|
-
var
|
|
93
|
+
var _chunk3G7PNDZ5js = require('../../chunk-3G7PNDZ5.js');
|
|
90
94
|
|
|
91
95
|
|
|
92
96
|
|
|
@@ -97,12 +101,8 @@ var _chunkHN5UXNLMjs = require('../../chunk-HN5UXNLM.js');
|
|
|
97
101
|
|
|
98
102
|
|
|
99
103
|
var _chunkTAP26ZJQjs = require('../../chunk-TAP26ZJQ.js');
|
|
100
|
-
require('../../chunk-N2365RCI.js');
|
|
101
104
|
require('../../chunk-IMY2BU43.js');
|
|
102
105
|
require('../../chunk-CLKU7UMG.js');
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
var _chunkDIIMX7QFjs = require('../../chunk-DIIMX7QF.js');
|
|
106
106
|
require('../../chunk-GUI4USIO.js');
|
|
107
107
|
require('../../chunk-CQDBLKPF.js');
|
|
108
108
|
|
|
@@ -181,4 +181,4 @@ require('../../chunk-CQDBLKPF.js');
|
|
|
181
181
|
|
|
182
182
|
|
|
183
183
|
|
|
184
|
-
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 =
|
|
184
|
+
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 = _chunk46OIJVV3js.PackageManagerTypes; exports.ProjectTagConstants = _chunkTAP26ZJQjs.ProjectTagConstants; exports.RELEASE = _chunk5KAJDSTQjs.RELEASE; exports.YARN_LOCK_FILE = _chunkHN5UXNLMjs.YARN_LOCK_FILE; exports.YARN_LOCK_PATH = _chunkHN5UXNLMjs.YARN_LOCK_PATH; exports.addPackageJsonGitHead = _chunk46OIJVV3js.addPackageJsonGitHead; exports.addPluginProjectTag = _chunkTAP26ZJQjs.addPluginProjectTag; exports.addProjectTag = _chunkTAP26ZJQjs.addProjectTag; exports.applyWorkspaceExecutorTokens = _chunkDIIMX7QFjs.applyWorkspaceExecutorTokens; exports.buildCargoCommand = _chunkHYK7OVZ3js.buildCargoCommand; exports.bunVersion = _chunk3G7PNDZ5js.bunVersion; exports.cargoCommand = _chunkHYK7OVZ3js.cargoCommand; exports.cargoCommandSync = _chunkHYK7OVZ3js.cargoCommandSync; exports.cargoMetadata = _chunkHYK7OVZ3js.cargoMetadata; exports.cargoRunCommand = _chunkHYK7OVZ3js.cargoRunCommand; exports.childProcess = _chunkHYK7OVZ3js.childProcess; exports.createCliOptions = _chunkQVYCDINGjs.createCliOptions; exports.eslintVersion = _chunk3G7PNDZ5js.eslintVersion; exports.formatProjectTag = _chunkTAP26ZJQjs.formatProjectTag; exports.getGitHubTools = _chunkMKJITWLNjs.getGitHubTools; exports.getInstallCommand = _chunk3MXZ2RJFjs.getInstallCommand; exports.getLockFileDependencies = _chunkHN5UXNLMjs.getLockFileDependencies; exports.getLockFileName = _chunkHN5UXNLMjs.getLockFileName; exports.getLockFileNodes = _chunkHN5UXNLMjs.getLockFileNodes; exports.getOtherLockFileNames = _chunkHN5UXNLMjs.getOtherLockFileNames; exports.getPackageInfo = _chunk46OIJVV3js.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.getRoot = _chunkBAPFD3TOjs.getRoot; exports.getTypiaTransform = _chunk6EMYX25Vjs.getTypiaTransform; exports.getWorkspacePackageManager = _chunk3MXZ2RJFjs.getWorkspacePackageManager; exports.getWorkspacePackageManagerCommand = _chunk3MXZ2RJFjs.getWorkspacePackageManagerCommand; exports.hasProjectTag = _chunkTAP26ZJQjs.hasProjectTag; exports.isEqualProjectTag = _chunkTAP26ZJQjs.isEqualProjectTag; exports.isExternal = _chunkHYK7OVZ3js.isExternal; exports.lintStagedVersion = _chunk3G7PNDZ5js.lintStagedVersion; exports.lockFileExists = _chunkHN5UXNLMjs.lockFileExists; exports.nodeVersion = _chunk3G7PNDZ5js.nodeVersion; exports.npmVersion = _chunk3G7PNDZ5js.npmVersion; exports.nxVersion = _chunk3G7PNDZ5js.nxVersion; exports.packageManagerVersions = _chunk3G7PNDZ5js.packageManagerVersions; exports.pnpmVersion = _chunk3G7PNDZ5js.pnpmVersion; 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.swcCliVersion = _chunk3G7PNDZ5js.swcCliVersion; exports.swcCoreVersion = _chunk3G7PNDZ5js.swcCoreVersion; exports.swcHelpersVersion = _chunk3G7PNDZ5js.swcHelpersVersion; exports.swcNodeVersion = _chunk3G7PNDZ5js.swcNodeVersion; exports.tsLibVersion = _chunk3G7PNDZ5js.tsLibVersion; exports.tsupVersion = _chunk3G7PNDZ5js.tsupVersion; exports.typesNodeVersion = _chunk3G7PNDZ5js.typesNodeVersion; exports.typescriptVersion = _chunk3G7PNDZ5js.typescriptVersion; exports.verdaccioVersion = _chunk3G7PNDZ5js.verdaccioVersion; exports.withNamedInputs = _chunk5KAJDSTQjs.withNamedInputs; exports.yarnVersion = _chunk3G7PNDZ5js.yarnVersion;
|
package/dist/src/utils/index.mjs
CHANGED
|
@@ -21,6 +21,9 @@ import {
|
|
|
21
21
|
RELEASE,
|
|
22
22
|
withNamedInputs
|
|
23
23
|
} from "../../chunk-KMTNXFZA.mjs";
|
|
24
|
+
import {
|
|
25
|
+
applyWorkspaceExecutorTokens
|
|
26
|
+
} from "../../chunk-EDROFLKN.mjs";
|
|
24
27
|
import {
|
|
25
28
|
getInstallCommand,
|
|
26
29
|
getWorkspacePackageManager,
|
|
@@ -44,7 +47,26 @@ import {
|
|
|
44
47
|
PackageManagerTypes,
|
|
45
48
|
addPackageJsonGitHead,
|
|
46
49
|
getPackageInfo
|
|
47
|
-
} from "../../chunk-
|
|
50
|
+
} from "../../chunk-IDSDBOWW.mjs";
|
|
51
|
+
import "../../chunk-UA33NH5O.mjs";
|
|
52
|
+
import {
|
|
53
|
+
BUN_LOCK_FILE,
|
|
54
|
+
BUN_LOCK_PATH,
|
|
55
|
+
LOCK_FILES,
|
|
56
|
+
LOCK_FILE_BY_PACKAGE_MANAGER,
|
|
57
|
+
NPM_LOCK_FILE,
|
|
58
|
+
NPM_LOCK_PATH,
|
|
59
|
+
OTHER_LOCK_FILES,
|
|
60
|
+
PNPM_LOCK_FILE,
|
|
61
|
+
PNPM_LOCK_PATH,
|
|
62
|
+
YARN_LOCK_FILE,
|
|
63
|
+
YARN_LOCK_PATH,
|
|
64
|
+
getLockFileDependencies,
|
|
65
|
+
getLockFileName,
|
|
66
|
+
getLockFileNodes,
|
|
67
|
+
getOtherLockFileNames,
|
|
68
|
+
lockFileExists
|
|
69
|
+
} from "../../chunk-VQYZG5YE.mjs";
|
|
48
70
|
import {
|
|
49
71
|
bunVersion,
|
|
50
72
|
eslintVersion,
|
|
@@ -69,24 +91,6 @@ import {
|
|
|
69
91
|
verdaccioVersion,
|
|
70
92
|
yarnVersion
|
|
71
93
|
} from "../../chunk-DEHA5C77.mjs";
|
|
72
|
-
import {
|
|
73
|
-
BUN_LOCK_FILE,
|
|
74
|
-
BUN_LOCK_PATH,
|
|
75
|
-
LOCK_FILES,
|
|
76
|
-
LOCK_FILE_BY_PACKAGE_MANAGER,
|
|
77
|
-
NPM_LOCK_FILE,
|
|
78
|
-
NPM_LOCK_PATH,
|
|
79
|
-
OTHER_LOCK_FILES,
|
|
80
|
-
PNPM_LOCK_FILE,
|
|
81
|
-
PNPM_LOCK_PATH,
|
|
82
|
-
YARN_LOCK_FILE,
|
|
83
|
-
YARN_LOCK_PATH,
|
|
84
|
-
getLockFileDependencies,
|
|
85
|
-
getLockFileName,
|
|
86
|
-
getLockFileNodes,
|
|
87
|
-
getOtherLockFileNames,
|
|
88
|
-
lockFileExists
|
|
89
|
-
} from "../../chunk-VQYZG5YE.mjs";
|
|
90
94
|
import {
|
|
91
95
|
ProjectTagConstants,
|
|
92
96
|
addPluginProjectTag,
|
|
@@ -97,12 +101,8 @@ import {
|
|
|
97
101
|
isEqualProjectTag,
|
|
98
102
|
setDefaultProjectTags
|
|
99
103
|
} from "../../chunk-2GQSCZ3J.mjs";
|
|
100
|
-
import "../../chunk-UA33NH5O.mjs";
|
|
101
104
|
import "../../chunk-I4KVL3GR.mjs";
|
|
102
105
|
import "../../chunk-45CW7OJB.mjs";
|
|
103
|
-
import {
|
|
104
|
-
applyWorkspaceExecutorTokens
|
|
105
|
-
} from "../../chunk-EDROFLKN.mjs";
|
|
106
106
|
import "../../chunk-JUJWJXED.mjs";
|
|
107
107
|
import "../../chunk-TBW5MCN6.mjs";
|
|
108
108
|
import "../../chunk-77J7VIDG.mjs";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../chunk-TAP26ZJQ.js');
|
|
5
|
+
var _chunk46OIJVV3js = require('../../chunk-46OIJVV3.js');
|
|
7
6
|
require('../../chunk-N2365RCI.js');
|
|
7
|
+
require('../../chunk-TAP26ZJQ.js');
|
|
8
8
|
require('../../chunk-CLKU7UMG.js');
|
|
9
9
|
require('../../chunk-CQDBLKPF.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.PackageManagerTypes =
|
|
14
|
+
exports.PackageManagerTypes = _chunk46OIJVV3js.PackageManagerTypes; exports.addPackageJsonGitHead = _chunk46OIJVV3js.addPackageJsonGitHead; exports.getPackageInfo = _chunk46OIJVV3js.getPackageInfo;
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
PackageManagerTypes,
|
|
3
3
|
addPackageJsonGitHead,
|
|
4
4
|
getPackageInfo
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-2GQSCZ3J.mjs";
|
|
5
|
+
} from "../../chunk-IDSDBOWW.mjs";
|
|
7
6
|
import "../../chunk-UA33NH5O.mjs";
|
|
7
|
+
import "../../chunk-2GQSCZ3J.mjs";
|
|
8
8
|
import "../../chunk-45CW7OJB.mjs";
|
|
9
9
|
import "../../chunk-TBW5MCN6.mjs";
|
|
10
10
|
import "../../chunk-77J7VIDG.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/workspace-tools",
|
|
3
|
-
"version": "1.296.
|
|
3
|
+
"version": "1.296.106",
|
|
4
4
|
"description": "Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"monorepo",
|
|
@@ -238,11 +238,11 @@
|
|
|
238
238
|
"@size-limit/esbuild": "^11.2.0",
|
|
239
239
|
"@size-limit/esbuild-why": "^11.2.0",
|
|
240
240
|
"@size-limit/file": "^11.2.0",
|
|
241
|
-
"@storm-software/config": "^1.138.
|
|
242
|
-
"@storm-software/config-tools": "^1.190.
|
|
243
|
-
"@storm-software/npm-tools": "^0.6.
|
|
244
|
-
"@storm-software/prettier": "^0.59.
|
|
245
|
-
"@storm-software/tsdown": "^0.45.
|
|
241
|
+
"@storm-software/config": "^1.138.62",
|
|
242
|
+
"@storm-software/config-tools": "^1.190.125",
|
|
243
|
+
"@storm-software/npm-tools": "^0.6.243",
|
|
244
|
+
"@storm-software/prettier": "^0.59.178",
|
|
245
|
+
"@storm-software/tsdown": "^0.45.286",
|
|
246
246
|
"defu": "^6.1.7",
|
|
247
247
|
"esbuild": "^0.25.12",
|
|
248
248
|
"fs-extra": "^11.4.0",
|
|
@@ -261,11 +261,11 @@
|
|
|
261
261
|
},
|
|
262
262
|
"devDependencies": {
|
|
263
263
|
"@napi-rs/cli": "^3.8.2",
|
|
264
|
-
"@storm-software/bun-tools": "^0.0.
|
|
265
|
-
"@storm-software/esbuild": "^0.53.
|
|
266
|
-
"@storm-software/package-constants": "^0.1.
|
|
267
|
-
"@storm-software/pnpm-tools": "^0.7.
|
|
268
|
-
"@storm-software/unbuild": "^0.57.
|
|
264
|
+
"@storm-software/bun-tools": "^0.0.35",
|
|
265
|
+
"@storm-software/esbuild": "^0.53.286",
|
|
266
|
+
"@storm-software/package-constants": "^0.1.138",
|
|
267
|
+
"@storm-software/pnpm-tools": "^0.7.136",
|
|
268
|
+
"@storm-software/unbuild": "^0.57.286",
|
|
269
269
|
"@types/micromatch": "^4.0.10",
|
|
270
270
|
"@types/node": "^25.9.5",
|
|
271
271
|
"@types/semver": "^7.8.0",
|
|
@@ -294,5 +294,5 @@
|
|
|
294
294
|
"publishConfig": { "access": "public" },
|
|
295
295
|
"executors": "./executors.json",
|
|
296
296
|
"generators": "./generators.json",
|
|
297
|
-
"gitHead": "
|
|
297
|
+
"gitHead": "eff7293196b0e8829eccb25c5ac924c979588ef2"
|
|
298
298
|
}
|
package/dist/chunk-2D2626GQ.js
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
|
-
|
|
3
|
-
var _chunk2VQ55YPWjs = require('./chunk-2VQ55YPW.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkHYK7OVZ3js = require('./chunk-HYK7OVZ3.js');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var _chunkCLKU7UMGjs = require('./chunk-CLKU7UMG.js');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
16
|
-
|
|
17
|
-
// src/executors/napi/executor.ts
|
|
18
|
-
var _jiti = require('jiti');
|
|
19
|
-
var _fileutils = require('nx/src/utils/fileutils');
|
|
20
|
-
async function napiExecutor(options, context, config) {
|
|
21
|
-
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
22
|
-
fsCache: config.skipCache ? false : _chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
23
|
-
config.workspaceRoot,
|
|
24
|
-
config.directories.cache || "node_modules/.cache/storm",
|
|
25
|
-
"jiti"
|
|
26
|
-
),
|
|
27
|
-
interopDefault: true
|
|
28
|
-
});
|
|
29
|
-
const { NapiCli } = await jiti.import(
|
|
30
|
-
jiti.esmResolve("@napi-rs/cli")
|
|
31
|
-
);
|
|
32
|
-
if (!_optionalChain([context, 'access', _ => _.projectGraph, 'optionalAccess', _2 => _2.nodes, 'access', _3 => _3[_nullishCoalesce(context.projectName, () => ( ""))]])) {
|
|
33
|
-
throw new Error(
|
|
34
|
-
"The Napi Build process failed because the project could not be found in the project graph. Please run this command from a workspace root directory."
|
|
35
|
-
);
|
|
36
|
-
}
|
|
37
|
-
const projectRoot = _optionalChain([context, 'access', _4 => _4.projectGraph, 'optionalAccess', _5 => _5.nodes, 'access', _6 => _6[_nullishCoalesce(context.projectName, () => ( ""))], 'optionalAccess', _7 => _7.data, 'access', _8 => _8.root]);
|
|
38
|
-
const packageJson = _chunkCQDBLKPFjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
39
|
-
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
40
|
-
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
41
|
-
}
|
|
42
|
-
const napi = new NapiCli();
|
|
43
|
-
const normalizedOptions = { ...options };
|
|
44
|
-
const metadata = _chunkHYK7OVZ3js.cargoMetadata.call(void 0, );
|
|
45
|
-
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _9 => _9.target_directory]) || _chunkCQDBLKPFjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
|
|
46
|
-
normalizedOptions.outputDir = options.outputPath;
|
|
47
|
-
normalizedOptions.packageJsonPath ??= packageJson;
|
|
48
|
-
if (options.cwd) {
|
|
49
|
-
normalizedOptions.cwd = _chunkCQDBLKPFjs.correctPaths.call(void 0, options.cwd);
|
|
50
|
-
} else {
|
|
51
|
-
const absoluteProjectRoot = _chunkCQDBLKPFjs.correctPaths.call(void 0,
|
|
52
|
-
_chunkCQDBLKPFjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
|
|
53
|
-
);
|
|
54
|
-
normalizedOptions.cwd = absoluteProjectRoot;
|
|
55
|
-
if (normalizedOptions.outputDir) {
|
|
56
|
-
normalizedOptions.outputDir = _chunkCQDBLKPFjs.relative.call(void 0,
|
|
57
|
-
normalizedOptions.cwd,
|
|
58
|
-
_chunkCQDBLKPFjs.correctPaths.call(void 0,
|
|
59
|
-
_chunkCQDBLKPFjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkCQDBLKPFjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
|
|
60
|
-
)
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
if (normalizedOptions.packageJsonPath) {
|
|
64
|
-
normalizedOptions.packageJsonPath = _chunkCQDBLKPFjs.relative.call(void 0,
|
|
65
|
-
normalizedOptions.cwd,
|
|
66
|
-
_chunkCQDBLKPFjs.correctPaths.call(void 0,
|
|
67
|
-
_chunkCQDBLKPFjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkCQDBLKPFjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
68
|
-
)
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
if (normalizedOptions.configPath) {
|
|
72
|
-
normalizedOptions.configPath = _chunkCQDBLKPFjs.relative.call(void 0,
|
|
73
|
-
normalizedOptions.cwd,
|
|
74
|
-
_chunkCQDBLKPFjs.correctPaths.call(void 0,
|
|
75
|
-
_chunkCQDBLKPFjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkCQDBLKPFjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
|
|
76
|
-
)
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
if (normalizedOptions.manifestPath) {
|
|
80
|
-
normalizedOptions.manifestPath = _chunkCQDBLKPFjs.relative.call(void 0,
|
|
81
|
-
normalizedOptions.cwd,
|
|
82
|
-
_chunkCQDBLKPFjs.correctPaths.call(void 0,
|
|
83
|
-
_chunkCQDBLKPFjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkCQDBLKPFjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
|
|
84
|
-
)
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
if (process.env.VERCEL) {
|
|
89
|
-
return { success: true };
|
|
90
|
-
}
|
|
91
|
-
_chunkCLKU7UMGjs.writeDebug.call(void 0,
|
|
92
|
-
`Normalized Napi Options:
|
|
93
|
-
packageJsonPath: ${normalizedOptions.packageJsonPath}
|
|
94
|
-
outputDir: ${normalizedOptions.outputDir}
|
|
95
|
-
targetDir: ${normalizedOptions.targetDir}
|
|
96
|
-
manifestPath: ${normalizedOptions.manifestPath}
|
|
97
|
-
configPath: ${normalizedOptions.configPath}
|
|
98
|
-
cwd: ${normalizedOptions.cwd}`,
|
|
99
|
-
config
|
|
100
|
-
);
|
|
101
|
-
const { task } = await napi.build(normalizedOptions);
|
|
102
|
-
return { success: true, terminalOutput: await task };
|
|
103
|
-
}
|
|
104
|
-
var executor_default = _chunk2VQ55YPWjs.withRunExecutor.call(void 0,
|
|
105
|
-
"Napi - Build Bindings",
|
|
106
|
-
napiExecutor,
|
|
107
|
-
{
|
|
108
|
-
skipReadingConfig: false,
|
|
109
|
-
hooks: {
|
|
110
|
-
applyDefaultOptions: (options) => {
|
|
111
|
-
options.outputPath ??= "{sourceRoot}";
|
|
112
|
-
options.toolchain ??= "stable";
|
|
113
|
-
options.dtsCache ??= true;
|
|
114
|
-
options.platform ??= true;
|
|
115
|
-
options.constEnum ??= false;
|
|
116
|
-
options.verbose ??= false;
|
|
117
|
-
options.jsBinding ??= "binding.js";
|
|
118
|
-
options.dts ??= "binding.d.ts";
|
|
119
|
-
return options;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
);
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
exports.napiExecutor = napiExecutor; exports.executor_default = executor_default;
|
package/dist/chunk-5T4QN26P.js
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkTAP26ZJQjs = require('./chunk-TAP26ZJQ.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkN2365RCIjs = require('./chunk-N2365RCI.js');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
11
|
-
|
|
12
|
-
// src/utils/package-helpers.ts
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
var _devkit = require('@nx/devkit');
|
|
17
|
-
var _child_process = require('child_process');
|
|
18
|
-
var _fs = require('fs');
|
|
19
|
-
var _promises = require('fs/promises');
|
|
20
|
-
var _path = require('path');
|
|
21
|
-
var _prettier = require('prettier');
|
|
22
|
-
var PackageManagerTypes = {
|
|
23
|
-
PackageJson: "package.json",
|
|
24
|
-
CargoToml: "Cargo.toml"
|
|
25
|
-
};
|
|
26
|
-
var getPackageInfo = (project) => {
|
|
27
|
-
if (_chunkTAP26ZJQjs.isEqualProjectTag.call(void 0,
|
|
28
|
-
project,
|
|
29
|
-
_chunkTAP26ZJQjs.ProjectTagConstants.Language.TAG_ID,
|
|
30
|
-
_chunkTAP26ZJQjs.ProjectTagConstants.Language.RUST
|
|
31
|
-
) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))) {
|
|
32
|
-
return {
|
|
33
|
-
type: "Cargo.toml",
|
|
34
|
-
content: _chunkN2365RCIjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
|
|
35
|
-
};
|
|
36
|
-
} else if (_chunkTAP26ZJQjs.isEqualProjectTag.call(void 0,
|
|
37
|
-
project,
|
|
38
|
-
_chunkTAP26ZJQjs.ProjectTagConstants.Language.TAG_ID,
|
|
39
|
-
_chunkTAP26ZJQjs.ProjectTagConstants.Language.TYPESCRIPT
|
|
40
|
-
) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "package.json"))) {
|
|
41
|
-
return {
|
|
42
|
-
type: "package.json",
|
|
43
|
-
content: _devkit.readJsonFile.call(void 0,
|
|
44
|
-
_devkit.joinPathFragments.call(void 0, project.root, "package.json")
|
|
45
|
-
)
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
return null;
|
|
49
|
-
};
|
|
50
|
-
async function addPackageJsonGitHead(packageRoot) {
|
|
51
|
-
const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, packageRoot, "package.json");
|
|
52
|
-
if (!packageJsonPath) {
|
|
53
|
-
throw new Error(
|
|
54
|
-
"No file path provided. Please provide a valid path to the package.json file."
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
const packageJsonValue = JSON.parse(await _promises.readFile.call(void 0, packageJsonPath, "utf8"));
|
|
58
|
-
if (!packageJsonValue || typeof packageJsonValue !== "object") {
|
|
59
|
-
throw new Error(
|
|
60
|
-
`Invalid package.json file at ${packageJsonPath}. Please ensure it is a valid JSON file.`
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
const gitHead = _child_process.execFileSync.call(void 0, "git", ["rev-parse", "HEAD"], {
|
|
64
|
-
cwd: _path.dirname.call(void 0, _path.resolve.call(void 0, packageJsonPath)),
|
|
65
|
-
encoding: "utf8"
|
|
66
|
-
}).trim();
|
|
67
|
-
packageJsonValue.gitHead = gitHead;
|
|
68
|
-
return _promises.writeFile.call(void 0,
|
|
69
|
-
packageJsonPath,
|
|
70
|
-
await _prettier.format.call(void 0, JSON.stringify(packageJsonValue), {
|
|
71
|
-
parser: "json",
|
|
72
|
-
proseWrap: "preserve",
|
|
73
|
-
trailingComma: "none",
|
|
74
|
-
tabWidth: 2,
|
|
75
|
-
semi: true,
|
|
76
|
-
singleQuote: false,
|
|
77
|
-
quoteProps: "as-needed",
|
|
78
|
-
insertPragma: false,
|
|
79
|
-
bracketSameLine: true,
|
|
80
|
-
printWidth: 80,
|
|
81
|
-
bracketSpacing: true,
|
|
82
|
-
arrowParens: "avoid",
|
|
83
|
-
endOfLine: "lf",
|
|
84
|
-
plugins: ["prettier-plugin-packagejson"]
|
|
85
|
-
})
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
exports.PackageManagerTypes = PackageManagerTypes; exports.getPackageInfo = getPackageInfo; exports.addPackageJsonGitHead = addPackageJsonGitHead;
|
package/dist/chunk-62U3K4QL.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunk2VQ55YPWjs = require('./chunk-2VQ55YPW.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkHYK7OVZ3js = require('./chunk-HYK7OVZ3.js');
|
|
8
|
-
|
|
9
|
-
// src/executors/cargo-check/executor.ts
|
|
10
|
-
async function cargoCheckExecutor(options, context) {
|
|
11
|
-
const command = _chunkHYK7OVZ3js.buildCargoCommand.call(void 0, "check", options, context);
|
|
12
|
-
return await _chunkHYK7OVZ3js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
|
-
}
|
|
14
|
-
var executor_default = _chunk2VQ55YPWjs.withRunExecutor.call(void 0,
|
|
15
|
-
"Cargo - Check",
|
|
16
|
-
cargoCheckExecutor,
|
|
17
|
-
{
|
|
18
|
-
skipReadingConfig: false,
|
|
19
|
-
hooks: {
|
|
20
|
-
applyDefaultOptions: (options) => {
|
|
21
|
-
options.toolchain ??= "stable";
|
|
22
|
-
return options;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
);
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
exports.cargoCheckExecutor = cargoCheckExecutor; exports.executor_default = executor_default;
|