@storm-software/workspace-tools 1.252.1 → 1.252.3
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 +12 -0
- package/dist/{chunk-2R664EG4.js → chunk-FUXJ4XG3.js} +2 -1
- package/dist/{chunk-EMQY64H6.mjs → chunk-OE2NLRDG.mjs} +3 -2
- package/dist/executors.js +2 -2
- package/dist/executors.mjs +3 -3
- package/dist/generators.js +4 -4
- package/dist/generators.mjs +7 -7
- package/dist/index.js +6 -6
- package/dist/index.mjs +10 -10
- 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,15 @@
|
|
|
1
|
+
## 1.252.3 (2025-02-07)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **workspace-tools:** Resolve issue with invalid path in `knip` config file ([107963908](https://github.com/storm-software/storm-ops/commit/107963908))
|
|
6
|
+
|
|
7
|
+
## 1.252.2 (2025-02-06)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **linting-tools:** Ensure the config files are included in the package.json `files` list ([d4be09d8a](https://github.com/storm-software/storm-ops/commit/d4be09d8a))
|
|
12
|
+
|
|
1
13
|
## 1.252.1 (2025-02-06)
|
|
2
14
|
|
|
3
15
|
### Bug Fixes
|
|
@@ -38,6 +38,7 @@ var createNodes = [
|
|
|
38
38
|
}
|
|
39
39
|
const nxJson = _nxjsonjs.readNxJson.call(void 0, ctx.workspaceRoot);
|
|
40
40
|
const targets = _packagejson.readTargetsFromPackageJson.call(void 0, packageJson, nxJson);
|
|
41
|
+
const relativePath = _path.relative.call(void 0, _path.dirname.call(void 0, file), ctx.workspaceRoot);
|
|
41
42
|
if (!targets["lint-knip"]) {
|
|
42
43
|
targets["lint-knip"] = {
|
|
43
44
|
cache: true,
|
|
@@ -55,7 +56,7 @@ var createNodes = [
|
|
|
55
56
|
],
|
|
56
57
|
executor: "nx:run-commands",
|
|
57
58
|
options: {
|
|
58
|
-
command:
|
|
59
|
+
command: `pnpm exec knip --config "${_path.join.call(void 0, relativePath, "node_modules/@storm-software/linting-tools/knip/config.json")}" --tsConfig "{projectRoot}/tsconfig.json" --directory "{projectRoot}" --fix --cache --cache-location "${_path.join.call(void 0, relativePath, "node_modules/.cache/knip/{projectRoot}")}"`
|
|
59
60
|
}
|
|
60
61
|
};
|
|
61
62
|
}
|
|
@@ -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 } from "node:path";
|
|
16
|
+
import { dirname, join, relative } 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";
|
|
@@ -38,6 +38,7 @@ var createNodes = [
|
|
|
38
38
|
}
|
|
39
39
|
const nxJson = readNxJson(ctx.workspaceRoot);
|
|
40
40
|
const targets = readTargetsFromPackageJson(packageJson, nxJson);
|
|
41
|
+
const relativePath = relative(dirname(file), ctx.workspaceRoot);
|
|
41
42
|
if (!targets["lint-knip"]) {
|
|
42
43
|
targets["lint-knip"] = {
|
|
43
44
|
cache: true,
|
|
@@ -55,7 +56,7 @@ var createNodes = [
|
|
|
55
56
|
],
|
|
56
57
|
executor: "nx:run-commands",
|
|
57
58
|
options: {
|
|
58
|
-
command:
|
|
59
|
+
command: `pnpm exec knip --config "${join(relativePath, "node_modules/@storm-software/linting-tools/knip/config.json")}" --tsConfig "{projectRoot}/tsconfig.json" --directory "{projectRoot}" --fix --cache --cache-location "${join(relativePath, "node_modules/.cache/knip/{projectRoot}")}"`
|
|
59
60
|
}
|
|
60
61
|
};
|
|
61
62
|
}
|
package/dist/executors.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkJXSTSZSGjs = require('./chunk-JXSTSZSG.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkWGTIKGAEjs = require('./chunk-WGTIKGAE.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -2,12 +2,12 @@ import "./chunk-V7YZ3666.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
sizeLimitExecutorFn
|
|
4
4
|
} from "./chunk-KM47X5XW.mjs";
|
|
5
|
-
import {
|
|
6
|
-
tsdownExecutorFn
|
|
7
|
-
} from "./chunk-UF3YMASN.mjs";
|
|
8
5
|
import {
|
|
9
6
|
typiaExecutorFn
|
|
10
7
|
} from "./chunk-2KNHEXJQ.mjs";
|
|
8
|
+
import {
|
|
9
|
+
tsdownExecutorFn
|
|
10
|
+
} from "./chunk-UF3YMASN.mjs";
|
|
11
11
|
import {
|
|
12
12
|
unbuildExecutorFn
|
|
13
13
|
} from "./chunk-7H4PXXWW.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-INERRJ6Q.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWDK2FJUHjs = require('./chunk-WDK2FJUH.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkDCJXS5XIjs = require('./chunk-DCJXS5XI.js');
|
|
@@ -10,16 +10,16 @@ var _chunkDCJXS5XIjs = require('./chunk-DCJXS5XI.js');
|
|
|
10
10
|
var _chunkYDV7OQMNjs = require('./chunk-YDV7OQMN.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkQKALACBCjs = require('./chunk-QKALACBC.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkKJPUYQEZjs = require('./chunk-KJPUYQEZ.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkSJNJ6TCDjs = require('./chunk-SJNJ6TCD.js');
|
|
23
23
|
require('./chunk-RBU35LQW.js');
|
|
24
24
|
require('./chunk-HI4G4OOG.js');
|
|
25
25
|
require('./chunk-7YRW5HNX.js');
|
package/dist/generators.mjs
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import "./chunk-RLIZVCIN.mjs";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
nodeLibraryGeneratorFn
|
|
4
|
+
} from "./chunk-Q6OBRMZG.mjs";
|
|
5
5
|
import {
|
|
6
6
|
presetGeneratorFn
|
|
7
7
|
} from "./chunk-QDZUYDVM.mjs";
|
|
8
8
|
import {
|
|
9
9
|
releaseVersionGeneratorFn
|
|
10
10
|
} from "./chunk-TNAEFYVH.mjs";
|
|
11
|
-
import {
|
|
12
|
-
configSchemaGeneratorFn
|
|
13
|
-
} from "./chunk-S73S6XCY.mjs";
|
|
14
11
|
import {
|
|
15
12
|
browserLibraryGeneratorFn
|
|
16
13
|
} from "./chunk-7GW75RON.mjs";
|
|
14
|
+
import {
|
|
15
|
+
configSchemaGeneratorFn
|
|
16
|
+
} from "./chunk-S73S6XCY.mjs";
|
|
17
17
|
import {
|
|
18
18
|
initGenerator
|
|
19
19
|
} from "./chunk-X3GPVZMH.mjs";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
21
|
+
neutralLibraryGeneratorFn
|
|
22
|
+
} from "./chunk-APSDUSBR.mjs";
|
|
23
23
|
import "./chunk-F2GYXQ5H.mjs";
|
|
24
24
|
import "./chunk-EK75QNMS.mjs";
|
|
25
25
|
import "./chunk-W3SWWT4A.mjs";
|
package/dist/index.js
CHANGED
|
@@ -51,10 +51,10 @@ require('./chunk-3J53KHVV.js');
|
|
|
51
51
|
var _chunkNXGJNB3Cjs = require('./chunk-NXGJNB3C.js');
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
var
|
|
54
|
+
var _chunkJXSTSZSGjs = require('./chunk-JXSTSZSG.js');
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
var
|
|
57
|
+
var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
var _chunkWGTIKGAEjs = require('./chunk-WGTIKGAE.js');
|
|
@@ -100,7 +100,7 @@ var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
|
|
|
100
100
|
require('./chunk-INERRJ6Q.js');
|
|
101
101
|
|
|
102
102
|
|
|
103
|
-
var
|
|
103
|
+
var _chunkWDK2FJUHjs = require('./chunk-WDK2FJUH.js');
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
var _chunkDCJXS5XIjs = require('./chunk-DCJXS5XI.js');
|
|
@@ -109,16 +109,16 @@ var _chunkDCJXS5XIjs = require('./chunk-DCJXS5XI.js');
|
|
|
109
109
|
var _chunkYDV7OQMNjs = require('./chunk-YDV7OQMN.js');
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _chunkQKALACBCjs = require('./chunk-QKALACBC.js');
|
|
113
113
|
|
|
114
114
|
|
|
115
|
-
var
|
|
115
|
+
var _chunkKJPUYQEZjs = require('./chunk-KJPUYQEZ.js');
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
var
|
|
121
|
+
var _chunkSJNJ6TCDjs = require('./chunk-SJNJ6TCD.js');
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
|
package/dist/index.mjs
CHANGED
|
@@ -49,12 +49,12 @@ import "./chunk-V7YZ3666.mjs";
|
|
|
49
49
|
import {
|
|
50
50
|
sizeLimitExecutorFn
|
|
51
51
|
} from "./chunk-KM47X5XW.mjs";
|
|
52
|
-
import {
|
|
53
|
-
tsdownExecutorFn
|
|
54
|
-
} from "./chunk-UF3YMASN.mjs";
|
|
55
52
|
import {
|
|
56
53
|
typiaExecutorFn
|
|
57
54
|
} from "./chunk-2KNHEXJQ.mjs";
|
|
55
|
+
import {
|
|
56
|
+
tsdownExecutorFn
|
|
57
|
+
} from "./chunk-UF3YMASN.mjs";
|
|
58
58
|
import {
|
|
59
59
|
unbuildExecutorFn
|
|
60
60
|
} from "./chunk-7H4PXXWW.mjs";
|
|
@@ -99,26 +99,26 @@ import {
|
|
|
99
99
|
} from "./chunk-XK3FSWMA.mjs";
|
|
100
100
|
import "./chunk-RLIZVCIN.mjs";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
102
|
+
nodeLibraryGeneratorFn
|
|
103
|
+
} from "./chunk-Q6OBRMZG.mjs";
|
|
104
104
|
import {
|
|
105
105
|
presetGeneratorFn
|
|
106
106
|
} from "./chunk-QDZUYDVM.mjs";
|
|
107
107
|
import {
|
|
108
108
|
releaseVersionGeneratorFn
|
|
109
109
|
} from "./chunk-TNAEFYVH.mjs";
|
|
110
|
-
import {
|
|
111
|
-
configSchemaGeneratorFn
|
|
112
|
-
} from "./chunk-S73S6XCY.mjs";
|
|
113
110
|
import {
|
|
114
111
|
browserLibraryGeneratorFn
|
|
115
112
|
} from "./chunk-7GW75RON.mjs";
|
|
113
|
+
import {
|
|
114
|
+
configSchemaGeneratorFn
|
|
115
|
+
} from "./chunk-S73S6XCY.mjs";
|
|
116
116
|
import {
|
|
117
117
|
initGenerator
|
|
118
118
|
} from "./chunk-X3GPVZMH.mjs";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./chunk-
|
|
120
|
+
neutralLibraryGeneratorFn
|
|
121
|
+
} from "./chunk-APSDUSBR.mjs";
|
|
122
122
|
import {
|
|
123
123
|
createProjectTsConfigJson,
|
|
124
124
|
getOutputPath,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkFUXJ4XG3js = require('../../../chunk-FUXJ4XG3.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 = _chunkFUXJ4XG3js.createNodes; exports.name = _chunkFUXJ4XG3js.name;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkFUXJ4XG3js = require('../../../chunk-FUXJ4XG3.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 = _chunkFUXJ4XG3js.createNodes; exports.name = _chunkFUXJ4XG3js.name;
|
package/package.json
CHANGED