@storm-software/workspace-tools 1.264.26 → 1.265.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.
Files changed (43) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-26KLH7BI.js → chunk-4OACOTBI.js} +1 -0
  4. package/dist/chunk-6WOWZO7V.mjs +468 -0
  5. package/dist/{chunk-3JFGESR3.js → chunk-BIZKO6I7.js} +1 -1
  6. package/dist/{chunk-JFIIKAFU.mjs → chunk-HED3LGKA.mjs} +1 -1
  7. package/dist/{chunk-32XQSY3C.mjs → chunk-OLZK3IYT.mjs} +1 -0
  8. package/dist/chunk-OQTJDGUH.js +468 -0
  9. package/dist/{executor-21QQWs8J.d.ts → executor-2Oxd-ew3.d.ts} +9 -0
  10. package/dist/{executor-BYcX7bg8.d.mts → executor-Xwofymys.d.mts} +9 -0
  11. package/dist/executors.d.mts +1 -1
  12. package/dist/executors.d.ts +1 -1
  13. package/dist/executors.js +9 -9
  14. package/dist/executors.mjs +12 -12
  15. package/dist/generators.js +6 -6
  16. package/dist/generators.mjs +6 -6
  17. package/dist/index.d.mts +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +15 -15
  20. package/dist/index.mjs +18 -18
  21. package/dist/src/executors/esbuild/executor.js +2 -2
  22. package/dist/src/executors/esbuild/executor.mjs +1 -1
  23. package/dist/src/executors/unbuild/executor.d.mts +1 -1
  24. package/dist/src/executors/unbuild/executor.d.ts +1 -1
  25. package/dist/src/executors/unbuild/executor.js +2 -2
  26. package/dist/src/executors/unbuild/executor.mjs +1 -1
  27. package/dist/src/executors/unbuild/schema.d.ts +9 -0
  28. package/dist/src/executors/unbuild/schema.json +8 -0
  29. package/dist/src/executors/unbuild/schema.md +10 -0
  30. package/dist/src/executors/unbuild/untyped.js +8 -0
  31. package/dist/src/executors/unbuild/untyped.mjs +8 -0
  32. package/dist/src/plugins/typescript/index.d.mts +1 -1
  33. package/dist/src/plugins/typescript/index.d.ts +1 -1
  34. package/dist/src/plugins/typescript/index.js +2 -2
  35. package/dist/src/plugins/typescript/index.mjs +3 -3
  36. package/dist/src/plugins/typescript/project-config.d.mts +3 -3
  37. package/dist/src/plugins/typescript/project-config.d.ts +3 -3
  38. package/dist/src/plugins/typescript/project-config.js +2 -2
  39. package/dist/src/plugins/typescript/project-config.mjs +3 -3
  40. package/docs/api/executors/unbuild/schema.md +10 -0
  41. package/package.json +1 -1
  42. package/dist/chunk-EPP63VOO.js +0 -450
  43. package/dist/chunk-RLG36VMZ.mjs +0 -450
