@powerlines/nx 0.1.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 (128) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +490 -0
  3. package/dist/chunk-23KFTIT2.mjs +1 -0
  4. package/dist/chunk-2IKNOV7W.mjs +305 -0
  5. package/dist/chunk-326QB2VK.mjs +14 -0
  6. package/dist/chunk-3QPPK4K2.js +18 -0
  7. package/dist/chunk-5K7DMFAV.mjs +15 -0
  8. package/dist/chunk-6UG6SXHV.js +4307 -0
  9. package/dist/chunk-6ZABD5GY.js +18 -0
  10. package/dist/chunk-AKX3TTDA.js +18 -0
  11. package/dist/chunk-CQP2LCFV.mjs +19 -0
  12. package/dist/chunk-CYWOTYVX.mjs +108 -0
  13. package/dist/chunk-E6VIOC6R.mjs +19 -0
  14. package/dist/chunk-ED7GH5H4.js +30 -0
  15. package/dist/chunk-ESI25Y6Y.mjs +15 -0
  16. package/dist/chunk-FK3VJFET.mjs +28 -0
  17. package/dist/chunk-FXCIWWXO.mjs +15 -0
  18. package/dist/chunk-HHPODCTP.js +126 -0
  19. package/dist/chunk-N2YKXZ5R.js +2 -0
  20. package/dist/chunk-O6BSKBJP.js +26 -0
  21. package/dist/chunk-O6YSETKJ.mjs +4 -0
  22. package/dist/chunk-OOERKIVS.js +312 -0
  23. package/dist/chunk-OZMYXUES.mjs +4276 -0
  24. package/dist/chunk-SHUYVCID.js +6 -0
  25. package/dist/chunk-TCSCYVA7.mjs +76 -0
  26. package/dist/chunk-UV4HQO3Y.mjs +1 -0
  27. package/dist/chunk-WKH7IEJU.js +26 -0
  28. package/dist/chunk-WUJKJGEW.js +17 -0
  29. package/dist/chunk-XO62WWX4.js +2 -0
  30. package/dist/chunk-XPEFTYN7.js +82 -0
  31. package/dist/executor-B2Y0F4JC.d.ts +83 -0
  32. package/dist/executor-BAcpDLQu.d.ts +83 -0
  33. package/dist/executor-BHIUeaip.d.ts +93 -0
  34. package/dist/executor-BYGMOBlU.d.mts +83 -0
  35. package/dist/executor-Ba95I3EK.d.mts +93 -0
  36. package/dist/executor-CIEyQL42.d.mts +83 -0
  37. package/dist/executor-CkqLFUNx.d.ts +83 -0
  38. package/dist/executor-D055lNr2.d.ts +83 -0
  39. package/dist/executor-D0PJOQkn.d.mts +83 -0
  40. package/dist/executor-DsRaA9mk.d.mts +83 -0
  41. package/dist/executors.d.mts +12 -0
  42. package/dist/executors.d.ts +12 -0
  43. package/dist/executors.js +34 -0
  44. package/dist/executors.mjs +9 -0
  45. package/dist/generators.d.mts +19 -0
  46. package/dist/generators.d.ts +19 -0
  47. package/dist/generators.js +16 -0
  48. package/dist/generators.mjs +3 -0
  49. package/dist/index.d.mts +16 -0
  50. package/dist/index.d.ts +16 -0
  51. package/dist/index.js +53 -0
  52. package/dist/index.mjs +12 -0
  53. package/dist/src/base/base-executor.d.mts +27 -0
  54. package/dist/src/base/base-executor.d.ts +27 -0
  55. package/dist/src/base/base-executor.js +12 -0
  56. package/dist/src/base/base-executor.mjs +3 -0
  57. package/dist/src/base/base-executor.schema.d.d.mts +75 -0
  58. package/dist/src/base/base-executor.schema.d.d.ts +75 -0
  59. package/dist/src/base/base-executor.schema.d.js +2 -0
  60. package/dist/src/base/base-executor.schema.d.mjs +1 -0
  61. package/dist/src/base/base-executor.schema.d.ts +75 -0
  62. package/dist/src/base/base-executor.schema.json +77 -0
  63. package/dist/src/base/base-executor.untyped.d.mts +5 -0
  64. package/dist/src/base/base-executor.untyped.d.ts +5 -0
  65. package/dist/src/base/base-executor.untyped.js +10 -0
  66. package/dist/src/base/base-executor.untyped.mjs +2 -0
  67. package/dist/src/executors/build/executor.d.mts +8 -0
  68. package/dist/src/executors/build/executor.d.ts +8 -0
  69. package/dist/src/executors/build/executor.js +19 -0
  70. package/dist/src/executors/build/executor.mjs +4 -0
  71. package/dist/src/executors/build/untyped.d.mts +5 -0
  72. package/dist/src/executors/build/untyped.d.ts +5 -0
  73. package/dist/src/executors/build/untyped.js +37 -0
  74. package/dist/src/executors/build/untyped.mjs +33 -0
  75. package/dist/src/executors/clean/executor.d.mts +8 -0
  76. package/dist/src/executors/clean/executor.d.ts +8 -0
  77. package/dist/src/executors/clean/executor.js +19 -0
  78. package/dist/src/executors/clean/executor.mjs +4 -0
  79. package/dist/src/executors/clean/untyped.d.mts +5 -0
  80. package/dist/src/executors/clean/untyped.d.ts +5 -0
  81. package/dist/src/executors/clean/untyped.js +19 -0
  82. package/dist/src/executors/clean/untyped.mjs +15 -0
  83. package/dist/src/executors/docs/executor.d.mts +8 -0
  84. package/dist/src/executors/docs/executor.d.ts +8 -0
  85. package/dist/src/executors/docs/executor.js +19 -0
  86. package/dist/src/executors/docs/executor.mjs +4 -0
  87. package/dist/src/executors/docs/untyped.d.mts +5 -0
  88. package/dist/src/executors/docs/untyped.d.ts +5 -0
  89. package/dist/src/executors/docs/untyped.js +20 -0
  90. package/dist/src/executors/docs/untyped.mjs +16 -0
  91. package/dist/src/executors/lint/executor.d.mts +8 -0
  92. package/dist/src/executors/lint/executor.d.ts +8 -0
  93. package/dist/src/executors/lint/executor.js +19 -0
  94. package/dist/src/executors/lint/executor.mjs +4 -0
  95. package/dist/src/executors/lint/untyped.d.mts +5 -0
  96. package/dist/src/executors/lint/untyped.d.ts +5 -0
  97. package/dist/src/executors/lint/untyped.js +20 -0
  98. package/dist/src/executors/lint/untyped.mjs +16 -0
  99. package/dist/src/executors/prepare/executor.d.mts +8 -0
  100. package/dist/src/executors/prepare/executor.d.ts +8 -0
  101. package/dist/src/executors/prepare/executor.js +19 -0
  102. package/dist/src/executors/prepare/executor.mjs +4 -0
  103. package/dist/src/executors/prepare/untyped.d.mts +5 -0
  104. package/dist/src/executors/prepare/untyped.d.ts +5 -0
  105. package/dist/src/executors/prepare/untyped.js +11 -0
  106. package/dist/src/executors/prepare/untyped.mjs +3 -0
  107. package/dist/src/generators/sync/generator.d.mts +6 -0
  108. package/dist/src/generators/sync/generator.d.ts +6 -0
  109. package/dist/src/generators/sync/generator.js +17 -0
  110. package/dist/src/generators/sync/generator.mjs +2 -0
  111. package/dist/src/generators/sync/untyped.d.mts +5 -0
  112. package/dist/src/generators/sync/untyped.d.ts +5 -0
  113. package/dist/src/generators/sync/untyped.js +25 -0
  114. package/dist/src/generators/sync/untyped.mjs +21 -0
  115. package/dist/src/plugin/index.d.mts +8 -0
  116. package/dist/src/plugin/index.d.ts +8 -0
  117. package/dist/src/plugin/index.js +16 -0
  118. package/dist/src/plugin/index.mjs +3 -0
  119. package/docs/api/base-executor.schema.md +72 -0
  120. package/docs/api/build/schema.md +82 -0
  121. package/docs/api/clean/schema.md +72 -0
  122. package/docs/api/docs/schema.md +72 -0
  123. package/docs/api/lint/schema.md +72 -0
  124. package/docs/api/prepare/schema.md +72 -0
  125. package/docs/api/sync/schema.md +16 -0
  126. package/executors.json +30 -0
  127. package/generators.json +14 -0
  128. package/package.json +172 -0
