@storm-software/workspace-tools 1.250.4 → 1.250.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 +6 -0
- package/README.md +1 -1
- package/config/base.json +8 -9
- package/dist/{chunk-OJ45PFD5.mjs → chunk-GEFYMTJE.mjs} +57 -69
- package/dist/{chunk-3WQQLTVC.js → chunk-YIBMB7QB.js} +57 -69
- package/dist/executors.js +6 -6
- package/dist/executors.mjs +8 -8
- package/dist/generators.js +4 -4
- package/dist/generators.mjs +5 -5
- package/dist/index.js +10 -10
- package/dist/index.mjs +13 -13
- 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
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 --directory --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 --directory --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
|
@@ -16,26 +16,26 @@ var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
|
|
|
16
16
|
var _chunkJXSTSZSGjs = require('./chunk-JXSTSZSG.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
|
@@ -14,28 +14,28 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
typiaExecutorFn
|
|
16
16
|
} from "./chunk-2KNHEXJQ.mjs";
|
|
17
|
-
import {
|
|
18
|
-
getRegistryVersion
|
|
19
|
-
} from "./chunk-XUYTELRS.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
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
var _chunkSJNJ6TCDjs = require('./chunk-SJNJ6TCD.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
var _chunkWDK2FJUHjs = require('./chunk-WDK2FJUH.js');
|
|
8
|
+
|
|
9
|
+
|
|
7
10
|
var _chunkDCJXS5XIjs = require('./chunk-DCJXS5XI.js');
|
|
8
11
|
|
|
9
12
|
|
|
@@ -13,13 +16,10 @@ var _chunkYDV7OQMNjs = require('./chunk-YDV7OQMN.js');
|
|
|
13
16
|
var _chunkQKALACBCjs = require('./chunk-QKALACBC.js');
|
|
14
17
|
|
|
15
18
|
|
|
16
|
-
var _chunkKJPUYQEZjs = require('./chunk-KJPUYQEZ.js');
|
|
17
|
-
|
|
18
|
-
|
|
19
19
|
var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkKJPUYQEZjs = require('./chunk-KJPUYQEZ.js');
|
|
23
23
|
require('./chunk-RBU35LQW.js');
|
|
24
24
|
require('./chunk-HI4G4OOG.js');
|
|
25
25
|
require('./chunk-7YRW5HNX.js');
|
package/dist/generators.mjs
CHANGED
|
@@ -2,6 +2,9 @@ import "./chunk-RLIZVCIN.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
neutralLibraryGeneratorFn
|
|
4
4
|
} from "./chunk-APSDUSBR.mjs";
|
|
5
|
+
import {
|
|
6
|
+
nodeLibraryGeneratorFn
|
|
7
|
+
} from "./chunk-Q6OBRMZG.mjs";
|
|
5
8
|
import {
|
|
6
9
|
presetGeneratorFn
|
|
7
10
|
} from "./chunk-QDZUYDVM.mjs";
|
|
@@ -11,15 +14,12 @@ import {
|
|
|
11
14
|
import {
|
|
12
15
|
browserLibraryGeneratorFn
|
|
13
16
|
} 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
|
+
configSchemaGeneratorFn
|
|
22
|
+
} from "./chunk-S73S6XCY.mjs";
|
|
23
23
|
import "./chunk-F2GYXQ5H.mjs";
|
|
24
24
|
import "./chunk-EK75QNMS.mjs";
|
|
25
25
|
import "./chunk-W3SWWT4A.mjs";
|
package/dist/index.js
CHANGED
|
@@ -63,28 +63,28 @@ var _chunkFMOIAVZVjs = require('./chunk-FMOIAVZV.js');
|
|
|
63
63
|
var _chunkJXSTSZSGjs = require('./chunk-JXSTSZSG.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
|
|
|
@@ -103,6 +103,9 @@ require('./chunk-INERRJ6Q.js');
|
|
|
103
103
|
var _chunkSJNJ6TCDjs = require('./chunk-SJNJ6TCD.js');
|
|
104
104
|
|
|
105
105
|
|
|
106
|
+
var _chunkWDK2FJUHjs = require('./chunk-WDK2FJUH.js');
|
|
107
|
+
|
|
108
|
+
|
|
106
109
|
var _chunkDCJXS5XIjs = require('./chunk-DCJXS5XI.js');
|
|
107
110
|
|
|
108
111
|
|
|
@@ -112,13 +115,10 @@ var _chunkYDV7OQMNjs = require('./chunk-YDV7OQMN.js');
|
|
|
112
115
|
var _chunkQKALACBCjs = require('./chunk-QKALACBC.js');
|
|
113
116
|
|
|
114
117
|
|
|
115
|
-
var _chunkKJPUYQEZjs = require('./chunk-KJPUYQEZ.js');
|
|
116
|
-
|
|
117
|
-
|
|
118
118
|
var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
var
|
|
121
|
+
var _chunkKJPUYQEZjs = require('./chunk-KJPUYQEZ.js');
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
|
package/dist/index.mjs
CHANGED
|
@@ -61,28 +61,28 @@ import {
|
|
|
61
61
|
import {
|
|
62
62
|
typiaExecutorFn
|
|
63
63
|
} from "./chunk-2KNHEXJQ.mjs";
|
|
64
|
-
import {
|
|
65
|
-
getRegistryVersion
|
|
66
|
-
} from "./chunk-XUYTELRS.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";
|
|
@@ -101,6 +101,9 @@ import "./chunk-RLIZVCIN.mjs";
|
|
|
101
101
|
import {
|
|
102
102
|
neutralLibraryGeneratorFn
|
|
103
103
|
} from "./chunk-APSDUSBR.mjs";
|
|
104
|
+
import {
|
|
105
|
+
nodeLibraryGeneratorFn
|
|
106
|
+
} from "./chunk-Q6OBRMZG.mjs";
|
|
104
107
|
import {
|
|
105
108
|
presetGeneratorFn
|
|
106
109
|
} from "./chunk-QDZUYDVM.mjs";
|
|
@@ -110,15 +113,12 @@ import {
|
|
|
110
113
|
import {
|
|
111
114
|
browserLibraryGeneratorFn
|
|
112
115
|
} 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
|
+
configSchemaGeneratorFn
|
|
121
|
+
} from "./chunk-S73S6XCY.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 _chunkYIBMB7QBjs = require('../../../chunk-YIBMB7QB.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 = _chunkYIBMB7QBjs.createNodes; exports.name = _chunkYIBMB7QBjs.name;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkYIBMB7QBjs = require('../../../chunk-YIBMB7QB.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 = _chunkYIBMB7QBjs.createNodes; exports.name = _chunkYIBMB7QBjs.name;
|
package/package.json
CHANGED