@storm-software/workspace-tools 1.250.4 → 1.251.0
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 +20 -0
- package/README.md +1 -1
- package/config/base.json +8 -9
- package/dist/{chunk-OJ45PFD5.mjs → chunk-GCCTJPRJ.mjs} +57 -69
- package/dist/{chunk-3WQQLTVC.js → chunk-X6AFVYVH.js} +57 -69
- package/dist/executors.js +10 -10
- package/dist/executors.mjs +15 -15
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +3 -3
- package/dist/index.js +13 -13
- package/dist/index.mjs +18 -18
- 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,23 @@
|
|
|
1
|
+
## 1.251.0 (2025-02-05)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- **workspace-tools:** Added the `lint-knip` task ([1ac036c13](https://github.com/storm-software/storm-ops/commit/1ac036c13))
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **workspace-tools:** Resolve issue with invalid `workspaceRoot` token placement ([68aa29deb](https://github.com/storm-software/storm-ops/commit/68aa29deb))
|
|
10
|
+
|
|
11
|
+
### Miscellaneous
|
|
12
|
+
|
|
13
|
+
- **monorepo:** Regenerate README markdown files ([93412b8ef](https://github.com/storm-software/storm-ops/commit/93412b8ef))
|
|
14
|
+
|
|
15
|
+
## 1.250.5 (2025-02-05)
|
|
16
|
+
|
|
17
|
+
### Miscellaneous
|
|
18
|
+
|
|
19
|
+
- **monorepo:** Regenerate README markdown files ([de6ae2b84](https://github.com/storm-software/storm-ops/commit/de6ae2b84))
|
|
20
|
+
|
|
1
21
|
## 1.250.4 (2025-02-05)
|
|
2
22
|
|
|
3
23
|
### 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 -->
|
package/config/base.json
CHANGED
|
@@ -323,9 +323,7 @@
|
|
|
323
323
|
}
|
|
324
324
|
},
|
|
325
325
|
"lint": {
|
|
326
|
-
"
|
|
327
|
-
"outputs": ["{projectRoot}"],
|
|
328
|
-
"dependsOn": ["lint-markdown", "lint-docs", "^lint"],
|
|
326
|
+
"dependsOn": ["lint-markdown", "^lint"],
|
|
329
327
|
"executor": "nx:run-commands",
|
|
330
328
|
"options": {
|
|
331
329
|
"command": "echo Linted the project files in \"{projectRoot}\" "
|
|
@@ -337,7 +335,7 @@
|
|
|
337
335
|
"dependsOn": ["^format-toml"],
|
|
338
336
|
"executor": "nx:run-commands",
|
|
339
337
|
"options": {
|
|
340
|
-
"command": "pnpm exec taplo format --
|
|
338
|
+
"command": "pnpm exec taplo format --config=\"node_modules/@storm-software/linting-tools/taplo/config.toml\" --cache-path=\"node_modules/.cache/taplo/{projectRoot}\" --colors=\"always\" \"{projectRoot}/*.toml\" \"{projectRoot}/**/*.toml\" "
|
|
341
339
|
}
|
|
342
340
|
},
|
|
343
341
|
"format-readme": {
|
|
@@ -352,7 +350,7 @@
|
|
|
352
350
|
"dependsOn": ["^format-readme"],
|
|
353
351
|
"executor": "nx:run-commands",
|
|
354
352
|
"options": {
|
|
355
|
-
"command": "pnpm exec storm-git readme-gen --templates=\"
|
|
353
|
+
"command": "pnpm exec storm-git readme-gen --templates=\"tools/readme-templates\" --project=\"{projectName}\""
|
|
356
354
|
}
|
|
357
355
|
},
|
|
358
356
|
"format-prettier": {
|
|
@@ -360,18 +358,19 @@
|
|
|
360
358
|
"dependsOn": ["^format-prettier"],
|
|
361
359
|
"executor": "nx:run-commands",
|
|
362
360
|
"options": {
|
|
363
|
-
"command": "pnpm exec prettier \"{projectRoot}/**/*\" --write --ignore-unknown --no-error-on-unmatched-pattern --config=\"
|
|
361
|
+
"command": "pnpm exec prettier \"{projectRoot}/**/*\" --write --ignore-unknown --no-error-on-unmatched-pattern --config=\"node_modules/@storm-software/prettier/config.json\" --ignore-path=\"node_modules/@storm-software/prettier/.prettierignore\" --cache --cache-location=\"node_modules/.cache/prettier/{projectRoot}\" "
|
|
364
362
|
}
|
|
365
363
|
},
|
|
366
364
|
"format": {
|
|
367
|
-
"inputs": ["linting", "default", "^production"],
|
|
368
|
-
"outputs": ["{projectRoot}"],
|
|
369
365
|
"dependsOn": [
|
|
370
366
|
"format-toml",
|
|
371
367
|
"format-readme",
|
|
372
368
|
"format-prettier",
|
|
373
369
|
"^format"
|
|
374
|
-
]
|
|
370
|
+
],
|
|
371
|
+
"options": {
|
|
372
|
+
"command": "echo Formatted the project files in \"{projectRoot}\" "
|
|
373
|
+
}
|
|
375
374
|
},
|
|
376
375
|
"clean": {
|
|
377
376
|
"inputs": ["default", "^production"],
|
|
@@ -38,6 +38,27 @@ var createNodes = [
|
|
|
38
38
|
}
|
|
39
39
|
const nxJson = readNxJson(ctx.workspaceRoot);
|
|
40
40
|
const targets = readTargetsFromPackageJson(packageJson, nxJson);
|
|
41
|
+
if (!targets["lint-knip"]) {
|
|
42
|
+
targets["lint-knip"] = {
|
|
43
|
+
cache: true,
|
|
44
|
+
outputs: [
|
|
45
|
+
"{projectRoot}/**/*.md",
|
|
46
|
+
"{projectRoot}/**/*.mdx"
|
|
47
|
+
],
|
|
48
|
+
inputs: [
|
|
49
|
+
"linting",
|
|
50
|
+
"{projectRoot}/**/*.md",
|
|
51
|
+
"{projectRoot}/**/*.mdx"
|
|
52
|
+
],
|
|
53
|
+
dependsOn: [
|
|
54
|
+
"^lint-knip"
|
|
55
|
+
],
|
|
56
|
+
executor: "nx:run-commands",
|
|
57
|
+
options: {
|
|
58
|
+
command: 'pnpm exec knip --tsConfig "{projectRoot}/tsconfig.json" --directory "{projectRoot}" --fix --cache --cache-location "node_modules/.cache/knip/{projectRoot}"'
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
}
|
|
41
62
|
if (!targets["lint-markdown"]) {
|
|
42
63
|
targets["lint-markdown"] = {
|
|
43
64
|
cache: true,
|
|
@@ -72,8 +93,12 @@ var createNodes = [
|
|
|
72
93
|
"typescript",
|
|
73
94
|
"^production"
|
|
74
95
|
],
|
|
96
|
+
outputs: [
|
|
97
|
+
"{projectRoot}/**/*.{ts,tsx,js,jsx,json,md,mdx,yaml,yml,html,css,scss,sass,less,graphql,gql,}"
|
|
98
|
+
],
|
|
75
99
|
dependsOn: [
|
|
76
100
|
"lint-markdown",
|
|
101
|
+
"lint-knip",
|
|
77
102
|
"^lint"
|
|
78
103
|
],
|
|
79
104
|
executor: "@nx/eslint:lint",
|
|
@@ -82,60 +107,14 @@ var createNodes = [
|
|
|
82
107
|
fix: true,
|
|
83
108
|
errorOnUnmatchedPattern: false,
|
|
84
109
|
cache: true,
|
|
85
|
-
cacheLocation: "{workspaceRoot}/node_modules/.cache/eslint",
|
|
110
|
+
cacheLocation: "{workspaceRoot}/node_modules/.cache/eslint/{projectRoot}",
|
|
86
111
|
eslintConfig
|
|
87
112
|
}
|
|
88
113
|
};
|
|
89
114
|
}
|
|
90
115
|
}
|
|
91
|
-
if (!targets["format-readme"]) {
|
|
92
|
-
targets["format-readme"] = {
|
|
93
|
-
cache: true,
|
|
94
|
-
inputs: [
|
|
95
|
-
"linting",
|
|
96
|
-
"documentation",
|
|
97
|
-
"typescript",
|
|
98
|
-
"^production"
|
|
99
|
-
],
|
|
100
|
-
dependsOn: [
|
|
101
|
-
"^format-readme"
|
|
102
|
-
]
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
if (!targets["format-toml"]) {
|
|
106
|
-
targets["format-toml"] = {
|
|
107
|
-
cache: true,
|
|
108
|
-
inputs: [
|
|
109
|
-
"linting",
|
|
110
|
-
"typescript",
|
|
111
|
-
"^production"
|
|
112
|
-
],
|
|
113
|
-
dependsOn: [
|
|
114
|
-
"^format-toml"
|
|
115
|
-
]
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
if (!targets["format-prettier"]) {
|
|
119
|
-
targets["format-prettier"] = {
|
|
120
|
-
cache: true,
|
|
121
|
-
inputs: [
|
|
122
|
-
"linting",
|
|
123
|
-
"typescript",
|
|
124
|
-
"^production"
|
|
125
|
-
],
|
|
126
|
-
dependsOn: [
|
|
127
|
-
"^format-prettier"
|
|
128
|
-
]
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
116
|
if (!targets.format) {
|
|
132
117
|
targets.format = {
|
|
133
|
-
cache: true,
|
|
134
|
-
inputs: [
|
|
135
|
-
"linting",
|
|
136
|
-
"typescript",
|
|
137
|
-
"^production"
|
|
138
|
-
],
|
|
139
118
|
dependsOn: [
|
|
140
119
|
"format-readme",
|
|
141
120
|
"format-toml",
|
|
@@ -144,8 +123,7 @@ var createNodes = [
|
|
|
144
123
|
],
|
|
145
124
|
executor: "nx:run-commands",
|
|
146
125
|
options: {
|
|
147
|
-
command: `echo 'Formatting the project files in "{projectRoot}"'
|
|
148
|
-
color: true
|
|
126
|
+
command: `echo 'Formatting the project files in "{projectRoot}"' `
|
|
149
127
|
}
|
|
150
128
|
};
|
|
151
129
|
}
|
|
@@ -177,19 +155,18 @@ var createNodes = [
|
|
|
177
155
|
],
|
|
178
156
|
inputs: [
|
|
179
157
|
"typescript",
|
|
158
|
+
"default",
|
|
180
159
|
"^production"
|
|
181
160
|
],
|
|
182
161
|
outputs: [
|
|
183
162
|
"{workspaceRoot}/dist/{projectRoot}"
|
|
184
163
|
],
|
|
185
164
|
options: {
|
|
186
|
-
command: `pnpm exec nx run ${project.name}:build
|
|
187
|
-
color: true,
|
|
188
|
-
cwd: "{workspaceRoot}"
|
|
165
|
+
command: `pnpm exec nx run ${project.name}:build`
|
|
189
166
|
}
|
|
190
167
|
};
|
|
191
168
|
}
|
|
192
|
-
if (!targets.test) {
|
|
169
|
+
if (!targets.test && checkJestConfigAtPath(project.root)) {
|
|
193
170
|
targets.test = {
|
|
194
171
|
cache: true,
|
|
195
172
|
executor: "@nx/jest:jest",
|
|
@@ -201,17 +178,17 @@ var createNodes = [
|
|
|
201
178
|
outputs: [
|
|
202
179
|
"{workspaceRoot}/coverage/{projectRoot}"
|
|
203
180
|
],
|
|
204
|
-
defaultConfiguration: "
|
|
181
|
+
defaultConfiguration: "development",
|
|
205
182
|
options: {
|
|
206
183
|
jestConfig: "{projectRoot}/jest.config.ts",
|
|
207
184
|
passWithNoTests: true
|
|
208
185
|
},
|
|
209
186
|
configurations: {
|
|
210
|
-
|
|
187
|
+
development: {
|
|
211
188
|
ci: false,
|
|
212
189
|
codeCoverage: true
|
|
213
190
|
},
|
|
214
|
-
|
|
191
|
+
production: {
|
|
215
192
|
ci: true,
|
|
216
193
|
codeCoverage: true
|
|
217
194
|
}
|
|
@@ -219,11 +196,6 @@ var createNodes = [
|
|
|
219
196
|
};
|
|
220
197
|
}
|
|
221
198
|
targets["size-limit"] = {
|
|
222
|
-
cache: true,
|
|
223
|
-
inputs: [
|
|
224
|
-
"typescript",
|
|
225
|
-
"^production"
|
|
226
|
-
],
|
|
227
199
|
dependsOn: [
|
|
228
200
|
"build",
|
|
229
201
|
"^size-limit"
|
|
@@ -236,14 +208,6 @@ var createNodes = [
|
|
|
236
208
|
overwrite: true
|
|
237
209
|
});
|
|
238
210
|
targets["nx-release-publish"] = {
|
|
239
|
-
cache: true,
|
|
240
|
-
inputs: [
|
|
241
|
-
"linting",
|
|
242
|
-
"testing",
|
|
243
|
-
"documentation",
|
|
244
|
-
"default",
|
|
245
|
-
"^production"
|
|
246
|
-
],
|
|
247
211
|
dependsOn: [
|
|
248
212
|
"build",
|
|
249
213
|
"size-limit",
|
|
@@ -385,10 +349,34 @@ function checkEslintConfigAtPath(directory) {
|
|
|
385
349
|
return "eslint.config.mjs";
|
|
386
350
|
} else if (hasEslintConfigFile("eslint.config.ts")) {
|
|
387
351
|
return "eslint.config.ts";
|
|
352
|
+
} else if (hasEslintConfigFile("eslint.config.cts")) {
|
|
353
|
+
return "eslint.config.cts";
|
|
354
|
+
} else if (hasEslintConfigFile("eslint.config.mts")) {
|
|
355
|
+
return "eslint.config.mts";
|
|
388
356
|
}
|
|
389
357
|
return null;
|
|
390
358
|
}
|
|
391
359
|
__name(checkEslintConfigAtPath, "checkEslintConfigAtPath");
|
|
360
|
+
function checkJestConfigAtPath(directory) {
|
|
361
|
+
const hasJestConfigFile = /* @__PURE__ */ __name((fileName) => {
|
|
362
|
+
return existsSync(join(directory, fileName));
|
|
363
|
+
}, "hasJestConfigFile");
|
|
364
|
+
if (hasJestConfigFile("eslint.config.js")) {
|
|
365
|
+
return "jest.config.js";
|
|
366
|
+
} else if (hasJestConfigFile("eslint.config.cjs")) {
|
|
367
|
+
return "jest.config.cjs";
|
|
368
|
+
} else if (hasJestConfigFile("eslint.config.mjs")) {
|
|
369
|
+
return "jest.config.mjs";
|
|
370
|
+
} else if (hasJestConfigFile("eslint.config.ts")) {
|
|
371
|
+
return "jest.config.ts";
|
|
372
|
+
} else if (hasJestConfigFile("jest.config.cts")) {
|
|
373
|
+
return "jest.config.cts";
|
|
374
|
+
} else if (hasJestConfigFile("jest.config.mts")) {
|
|
375
|
+
return "jest.config.mts";
|
|
376
|
+
}
|
|
377
|
+
return null;
|
|
378
|
+
}
|
|
379
|
+
__name(checkJestConfigAtPath, "checkJestConfigAtPath");
|
|
392
380
|
|
|
393
381
|
export {
|
|
394
382
|
name,
|
|
@@ -38,6 +38,27 @@ 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
|
+
if (!targets["lint-knip"]) {
|
|
42
|
+
targets["lint-knip"] = {
|
|
43
|
+
cache: true,
|
|
44
|
+
outputs: [
|
|
45
|
+
"{projectRoot}/**/*.md",
|
|
46
|
+
"{projectRoot}/**/*.mdx"
|
|
47
|
+
],
|
|
48
|
+
inputs: [
|
|
49
|
+
"linting",
|
|
50
|
+
"{projectRoot}/**/*.md",
|
|
51
|
+
"{projectRoot}/**/*.mdx"
|
|
52
|
+
],
|
|
53
|
+
dependsOn: [
|
|
54
|
+
"^lint-knip"
|
|
55
|
+
],
|
|
56
|
+
executor: "nx:run-commands",
|
|
57
|
+
options: {
|
|
58
|
+
command: 'pnpm exec knip --tsConfig "{projectRoot}/tsconfig.json" --directory "{projectRoot}" --fix --cache --cache-location "node_modules/.cache/knip/{projectRoot}"'
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
}
|
|
41
62
|
if (!targets["lint-markdown"]) {
|
|
42
63
|
targets["lint-markdown"] = {
|
|
43
64
|
cache: true,
|
|
@@ -72,8 +93,12 @@ var createNodes = [
|
|
|
72
93
|
"typescript",
|
|
73
94
|
"^production"
|
|
74
95
|
],
|
|
96
|
+
outputs: [
|
|
97
|
+
"{projectRoot}/**/*.{ts,tsx,js,jsx,json,md,mdx,yaml,yml,html,css,scss,sass,less,graphql,gql,}"
|
|
98
|
+
],
|
|
75
99
|
dependsOn: [
|
|
76
100
|
"lint-markdown",
|
|
101
|
+
"lint-knip",
|
|
77
102
|
"^lint"
|
|
78
103
|
],
|
|
79
104
|
executor: "@nx/eslint:lint",
|
|
@@ -82,60 +107,14 @@ var createNodes = [
|
|
|
82
107
|
fix: true,
|
|
83
108
|
errorOnUnmatchedPattern: false,
|
|
84
109
|
cache: true,
|
|
85
|
-
cacheLocation: "{workspaceRoot}/node_modules/.cache/eslint",
|
|
110
|
+
cacheLocation: "{workspaceRoot}/node_modules/.cache/eslint/{projectRoot}",
|
|
86
111
|
eslintConfig
|
|
87
112
|
}
|
|
88
113
|
};
|
|
89
114
|
}
|
|
90
115
|
}
|
|
91
|
-
if (!targets["format-readme"]) {
|
|
92
|
-
targets["format-readme"] = {
|
|
93
|
-
cache: true,
|
|
94
|
-
inputs: [
|
|
95
|
-
"linting",
|
|
96
|
-
"documentation",
|
|
97
|
-
"typescript",
|
|
98
|
-
"^production"
|
|
99
|
-
],
|
|
100
|
-
dependsOn: [
|
|
101
|
-
"^format-readme"
|
|
102
|
-
]
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
if (!targets["format-toml"]) {
|
|
106
|
-
targets["format-toml"] = {
|
|
107
|
-
cache: true,
|
|
108
|
-
inputs: [
|
|
109
|
-
"linting",
|
|
110
|
-
"typescript",
|
|
111
|
-
"^production"
|
|
112
|
-
],
|
|
113
|
-
dependsOn: [
|
|
114
|
-
"^format-toml"
|
|
115
|
-
]
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
if (!targets["format-prettier"]) {
|
|
119
|
-
targets["format-prettier"] = {
|
|
120
|
-
cache: true,
|
|
121
|
-
inputs: [
|
|
122
|
-
"linting",
|
|
123
|
-
"typescript",
|
|
124
|
-
"^production"
|
|
125
|
-
],
|
|
126
|
-
dependsOn: [
|
|
127
|
-
"^format-prettier"
|
|
128
|
-
]
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
116
|
if (!targets.format) {
|
|
132
117
|
targets.format = {
|
|
133
|
-
cache: true,
|
|
134
|
-
inputs: [
|
|
135
|
-
"linting",
|
|
136
|
-
"typescript",
|
|
137
|
-
"^production"
|
|
138
|
-
],
|
|
139
118
|
dependsOn: [
|
|
140
119
|
"format-readme",
|
|
141
120
|
"format-toml",
|
|
@@ -144,8 +123,7 @@ var createNodes = [
|
|
|
144
123
|
],
|
|
145
124
|
executor: "nx:run-commands",
|
|
146
125
|
options: {
|
|
147
|
-
command: `echo 'Formatting the project files in "{projectRoot}"'
|
|
148
|
-
color: true
|
|
126
|
+
command: `echo 'Formatting the project files in "{projectRoot}"' `
|
|
149
127
|
}
|
|
150
128
|
};
|
|
151
129
|
}
|
|
@@ -177,19 +155,18 @@ var createNodes = [
|
|
|
177
155
|
],
|
|
178
156
|
inputs: [
|
|
179
157
|
"typescript",
|
|
158
|
+
"default",
|
|
180
159
|
"^production"
|
|
181
160
|
],
|
|
182
161
|
outputs: [
|
|
183
162
|
"{workspaceRoot}/dist/{projectRoot}"
|
|
184
163
|
],
|
|
185
164
|
options: {
|
|
186
|
-
command: `pnpm exec nx run ${project.name}:build
|
|
187
|
-
color: true,
|
|
188
|
-
cwd: "{workspaceRoot}"
|
|
165
|
+
command: `pnpm exec nx run ${project.name}:build`
|
|
189
166
|
}
|
|
190
167
|
};
|
|
191
168
|
}
|
|
192
|
-
if (!targets.test) {
|
|
169
|
+
if (!targets.test && checkJestConfigAtPath(project.root)) {
|
|
193
170
|
targets.test = {
|
|
194
171
|
cache: true,
|
|
195
172
|
executor: "@nx/jest:jest",
|
|
@@ -201,17 +178,17 @@ var createNodes = [
|
|
|
201
178
|
outputs: [
|
|
202
179
|
"{workspaceRoot}/coverage/{projectRoot}"
|
|
203
180
|
],
|
|
204
|
-
defaultConfiguration: "
|
|
181
|
+
defaultConfiguration: "development",
|
|
205
182
|
options: {
|
|
206
183
|
jestConfig: "{projectRoot}/jest.config.ts",
|
|
207
184
|
passWithNoTests: true
|
|
208
185
|
},
|
|
209
186
|
configurations: {
|
|
210
|
-
|
|
187
|
+
development: {
|
|
211
188
|
ci: false,
|
|
212
189
|
codeCoverage: true
|
|
213
190
|
},
|
|
214
|
-
|
|
191
|
+
production: {
|
|
215
192
|
ci: true,
|
|
216
193
|
codeCoverage: true
|
|
217
194
|
}
|
|
@@ -219,11 +196,6 @@ var createNodes = [
|
|
|
219
196
|
};
|
|
220
197
|
}
|
|
221
198
|
targets["size-limit"] = {
|
|
222
|
-
cache: true,
|
|
223
|
-
inputs: [
|
|
224
|
-
"typescript",
|
|
225
|
-
"^production"
|
|
226
|
-
],
|
|
227
199
|
dependsOn: [
|
|
228
200
|
"build",
|
|
229
201
|
"^size-limit"
|
|
@@ -236,14 +208,6 @@ var createNodes = [
|
|
|
236
208
|
overwrite: true
|
|
237
209
|
});
|
|
238
210
|
targets["nx-release-publish"] = {
|
|
239
|
-
cache: true,
|
|
240
|
-
inputs: [
|
|
241
|
-
"linting",
|
|
242
|
-
"testing",
|
|
243
|
-
"documentation",
|
|
244
|
-
"default",
|
|
245
|
-
"^production"
|
|
246
|
-
],
|
|
247
211
|
dependsOn: [
|
|
248
212
|
"build",
|
|
249
213
|
"size-limit",
|
|
@@ -385,10 +349,34 @@ function checkEslintConfigAtPath(directory) {
|
|
|
385
349
|
return "eslint.config.mjs";
|
|
386
350
|
} else if (hasEslintConfigFile("eslint.config.ts")) {
|
|
387
351
|
return "eslint.config.ts";
|
|
352
|
+
} else if (hasEslintConfigFile("eslint.config.cts")) {
|
|
353
|
+
return "eslint.config.cts";
|
|
354
|
+
} else if (hasEslintConfigFile("eslint.config.mts")) {
|
|
355
|
+
return "eslint.config.mts";
|
|
388
356
|
}
|
|
389
357
|
return null;
|
|
390
358
|
}
|
|
391
359
|
_chunk3GQAWCBQjs.__name.call(void 0, checkEslintConfigAtPath, "checkEslintConfigAtPath");
|
|
360
|
+
function checkJestConfigAtPath(directory) {
|
|
361
|
+
const hasJestConfigFile = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (fileName) => {
|
|
362
|
+
return _fs.existsSync.call(void 0, _path.join.call(void 0, directory, fileName));
|
|
363
|
+
}, "hasJestConfigFile");
|
|
364
|
+
if (hasJestConfigFile("eslint.config.js")) {
|
|
365
|
+
return "jest.config.js";
|
|
366
|
+
} else if (hasJestConfigFile("eslint.config.cjs")) {
|
|
367
|
+
return "jest.config.cjs";
|
|
368
|
+
} else if (hasJestConfigFile("eslint.config.mjs")) {
|
|
369
|
+
return "jest.config.mjs";
|
|
370
|
+
} else if (hasJestConfigFile("eslint.config.ts")) {
|
|
371
|
+
return "jest.config.ts";
|
|
372
|
+
} else if (hasJestConfigFile("jest.config.cts")) {
|
|
373
|
+
return "jest.config.cts";
|
|
374
|
+
} else if (hasJestConfigFile("jest.config.mts")) {
|
|
375
|
+
return "jest.config.mts";
|
|
376
|
+
}
|
|
377
|
+
return null;
|
|
378
|
+
}
|
|
379
|
+
_chunk3GQAWCBQjs.__name.call(void 0, checkJestConfigAtPath, "checkJestConfigAtPath");
|
|
392
380
|
|
|
393
381
|
|
|
394
382
|
|
package/dist/executors.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-3J53KHVV.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkJXSTSZSGjs = require('./chunk-JXSTSZSG.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
13
|
var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkWGTIKGAEjs = require('./chunk-WGTIKGAE.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunk5O6RWCBQjs = require('./chunk-5O6RWCBQ.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
var _chunkWL7UV3YXjs = require('./chunk-WL7UV3YX.js');
|
|
26
26
|
require('./chunk-R2NBU264.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var _chunk4AMZUCHLjs = require('./chunk-4AMZUCHL.js');
|
|
30
|
-
|
|
31
|
-
|
|
32
29
|
var _chunkK434EGC4js = require('./chunk-K434EGC4.js');
|
|
33
30
|
|
|
34
31
|
|
|
35
|
-
var
|
|
32
|
+
var _chunk4AMZUCHLjs = require('./chunk-4AMZUCHL.js');
|
|
36
33
|
|
|
37
34
|
|
|
38
35
|
var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
|
|
36
|
+
|
|
37
|
+
|
|
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
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import "./chunk-V7YZ3666.mjs";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
sizeLimitExecutorFn
|
|
7
|
-
} from "./chunk-KM47X5XW.mjs";
|
|
3
|
+
typiaExecutorFn
|
|
4
|
+
} from "./chunk-2KNHEXJQ.mjs";
|
|
8
5
|
import {
|
|
9
6
|
LARGE_BUFFER
|
|
10
7
|
} from "./chunk-VBPOZVKY.mjs";
|
|
8
|
+
import {
|
|
9
|
+
sizeLimitExecutorFn
|
|
10
|
+
} from "./chunk-KM47X5XW.mjs";
|
|
11
11
|
import {
|
|
12
12
|
tsdownExecutorFn
|
|
13
13
|
} from "./chunk-UF3YMASN.mjs";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
getRegistryVersion
|
|
19
|
-
} from "./chunk-XUYTELRS.mjs";
|
|
15
|
+
unbuildExecutorFn
|
|
16
|
+
} from "./chunk-7H4PXXWW.mjs";
|
|
20
17
|
import {
|
|
21
18
|
cargoFormatExecutor
|
|
22
19
|
} from "./chunk-YILBFUCI.mjs";
|
|
20
|
+
import {
|
|
21
|
+
getRegistryVersion
|
|
22
|
+
} from "./chunk-XUYTELRS.mjs";
|
|
23
23
|
import {
|
|
24
24
|
esbuildExecutorFn
|
|
25
25
|
} from "./chunk-OA6GD45B.mjs";
|
|
26
26
|
import "./chunk-N2P34ZQV.mjs";
|
|
27
|
-
import {
|
|
28
|
-
cargoCheckExecutor
|
|
29
|
-
} from "./chunk-P4ZEGEQX.mjs";
|
|
30
27
|
import {
|
|
31
28
|
cargoBuildExecutor
|
|
32
29
|
} from "./chunk-RSFH5OLL.mjs";
|
|
33
30
|
import {
|
|
34
|
-
|
|
35
|
-
} from "./chunk-
|
|
31
|
+
cargoCheckExecutor
|
|
32
|
+
} from "./chunk-P4ZEGEQX.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/generators.js
CHANGED
|
@@ -7,6 +7,9 @@ var _chunkSJNJ6TCDjs = require('./chunk-SJNJ6TCD.js');
|
|
|
7
7
|
var _chunkDCJXS5XIjs = require('./chunk-DCJXS5XI.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
+
var _chunkWDK2FJUHjs = require('./chunk-WDK2FJUH.js');
|
|
11
|
+
|
|
12
|
+
|
|
10
13
|
var _chunkYDV7OQMNjs = require('./chunk-YDV7OQMN.js');
|
|
11
14
|
|
|
12
15
|
|
|
@@ -17,9 +20,6 @@ var _chunkKJPUYQEZjs = require('./chunk-KJPUYQEZ.js');
|
|
|
17
20
|
|
|
18
21
|
|
|
19
22
|
var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
var _chunkWDK2FJUHjs = require('./chunk-WDK2FJUH.js');
|
|
23
23
|
require('./chunk-RBU35LQW.js');
|
|
24
24
|
require('./chunk-HI4G4OOG.js');
|
|
25
25
|
require('./chunk-7YRW5HNX.js');
|
package/dist/generators.mjs
CHANGED
|
@@ -5,6 +5,9 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
presetGeneratorFn
|
|
7
7
|
} from "./chunk-QDZUYDVM.mjs";
|
|
8
|
+
import {
|
|
9
|
+
nodeLibraryGeneratorFn
|
|
10
|
+
} from "./chunk-Q6OBRMZG.mjs";
|
|
8
11
|
import {
|
|
9
12
|
releaseVersionGeneratorFn
|
|
10
13
|
} from "./chunk-TNAEFYVH.mjs";
|
|
@@ -17,9 +20,6 @@ import {
|
|
|
17
20
|
import {
|
|
18
21
|
initGenerator
|
|
19
22
|
} from "./chunk-X3GPVZMH.mjs";
|
|
20
|
-
import {
|
|
21
|
-
nodeLibraryGeneratorFn
|
|
22
|
-
} from "./chunk-Q6OBRMZG.mjs";
|
|
23
23
|
import "./chunk-F2GYXQ5H.mjs";
|
|
24
24
|
import "./chunk-EK75QNMS.mjs";
|
|
25
25
|
import "./chunk-W3SWWT4A.mjs";
|
package/dist/index.js
CHANGED
|
@@ -48,43 +48,43 @@ var _chunkGKL4BY2Yjs = require('./chunk-GKL4BY2Y.js');
|
|
|
48
48
|
require('./chunk-3J53KHVV.js');
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
var
|
|
51
|
+
var _chunkJXSTSZSGjs = require('./chunk-JXSTSZSG.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
60
|
var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
var
|
|
63
|
+
var _chunkWGTIKGAEjs = require('./chunk-WGTIKGAE.js');
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
var
|
|
66
|
+
var _chunk5O6RWCBQjs = require('./chunk-5O6RWCBQ.js');
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
var
|
|
69
|
+
var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
var _chunkWL7UV3YXjs = require('./chunk-WL7UV3YX.js');
|
|
73
73
|
require('./chunk-R2NBU264.js');
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
var _chunk4AMZUCHLjs = require('./chunk-4AMZUCHL.js');
|
|
77
|
-
|
|
78
|
-
|
|
79
76
|
var _chunkK434EGC4js = require('./chunk-K434EGC4.js');
|
|
80
77
|
|
|
81
78
|
|
|
82
|
-
var
|
|
79
|
+
var _chunk4AMZUCHLjs = require('./chunk-4AMZUCHL.js');
|
|
83
80
|
|
|
84
81
|
|
|
85
82
|
var _chunkG7HTMCQKjs = require('./chunk-G7HTMCQK.js');
|
|
86
83
|
|
|
87
84
|
|
|
85
|
+
var _chunk4SJW3KRVjs = require('./chunk-4SJW3KRV.js');
|
|
86
|
+
|
|
87
|
+
|
|
88
88
|
var _chunkCUPARBOSjs = require('./chunk-CUPARBOS.js');
|
|
89
89
|
|
|
90
90
|
|
|
@@ -106,6 +106,9 @@ var _chunkSJNJ6TCDjs = require('./chunk-SJNJ6TCD.js');
|
|
|
106
106
|
var _chunkDCJXS5XIjs = require('./chunk-DCJXS5XI.js');
|
|
107
107
|
|
|
108
108
|
|
|
109
|
+
var _chunkWDK2FJUHjs = require('./chunk-WDK2FJUH.js');
|
|
110
|
+
|
|
111
|
+
|
|
109
112
|
var _chunkYDV7OQMNjs = require('./chunk-YDV7OQMN.js');
|
|
110
113
|
|
|
111
114
|
|
|
@@ -118,9 +121,6 @@ var _chunkKJPUYQEZjs = require('./chunk-KJPUYQEZ.js');
|
|
|
118
121
|
var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');
|
|
119
122
|
|
|
120
123
|
|
|
121
|
-
var _chunkWDK2FJUHjs = require('./chunk-WDK2FJUH.js');
|
|
122
|
-
|
|
123
|
-
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
|
package/dist/index.mjs
CHANGED
|
@@ -47,42 +47,42 @@ import {
|
|
|
47
47
|
} from "./chunk-V7IOKRJA.mjs";
|
|
48
48
|
import "./chunk-V7YZ3666.mjs";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import {
|
|
53
|
-
sizeLimitExecutorFn
|
|
54
|
-
} from "./chunk-KM47X5XW.mjs";
|
|
50
|
+
typiaExecutorFn
|
|
51
|
+
} from "./chunk-2KNHEXJQ.mjs";
|
|
55
52
|
import {
|
|
56
53
|
LARGE_BUFFER
|
|
57
54
|
} from "./chunk-VBPOZVKY.mjs";
|
|
55
|
+
import {
|
|
56
|
+
sizeLimitExecutorFn
|
|
57
|
+
} from "./chunk-KM47X5XW.mjs";
|
|
58
58
|
import {
|
|
59
59
|
tsdownExecutorFn
|
|
60
60
|
} from "./chunk-UF3YMASN.mjs";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./chunk-
|
|
64
|
-
import {
|
|
65
|
-
getRegistryVersion
|
|
66
|
-
} from "./chunk-XUYTELRS.mjs";
|
|
62
|
+
unbuildExecutorFn
|
|
63
|
+
} from "./chunk-7H4PXXWW.mjs";
|
|
67
64
|
import {
|
|
68
65
|
cargoFormatExecutor
|
|
69
66
|
} from "./chunk-YILBFUCI.mjs";
|
|
67
|
+
import {
|
|
68
|
+
getRegistryVersion
|
|
69
|
+
} from "./chunk-XUYTELRS.mjs";
|
|
70
70
|
import {
|
|
71
71
|
esbuildExecutorFn
|
|
72
72
|
} from "./chunk-OA6GD45B.mjs";
|
|
73
73
|
import "./chunk-N2P34ZQV.mjs";
|
|
74
|
-
import {
|
|
75
|
-
cargoCheckExecutor
|
|
76
|
-
} from "./chunk-P4ZEGEQX.mjs";
|
|
77
74
|
import {
|
|
78
75
|
cargoBuildExecutor
|
|
79
76
|
} from "./chunk-RSFH5OLL.mjs";
|
|
80
77
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
78
|
+
cargoCheckExecutor
|
|
79
|
+
} from "./chunk-P4ZEGEQX.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";
|
|
@@ -104,6 +104,9 @@ import {
|
|
|
104
104
|
import {
|
|
105
105
|
presetGeneratorFn
|
|
106
106
|
} from "./chunk-QDZUYDVM.mjs";
|
|
107
|
+
import {
|
|
108
|
+
nodeLibraryGeneratorFn
|
|
109
|
+
} from "./chunk-Q6OBRMZG.mjs";
|
|
107
110
|
import {
|
|
108
111
|
releaseVersionGeneratorFn
|
|
109
112
|
} from "./chunk-TNAEFYVH.mjs";
|
|
@@ -116,9 +119,6 @@ import {
|
|
|
116
119
|
import {
|
|
117
120
|
initGenerator
|
|
118
121
|
} from "./chunk-X3GPVZMH.mjs";
|
|
119
|
-
import {
|
|
120
|
-
nodeLibraryGeneratorFn
|
|
121
|
-
} from "./chunk-Q6OBRMZG.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 _chunkX6AFVYVHjs = require('../../../chunk-X6AFVYVH.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 = _chunkX6AFVYVHjs.createNodes; exports.name = _chunkX6AFVYVHjs.name;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkX6AFVYVHjs = require('../../../chunk-X6AFVYVH.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 = _chunkX6AFVYVHjs.createNodes; exports.name = _chunkX6AFVYVHjs.name;
|
package/package.json
CHANGED