@@ -0,0 +1,83 @@
1
+ import { PromiseExecutor } from '@nx/devkit';
2
+ import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
3
+ import PowerlinesAPI from 'powerlines';
4
+ import { PowerlinesExecutorContext } from './src/base/base-executor.mjs';
5
+
6
+ // Generated by @storm-software/untyped
7
+ // Do not edit this file directly
8
+
9
+ interface LintExecutorSchema {
10
+ /**
11
+ * Output Path
12
+ *
13
+ * The output path for the build
14
+ *
15
+ * @default "dist/{projectRoot}"
16
+ *
17
+ * @format path
18
+ */
19
+ outputPath?: string,
20
+
21
+ /**
22
+ * TypeScript Configuration File
23
+ *
24
+ * The path to the tsconfig file
25
+ *
26
+ * @default "{projectRoot}/tsconfig.json"
27
+ *
28
+ * @format path
29
+ */
30
+ tsconfig?: string,
31
+
32
+ /**
33
+ * Powerlines Configuration File
34
+ *
35
+ * The path to the Powerlines configuration file
36
+ *
37
+ * @default "{projectRoot}/powerlines.config.ts"
38
+ *
39
+ * @format path
40
+ */
41
+ configFile?: string,
42
+
43
+ /**
44
+ * Mode
45
+ *
46
+ * The build mode
47
+ *
48
+ *
49
+ * @enum development,test,production
50
+ */
51
+ mode?: string,
52
+
53
+ /**
54
+ * Skip Installs
55
+ *
56
+ * Skip installing dependencies before building
57
+ *
58
+ */
59
+ skipInstalls?: boolean,
60
+
61
+ /**
62
+ * Skip Cache
63
+ *
64
+ * Skip the cache when building
65
+ *
66
+ */
67
+ skipCache?: boolean,
68
+
69
+ /**
70
+ * Log Level
71
+ *
72
+ * The log level to use for the build process
73
+ *
74
+ *
75
+ * @enum fatal,error,warn,success,info,debug,trace,silent
76
+ */
77
+ logLevel?: string,
78
+ }
79
+
80
+ declare function executorFn(context: PowerlinesExecutorContext<"lint", LintExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
81
+ declare const executor: PromiseExecutor<LintExecutorSchema>;
82
+
83
+ export { type LintExecutorSchema as L, executorFn as a, executor as e };
@@ -0,0 +1,83 @@
1
+ import { PromiseExecutor } from '@nx/devkit';
2
+ import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
3
+ import PowerlinesAPI from 'powerlines';
4
+ import { PowerlinesExecutorContext } from './src/base/base-executor.js';
5
+
6
+ // Generated by @storm-software/untyped
7
+ // Do not edit this file directly
8
+
9
+ interface PrepareExecutorSchema {
10
+ /**
11
+ * Output Path
12
+ *
13
+ * The output path for the build
14
+ *
15
+ * @default "dist/{projectRoot}"
16
+ *
17
+ * @format path
18
+ */
19
+ outputPath?: string,
20
+
21
+ /**
22
+ * TypeScript Configuration File
23
+ *
24
+ * The path to the tsconfig file
25
+ *
26
+ * @default "{projectRoot}/tsconfig.json"
27
+ *
28
+ * @format path
29
+ */
30
+ tsconfig?: string,
31
+
32
+ /**
33
+ * Powerlines Configuration File
34
+ *
35
+ * The path to the Powerlines configuration file
36
+ *
37
+ * @default "{projectRoot}/powerlines.config.ts"
38
+ *
39
+ * @format path
40
+ */
41
+ configFile?: string,
42
+
43
+ /**
44
+ * Mode
45
+ *
46
+ * The build mode
47
+ *
48
+ *
49
+ * @enum development,test,production
50
+ */
51
+ mode?: string,
52
+
53
+ /**
54
+ * Skip Installs
55
+ *
56
+ * Skip installing dependencies before building
57
+ *
58
+ */
59
+ skipInstalls?: boolean,
60
+
61
+ /**
62
+ * Skip Cache
63
+ *
64
+ * Skip the cache when building
65
+ *
66
+ */
67
+ skipCache?: boolean,
68
+
69
+ /**
70
+ * Log Level
71
+ *
72
+ * The log level to use for the build process
73
+ *
74
+ *
75
+ * @enum fatal,error,warn,success,info,debug,trace,silent
76
+ */
77
+ logLevel?: string,
78
+ }
79
+
80
+ declare function executorFn(context: PowerlinesExecutorContext<"prepare", PrepareExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
81
+ declare const executor: PromiseExecutor<PrepareExecutorSchema>;
82
+
83
+ export { type PrepareExecutorSchema as P, executorFn as a, executor as e };
@@ -0,0 +1,83 @@
1
+ import { PromiseExecutor } from '@nx/devkit';
2
+ import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
3
+ import PowerlinesAPI from 'powerlines';
4
+ import { PowerlinesExecutorContext } from './src/base/base-executor.js';
5
+
6
+ // Generated by @storm-software/untyped
7
+ // Do not edit this file directly
8
+
9
+ interface DocsExecutorSchema {
10
+ /**
11
+ * Output Path
12
+ *
13
+ * The output path for the build
14
+ *
15
+ * @default "dist/{projectRoot}"
16
+ *
17
+ * @format path
18
+ */
19
+ outputPath?: string,
20
+
21
+ /**
22
+ * TypeScript Configuration File
23
+ *
24
+ * The path to the tsconfig file
25
+ *
26
+ * @default "{projectRoot}/tsconfig.json"
27
+ *
28
+ * @format path
29
+ */
30
+ tsconfig?: string,
31
+
32
+ /**
33
+ * Powerlines Configuration File
34
+ *
35
+ * The path to the Powerlines configuration file
36
+ *
37
+ * @default "{projectRoot}/powerlines.config.ts"
38
+ *
39
+ * @format path
40
+ */
41
+ configFile?: string,
42
+
43
+ /**
44
+ * Mode
45
+ *
46
+ * The build mode
47
+ *
48
+ *
49
+ * @enum development,test,production
50
+ */
51
+ mode?: string,
52
+
53
+ /**
54
+ * Skip Installs
55
+ *
56
+ * Skip installing dependencies before building
57
+ *
58
+ */
59
+ skipInstalls?: boolean,
60
+
61
+ /**
62
+ * Skip Cache
63
+ *
64
+ * Skip the cache when building
65
+ *
66
+ */
67
+ skipCache?: boolean,
68
+
69
+ /**
70
+ * Log Level
71
+ *
72
+ * The log level to use for the build process
73
+ *
74
+ *
75
+ * @enum fatal,error,warn,success,info,debug,trace,silent
76
+ */
77
+ logLevel?: string,
78
+ }
79
+
80
+ declare function executorFn(context: PowerlinesExecutorContext<"docs", DocsExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
81
+ declare const executor: PromiseExecutor<DocsExecutorSchema>;
82
+
83
+ export { type DocsExecutorSchema as D, executorFn as a, executor as e };
@@ -0,0 +1,83 @@
1
+ import { PromiseExecutor } from '@nx/devkit';
2
+ import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
3
+ import PowerlinesAPI from 'powerlines';
4
+ import { PowerlinesExecutorContext } from './src/base/base-executor.mjs';
5
+
6
+ // Generated by @storm-software/untyped
7
+ // Do not edit this file directly
8
+
9
+ interface PrepareExecutorSchema {
10
+ /**
11
+ * Output Path
12
+ *
13
+ * The output path for the build
14
+ *
15
+ * @default "dist/{projectRoot}"
16
+ *
17
+ * @format path
18
+ */
19
+ outputPath?: string,
20
+
21
+ /**
22
+ * TypeScript Configuration File
23
+ *
24
+ * The path to the tsconfig file
25
+ *
26
+ * @default "{projectRoot}/tsconfig.json"
27
+ *
28
+ * @format path
29
+ */
30
+ tsconfig?: string,
31
+
32
+ /**
33
+ * Powerlines Configuration File
34
+ *
35
+ * The path to the Powerlines configuration file
36
+ *
37
+ * @default "{projectRoot}/powerlines.config.ts"
38
+ *
39
+ * @format path
40
+ */
41
+ configFile?: string,
42
+
43
+ /**
44
+ * Mode
45
+ *
46
+ * The build mode
47
+ *
48
+ *
49
+ * @enum development,test,production
50
+ */
51
+ mode?: string,
52
+
53
+ /**
54
+ * Skip Installs
55
+ *
56
+ * Skip installing dependencies before building
57
+ *
58
+ */
59
+ skipInstalls?: boolean,
60
+
61
+ /**
62
+ * Skip Cache
63
+ *
64
+ * Skip the cache when building
65
+ *
66
+ */
67
+ skipCache?: boolean,
68
+
69
+ /**
70
+ * Log Level
71
+ *
72
+ * The log level to use for the build process
73
+ *
74
+ *
75
+ * @enum fatal,error,warn,success,info,debug,trace,silent
76
+ */
77
+ logLevel?: string,
78
+ }
79
+
80
+ declare function executorFn(context: PowerlinesExecutorContext<"prepare", PrepareExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
81
+ declare const executor: PromiseExecutor<PrepareExecutorSchema>;
82
+
83
+ export { type PrepareExecutorSchema as P, executorFn as a, executor as e };
@@ -0,0 +1,83 @@
1
+ import { PromiseExecutor } from '@nx/devkit';
2
+ import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
3
+ import PowerlinesAPI from 'powerlines';
4
+ import { PowerlinesExecutorContext } from './src/base/base-executor.mjs';
5
+
6
+ // Generated by @storm-software/untyped
7
+ // Do not edit this file directly
8
+
9
+ interface DocsExecutorSchema {
10
+ /**
11
+ * Output Path
12
+ *
13
+ * The output path for the build
14
+ *
15
+ * @default "dist/{projectRoot}"
16
+ *
17
+ * @format path
18
+ */
19
+ outputPath?: string,
20
+
21
+ /**
22
+ * TypeScript Configuration File
23
+ *
24
+ * The path to the tsconfig file
25
+ *
26
+ * @default "{projectRoot}/tsconfig.json"
27
+ *
28
+ * @format path
29
+ */
30
+ tsconfig?: string,
31
+
32
+ /**
33
+ * Powerlines Configuration File
34
+ *
35
+ * The path to the Powerlines configuration file
36
+ *
37
+ * @default "{projectRoot}/powerlines.config.ts"
38
+ *
39
+ * @format path
40
+ */
41
+ configFile?: string,
42
+
43
+ /**
44
+ * Mode
45
+ *
46
+ * The build mode
47
+ *
48
+ *
49
+ * @enum development,test,production
50
+ */
51
+ mode?: string,
52
+
53
+ /**
54
+ * Skip Installs
55
+ *
56
+ * Skip installing dependencies before building
57
+ *
58
+ */
59
+ skipInstalls?: boolean,
60
+
61
+ /**
62
+ * Skip Cache
63
+ *
64
+ * Skip the cache when building
65
+ *
66
+ */
67
+ skipCache?: boolean,
68
+
69
+ /**
70
+ * Log Level
71
+ *
72
+ * The log level to use for the build process
73
+ *
74
+ *
75
+ * @enum fatal,error,warn,success,info,debug,trace,silent
76
+ */
77
+ logLevel?: string,
78
+ }
79
+
80
+ declare function executorFn(context: PowerlinesExecutorContext<"docs", DocsExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
81
+ declare const executor: PromiseExecutor<DocsExecutorSchema>;
82
+
83
+ export { type DocsExecutorSchema as D, executorFn as a, executor as e };
@@ -0,0 +1,12 @@
1
+ export { B as BuildExecutorSchema, e as build } from './executor-Ba95I3EK.mjs';
2
+ export { C as CleanExecutorSchema, e as clean } from './executor-BYGMOBlU.mjs';
3
+ export { D as DocsExecutorSchema, e as docs } from './executor-DsRaA9mk.mjs';
4
+ export { L as LintExecutorSchema, e as lint } from './executor-CIEyQL42.mjs';
5
+ export { P as PrepareExecutorSchema, e as prepare } from './executor-D0PJOQkn.mjs';
6
+ import '@nx/devkit';
7
+ import '@storm-software/workspace-tools/types';
8
+ import 'powerlines';
9
+ import './src/base/base-executor.mjs';
10
+ import '@storm-software/config/types';
11
+ import 'powerlines/types/config';
12
+ import './src/base/base-executor.schema.d.mjs';
@@ -0,0 +1,12 @@
1
+ export { B as BuildExecutorSchema, e as build } from './executor-BHIUeaip.js';
2
+ export { C as CleanExecutorSchema, e as clean } from './executor-B2Y0F4JC.js';
3
+ export { D as DocsExecutorSchema, e as docs } from './executor-D055lNr2.js';
4
+ export { L as LintExecutorSchema, e as lint } from './executor-BAcpDLQu.js';
5
+ export { P as PrepareExecutorSchema, e as prepare } from './executor-CkqLFUNx.js';
6
+ import '@nx/devkit';
7
+ import '@storm-software/workspace-tools/types';
8
+ import 'powerlines';
9
+ import './src/base/base-executor.js';
10
+ import '@storm-software/config/types';
11
+ import 'powerlines/types/config';
12
+ import './src/base/base-executor.schema.d.js';
@@ -0,0 +1,34 @@
1
+ 'use strict';
2
+
3
+ require('./chunk-XO62WWX4.js');
4
+ var chunk6ZABD5GY_js = require('./chunk-6ZABD5GY.js');
5
+ var chunkAKX3TTDA_js = require('./chunk-AKX3TTDA.js');
6
+ var chunk3QPPK4K2_js = require('./chunk-3QPPK4K2.js');
7
+ var chunkWKH7IEJU_js = require('./chunk-WKH7IEJU.js');
8
+ var chunkO6BSKBJP_js = require('./chunk-O6BSKBJP.js');
9
+ require('./chunk-6UG6SXHV.js');
10
+ require('./chunk-HHPODCTP.js');
11
+ require('./chunk-SHUYVCID.js');
12
+
13
+
14
+
15
+ Object.defineProperty(exports, "clean", {
16
+ enumerable: true,
17
+ get: function () { return chunk6ZABD5GY_js.executor_default; }
18
+ });
19
+ Object.defineProperty(exports, "docs", {
20
+ enumerable: true,
21
+ get: function () { return chunkAKX3TTDA_js.executor_default; }
22
+ });
23
+ Object.defineProperty(exports, "lint", {
24
+ enumerable: true,
25
+ get: function () { return chunk3QPPK4K2_js.executor_default; }
26
+ });
27
+ Object.defineProperty(exports, "prepare", {
28
+ enumerable: true,
29
+ get: function () { return chunkWKH7IEJU_js.executor_default; }
30
+ });
31
+ Object.defineProperty(exports, "build", {
32
+ enumerable: true,
33
+ get: function () { return chunkO6BSKBJP_js.executor_default; }
34
+ });
@@ -0,0 +1,9 @@
1
+ import './chunk-UV4HQO3Y.mjs';
2
+ export { executor_default as clean } from './chunk-5K7DMFAV.mjs';
3
+ export { executor_default as docs } from './chunk-FXCIWWXO.mjs';
4
+ export { executor_default as lint } from './chunk-ESI25Y6Y.mjs';
5
+ export { executor_default as prepare } from './chunk-CQP2LCFV.mjs';
6
+ export { executor_default as build } from './chunk-E6VIOC6R.mjs';
7
+ import './chunk-OZMYXUES.mjs';
8
+ import './chunk-CYWOTYVX.mjs';
9
+ import './chunk-O6YSETKJ.mjs';
@@ -0,0 +1,19 @@
1
+ export { default as sync, default as syncGenerator } from './src/generators/sync/generator.mjs';
2
+ import '@nx/devkit';
3
+ import 'nx/src/utils/sync-generators';
4
+
5
+ // Generated by @storm-software/untyped
6
+ // Do not edit this file directly
7
+
8
+ interface SyncGeneratorSchema {
9
+ /**
10
+ * Out of Sync Message
11
+ *
12
+ * The message to display when the project is out of sync with the legal-message.txt file
13
+ *
14
+ * @default "The legal-message.txt file needs to be created"
15
+ */
16
+ outOfSyncMessage?: string,
17
+ }
18
+
19
+ export type { SyncGeneratorSchema };
@@ -0,0 +1,19 @@
1
+ export { default as sync, default as syncGenerator } from './src/generators/sync/generator.js';
2
+ import '@nx/devkit';
3
+ import 'nx/src/utils/sync-generators';
4
+
5
+ // Generated by @storm-software/untyped
6
+ // Do not edit this file directly
7
+
8
+ interface SyncGeneratorSchema {
9
+ /**
10
+ * Out of Sync Message
11
+ *
12
+ * The message to display when the project is out of sync with the legal-message.txt file
13
+ *
14
+ * @default "The legal-message.txt file needs to be created"
15
+ */
16
+ outOfSyncMessage?: string,
17
+ }
18
+
19
+ export type { SyncGeneratorSchema };
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ require('./chunk-N2YKXZ5R.js');
4
+ var chunkWUJKJGEW_js = require('./chunk-WUJKJGEW.js');
5
+ require('./chunk-SHUYVCID.js');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "sync", {
10
+ enumerable: true,
11
+ get: function () { return chunkWUJKJGEW_js.generator_default; }
12
+ });
13
+ Object.defineProperty(exports, "syncGenerator", {
14
+ enumerable: true,
15
+ get: function () { return chunkWUJKJGEW_js.generatorFn; }
16
+ });
@@ -0,0 +1,3 @@
1
+ import './chunk-23KFTIT2.mjs';
2
+ export { generator_default as sync, generatorFn as syncGenerator } from './chunk-326QB2VK.mjs';
3
+ import './chunk-O6YSETKJ.mjs';
@@ -0,0 +1,16 @@
1
+ export { B as BuildExecutorSchema, e as build } from './executor-Ba95I3EK.mjs';
2
+ export { C as CleanExecutorSchema, e as clean } from './executor-BYGMOBlU.mjs';
3
+ export { D as DocsExecutorSchema, e as docs } from './executor-DsRaA9mk.mjs';
4
+ export { L as LintExecutorSchema, e as lint } from './executor-CIEyQL42.mjs';
5
+ export { P as PrepareExecutorSchema, e as prepare } from './executor-D0PJOQkn.mjs';
6
+ export { default as sync, default as syncGenerator } from './src/generators/sync/generator.mjs';
7
+ export { SyncGeneratorSchema } from './generators.mjs';
8
+ export { NxPluginOptions, createNodesV2, name } from './src/plugin/index.mjs';
9
+ import '@nx/devkit';
10
+ import '@storm-software/workspace-tools/types';
11
+ import 'powerlines';
12
+ import './src/base/base-executor.mjs';
13
+ import '@storm-software/config/types';
14
+ import 'powerlines/types/config';
15
+ import './src/base/base-executor.schema.d.mjs';
16
+ import 'nx/src/utils/sync-generators';
@@ -0,0 +1,16 @@
1
+ export { B as BuildExecutorSchema, e as build } from './executor-BHIUeaip.js';
2
+ export { C as CleanExecutorSchema, e as clean } from './executor-B2Y0F4JC.js';
3
+ export { D as DocsExecutorSchema, e as docs } from './executor-D055lNr2.js';
4
+ export { L as LintExecutorSchema, e as lint } from './executor-BAcpDLQu.js';
5
+ export { P as PrepareExecutorSchema, e as prepare } from './executor-CkqLFUNx.js';
6
+ export { default as sync, default as syncGenerator } from './src/generators/sync/generator.js';
7
+ export { SyncGeneratorSchema } from './generators.js';
8
+ export { NxPluginOptions, createNodesV2, name } from './src/plugin/index.js';
9
+ import '@nx/devkit';
10
+ import '@storm-software/workspace-tools/types';
11
+ import 'powerlines';
12
+ import './src/base/base-executor.js';
13
+ import '@storm-software/config/types';
14
+ import 'powerlines/types/config';
15
+ import './src/base/base-executor.schema.d.js';
16
+ import 'nx/src/utils/sync-generators';
package/dist/index.js ADDED
@@ -0,0 +1,53 @@
1
+ 'use strict';
2
+
3
+ require('./chunk-XO62WWX4.js');
4
+ var chunk6ZABD5GY_js = require('./chunk-6ZABD5GY.js');
5
+ var chunkAKX3TTDA_js = require('./chunk-AKX3TTDA.js');
6
+ var chunk3QPPK4K2_js = require('./chunk-3QPPK4K2.js');
7
+ var chunkWKH7IEJU_js = require('./chunk-WKH7IEJU.js');
8
+ require('./chunk-N2YKXZ5R.js');
9
+ var chunkWUJKJGEW_js = require('./chunk-WUJKJGEW.js');
10
+ var chunkOOERKIVS_js = require('./chunk-OOERKIVS.js');
11
+ var chunkO6BSKBJP_js = require('./chunk-O6BSKBJP.js');
12
+ require('./chunk-6UG6SXHV.js');
13
+ require('./chunk-HHPODCTP.js');
14
+ require('./chunk-SHUYVCID.js');
15
+
16
+
17
+
18
+ Object.defineProperty(exports, "clean", {
19
+ enumerable: true,
20
+ get: function () { return chunk6ZABD5GY_js.executor_default; }
21
+ });
22
+ Object.defineProperty(exports, "docs", {
23
+ enumerable: true,
24
+ get: function () { return chunkAKX3TTDA_js.executor_default; }
25
+ });
26
+ Object.defineProperty(exports, "lint", {
27
+ enumerable: true,
28
+ get: function () { return chunk3QPPK4K2_js.executor_default; }
29
+ });
30
+ Object.defineProperty(exports, "prepare", {
31
+ enumerable: true,
32
+ get: function () { return chunkWKH7IEJU_js.executor_default; }
33
+ });
34
+ Object.defineProperty(exports, "sync", {
35
+ enumerable: true,
36
+ get: function () { return chunkWUJKJGEW_js.generator_default; }
37
+ });
38
+ Object.defineProperty(exports, "syncGenerator", {
39
+ enumerable: true,
40
+ get: function () { return chunkWUJKJGEW_js.generatorFn; }
41
+ });
42
+ Object.defineProperty(exports, "createNodesV2", {
43
+ enumerable: true,
44
+ get: function () { return chunkOOERKIVS_js.createNodesV2; }
45
+ });
46
+ Object.defineProperty(exports, "name", {
47
+ enumerable: true,
48
+ get: function () { return chunkOOERKIVS_js.name; }
49
+ });
50
+ Object.defineProperty(exports, "build", {
51
+ enumerable: true,
52
+ get: function () { return chunkO6BSKBJP_js.executor_default; }
53
+ });
package/dist/index.mjs ADDED
@@ -0,0 +1,12 @@
1
+ import './chunk-UV4HQO3Y.mjs';
2
+ export { executor_default as clean } from './chunk-5K7DMFAV.mjs';
3
+ export { executor_default as docs } from './chunk-FXCIWWXO.mjs';
4
+ export { executor_default as lint } from './chunk-ESI25Y6Y.mjs';
5
+ export { executor_default as prepare } from './chunk-CQP2LCFV.mjs';
6
+ import './chunk-23KFTIT2.mjs';
7
+ export { generator_default as sync, generatorFn as syncGenerator } from './chunk-326QB2VK.mjs';
8
+ export { createNodesV2, name } from './chunk-2IKNOV7W.mjs';
9
+ export { executor_default as build } from './chunk-E6VIOC6R.mjs';
10
+ import './chunk-OZMYXUES.mjs';
11
+ import './chunk-CYWOTYVX.mjs';
12
+ import './chunk-O6YSETKJ.mjs';
@@ -0,0 +1,27 @@
1
+ import { ExecutorContext, PromiseExecutor } from '@nx/devkit';
2
+ import { StormWorkspaceConfig } from '@storm-software/config/types';
3
+ import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
4
+ import PowerlinesAPI from 'powerlines';
5
+ import { PowerlinesCommand, InlineConfig } from 'powerlines/types/config';
6
+ import { BaseExecutorSchema } from './base-executor.schema.d.mjs';
7
+
8
+ type PowerlinesExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
9
+ projectName: string;
10
+ command: TCommand;
11
+ options: TExecutorSchema;
12
+ inlineConfig: InlineConfig;
13
+ workspaceConfig: StormWorkspaceConfig;
14
+ };
15
+ /**
16
+ * A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.
17
+ *
18
+ * @remarks
19
+ * This function is designed to simplify the creation of Powerlines executors by providing a consistent interface and error handling.
20
+ *
21
+ * @param command - The command that the executor will handle (e.g., "new", "prepare", "build", etc.).
22
+ * @param executorFn - The function that will be executed when the command is run.
23
+ * @returns A Promise that resolves to the result of the executor function.
24
+ */
25
+ declare function withExecutor<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: TCommand, executorFn: (context: PowerlinesExecutorContext<TCommand, TExecutorSchema>, api: PowerlinesAPI) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined): PromiseExecutor<TExecutorSchema>;
26
+
27
+ export { type PowerlinesExecutorContext, withExecutor };