@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 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
- [![Version](https://img.shields.io/badge/version-1.254.3-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.254.5-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
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 enableKnip = _optionalChain([opts, 'optionalAccess', _2 => _2.enableKnip]) !== false;
40
- const enableMarkdownlint = _optionalChain([opts, 'optionalAccess', _3 => _3.enableMarkdownlint]) !== false;
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', _5 => _5.lintInternalTools]) !== true) {
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', _6 => _6["nx-release-publish"], 'access', _7 => _7.dependsOn, 'optionalAccess', _8 => _8.push, 'call', _9 => _9("clean-package")]);
258
- _optionalChain([targets, 'access', _10 => _10["size-limit"], 'access', _11 => _11.dependsOn, 'optionalAccess', _12 => _12.push, 'call', _13 => _13("clean-package")]);
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', _14 => _14.name]) ? {
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', _15 => _15.release]),
271
+ ..._optionalChain([project, 'optionalAccess', _14 => _14.release]),
295
272
  version: {
296
- ..._optionalChain([project, 'optionalAccess', _16 => _16.release, 'optionalAccess', _17 => _17.version]),
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, relative } from "node:path";
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 _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
7
+ var _chunkCQAGLRNYjs = require('./chunk-CQAGLRNY.js');
8
8
 
9
9
 
10
- var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
10
+ var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
11
11
 
12
12
 
13
- var _chunkCQAGLRNYjs = require('./chunk-CQAGLRNY.js');
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 _chunk4SJW3KRVjs = require('./chunk-4SJW3KRV.js');
35
+ var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
36
36
 
37
37
 
38
- var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
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');
@@ -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 _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
54
+ var _chunkCQAGLRNYjs = require('./chunk-CQAGLRNY.js');
55
55
 
56
56
 
57
- var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
57
+ var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
58
58
 
59
59
 
60
- var _chunkCQAGLRNYjs = require('./chunk-CQAGLRNY.js');
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 _chunk4SJW3KRVjs = require('./chunk-4SJW3KRV.js');
82
+ var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
83
83
 
84
84
 
85
- var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
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 _chunkW6O4WJERjs = require('../../../chunk-W6O4WJER.js');
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 = _chunkW6O4WJERjs.createNodes; exports.name = _chunkW6O4WJERjs.name;
11
+ exports.createNodes = _chunkLJGEDT3Ljs.createNodes; exports.name = _chunkLJGEDT3Ljs.name;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createNodes,
3
3
  name
4
- } from "../../../chunk-6SQJRKDD.mjs";
4
+ } from "../../../chunk-WZXQ6OON.mjs";
5
5
  import "../../../chunk-HUCDWLQ3.mjs";
6
6
  import "../../../chunk-W3SWWT4A.mjs";
7
7
  import "../../../chunk-R7DU2APC.mjs";
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkW6O4WJERjs = require('../../../chunk-W6O4WJER.js');
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 = _chunkW6O4WJERjs.createNodes; exports.name = _chunkW6O4WJERjs.name;
11
+ exports.createNodes = _chunkLJGEDT3Ljs.createNodes; exports.name = _chunkLJGEDT3Ljs.name;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createNodes,
3
3
  name
4
- } from "../../../chunk-6SQJRKDD.mjs";
4
+ } from "../../../chunk-WZXQ6OON.mjs";
5
5
  import "../../../chunk-HUCDWLQ3.mjs";
6
6
  import "../../../chunk-W3SWWT4A.mjs";
7
7
  import "../../../chunk-R7DU2APC.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.254.4",
3
+ "version": "1.254.6",
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",