@@ -0,0 +1,468 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
+
3
+ var _chunkUF6KFXG5js = require('./chunk-UF6KFXG5.js');
4
+
5
+
6
+
7
+
8
+
9
+ var _chunk7YRW5HNXjs = require('./chunk-7YRW5HNX.js');
10
+
11
+
12
+ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
13
+
14
+ // src/plugins/typescript/project-config.ts
15
+ var _devkit = require('@nx/devkit');
16
+ var _fs = require('fs');
17
+ var _path = require('path');
18
+ var _nxjsonjs = require('nx/src/config/nx-json.js');
19
+ var _fileutils = require('nx/src/utils/fileutils');
20
+ var _packagejson = require('nx/src/utils/package-json');
21
+ var _pkgtypes = require('pkg-types');
22
+ var name = "storm-software/typescript";
23
+ var createNodesV2 = [
24
+ "{project.json,**/project.json}",
25
+ async (configFiles, options = {
26
+ includeApps: true
27
+ }, context) => {
28
+ return await _devkit.createNodesFromFiles.call(void 0, async (file, options2 = {
29
+ includeApps: true
30
+ }, context2) => {
31
+ try {
32
+ const packageJson = createPackageJson(file, context2.workspaceRoot);
33
+ if (!packageJson) {
34
+ return [];
35
+ }
36
+ const tsconfig = await createTsconfig(file, context2.workspaceRoot);
37
+ if (!tsconfig) {
38
+ return [];
39
+ }
40
+ const project = createProjectFromPackageJsonNextToProjectJson(file, packageJson);
41
+ if (_optionalChain([options2, 'optionalAccess', _ => _.includeApps]) === false && project.projectType === "application") {
42
+ return [];
43
+ }
44
+ let relativeRoot = project.root.replaceAll("\\", "/").replace(context2.workspaceRoot.replaceAll("\\", "/"), "");
45
+ if (relativeRoot.startsWith("/")) {
46
+ relativeRoot = relativeRoot.slice(1);
47
+ }
48
+ const enableMarkdownlint = _optionalChain([options2, 'optionalAccess', _2 => _2.enableMarkdownlint]) !== false;
49
+ const enableEslint = _optionalChain([options2, 'optionalAccess', _3 => _3.enableEslint]) !== false;
50
+ const nxJson = _nxjsonjs.readNxJson.call(void 0, context2.workspaceRoot);
51
+ const targets = _packagejson.readTargetsFromPackageJson.call(void 0, packageJson, nxJson);
52
+ if (_path.join.call(void 0, context2.workspaceRoot, project.root).startsWith(_path.join.call(void 0, context2.workspaceRoot, "tools")) && _optionalChain([options2, 'optionalAccess', _4 => _4.lintInternalTools]) !== true) {
53
+ targets.lint = {
54
+ dependsOn: [
55
+ "^lint"
56
+ ],
57
+ executor: "nx:run-commands",
58
+ options: {
59
+ command: "echo 'Skipping linting of internal tools package \"{projectName}\". This can be changed by setting `lintInternalTools` to `true` in the Storm TypeScript plugin options.' "
60
+ }
61
+ };
62
+ } else {
63
+ if (!targets["lint-ls"]) {
64
+ targets["lint-ls"] = {
65
+ cache: true,
66
+ inputs: [
67
+ "linting",
68
+ "typescript",
69
+ "^production"
70
+ ],
71
+ dependsOn: [
72
+ "^lint-ls"
73
+ ],
74
+ executor: "nx:run-commands",
75
+ options: {
76
+ command: 'pnpm exec ls-lint --config="node_modules/@storm-software/linting-tools/ls-lint/.ls-lint.yml" '
77
+ }
78
+ };
79
+ }
80
+ if (!targets["lint-markdown"] && enableMarkdownlint) {
81
+ targets["lint-markdown"] = {
82
+ cache: true,
83
+ outputs: [
84
+ "{projectRoot}/**/*.md",
85
+ "{projectRoot}/**/*.mdx"
86
+ ],
87
+ inputs: [
88
+ "linting",
89
+ "{projectRoot}/**/*.md",
90
+ "{projectRoot}/**/*.mdx"
91
+ ],
92
+ dependsOn: [
93
+ "^lint-markdown"
94
+ ],
95
+ executor: "nx:run-commands",
96
+ options: {
97
+ command: 'pnpm exec markdownlint-cli2 "{projectRoot}/*.{md,mdx}" "{projectRoot}/**/*.{md,mdx}" --config "node_modules/@storm-software/markdownlint/config/base.markdownlint-cli2.jsonc" --fix'
98
+ }
99
+ };
100
+ }
101
+ if (!targets.lint && enableEslint) {
102
+ let eslintConfig = checkEslintConfigAtPath(project.root);
103
+ if (!eslintConfig) {
104
+ eslintConfig = checkEslintConfigAtPath(context2.workspaceRoot);
105
+ }
106
+ if (eslintConfig) {
107
+ targets.lint = {
108
+ cache: true,
109
+ inputs: [
110
+ "linting",
111
+ "typescript",
112
+ "^production"
113
+ ],
114
+ outputs: [
115
+ "{projectRoot}/**/*.{ts,tsx,js,jsx,json,md,mdx,yaml,yml,html,css,scss,sass,less,graphql,gql}"
116
+ ],
117
+ dependsOn: [
118
+ "lint-markdown",
119
+ "lint-knip",
120
+ "^lint"
121
+ ],
122
+ executor: "@nx/eslint:lint",
123
+ options: {
124
+ format: "stylish",
125
+ fix: true,
126
+ errorOnUnmatchedPattern: false,
127
+ cache: true,
128
+ cacheLocation: "{workspaceRoot}/node_modules/.cache/eslint/{projectRoot}",
129
+ eslintConfig
130
+ }
131
+ };
132
+ }
133
+ }
134
+ }
135
+ if (!targets["format-toml"]) {
136
+ targets["format-toml"] = {
137
+ inputs: [
138
+ "linting",
139
+ "{projectRoot}/**/*.toml"
140
+ ],
141
+ outputs: [
142
+ "{projectRoot}/**/*.toml"
143
+ ],
144
+ dependsOn: [
145
+ "^format-toml"
146
+ ],
147
+ executor: "nx:run-commands",
148
+ options: {
149
+ 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" '
150
+ }
151
+ };
152
+ }
153
+ if (!targets["format-readme"]) {
154
+ targets["format-readme"] = {
155
+ inputs: [
156
+ "linting",
157
+ "documentation",
158
+ "{projectRoot}/{README.md,package.json,Cargo.toml,executors.json,generators.json}"
159
+ ],
160
+ outputs: [
161
+ "{projectRoot}/README.md"
162
+ ],
163
+ dependsOn: [
164
+ "^format-readme"
165
+ ],
166
+ executor: "nx:run-commands",
167
+ options: {
168
+ command: 'pnpm exec storm-git readme --templates="tools/readme-templates" --project="{projectName}"'
169
+ }
170
+ };
171
+ }
172
+ if (!targets["format-prettier"]) {
173
+ targets["format-prettier"] = {
174
+ inputs: [
175
+ "linting",
176
+ "typescript",
177
+ "^production"
178
+ ],
179
+ outputs: [
180
+ "{projectRoot}/**/*"
181
+ ],
182
+ dependsOn: [
183
+ "^format-prettier"
184
+ ],
185
+ executor: "nx:run-commands",
186
+ options: {
187
+ 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}" '
188
+ }
189
+ };
190
+ }
191
+ if (!targets.format) {
192
+ targets.format = {
193
+ dependsOn: [
194
+ "format-readme",
195
+ "format-toml",
196
+ "format-prettier",
197
+ "^format"
198
+ ],
199
+ executor: "nx:run-commands",
200
+ options: {
201
+ command: `echo 'Formatting the project files in "{projectRoot}"' `
202
+ }
203
+ };
204
+ }
205
+ if (!targets.clean) {
206
+ targets.clean = {
207
+ cache: true,
208
+ executor: "nx:run-commands",
209
+ inputs: [
210
+ "typescript",
211
+ "^production"
212
+ ],
213
+ outputs: [
214
+ "{workspaceRoot}/dist/{projectRoot}"
215
+ ],
216
+ options: {
217
+ command: "pnpm exec rimraf dist/{projectRoot}",
218
+ color: true,
219
+ cwd: "{workspaceRoot}"
220
+ }
221
+ };
222
+ }
223
+ if (!targets.rebuild) {
224
+ targets.rebuild = {
225
+ cache: false,
226
+ executor: "nx:run-commands",
227
+ dependsOn: [
228
+ "clean",
229
+ "^build"
230
+ ],
231
+ inputs: [
232
+ "typescript",
233
+ "default",
234
+ "^production"
235
+ ],
236
+ outputs: [
237
+ "{workspaceRoot}/dist/{projectRoot}"
238
+ ],
239
+ options: {
240
+ command: `pnpm exec nx run ${project.name}:build`
241
+ }
242
+ };
243
+ }
244
+ if (!targets.test && checkJestConfigAtPath(project.root)) {
245
+ targets.test = {
246
+ cache: true,
247
+ executor: "@nx/jest:jest",
248
+ inputs: [
249
+ "testing",
250
+ "typescript",
251
+ "^production"
252
+ ],
253
+ outputs: [
254
+ "{workspaceRoot}/coverage/{projectRoot}"
255
+ ],
256
+ defaultConfiguration: "development",
257
+ options: {
258
+ jestConfig: "{projectRoot}/jest.config.ts",
259
+ passWithNoTests: true
260
+ },
261
+ configurations: {
262
+ development: {
263
+ ci: false,
264
+ codeCoverage: true
265
+ },
266
+ production: {
267
+ ci: true,
268
+ codeCoverage: true
269
+ }
270
+ }
271
+ };
272
+ }
273
+ targets["size-limit"] = {
274
+ dependsOn: [
275
+ "build",
276
+ "^size-limit"
277
+ ],
278
+ options: {}
279
+ };
280
+ const isPrivate = _nullishCoalesce(packageJson.private, () => ( false));
281
+ if (!isPrivate) {
282
+ _chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Registry.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Registry.NPM, {
283
+ overwrite: true
284
+ });
285
+ targets["nx-release-publish"] = {
286
+ dependsOn: [
287
+ "build",
288
+ "size-limit",
289
+ "^nx-release-publish"
290
+ ],
291
+ executor: "@storm-software/workspace-tools:npm-publish",
292
+ options: {}
293
+ };
294
+ if (project.projectType === "application" || _chunk7YRW5HNXjs.isEqualProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.ProjectType.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.ProjectType.APPLICATION) || _chunk7YRW5HNXjs.isEqualProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.DistStyle.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.DistStyle.CLEAN)) {
295
+ targets["clean-package"] = {
296
+ cache: true,
297
+ dependsOn: [
298
+ "build"
299
+ ],
300
+ inputs: [
301
+ "linting",
302
+ "testing",
303
+ "documentation",
304
+ "default",
305
+ "^production"
306
+ ],
307
+ outputs: [
308
+ "{workspaceRoot}/dist/{projectRoot}"
309
+ ],
310
+ executor: "@storm-software/workspace-tools:clean-package",
311
+ options: {
312
+ cleanReadMe: true,
313
+ cleanComments: true
314
+ }
315
+ };
316
+ _optionalChain([targets, 'access', _5 => _5["nx-release-publish"], 'access', _6 => _6.dependsOn, 'optionalAccess', _7 => _7.push, 'call', _8 => _8("clean-package")]);
317
+ _optionalChain([targets, 'access', _9 => _9["size-limit"], 'access', _10 => _10.dependsOn, 'optionalAccess', _11 => _11.push, 'call', _12 => _12("clean-package")]);
318
+ }
319
+ }
320
+ _chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Language.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Language.TYPESCRIPT, {
321
+ overwrite: true
322
+ });
323
+ const platform = _chunkUF6KFXG5js.getProjectPlatform.call(void 0, project);
324
+ switch (platform) {
325
+ case "worker":
326
+ _chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.WORKER, {
327
+ overwrite: true
328
+ });
329
+ break;
330
+ case "node":
331
+ _chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.NODE, {
332
+ overwrite: true
333
+ });
334
+ break;
335
+ case "browser":
336
+ _chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.BROWSER, {
337
+ overwrite: true
338
+ });
339
+ break;
340
+ default:
341
+ _chunk7YRW5HNXjs.addProjectTag.call(void 0, project, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.TAG_ID, _chunk7YRW5HNXjs.ProjectTagConstants.Platform.NEUTRAL, {
342
+ overwrite: true
343
+ });
344
+ break;
345
+ }
346
+ _chunk7YRW5HNXjs.setDefaultProjectTags.call(void 0, project, name);
347
+ const result = _optionalChain([project, 'optionalAccess', _13 => _13.name]) ? {
348
+ projects: {
349
+ [project.name]: {
350
+ ...project,
351
+ root: relativeRoot,
352
+ targets,
353
+ release: {
354
+ ..._optionalChain([project, 'optionalAccess', _14 => _14.release]),
355
+ version: {
356
+ ..._optionalChain([project, 'optionalAccess', _15 => _15.release, 'optionalAccess', _16 => _16.version]),
357
+ generator: "@storm-software/workspace-tools:release-version"
358
+ }
359
+ }
360
+ }
361
+ }
362
+ } : {};
363
+ console.log(`Writing Results for ${_nullishCoalesce(_optionalChain([project, 'optionalAccess', _17 => _17.name]), () => ( "missing name"))}`);
364
+ console.log(result);
365
+ return result;
366
+ } catch (e) {
367
+ console.error(e);
368
+ return {};
369
+ }
370
+ }, configFiles, options, context);
371
+ }
372
+ ];
373
+ function createProjectFromPackageJsonNextToProjectJson(projectJsonPath, packageJson) {
374
+ const { nx, name: name2 } = packageJson;
375
+ const root = _path.dirname.call(void 0, projectJsonPath);
376
+ return {
377
+ ...nx,
378
+ name: name2,
379
+ root,
380
+ targets: {}
381
+ };
382
+ }
383
+ _chunk3GQAWCBQjs.__name.call(void 0, createProjectFromPackageJsonNextToProjectJson, "createProjectFromPackageJsonNextToProjectJson");
384
+ function createPackageJson(projectJsonPath, workspaceRoot) {
385
+ try {
386
+ const root = _path.dirname.call(void 0, projectJsonPath);
387
+ const packageJsonPath = _path.join.call(void 0, workspaceRoot, root, "package.json");
388
+ if (!_fs.existsSync.call(void 0, packageJsonPath)) {
389
+ return null;
390
+ }
391
+ return _fileutils.readJsonFile.call(void 0, packageJsonPath);
392
+ } catch (e) {
393
+ console.log(e);
394
+ return null;
395
+ }
396
+ }
397
+ _chunk3GQAWCBQjs.__name.call(void 0, createPackageJson, "createPackageJson");
398
+ async function createTsconfig(projectJsonPath, workspaceRoot) {
399
+ try {
400
+ const root = _path.dirname.call(void 0, projectJsonPath);
401
+ const tsconfigJsonPath = _path.join.call(void 0, workspaceRoot, root, "tsconfig.json");
402
+ if (!_fs.existsSync.call(void 0, tsconfigJsonPath)) {
403
+ return null;
404
+ }
405
+ return _pkgtypes.readTSConfig.call(void 0, tsconfigJsonPath);
406
+ } catch (e) {
407
+ console.log(e);
408
+ return null;
409
+ }
410
+ }
411
+ _chunk3GQAWCBQjs.__name.call(void 0, createTsconfig, "createTsconfig");
412
+ function checkEslintConfigAtPath(directory) {
413
+ const hasEslintConfigFile = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (fileName) => {
414
+ return _fs.existsSync.call(void 0, _path.join.call(void 0, directory, fileName));
415
+ }, "hasEslintConfigFile");
416
+ if (hasEslintConfigFile(".eslintrc.js")) {
417
+ return ".eslintrc.js";
418
+ } else if (hasEslintConfigFile(".eslintrc.cjs")) {
419
+ return ".eslintrc.cjs";
420
+ } else if (hasEslintConfigFile(".eslintrc.yaml")) {
421
+ return ".eslintrc.yaml";
422
+ } else if (hasEslintConfigFile(".eslintrc.yml")) {
423
+ return ".eslintrc.yml";
424
+ } else if (hasEslintConfigFile(".eslintrc.json")) {
425
+ return ".eslintrc.json";
426
+ } else if (hasEslintConfigFile(".eslintrc")) {
427
+ return ".eslintrc";
428
+ } else if (hasEslintConfigFile("eslint.config.js")) {
429
+ return "eslint.config.js";
430
+ } else if (hasEslintConfigFile("eslint.config.cjs")) {
431
+ return "eslint.config.cjs";
432
+ } else if (hasEslintConfigFile("eslint.config.mjs")) {
433
+ return "eslint.config.mjs";
434
+ } else if (hasEslintConfigFile("eslint.config.ts")) {
435
+ return "eslint.config.ts";
436
+ } else if (hasEslintConfigFile("eslint.config.cts")) {
437
+ return "eslint.config.cts";
438
+ } else if (hasEslintConfigFile("eslint.config.mts")) {
439
+ return "eslint.config.mts";
440
+ }
441
+ return null;
442
+ }
443
+ _chunk3GQAWCBQjs.__name.call(void 0, checkEslintConfigAtPath, "checkEslintConfigAtPath");
444
+ function checkJestConfigAtPath(directory) {
445
+ const hasJestConfigFile = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (fileName) => {
446
+ return _fs.existsSync.call(void 0, _path.join.call(void 0, directory, fileName));
447
+ }, "hasJestConfigFile");
448
+ if (hasJestConfigFile("eslint.config.js")) {
449
+ return "jest.config.js";
450
+ } else if (hasJestConfigFile("eslint.config.cjs")) {
451
+ return "jest.config.cjs";
452
+ } else if (hasJestConfigFile("eslint.config.mjs")) {
453
+ return "jest.config.mjs";
454
+ } else if (hasJestConfigFile("eslint.config.ts")) {
455
+ return "jest.config.ts";
456
+ } else if (hasJestConfigFile("jest.config.cts")) {
457
+ return "jest.config.cts";
458
+ } else if (hasJestConfigFile("jest.config.mts")) {
459
+ return "jest.config.mts";
460
+ }
461
+ return null;
462
+ }
463
+ _chunk3GQAWCBQjs.__name.call(void 0, checkJestConfigAtPath, "checkJestConfigAtPath");
464
+
465
+
466
+
467
+
468
+ exports.name = name; exports.createNodesV2 = createNodesV2;
@@ -179,6 +179,15 @@ interface UnbuildExecutorSchema {
179
179
  */
180
180
  stub?: boolean,
181
181
 
182
+ /**
183
+ * Build Only
184
+ *
185
+ * Should the build process skip generating a package.json and copying assets
186
+ *
187
+ * @default false
188
+ */
189
+ buildOnly?: boolean,
190
+
182
191
  /**
183
192
  * Watch Options
184
193
  *
@@ -179,6 +179,15 @@ interface UnbuildExecutorSchema {
179
179
  */
180
180
  stub?: boolean,
181
181
 
182
+ /**
183
+ * Build Only
184
+ *
185
+ * Should the build process skip generating a package.json and copying assets
186
+ *
187
+ * @default false
188
+ */
189
+ buildOnly?: boolean,
190
+
182
191
  /**
183
192
  * Watch Options
184
193
  *
@@ -9,7 +9,7 @@ export { E as ESBuildExecutorSchema, e as esbuildExecutorFn } from './executor-D
9
9
  export { L as LARGE_BUFFER, N as NpmPublishExecutorSchema } from './executor-DTcKLfcw.mjs';
10
10
  export { S as SizeLimitExecutorSchema, s as sizeLimitExecutorFn } from './executor-FYb5cygt.mjs';
11
11
  export { T as TypiaExecutorSchema, t as typiaExecutorFn } from './executor-CsTGaThv.mjs';
12
- export { U as UnbuildExecutorSchema, u as unbuildExecutorFn } from './executor-BYcX7bg8.mjs';
12
+ export { U as UnbuildExecutorSchema, u as unbuildExecutorFn } from './executor-Xwofymys.mjs';
13
13
  import '@nx/devkit';
14
14
  import './types-C3URiht7.mjs';
15
15
  import 'zod';
@@ -9,7 +9,7 @@ export { E as ESBuildExecutorSchema, e as esbuildExecutorFn } from './executor-B
9
9
  export { L as LARGE_BUFFER, N as NpmPublishExecutorSchema } from './executor-DTcKLfcw.js';
10
10
  export { S as SizeLimitExecutorSchema, s as sizeLimitExecutorFn } from './executor-CLYItx2J.js';
11
11
  export { T as TypiaExecutorSchema, t as typiaExecutorFn } from './executor-BD4gkr4O.js';
12
- export { U as UnbuildExecutorSchema, u as unbuildExecutorFn } from './executor-21QQWs8J.js';
12
+ export { U as UnbuildExecutorSchema, u as unbuildExecutorFn } from './executor-2Oxd-ew3.js';
13
13
  import '@nx/devkit';
14
14
  import './types-C3URiht7.js';
15
15
  import 'zod';
package/dist/executors.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-7VDOGZYO.js');
2
2
 
3
3
 
4
- var _chunkQPJ4XTDXjs = require('./chunk-QPJ4XTDX.js');
4
+ var _chunkGJQKCDGCjs = require('./chunk-GJQKCDGC.js');
5
5
 
6
6
 
7
7
  var _chunkJCJHSN67js = require('./chunk-JCJHSN67.js');
@@ -10,28 +10,28 @@ var _chunkJCJHSN67js = require('./chunk-JCJHSN67.js');
10
10
  var _chunk5DQCVP4Njs = require('./chunk-5DQCVP4N.js');
11
11
 
12
12
 
13
- var _chunk26KLH7BIjs = require('./chunk-26KLH7BI.js');
13
+ var _chunk4OACOTBIjs = require('./chunk-4OACOTBI.js');
14
14
 
15
15
 
16
- var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
16
+ var _chunkQPJ4XTDXjs = require('./chunk-QPJ4XTDX.js');
17
17
 
18
18
 
19
- var _chunk3JFGESR3js = require('./chunk-3JFGESR3.js');
19
+ var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
20
20
 
21
21
 
22
- var _chunkGJQKCDGCjs = require('./chunk-GJQKCDGC.js');
22
+ var _chunkBIZKO6I7js = require('./chunk-BIZKO6I7.js');
23
23
 
24
24
 
25
- var _chunk7YVMI4XMjs = require('./chunk-7YVMI4XM.js');
25
+ var _chunkLRLMU4QVjs = require('./chunk-LRLMU4QV.js');
26
26
 
27
27
 
28
28
  var _chunkE4TBRQDJjs = require('./chunk-E4TBRQDJ.js');
29
29
 
30
30
 
31
- var _chunkZ2GBHTLHjs = require('./chunk-Z2GBHTLH.js');
31
+ var _chunk7YVMI4XMjs = require('./chunk-7YVMI4XM.js');
32
32
 
33
33
 
34
- var _chunkLRLMU4QVjs = require('./chunk-LRLMU4QV.js');
34
+ var _chunkZ2GBHTLHjs = require('./chunk-Z2GBHTLH.js');
35
35
  require('./chunk-CUPARBOS.js');
36
36
  require('./chunk-ULBTYC2B.js');
37
37
  require('./chunk-ZMFVKBRM.js');
@@ -53,4 +53,4 @@ require('./chunk-3GQAWCBQ.js');
53
53
 
54
54
 
55
55
 
56
- exports.LARGE_BUFFER = _chunkGJQKCDGCjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkLRLMU4QVjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkE4TBRQDJjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunk7YVMI4XMjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkZ2GBHTLHjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkQPJ4XTDXjs.cargoFormatExecutor; exports.esbuildExecutorFn = _chunk3JFGESR3js.esbuildExecutorFn; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunkJCJHSN67js.sizeLimitExecutorFn; exports.typiaExecutorFn = _chunk5DQCVP4Njs.typiaExecutorFn; exports.unbuildExecutorFn = _chunk26KLH7BIjs.unbuildExecutorFn;
56
+ exports.LARGE_BUFFER = _chunkGJQKCDGCjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkLRLMU4QVjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkE4TBRQDJjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunk7YVMI4XMjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkZ2GBHTLHjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkQPJ4XTDXjs.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkBIZKO6I7js.esbuildExecutorFn; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunkJCJHSN67js.sizeLimitExecutorFn; exports.typiaExecutorFn = _chunk5DQCVP4Njs.typiaExecutorFn; exports.unbuildExecutorFn = _chunk4OACOTBIjs.unbuildExecutorFn;
@@ -1,7 +1,7 @@
1
1
  import "./chunk-BLX5SLPC.mjs";
2
2
  import {
3
- cargoFormatExecutor
4
- } from "./chunk-UMFP6PYU.mjs";
3
+ LARGE_BUFFER
4
+ } from "./chunk-BMNXBEWE.mjs";
5
5
  import {
6
6
  sizeLimitExecutorFn
7
7
  } from "./chunk-CD3W3HIC.mjs";
@@ -10,28 +10,28 @@ import {
10
10
  } from "./chunk-GGSDFI6U.mjs";
11
11
  import {
12
12
  unbuildExecutorFn
13
- } from "./chunk-32XQSY3C.mjs";
13
+ } from "./chunk-OLZK3IYT.mjs";
14
+ import {
15
+ cargoFormatExecutor
16
+ } from "./chunk-UMFP6PYU.mjs";
14
17
  import {
15
18
  getRegistryVersion
16
19
  } from "./chunk-3PWCELL5.mjs";
17
20
  import {
18
21
  esbuildExecutorFn
19
- } from "./chunk-JFIIKAFU.mjs";
20
- import {
21
- LARGE_BUFFER
22
- } from "./chunk-BMNXBEWE.mjs";
22
+ } from "./chunk-HED3LGKA.mjs";
23
23
  import {
24
- cargoClippyExecutor
25
- } from "./chunk-FCGFBNCJ.mjs";
24
+ cargoBuildExecutor
25
+ } from "./chunk-VTRSAQHO.mjs";
26
26
  import {
27
27
  cargoCheckExecutor
28
28
  } from "./chunk-IQQERPIV.mjs";
29
+ import {
30
+ cargoClippyExecutor
31
+ } from "./chunk-FCGFBNCJ.mjs";
29
32
  import {
30
33
  cargoDocExecutor
31
34
  } from "./chunk-CIHS3V6E.mjs";
32
- import {
33
- cargoBuildExecutor
34
- } from "./chunk-VTRSAQHO.mjs";
35
35
  import "./chunk-AD4BVP7F.mjs";
36
36
  import "./chunk-JIAGNEII.mjs";
37
37
  import "./chunk-7ENGREV2.mjs";
@@ -1,12 +1,18 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-INERRJ6Q.js');
2
2
 
3
3
 
4
+ var _chunkACBRXFBBjs = require('./chunk-ACBRXFBB.js');
5
+
6
+
4
7
  var _chunkUSJX4BPDjs = require('./chunk-USJX4BPD.js');
5
8
 
6
9
 
7
10
  var _chunkDNYOACHDjs = require('./chunk-DNYOACHD.js');
8
11
 
9
12
 
13
+ var _chunkIPBHTVKWjs = require('./chunk-IPBHTVKW.js');
14
+
15
+
10
16
  var _chunkN4STCLGJjs = require('./chunk-N4STCLGJ.js');
11
17
 
12
18
 
@@ -14,12 +20,6 @@ var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');
14
20
 
15
21
 
16
22
  var _chunkZGMV4YJLjs = require('./chunk-ZGMV4YJL.js');
17
-
18
-
19
- var _chunkACBRXFBBjs = require('./chunk-ACBRXFBB.js');
20
-
21
-
22
- var _chunkIPBHTVKWjs = require('./chunk-IPBHTVKW.js');
23
23
  require('./chunk-RBU35LQW.js');
24
24
  require('./chunk-HI4G4OOG.js');
25
25
  require('./chunk-7YRW5HNX.js');
@@ -1,10 +1,16 @@
1
1
  import "./chunk-RLIZVCIN.mjs";
2
+ import {
3
+ nodeLibraryGeneratorFn
4
+ } from "./chunk-JWFYDYKI.mjs";
2
5
  import {
3
6
  presetGeneratorFn
4
7
  } from "./chunk-AVC6Y5IR.mjs";
5
8
  import {
6
9
  releaseVersionGeneratorFn
7
10
  } from "./chunk-P7UUSOFW.mjs";
11
+ import {
12
+ browserLibraryGeneratorFn
13
+ } from "./chunk-MMPXE2KD.mjs";
8
14
  import {
9
15
  configSchemaGeneratorFn
10
16
  } from "./chunk-KQMGKHXU.mjs";
@@ -14,12 +20,6 @@ import {
14
20
  import {
15
21
  neutralLibraryGeneratorFn
16
22
  } from "./chunk-PHVGSPP3.mjs";
17
- import {
18
- nodeLibraryGeneratorFn
19
- } from "./chunk-JWFYDYKI.mjs";
20
- import {
21
- browserLibraryGeneratorFn
22
- } from "./chunk-MMPXE2KD.mjs";
23
23
  import "./chunk-YZLAY7R4.mjs";
24
24
  import "./chunk-EK75QNMS.mjs";
25
25
  import "./chunk-HUVBVDJ7.mjs";