@storm-software/workspace-tools 1.254.4 → 1.254.6
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 +13 -0
- package/README.md +1 -1
- package/dist/{chunk-W6O4WJER.js → chunk-LJGEDT3L.js} +8 -31
- package/dist/{chunk-6SQJRKDD.mjs → chunk-WZXQ6OON.mjs} +1 -24
- package/dist/executors.js +5 -5
- package/dist/executors.mjs +6 -6
- package/dist/index.js +5 -5
- package/dist/index.mjs +6 -6
- 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/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## 1.254.6 (2025-02-07)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **workspace-tools:** Resolve issue with unused variable ([d9b4cdbd9](https://github.com/storm-software/storm-ops/commit/d9b4cdbd9))
|
|
6
|
+
- **linting-tools:** Resolve issue with external packages in binary ([0baaafe55](https://github.com/storm-software/storm-ops/commit/0baaafe55))
|
|
7
|
+
|
|
8
|
+
## 1.254.5 (2025-02-07)
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
- **linting-tools:** Resolve issue with `knip` configurations ([acc5af2bb](https://github.com/storm-software/storm-ops/commit/acc5af2bb))
|
|
13
|
+
|
|
1
14
|
## 1.254.4 (2025-02-07)
|
|
2
15
|
|
|
3
16
|
### Bug Fixes
|
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 -->
|
|
@@ -36,12 +36,11 @@ var createNodes = [
|
|
|
36
36
|
if (_optionalChain([opts, 'optionalAccess', _ => _.includeApps]) === false && project.projectType === "application") {
|
|
37
37
|
return {};
|
|
38
38
|
}
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
const enableEslint = _optionalChain([opts, 'optionalAccess', _4 => _4.enableEslint]) !== false;
|
|
39
|
+
const enableMarkdownlint = _optionalChain([opts, 'optionalAccess', _2 => _2.enableMarkdownlint]) !== false;
|
|
40
|
+
const enableEslint = _optionalChain([opts, 'optionalAccess', _3 => _3.enableEslint]) !== false;
|
|
42
41
|
const nxJson = _nxjsonjs.readNxJson.call(void 0, ctx.workspaceRoot);
|
|
43
42
|
const targets = _packagejson.readTargetsFromPackageJson.call(void 0, packageJson, nxJson);
|
|
44
|
-
if (_path.join.call(void 0, ctx.workspaceRoot, project.root).startsWith(_path.join.call(void 0, ctx.workspaceRoot, "tools")) && _optionalChain([opts, 'optionalAccess',
|
|
43
|
+
if (_path.join.call(void 0, ctx.workspaceRoot, project.root).startsWith(_path.join.call(void 0, ctx.workspaceRoot, "tools")) && _optionalChain([opts, 'optionalAccess', _4 => _4.lintInternalTools]) !== true) {
|
|
45
44
|
targets.lint = {
|
|
46
45
|
dependsOn: [
|
|
47
46
|
"^lint"
|
|
@@ -52,28 +51,6 @@ var createNodes = [
|
|
|
52
51
|
}
|
|
53
52
|
};
|
|
54
53
|
} else {
|
|
55
|
-
if (!targets["lint-knip"] && enableKnip) {
|
|
56
|
-
const relativePath = _path.relative.call(void 0, _path.dirname.call(void 0, file), ctx.workspaceRoot);
|
|
57
|
-
targets["lint-knip"] = {
|
|
58
|
-
cache: true,
|
|
59
|
-
outputs: [
|
|
60
|
-
"{projectRoot}/**/*.md",
|
|
61
|
-
"{projectRoot}/**/*.mdx"
|
|
62
|
-
],
|
|
63
|
-
inputs: [
|
|
64
|
-
"linting",
|
|
65
|
-
"{projectRoot}/**/*.md",
|
|
66
|
-
"{projectRoot}/**/*.mdx"
|
|
67
|
-
],
|
|
68
|
-
dependsOn: [
|
|
69
|
-
"^lint-knip"
|
|
70
|
-
],
|
|
71
|
-
executor: "nx:run-commands",
|
|
72
|
-
options: {
|
|
73
|
-
command: `pnpm exec knip --config "${_path.join.call(void 0, relativePath, "node_modules/@storm-software/linting-tools/knip/config.json").replaceAll("\\", "/")}" --tsConfig "{projectRoot}/tsconfig.json" --directory "{projectRoot}" --fix --no-exit-code --cache --cache-location "${_path.join.call(void 0, relativePath, "node_modules/.cache/knip/{projectRoot}").replaceAll("\\", "/")}"`
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
54
|
if (!targets["lint-markdown"] && enableMarkdownlint) {
|
|
78
55
|
targets["lint-markdown"] = {
|
|
79
56
|
cache: true,
|
|
@@ -254,8 +231,8 @@ var createNodes = [
|
|
|
254
231
|
cleanComments: true
|
|
255
232
|
}
|
|
256
233
|
};
|
|
257
|
-
_optionalChain([targets, 'access',
|
|
258
|
-
_optionalChain([targets, 'access',
|
|
234
|
+
_optionalChain([targets, 'access', _5 => _5["nx-release-publish"], 'access', _6 => _6.dependsOn, 'optionalAccess', _7 => _7.push, 'call', _8 => _8("clean-package")]);
|
|
235
|
+
_optionalChain([targets, 'access', _9 => _9["size-limit"], 'access', _10 => _10.dependsOn, 'optionalAccess', _11 => _11.push, 'call', _12 => _12("clean-package")]);
|
|
259
236
|
}
|
|
260
237
|
}
|
|
261
238
|
_chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Language.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Language.TYPESCRIPT, {
|
|
@@ -285,15 +262,15 @@ var createNodes = [
|
|
|
285
262
|
break;
|
|
286
263
|
}
|
|
287
264
|
_chunk7YRW5HNXjs.setDefaultProjectTags.call(void 0, project, name);
|
|
288
|
-
return _optionalChain([project, 'optionalAccess',
|
|
265
|
+
return _optionalChain([project, 'optionalAccess', _13 => _13.name]) ? {
|
|
289
266
|
projects: {
|
|
290
267
|
[project.name]: {
|
|
291
268
|
...project,
|
|
292
269
|
targets,
|
|
293
270
|
release: {
|
|
294
|
-
..._optionalChain([project, 'optionalAccess',
|
|
271
|
+
..._optionalChain([project, 'optionalAccess', _14 => _14.release]),
|
|
295
272
|
version: {
|
|
296
|
-
..._optionalChain([project, 'optionalAccess',
|
|
273
|
+
..._optionalChain([project, 'optionalAccess', _15 => _15.release, 'optionalAccess', _16 => _16.version]),
|
|
297
274
|
generator: "@storm-software/workspace-tools:release-version"
|
|
298
275
|
}
|
|
299
276
|
}
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
|
|
14
14
|
// src/plugins/typescript/project-config.ts
|
|
15
15
|
import { existsSync } from "node:fs";
|
|
16
|
-
import { dirname, join
|
|
16
|
+
import { dirname, join } from "node:path";
|
|
17
17
|
import { readNxJson } from "nx/src/config/nx-json.js";
|
|
18
18
|
import { readJsonFile } from "nx/src/utils/fileutils";
|
|
19
19
|
import { readTargetsFromPackageJson } from "nx/src/utils/package-json";
|
|
@@ -36,7 +36,6 @@ var createNodes = [
|
|
|
36
36
|
if (opts?.includeApps === false && project.projectType === "application") {
|
|
37
37
|
return {};
|
|
38
38
|
}
|
|
39
|
-
const enableKnip = opts?.enableKnip !== false;
|
|
40
39
|
const enableMarkdownlint = opts?.enableMarkdownlint !== false;
|
|
41
40
|
const enableEslint = opts?.enableEslint !== false;
|
|
42
41
|
const nxJson = readNxJson(ctx.workspaceRoot);
|
|
@@ -52,28 +51,6 @@ var createNodes = [
|
|
|
52
51
|
}
|
|
53
52
|
};
|
|
54
53
|
} else {
|
|
55
|
-
if (!targets["lint-knip"] && enableKnip) {
|
|
56
|
-
const relativePath = relative(dirname(file), ctx.workspaceRoot);
|
|
57
|
-
targets["lint-knip"] = {
|
|
58
|
-
cache: true,
|
|
59
|
-
outputs: [
|
|
60
|
-
"{projectRoot}/**/*.md",
|
|
61
|
-
"{projectRoot}/**/*.mdx"
|
|
62
|
-
],
|
|
63
|
-
inputs: [
|
|
64
|
-
"linting",
|
|
65
|
-
"{projectRoot}/**/*.md",
|
|
66
|
-
"{projectRoot}/**/*.mdx"
|
|
67
|
-
],
|
|
68
|
-
dependsOn: [
|
|
69
|
-
"^lint-knip"
|
|
70
|
-
],
|
|
71
|
-
executor: "nx:run-commands",
|
|
72
|
-
options: {
|
|
73
|
-
command: `pnpm exec knip --config "${join(relativePath, "node_modules/@storm-software/linting-tools/knip/config.json").replaceAll("\\", "/")}" --tsConfig "{projectRoot}/tsconfig.json" --directory "{projectRoot}" --fix --no-exit-code --cache --cache-location "${join(relativePath, "node_modules/.cache/knip/{projectRoot}").replaceAll("\\", "/")}"`
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
54
|
if (!targets["lint-markdown"] && enableMarkdownlint) {
|
|
78
55
|
targets["lint-markdown"] = {
|
|
79
56
|
cache: true,
|
package/dist/executors.js
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
var _chunkWGTIKGAEjs = require('./chunk-WGTIKGAE.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkCQAGLRNYjs = require('./chunk-CQAGLRNY.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
var _chunkJXSTSZSGjs = require('./chunk-JXSTSZSG.js');
|
|
@@ -32,10 +32,10 @@ var _chunkK434EGC4js = require('./chunk-K434EGC4.js');
|
|
|
32
32
|
var _chunk4AMZUCHLjs = require('./chunk-4AMZUCHL.js');
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunk4SJW3KRVjs = require('./chunk-4SJW3KRV.js');
|
|
39
39
|
require('./chunk-CUPARBOS.js');
|
|
40
40
|
require('./chunk-ULBTYC2B.js');
|
|
41
41
|
require('./chunk-ZMFVKBRM.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -2,15 +2,15 @@ import "./chunk-V7YZ3666.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
unbuildExecutorFn
|
|
4
4
|
} from "./chunk-7H4PXXWW.mjs";
|
|
5
|
+
import {
|
|
6
|
+
LARGE_BUFFER
|
|
7
|
+
} from "./chunk-VBPOZVKY.mjs";
|
|
5
8
|
import {
|
|
6
9
|
sizeLimitExecutorFn
|
|
7
10
|
} from "./chunk-KM47X5XW.mjs";
|
|
8
11
|
import {
|
|
9
12
|
tsdownExecutorFn
|
|
10
13
|
} from "./chunk-UF3YMASN.mjs";
|
|
11
|
-
import {
|
|
12
|
-
LARGE_BUFFER
|
|
13
|
-
} from "./chunk-VBPOZVKY.mjs";
|
|
14
14
|
import {
|
|
15
15
|
typiaExecutorFn
|
|
16
16
|
} from "./chunk-2KNHEXJQ.mjs";
|
|
@@ -30,12 +30,12 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
cargoCheckExecutor
|
|
32
32
|
} from "./chunk-P4ZEGEQX.mjs";
|
|
33
|
-
import {
|
|
34
|
-
cargoDocExecutor
|
|
35
|
-
} from "./chunk-7AXJ27FU.mjs";
|
|
36
33
|
import {
|
|
37
34
|
cargoClippyExecutor
|
|
38
35
|
} from "./chunk-57LRWY5U.mjs";
|
|
36
|
+
import {
|
|
37
|
+
cargoDocExecutor
|
|
38
|
+
} from "./chunk-7AXJ27FU.mjs";
|
|
39
39
|
import "./chunk-JB4KCMSB.mjs";
|
|
40
40
|
import "./chunk-XK3FSWMA.mjs";
|
|
41
41
|
import "./chunk-EIM3O6HY.mjs";
|
package/dist/index.js
CHANGED
|
@@ -51,13 +51,13 @@ require('./chunk-3J53KHVV.js');
|
|
|
51
51
|
var _chunkWGTIKGAEjs = require('./chunk-WGTIKGAE.js');
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
var
|
|
54
|
+
var _chunkCQAGLRNYjs = require('./chunk-CQAGLRNY.js');
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
var
|
|
57
|
+
var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
var
|
|
60
|
+
var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
var _chunkJXSTSZSGjs = require('./chunk-JXSTSZSG.js');
|
|
@@ -79,10 +79,10 @@ var _chunkK434EGC4js = require('./chunk-K434EGC4.js');
|
|
|
79
79
|
var _chunk4AMZUCHLjs = require('./chunk-4AMZUCHL.js');
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
var
|
|
82
|
+
var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
var
|
|
85
|
+
var _chunk4SJW3KRVjs = require('./chunk-4SJW3KRV.js');
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
var _chunkCUPARBOSjs = require('./chunk-CUPARBOS.js');
|
package/dist/index.mjs
CHANGED
|
@@ -49,15 +49,15 @@ import "./chunk-V7YZ3666.mjs";
|
|
|
49
49
|
import {
|
|
50
50
|
unbuildExecutorFn
|
|
51
51
|
} from "./chunk-7H4PXXWW.mjs";
|
|
52
|
+
import {
|
|
53
|
+
LARGE_BUFFER
|
|
54
|
+
} from "./chunk-VBPOZVKY.mjs";
|
|
52
55
|
import {
|
|
53
56
|
sizeLimitExecutorFn
|
|
54
57
|
} from "./chunk-KM47X5XW.mjs";
|
|
55
58
|
import {
|
|
56
59
|
tsdownExecutorFn
|
|
57
60
|
} from "./chunk-UF3YMASN.mjs";
|
|
58
|
-
import {
|
|
59
|
-
LARGE_BUFFER
|
|
60
|
-
} from "./chunk-VBPOZVKY.mjs";
|
|
61
61
|
import {
|
|
62
62
|
typiaExecutorFn
|
|
63
63
|
} from "./chunk-2KNHEXJQ.mjs";
|
|
@@ -77,12 +77,12 @@ import {
|
|
|
77
77
|
import {
|
|
78
78
|
cargoCheckExecutor
|
|
79
79
|
} from "./chunk-P4ZEGEQX.mjs";
|
|
80
|
-
import {
|
|
81
|
-
cargoDocExecutor
|
|
82
|
-
} from "./chunk-7AXJ27FU.mjs";
|
|
83
80
|
import {
|
|
84
81
|
cargoClippyExecutor
|
|
85
82
|
} from "./chunk-57LRWY5U.mjs";
|
|
83
|
+
import {
|
|
84
|
+
cargoDocExecutor
|
|
85
|
+
} from "./chunk-7AXJ27FU.mjs";
|
|
86
86
|
import {
|
|
87
87
|
pnpmCatalogUpdate
|
|
88
88
|
} from "./chunk-JB4KCMSB.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkLJGEDT3Ljs = require('../../../chunk-LJGEDT3L.js');
|
|
5
5
|
require('../../../chunk-UF6KFXG5.js');
|
|
6
6
|
require('../../../chunk-7YRW5HNX.js');
|
|
7
7
|
require('../../../chunk-3GQAWCBQ.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.createNodes =
|
|
11
|
+
exports.createNodes = _chunkLJGEDT3Ljs.createNodes; exports.name = _chunkLJGEDT3Ljs.name;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkLJGEDT3Ljs = require('../../../chunk-LJGEDT3L.js');
|
|
5
5
|
require('../../../chunk-UF6KFXG5.js');
|
|
6
6
|
require('../../../chunk-7YRW5HNX.js');
|
|
7
7
|
require('../../../chunk-3GQAWCBQ.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.createNodes =
|
|
11
|
+
exports.createNodes = _chunkLJGEDT3Ljs.createNodes; exports.name = _chunkLJGEDT3Ljs.name;
|
package/package.json
CHANGED