@storm-software/workspace-tools 1.273.3 → 1.273.5
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 +34 -0
- package/README.md +1 -1
- package/config/base.json +0 -27
- package/dist/{chunk-GMG4M2RZ.mjs → chunk-6UFOMB3R.mjs} +3 -7
- package/dist/{chunk-X2L5HFRH.mjs → chunk-AZ5HDBYX.mjs} +0 -9
- package/dist/{chunk-7IYOBX35.js → chunk-OFNVRO2Q.js} +2 -11
- package/dist/{chunk-C6YYTK6Q.js → chunk-TZJGO4US.js} +3 -7
- package/dist/executors.js +4 -4
- package/dist/executors.mjs +6 -6
- package/dist/index.js +4 -4
- package/dist/index.mjs +6 -6
- package/dist/src/plugins/rust/cargo-toml.js +2 -2
- package/dist/src/plugins/rust/cargo-toml.mjs +1 -1
- package/dist/src/plugins/rust/index.js +2 -2
- package/dist/src/plugins/rust/index.mjs +1 -1
- package/dist/src/plugins/typescript/index.js +2 -2
- package/dist/src/plugins/typescript/index.mjs +1 -1
- package/dist/src/plugins/typescript/project-config.js +2 -2
- package/dist/src/plugins/typescript/project-config.mjs +1 -1
- package/dist/src/plugins/typescript/tsup.js +5 -10
- package/dist/src/plugins/typescript/tsup.mjs +4 -9
- package/dist/src/plugins/typescript/untyped-schema.js +6 -11
- package/dist/src/plugins/typescript/untyped-schema.mjs +5 -10
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.273.4](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.273.4) (2025-05-08)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **workspace-tools:** Remove old schema fields from Nx configuration
|
|
10
|
+
|
|
11
|
+
### Miscellaneous
|
|
12
|
+
|
|
13
|
+
- **monorepo:** Update workspace package links
|
|
14
|
+
- **monorepo:** Regenerate README markdown files
|
|
15
|
+
|
|
16
|
+
### Updated Dependencies
|
|
17
|
+
|
|
18
|
+
- Updated prettier to 0.51.4
|
|
19
|
+
- Updated esbuild to 0.41.4
|
|
20
|
+
- Updated esbuild to 0.41.4
|
|
21
|
+
- Updated unbuild to 0.47.4
|
|
22
|
+
- Updated unbuild to 0.47.4
|
|
23
|
+
|
|
24
|
+
## [1.273.3](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.273.3) (2025-05-08)
|
|
25
|
+
|
|
26
|
+
### Miscellaneous
|
|
27
|
+
|
|
28
|
+
- **monorepo:** Update workspace package links
|
|
29
|
+
- **monorepo:** Regenerate README markdown files
|
|
30
|
+
|
|
31
|
+
### Updated Dependencies
|
|
32
|
+
|
|
33
|
+
- Updated prettier to 0.51.3
|
|
34
|
+
- Updated esbuild to 0.41.3
|
|
35
|
+
- Updated esbuild to 0.41.3
|
|
36
|
+
- Updated unbuild to 0.47.3
|
|
37
|
+
- Updated unbuild to 0.47.3
|
|
38
|
+
|
|
5
39
|
## [1.273.2](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.273.2) (2025-05-08)
|
|
6
40
|
|
|
7
41
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/config/base.json
CHANGED
|
@@ -1,32 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://cdn.jsdelivr.net/npm/nx/schemas/nx-schema.json",
|
|
3
3
|
"extends": "nx/presets/npm.json",
|
|
4
|
-
"tasksRunnerOptions": {
|
|
5
|
-
"default": {
|
|
6
|
-
"options": {
|
|
7
|
-
"cacheableOperations": [
|
|
8
|
-
"lint-sherif",
|
|
9
|
-
"lint-knip",
|
|
10
|
-
"lint-docs",
|
|
11
|
-
"lint-ls",
|
|
12
|
-
"lint",
|
|
13
|
-
"format-readme",
|
|
14
|
-
"format-toml",
|
|
15
|
-
"format-prettier",
|
|
16
|
-
"format-sherif",
|
|
17
|
-
"format",
|
|
18
|
-
"clean",
|
|
19
|
-
"build-base",
|
|
20
|
-
"build",
|
|
21
|
-
"test",
|
|
22
|
-
"e2e",
|
|
23
|
-
"docs",
|
|
24
|
-
"nx-release-publish"
|
|
25
|
-
],
|
|
26
|
-
"parallel": 3
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
4
|
"namedInputs": {
|
|
31
5
|
"sharedGlobals": [
|
|
32
6
|
"{workspaceRoot}/.github/**/*",
|
|
@@ -441,7 +415,6 @@
|
|
|
441
415
|
}
|
|
442
416
|
},
|
|
443
417
|
"version": {
|
|
444
|
-
"groupPreVersionCommand": "pnpm build",
|
|
445
418
|
"generator": "@storm-software/workspace-tools:release-version",
|
|
446
419
|
"generatorOptions": {
|
|
447
420
|
"currentVersionResolver": "git-tag",
|
|
@@ -305,7 +305,7 @@ var createNodesV2 = [
|
|
|
305
305
|
break;
|
|
306
306
|
}
|
|
307
307
|
setDefaultProjectTags(project, name);
|
|
308
|
-
|
|
308
|
+
return project?.name ? {
|
|
309
309
|
projects: {
|
|
310
310
|
[project.name]: {
|
|
311
311
|
...project,
|
|
@@ -321,10 +321,6 @@ var createNodesV2 = [
|
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
} : {};
|
|
324
|
-
console.log(
|
|
325
|
-
`[storm-software/typescript]: Inferred Nx configuration for ${project?.name ?? "missing name"}`
|
|
326
|
-
);
|
|
327
|
-
return result;
|
|
328
324
|
} catch (e) {
|
|
329
325
|
console.error(e);
|
|
330
326
|
return {};
|
|
@@ -355,7 +351,7 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
|
355
351
|
}
|
|
356
352
|
return readJsonFile(packageJsonPath);
|
|
357
353
|
} catch (e) {
|
|
358
|
-
console.
|
|
354
|
+
console.warn(e);
|
|
359
355
|
return null;
|
|
360
356
|
}
|
|
361
357
|
}
|
|
@@ -368,7 +364,7 @@ async function createTsconfig(projectJsonPath, workspaceRoot) {
|
|
|
368
364
|
}
|
|
369
365
|
return readTSConfig(tsconfigJsonPath);
|
|
370
366
|
} catch (e) {
|
|
371
|
-
console.
|
|
367
|
+
console.warn(e);
|
|
372
368
|
return null;
|
|
373
369
|
}
|
|
374
370
|
}
|
|
@@ -33,9 +33,6 @@ var createNodesV2 = [
|
|
|
33
33
|
return await createNodesFromFiles(
|
|
34
34
|
(configFile, options2, context2) => {
|
|
35
35
|
try {
|
|
36
|
-
console.log(
|
|
37
|
-
`[storm-software/rust]: Processing Cargo.toml file: ${configFile}`
|
|
38
|
-
);
|
|
39
36
|
const profiles = options2?.profiles ?? {};
|
|
40
37
|
const includeApps = options2?.includeApps ?? true;
|
|
41
38
|
const toolchain = options2?.toolchain;
|
|
@@ -294,9 +291,6 @@ var createNodesV2 = [
|
|
|
294
291
|
}
|
|
295
292
|
}
|
|
296
293
|
};
|
|
297
|
-
console.log(
|
|
298
|
-
`[storm-software/rust]: Inferred Nx configuration for ${project?.name ?? "missing name"}`
|
|
299
|
-
);
|
|
300
294
|
}
|
|
301
295
|
for (const dep of cargoPackage.dependencies) {
|
|
302
296
|
if (isExternal(dep, context2.workspaceRoot)) {
|
|
@@ -361,9 +355,6 @@ var createDependencies = (_, context) => {
|
|
|
361
355
|
}
|
|
362
356
|
}
|
|
363
357
|
}
|
|
364
|
-
console.log(
|
|
365
|
-
`[storm-software/rust]: Total workspace Cargo dependencies found: ${dependencies.length}`
|
|
366
|
-
);
|
|
367
358
|
return dependencies;
|
|
368
359
|
};
|
|
369
360
|
function createDependency(pkg, depName, type) {
|
|
@@ -33,9 +33,6 @@ var createNodesV2 = [
|
|
|
33
33
|
return await _devkit.createNodesFromFiles.call(void 0,
|
|
34
34
|
(configFile, options2, context2) => {
|
|
35
35
|
try {
|
|
36
|
-
console.log(
|
|
37
|
-
`[storm-software/rust]: Processing Cargo.toml file: ${configFile}`
|
|
38
|
-
);
|
|
39
36
|
const profiles = _nullishCoalesce(_optionalChain([options2, 'optionalAccess', _2 => _2.profiles]), () => ( {}));
|
|
40
37
|
const includeApps = _nullishCoalesce(_optionalChain([options2, 'optionalAccess', _3 => _3.includeApps]), () => ( true));
|
|
41
38
|
const toolchain = _optionalChain([options2, 'optionalAccess', _4 => _4.toolchain]);
|
|
@@ -294,20 +291,17 @@ var createNodesV2 = [
|
|
|
294
291
|
}
|
|
295
292
|
}
|
|
296
293
|
};
|
|
297
|
-
console.log(
|
|
298
|
-
`[storm-software/rust]: Inferred Nx configuration for ${_nullishCoalesce(_optionalChain([project, 'optionalAccess', _8 => _8.name]), () => ( "missing name"))}`
|
|
299
|
-
);
|
|
300
294
|
}
|
|
301
295
|
for (const dep of cargoPackage.dependencies) {
|
|
302
296
|
if (_chunkLJDV7HFTjs.isExternal.call(void 0, dep, context2.workspaceRoot)) {
|
|
303
297
|
const externalDepName = `cargo:${dep.name}`;
|
|
304
|
-
if (!_optionalChain([externalNodes, 'optionalAccess',
|
|
298
|
+
if (!_optionalChain([externalNodes, 'optionalAccess', _8 => _8[externalDepName]])) {
|
|
305
299
|
externalNodes[externalDepName] = {
|
|
306
300
|
type: "cargo",
|
|
307
301
|
name: externalDepName,
|
|
308
302
|
data: {
|
|
309
303
|
packageName: dep.name,
|
|
310
|
-
version: _nullishCoalesce(_optionalChain([cargoPackageMap, 'access',
|
|
304
|
+
version: _nullishCoalesce(_optionalChain([cargoPackageMap, 'access', _9 => _9.get, 'call', _10 => _10(dep.name), 'optionalAccess', _11 => _11.version]), () => ( "0.0.0"))
|
|
311
305
|
}
|
|
312
306
|
};
|
|
313
307
|
}
|
|
@@ -361,9 +355,6 @@ var createDependencies = (_, context) => {
|
|
|
361
355
|
}
|
|
362
356
|
}
|
|
363
357
|
}
|
|
364
|
-
console.log(
|
|
365
|
-
`[storm-software/rust]: Total workspace Cargo dependencies found: ${dependencies.length}`
|
|
366
|
-
);
|
|
367
358
|
return dependencies;
|
|
368
359
|
};
|
|
369
360
|
function createDependency(pkg, depName, type) {
|
|
@@ -305,7 +305,7 @@ var createNodesV2 = [
|
|
|
305
305
|
break;
|
|
306
306
|
}
|
|
307
307
|
_chunkAX3RSZT7js.setDefaultProjectTags.call(void 0, project, name);
|
|
308
|
-
|
|
308
|
+
return _optionalChain([project, 'optionalAccess', _13 => _13.name]) ? {
|
|
309
309
|
projects: {
|
|
310
310
|
[project.name]: {
|
|
311
311
|
...project,
|
|
@@ -321,10 +321,6 @@ var createNodesV2 = [
|
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
} : {};
|
|
324
|
-
console.log(
|
|
325
|
-
`[storm-software/typescript]: Inferred Nx configuration for ${_nullishCoalesce(_optionalChain([project, 'optionalAccess', _17 => _17.name]), () => ( "missing name"))}`
|
|
326
|
-
);
|
|
327
|
-
return result;
|
|
328
324
|
} catch (e) {
|
|
329
325
|
console.error(e);
|
|
330
326
|
return {};
|
|
@@ -355,7 +351,7 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
|
355
351
|
}
|
|
356
352
|
return _fileutils.readJsonFile.call(void 0, packageJsonPath);
|
|
357
353
|
} catch (e) {
|
|
358
|
-
console.
|
|
354
|
+
console.warn(e);
|
|
359
355
|
return null;
|
|
360
356
|
}
|
|
361
357
|
}
|
|
@@ -368,7 +364,7 @@ async function createTsconfig(projectJsonPath, workspaceRoot) {
|
|
|
368
364
|
}
|
|
369
365
|
return _pkgtypes.readTSConfig.call(void 0, tsconfigJsonPath);
|
|
370
366
|
} catch (e) {
|
|
371
|
-
console.
|
|
367
|
+
console.warn(e);
|
|
372
368
|
return null;
|
|
373
369
|
}
|
|
374
370
|
}
|
package/dist/executors.js
CHANGED
|
@@ -13,10 +13,10 @@ var _chunkDYDIVZRWjs = require('./chunk-DYDIVZRW.js');
|
|
|
13
13
|
var _chunkMSCI7LQ2js = require('./chunk-MSCI7LQ2.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk3G3HNZ22js = require('./chunk-3G3HNZ22.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkTSP73RLPjs = require('./chunk-TSP73RLP.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
var _chunk3QD2U6SSjs = require('./chunk-3QD2U6SS.js');
|
|
@@ -28,10 +28,10 @@ var _chunkON5324R7js = require('./chunk-ON5324R7.js');
|
|
|
28
28
|
var _chunkM75P2EGZjs = require('./chunk-M75P2EGZ.js');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkBNV64O5Ljs = require('./chunk-BNV64O5L.js');
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkKF6AKLGEjs = require('./chunk-KF6AKLGE.js');
|
|
35
35
|
require('./chunk-F6X43VUX.js');
|
|
36
36
|
require('./chunk-LJDV7HFT.js');
|
|
37
37
|
require('./chunk-EDMNYJEB.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
unbuildExecutorFn
|
|
13
13
|
} from "./chunk-Y5UH66KY.mjs";
|
|
14
|
+
import {
|
|
15
|
+
cargoFormatExecutor
|
|
16
|
+
} from "./chunk-AAQQSGPY.mjs";
|
|
14
17
|
import {
|
|
15
18
|
getRegistryVersion
|
|
16
19
|
} from "./chunk-5MOK3MSQ.mjs";
|
|
17
|
-
import {
|
|
18
|
-
cargoClippyExecutor
|
|
19
|
-
} from "./chunk-W2RLHQ24.mjs";
|
|
20
20
|
import {
|
|
21
21
|
esbuildExecutorFn
|
|
22
22
|
} from "./chunk-JISERTNY.mjs";
|
|
@@ -26,12 +26,12 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
cargoCheckExecutor
|
|
28
28
|
} from "./chunk-M6IYTP2T.mjs";
|
|
29
|
+
import {
|
|
30
|
+
cargoClippyExecutor
|
|
31
|
+
} from "./chunk-W2RLHQ24.mjs";
|
|
29
32
|
import {
|
|
30
33
|
cargoDocExecutor
|
|
31
34
|
} from "./chunk-AW3I76E2.mjs";
|
|
32
|
-
import {
|
|
33
|
-
cargoFormatExecutor
|
|
34
|
-
} from "./chunk-AAQQSGPY.mjs";
|
|
35
35
|
import "./chunk-KHT5W6AJ.mjs";
|
|
36
36
|
import "./chunk-6LP3KKXE.mjs";
|
|
37
37
|
import "./chunk-R2WP5YDO.mjs";
|
package/dist/index.js
CHANGED
|
@@ -60,10 +60,10 @@ var _chunkDYDIVZRWjs = require('./chunk-DYDIVZRW.js');
|
|
|
60
60
|
var _chunkMSCI7LQ2js = require('./chunk-MSCI7LQ2.js');
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
var
|
|
63
|
+
var _chunk3G3HNZ22js = require('./chunk-3G3HNZ22.js');
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
var
|
|
66
|
+
var _chunkTSP73RLPjs = require('./chunk-TSP73RLP.js');
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
var _chunk3QD2U6SSjs = require('./chunk-3QD2U6SS.js');
|
|
@@ -75,10 +75,10 @@ var _chunkON5324R7js = require('./chunk-ON5324R7.js');
|
|
|
75
75
|
var _chunkM75P2EGZjs = require('./chunk-M75P2EGZ.js');
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
var
|
|
78
|
+
var _chunkBNV64O5Ljs = require('./chunk-BNV64O5L.js');
|
|
79
79
|
|
|
80
80
|
|
|
81
|
-
var
|
|
81
|
+
var _chunkKF6AKLGEjs = require('./chunk-KF6AKLGE.js');
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
var _chunkF6X43VUXjs = require('./chunk-F6X43VUX.js');
|
package/dist/index.mjs
CHANGED
|
@@ -58,12 +58,12 @@ import {
|
|
|
58
58
|
import {
|
|
59
59
|
unbuildExecutorFn
|
|
60
60
|
} from "./chunk-Y5UH66KY.mjs";
|
|
61
|
+
import {
|
|
62
|
+
cargoFormatExecutor
|
|
63
|
+
} from "./chunk-AAQQSGPY.mjs";
|
|
61
64
|
import {
|
|
62
65
|
getRegistryVersion
|
|
63
66
|
} from "./chunk-5MOK3MSQ.mjs";
|
|
64
|
-
import {
|
|
65
|
-
cargoClippyExecutor
|
|
66
|
-
} from "./chunk-W2RLHQ24.mjs";
|
|
67
67
|
import {
|
|
68
68
|
esbuildExecutorFn
|
|
69
69
|
} from "./chunk-JISERTNY.mjs";
|
|
@@ -73,12 +73,12 @@ import {
|
|
|
73
73
|
import {
|
|
74
74
|
cargoCheckExecutor
|
|
75
75
|
} from "./chunk-M6IYTP2T.mjs";
|
|
76
|
+
import {
|
|
77
|
+
cargoClippyExecutor
|
|
78
|
+
} from "./chunk-W2RLHQ24.mjs";
|
|
76
79
|
import {
|
|
77
80
|
cargoDocExecutor
|
|
78
81
|
} from "./chunk-AW3I76E2.mjs";
|
|
79
|
-
import {
|
|
80
|
-
cargoFormatExecutor
|
|
81
|
-
} from "./chunk-AAQQSGPY.mjs";
|
|
82
82
|
import {
|
|
83
83
|
pnpmUpdate
|
|
84
84
|
} from "./chunk-KHT5W6AJ.mjs";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkOFNVRO2Qjs = require('../../../chunk-OFNVRO2Q.js');
|
|
9
9
|
require('../../../chunk-LJDV7HFT.js');
|
|
10
10
|
require('../../../chunk-AX3RSZT7.js');
|
|
11
11
|
require('../../../chunk-3RG5ZIWI.js');
|
|
@@ -16,4 +16,4 @@ require('../../../chunk-3RG5ZIWI.js');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.DEFAULT_ERROR_MESSAGE =
|
|
19
|
+
exports.DEFAULT_ERROR_MESSAGE = _chunkOFNVRO2Qjs.DEFAULT_ERROR_MESSAGE; exports.DefaultCargoPluginProfileMap = _chunkOFNVRO2Qjs.DefaultCargoPluginProfileMap; exports.createDependencies = _chunkOFNVRO2Qjs.createDependencies; exports.createNodesV2 = _chunkOFNVRO2Qjs.createNodesV2; exports.description = _chunkOFNVRO2Qjs.description; exports.name = _chunkOFNVRO2Qjs.name;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkOFNVRO2Qjs = require('../../../chunk-OFNVRO2Q.js');
|
|
9
9
|
require('../../../chunk-LJDV7HFT.js');
|
|
10
10
|
require('../../../chunk-AX3RSZT7.js');
|
|
11
11
|
require('../../../chunk-3RG5ZIWI.js');
|
|
@@ -16,4 +16,4 @@ require('../../../chunk-3RG5ZIWI.js');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.DEFAULT_ERROR_MESSAGE =
|
|
19
|
+
exports.DEFAULT_ERROR_MESSAGE = _chunkOFNVRO2Qjs.DEFAULT_ERROR_MESSAGE; exports.DefaultCargoPluginProfileMap = _chunkOFNVRO2Qjs.DefaultCargoPluginProfileMap; exports.createDependencies = _chunkOFNVRO2Qjs.createDependencies; exports.createNodesV2 = _chunkOFNVRO2Qjs.createNodesV2; exports.description = _chunkOFNVRO2Qjs.description; exports.name = _chunkOFNVRO2Qjs.name;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkTZJGO4USjs = require('../../../chunk-TZJGO4US.js');
|
|
5
5
|
require('../../../chunk-5VY5IBBQ.js');
|
|
6
6
|
require('../../../chunk-AX3RSZT7.js');
|
|
7
7
|
require('../../../chunk-3RG5ZIWI.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.createNodesV2 =
|
|
11
|
+
exports.createNodesV2 = _chunkTZJGO4USjs.createNodesV2; exports.name = _chunkTZJGO4USjs.name;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkTZJGO4USjs = require('../../../chunk-TZJGO4US.js');
|
|
5
5
|
require('../../../chunk-5VY5IBBQ.js');
|
|
6
6
|
require('../../../chunk-AX3RSZT7.js');
|
|
7
7
|
require('../../../chunk-3RG5ZIWI.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.createNodesV2 =
|
|
11
|
+
exports.createNodesV2 = _chunkTZJGO4USjs.createNodesV2; exports.name = _chunkTZJGO4USjs.name;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function
|
|
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
2
|
|
|
3
3
|
var _chunkAX3RSZT7js = require('../../../chunk-AX3RSZT7.js');
|
|
4
4
|
require('../../../chunk-3RG5ZIWI.js');
|
|
@@ -19,27 +19,26 @@ var createNodesV2 = [
|
|
|
19
19
|
return await _devkit.createNodesFromFiles.call(void 0,
|
|
20
20
|
(configFile, options2, context2) => {
|
|
21
21
|
try {
|
|
22
|
-
console.log(`Processing tsup.config.ts file: ${configFile}`);
|
|
23
22
|
const projectRoot = createProjectRoot(
|
|
24
23
|
configFile,
|
|
25
24
|
context2.workspaceRoot
|
|
26
25
|
);
|
|
27
26
|
if (!projectRoot) {
|
|
28
27
|
console.error(
|
|
29
|
-
`tsup.config.ts file must be location in the project root directory: ${configFile}`
|
|
28
|
+
`[storm-software/typescript/tsup]: tsup.config.ts file must be location in the project root directory: ${configFile}`
|
|
30
29
|
);
|
|
31
30
|
return {};
|
|
32
31
|
}
|
|
33
32
|
const packageJson = _devkit.readJsonFile.call(void 0, _path.join.call(void 0, projectRoot, "package.json"));
|
|
34
33
|
if (!packageJson) {
|
|
35
34
|
console.error(
|
|
36
|
-
`No package.json found in project root: ${projectRoot}`
|
|
35
|
+
`[storm-software/typescript/tsup]: No package.json found in project root: ${projectRoot}`
|
|
37
36
|
);
|
|
38
37
|
return {};
|
|
39
38
|
}
|
|
40
39
|
if (!_optionalChain([packageJson, 'access', _ => _.devDependencies, 'optionalAccess', _2 => _2.tsup]) && !_optionalChain([packageJson, 'access', _3 => _3.dependencies, 'optionalAccess', _4 => _4.tsup])) {
|
|
41
40
|
console.warn(
|
|
42
|
-
`No "tsup" dependency or devDependency found in package.json: ${configFile}
|
|
41
|
+
`[storm-software/typescript/tsup]: No "tsup" dependency or devDependency found in package.json: ${configFile}
|
|
43
42
|
Please add it to your dependencies by running "pnpm add tsup -D --filter="${packageJson.name}"`
|
|
44
43
|
);
|
|
45
44
|
}
|
|
@@ -114,7 +113,7 @@ Please add it to your dependencies by running "pnpm add tsup -D --filter="${pack
|
|
|
114
113
|
}
|
|
115
114
|
};
|
|
116
115
|
_chunkAX3RSZT7js.setDefaultProjectTags.call(void 0, project, name);
|
|
117
|
-
|
|
116
|
+
return _optionalChain([project, 'optionalAccess', _5 => _5.name]) ? {
|
|
118
117
|
projects: {
|
|
119
118
|
[project.name]: {
|
|
120
119
|
...project,
|
|
@@ -123,10 +122,6 @@ Please add it to your dependencies by running "pnpm add tsup -D --filter="${pack
|
|
|
123
122
|
}
|
|
124
123
|
}
|
|
125
124
|
} : {};
|
|
126
|
-
console.log(
|
|
127
|
-
`[storm-software/typescript/tsup]: Inferred Nx configuration for ${_nullishCoalesce(_optionalChain([project, 'optionalAccess', _6 => _6.name]), () => ( "missing name"))}`
|
|
128
|
-
);
|
|
129
|
-
return result;
|
|
130
125
|
} catch (e) {
|
|
131
126
|
console.error(e);
|
|
132
127
|
return {};
|
|
@@ -19,27 +19,26 @@ var createNodesV2 = [
|
|
|
19
19
|
return await createNodesFromFiles(
|
|
20
20
|
(configFile, options2, context2) => {
|
|
21
21
|
try {
|
|
22
|
-
console.log(`Processing tsup.config.ts file: ${configFile}`);
|
|
23
22
|
const projectRoot = createProjectRoot(
|
|
24
23
|
configFile,
|
|
25
24
|
context2.workspaceRoot
|
|
26
25
|
);
|
|
27
26
|
if (!projectRoot) {
|
|
28
27
|
console.error(
|
|
29
|
-
`tsup.config.ts file must be location in the project root directory: ${configFile}`
|
|
28
|
+
`[storm-software/typescript/tsup]: tsup.config.ts file must be location in the project root directory: ${configFile}`
|
|
30
29
|
);
|
|
31
30
|
return {};
|
|
32
31
|
}
|
|
33
32
|
const packageJson = readJsonFile(join(projectRoot, "package.json"));
|
|
34
33
|
if (!packageJson) {
|
|
35
34
|
console.error(
|
|
36
|
-
`No package.json found in project root: ${projectRoot}`
|
|
35
|
+
`[storm-software/typescript/tsup]: No package.json found in project root: ${projectRoot}`
|
|
37
36
|
);
|
|
38
37
|
return {};
|
|
39
38
|
}
|
|
40
39
|
if (!packageJson.devDependencies?.tsup && !packageJson.dependencies?.tsup) {
|
|
41
40
|
console.warn(
|
|
42
|
-
`No "tsup" dependency or devDependency found in package.json: ${configFile}
|
|
41
|
+
`[storm-software/typescript/tsup]: No "tsup" dependency or devDependency found in package.json: ${configFile}
|
|
43
42
|
Please add it to your dependencies by running "pnpm add tsup -D --filter="${packageJson.name}"`
|
|
44
43
|
);
|
|
45
44
|
}
|
|
@@ -114,7 +113,7 @@ Please add it to your dependencies by running "pnpm add tsup -D --filter="${pack
|
|
|
114
113
|
}
|
|
115
114
|
};
|
|
116
115
|
setDefaultProjectTags(project, name);
|
|
117
|
-
|
|
116
|
+
return project?.name ? {
|
|
118
117
|
projects: {
|
|
119
118
|
[project.name]: {
|
|
120
119
|
...project,
|
|
@@ -123,10 +122,6 @@ Please add it to your dependencies by running "pnpm add tsup -D --filter="${pack
|
|
|
123
122
|
}
|
|
124
123
|
}
|
|
125
124
|
} : {};
|
|
126
|
-
console.log(
|
|
127
|
-
`[storm-software/typescript/tsup]: Inferred Nx configuration for ${project?.name ?? "missing name"}`
|
|
128
|
-
);
|
|
129
|
-
return result;
|
|
130
125
|
} catch (e) {
|
|
131
126
|
console.error(e);
|
|
132
127
|
return {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function
|
|
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
2
|
|
|
3
3
|
|
|
4
4
|
var _chunkAX3RSZT7js = require('../../../chunk-AX3RSZT7.js');
|
|
@@ -22,14 +22,13 @@ var createNodesV2 = [
|
|
|
22
22
|
return await _devkit.createNodesFromFiles.call(void 0,
|
|
23
23
|
(configFile, options2, context2) => {
|
|
24
24
|
try {
|
|
25
|
-
console.log(`Processing untyped schema file: ${configFile}`);
|
|
26
25
|
const projectRoot = createProjectRoot(
|
|
27
26
|
configFile,
|
|
28
27
|
context2.workspaceRoot
|
|
29
28
|
);
|
|
30
29
|
if (!projectRoot) {
|
|
31
30
|
console.error(
|
|
32
|
-
"No project.json found in parent directories of Untyped schema file: ",
|
|
31
|
+
"[storm-software/typescript/untyped]: No project.json found in parent directories of Untyped schema file: ",
|
|
33
32
|
configFile
|
|
34
33
|
);
|
|
35
34
|
return {};
|
|
@@ -37,13 +36,13 @@ var createNodesV2 = [
|
|
|
37
36
|
const packageJson = _devkit.readJsonFile.call(void 0, _path.join.call(void 0, projectRoot, "package.json"));
|
|
38
37
|
if (!packageJson) {
|
|
39
38
|
console.error(
|
|
40
|
-
`No package.json found in project root: ${projectRoot}`
|
|
39
|
+
`[storm-software/typescript/untyped]: No package.json found in project root: ${projectRoot}`
|
|
41
40
|
);
|
|
42
41
|
return {};
|
|
43
42
|
}
|
|
44
43
|
if (!_optionalChain([packageJson, 'access', _ => _.devDependencies, 'optionalAccess', _2 => _2.untyped]) && !_optionalChain([packageJson, 'access', _3 => _3.dependencies, 'optionalAccess', _4 => _4.untyped])) {
|
|
45
44
|
console.warn(
|
|
46
|
-
`No "untyped" dependency or devDependency found in package.json: ${configFile}
|
|
45
|
+
`[storm-software/typescript/untyped]: No "untyped" dependency or devDependency found in package.json: ${configFile}
|
|
47
46
|
Please add it to your dependencies by running "pnpm add untyped -D --filter="${packageJson.name}"`
|
|
48
47
|
);
|
|
49
48
|
}
|
|
@@ -72,7 +71,7 @@ Please add it to your dependencies by running "pnpm add untyped -D --filter="${p
|
|
|
72
71
|
targets["build-untyped"] ??= {
|
|
73
72
|
cache: true,
|
|
74
73
|
executor: "nx:run-commands",
|
|
75
|
-
dependsOn: ["
|
|
74
|
+
dependsOn: ["^build"],
|
|
76
75
|
inputs: [
|
|
77
76
|
"{projectRoot}/src/**/untyped.ts",
|
|
78
77
|
"{projectRoot}/src/**/*.untyped.ts"
|
|
@@ -92,7 +91,7 @@ Please add it to your dependencies by running "pnpm add untyped -D --filter="${p
|
|
|
92
91
|
}
|
|
93
92
|
};
|
|
94
93
|
_chunkAX3RSZT7js.addProjectTag.call(void 0, project, _chunkAX3RSZT7js.ProjectTagConstants.Plugin.TAG_ID, name);
|
|
95
|
-
|
|
94
|
+
return _optionalChain([project, 'optionalAccess', _5 => _5.name]) ? {
|
|
96
95
|
projects: {
|
|
97
96
|
[project.name]: {
|
|
98
97
|
...project,
|
|
@@ -101,10 +100,6 @@ Please add it to your dependencies by running "pnpm add untyped -D --filter="${p
|
|
|
101
100
|
}
|
|
102
101
|
}
|
|
103
102
|
} : {};
|
|
104
|
-
console.log(
|
|
105
|
-
`[storm-software/typescript/untyped]: Inferred Nx configuration for ${_nullishCoalesce(_optionalChain([project, 'optionalAccess', _6 => _6.name]), () => ( "missing name"))}`
|
|
106
|
-
);
|
|
107
|
-
return result;
|
|
108
103
|
} catch (e) {
|
|
109
104
|
console.error(e);
|
|
110
105
|
return {};
|
|
@@ -22,14 +22,13 @@ var createNodesV2 = [
|
|
|
22
22
|
return await createNodesFromFiles(
|
|
23
23
|
(configFile, options2, context2) => {
|
|
24
24
|
try {
|
|
25
|
-
console.log(`Processing untyped schema file: ${configFile}`);
|
|
26
25
|
const projectRoot = createProjectRoot(
|
|
27
26
|
configFile,
|
|
28
27
|
context2.workspaceRoot
|
|
29
28
|
);
|
|
30
29
|
if (!projectRoot) {
|
|
31
30
|
console.error(
|
|
32
|
-
"No project.json found in parent directories of Untyped schema file: ",
|
|
31
|
+
"[storm-software/typescript/untyped]: No project.json found in parent directories of Untyped schema file: ",
|
|
33
32
|
configFile
|
|
34
33
|
);
|
|
35
34
|
return {};
|
|
@@ -37,13 +36,13 @@ var createNodesV2 = [
|
|
|
37
36
|
const packageJson = readJsonFile(join(projectRoot, "package.json"));
|
|
38
37
|
if (!packageJson) {
|
|
39
38
|
console.error(
|
|
40
|
-
`No package.json found in project root: ${projectRoot}`
|
|
39
|
+
`[storm-software/typescript/untyped]: No package.json found in project root: ${projectRoot}`
|
|
41
40
|
);
|
|
42
41
|
return {};
|
|
43
42
|
}
|
|
44
43
|
if (!packageJson.devDependencies?.untyped && !packageJson.dependencies?.untyped) {
|
|
45
44
|
console.warn(
|
|
46
|
-
`No "untyped" dependency or devDependency found in package.json: ${configFile}
|
|
45
|
+
`[storm-software/typescript/untyped]: No "untyped" dependency or devDependency found in package.json: ${configFile}
|
|
47
46
|
Please add it to your dependencies by running "pnpm add untyped -D --filter="${packageJson.name}"`
|
|
48
47
|
);
|
|
49
48
|
}
|
|
@@ -72,7 +71,7 @@ Please add it to your dependencies by running "pnpm add untyped -D --filter="${p
|
|
|
72
71
|
targets["build-untyped"] ??= {
|
|
73
72
|
cache: true,
|
|
74
73
|
executor: "nx:run-commands",
|
|
75
|
-
dependsOn: ["
|
|
74
|
+
dependsOn: ["^build"],
|
|
76
75
|
inputs: [
|
|
77
76
|
"{projectRoot}/src/**/untyped.ts",
|
|
78
77
|
"{projectRoot}/src/**/*.untyped.ts"
|
|
@@ -92,7 +91,7 @@ Please add it to your dependencies by running "pnpm add untyped -D --filter="${p
|
|
|
92
91
|
}
|
|
93
92
|
};
|
|
94
93
|
addProjectTag(project, ProjectTagConstants.Plugin.TAG_ID, name);
|
|
95
|
-
|
|
94
|
+
return project?.name ? {
|
|
96
95
|
projects: {
|
|
97
96
|
[project.name]: {
|
|
98
97
|
...project,
|
|
@@ -101,10 +100,6 @@ Please add it to your dependencies by running "pnpm add untyped -D --filter="${p
|
|
|
101
100
|
}
|
|
102
101
|
}
|
|
103
102
|
} : {};
|
|
104
|
-
console.log(
|
|
105
|
-
`[storm-software/typescript/untyped]: Inferred Nx configuration for ${project?.name ?? "missing name"}`
|
|
106
|
-
);
|
|
107
|
-
return result;
|
|
108
103
|
} catch (e) {
|
|
109
104
|
console.error(e);
|
|
110
105
|
return {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/workspace-tools",
|
|
3
|
-
"version": "1.273.
|
|
3
|
+
"version": "1.273.5",
|
|
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.41.
|
|
212
|
-
"@storm-software/prettier": "^0.51.
|
|
213
|
-
"@storm-software/unbuild": "^0.47.
|
|
211
|
+
"@storm-software/esbuild": "^0.41.5",
|
|
212
|
+
"@storm-software/prettier": "^0.51.5",
|
|
213
|
+
"@storm-software/unbuild": "^0.47.5",
|
|
214
214
|
"fs-extra": "11.2.0",
|
|
215
215
|
"glob": "^11.0.1",
|
|
216
216
|
"jiti": "^2.4.2",
|