@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,72 @@
1
+
2
+ <!-- Generated by @storm-software/untyped -->
3
+ <!-- Do not edit this file directly -->
4
+
5
+ # Lint Executor
6
+
7
+ ## `outputPath`
8
+ - **Type**: `string`
9
+ - **Default**: `"dist/{projectRoot}"`
10
+
11
+ > Output Path
12
+
13
+
14
+ The output path for the build
15
+
16
+
17
+ ## `tsconfig`
18
+ - **Type**: `string`
19
+ - **Default**: `"{projectRoot}/tsconfig.json"`
20
+
21
+ > TypeScript Configuration File
22
+
23
+
24
+ The path to the tsconfig file
25
+
26
+
27
+ ## `configFile`
28
+ - **Type**: `string`
29
+ - **Default**: `"{projectRoot}/powerlines.config.ts"`
30
+
31
+ > Powerlines Configuration File
32
+
33
+
34
+ The path to the Powerlines configuration file
35
+
36
+
37
+ ## `mode`
38
+ - **Type**: `string`
39
+
40
+ > Mode
41
+
42
+
43
+ The build mode
44
+
45
+
46
+ ## `skipInstalls`
47
+ - **Type**: `boolean`
48
+
49
+ > Skip Installs
50
+
51
+
52
+ Skip installing dependencies before building
53
+
54
+
55
+ ## `skipCache`
56
+ - **Type**: `boolean`
57
+
58
+ > Skip Cache
59
+
60
+
61
+ Skip the cache when building
62
+
63
+
64
+ ## `logLevel`
65
+ - **Type**: `string`
66
+
67
+ > Log Level
68
+
69
+
70
+ The log level to use for the build process
71
+
72
+
@@ -0,0 +1,72 @@
1
+
2
+ <!-- Generated by @storm-software/untyped -->
3
+ <!-- Do not edit this file directly -->
4
+
5
+ # Prepare Executor
6
+
7
+ ## `outputPath`
8
+ - **Type**: `string`
9
+ - **Default**: `"dist/{projectRoot}"`
10
+
11
+ > Output Path
12
+
13
+
14
+ The output path for the build
15
+
16
+
17
+ ## `tsconfig`
18
+ - **Type**: `string`
19
+ - **Default**: `"{projectRoot}/tsconfig.json"`
20
+
21
+ > TypeScript Configuration File
22
+
23
+
24
+ The path to the tsconfig file
25
+
26
+
27
+ ## `configFile`
28
+ - **Type**: `string`
29
+ - **Default**: `"{projectRoot}/powerlines.config.ts"`
30
+
31
+ > Powerlines Configuration File
32
+
33
+
34
+ The path to the Powerlines configuration file
35
+
36
+
37
+ ## `mode`
38
+ - **Type**: `string`
39
+
40
+ > Mode
41
+
42
+
43
+ The build mode
44
+
45
+
46
+ ## `skipInstalls`
47
+ - **Type**: `boolean`
48
+
49
+ > Skip Installs
50
+
51
+
52
+ Skip installing dependencies before building
53
+
54
+
55
+ ## `skipCache`
56
+ - **Type**: `boolean`
57
+
58
+ > Skip Cache
59
+
60
+
61
+ Skip the cache when building
62
+
63
+
64
+ ## `logLevel`
65
+ - **Type**: `string`
66
+
67
+ > Log Level
68
+
69
+
70
+ The log level to use for the build process
71
+
72
+
@@ -0,0 +1,16 @@
1
+
2
+ <!-- Generated by @storm-software/untyped -->
3
+ <!-- Do not edit this file directly -->
4
+
5
+ # Sync Generator
6
+
7
+ ## `outOfSyncMessage`
8
+ - **Type**: `string`
9
+ - **Default**: `"The legal-message.txt file needs to be created"`
10
+
11
+ > Out of Sync Message
12
+
13
+
14
+ The message to display when the project is out of sync with the legal-message.txt file
15
+
16
+
package/executors.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "https://json-schema.org/schema",
3
+ "executors": {
4
+ "clean": {
5
+ "implementation": "./dist/src/executors/clean/executor",
6
+ "schema": "./dist/src/executors/clean/schema.json",
7
+ "description": "Run the `clean` Powerlines command on the given project"
8
+ },
9
+ "prepare": {
10
+ "implementation": "./dist/src/executors/prepare/executor",
11
+ "schema": "./dist/src/executors/prepare/schema.json",
12
+ "description": "Run the `prepare` Powerlines command on the given project"
13
+ },
14
+ "lint": {
15
+ "implementation": "./dist/src/executors/lint/executor",
16
+ "schema": "./dist/src/executors/lint/schema.json",
17
+ "description": "Run the `lint` Powerlines command on the given project"
18
+ },
19
+ "build": {
20
+ "implementation": "./dist/src/executors/build/executor",
21
+ "schema": "./dist/src/executors/build/schema.json",
22
+ "description": "Run the `build` Powerlines command on the given project"
23
+ },
24
+ "docs": {
25
+ "implementation": "./dist/src/executors/docs/executor",
26
+ "schema": "./dist/src/executors/docs/schema.json",
27
+ "description": "Run the `docs` Powerlines command on the given project"
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "https://json-schema.org/schema",
3
+ "name": "powerlines",
4
+ "version": "0.0.1",
5
+ "generators": {
6
+ "typescript-sync": {
7
+ "factory": "./dist/src/generators/sync/generator",
8
+ "schema": "./dist/src/generators/sync/schema.json",
9
+ "description": "Synchronize Powerlines projects based on the project graph",
10
+ "alias": ["sync"],
11
+ "hidden": true
12
+ }
13
+ }
14
+ }
package/package.json ADDED
@@ -0,0 +1,172 @@
1
+ {
2
+ "name": "@powerlines/nx",
3
+ "version": "0.1.0",
4
+ "description": "A Nx plugin to support Powerlines development in Nx monorepos.",
5
+ "repository": {
6
+ "type": "github",
7
+ "url": "https://github.com/storm-software/powerlines.git",
8
+ "directory": "packages/nx"
9
+ },
10
+ "private": false,
11
+ "main": "dist/index.js",
12
+ "module": "dist/index.mjs",
13
+ "exports": {
14
+ "./package.json": "./package.json",
15
+ "./docs/*": "./docs/*",
16
+ "./migrations.json": "./migrations.json",
17
+ "./executors.json": "./executors.json",
18
+ "./executors/*/schema.json": "./dist/src/executors/*/schema.json",
19
+ "./generators.json": "./generators.json",
20
+ "./generators/*/schema.json": "./dist/src/generators/*/schema.json",
21
+ ".": {
22
+ "import": {
23
+ "types": "./dist/index.d.mts",
24
+ "default": "./dist/index.mjs"
25
+ },
26
+ "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
27
+ "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
28
+ },
29
+ "./index": {
30
+ "import": {
31
+ "types": "./dist/index.d.mts",
32
+ "default": "./dist/index.mjs"
33
+ },
34
+ "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
35
+ "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
36
+ },
37
+ "./plugin": {
38
+ "import": {
39
+ "types": "./dist/src/plugin/index.d.mts",
40
+ "default": "./dist/src/plugin/index.mjs"
41
+ },
42
+ "require": {
43
+ "types": "./dist/src/plugin/index.d.ts",
44
+ "default": "./dist/src/plugin/index.js"
45
+ },
46
+ "default": {
47
+ "types": "./dist/src/plugin/index.d.ts",
48
+ "default": "./dist/src/plugin/index.js"
49
+ }
50
+ },
51
+ "./executors": {
52
+ "import": {
53
+ "types": "./dist/executors.d.mts",
54
+ "default": "./dist/executors.mjs"
55
+ },
56
+ "require": {
57
+ "types": "./dist/executors.d.ts",
58
+ "default": "./dist/executors.js"
59
+ },
60
+ "default": {
61
+ "types": "./dist/executors.d.ts",
62
+ "default": "./dist/executors.js"
63
+ }
64
+ },
65
+ "./generators": {
66
+ "import": {
67
+ "types": "./dist/generators.d.mts",
68
+ "default": "./dist/generators.mjs"
69
+ },
70
+ "require": {
71
+ "types": "./dist/generators.d.ts",
72
+ "default": "./dist/generators.js"
73
+ },
74
+ "default": {
75
+ "types": "./dist/generators.d.ts",
76
+ "default": "./dist/generators.js"
77
+ }
78
+ },
79
+ "./executors/*/untyped": {
80
+ "import": {
81
+ "types": "./dist/src/executors/*/untyped.d.mts",
82
+ "default": "./dist/src/executors/*/untyped.mjs"
83
+ },
84
+ "require": {
85
+ "types": "./dist/src/executors/*/untyped.d.ts",
86
+ "default": "./dist/src/executors/*/untyped.js"
87
+ },
88
+ "default": {
89
+ "types": "./dist/src/executors/*/untyped.d.ts",
90
+ "default": "./dist/src/executors/*/untyped.js"
91
+ }
92
+ },
93
+ "./generators/*/untyped": {
94
+ "import": {
95
+ "types": "./dist/src/generators/*/untyped.d.mts",
96
+ "default": "./dist/src/generators/*/untyped.mjs"
97
+ },
98
+ "require": {
99
+ "types": "./dist/src/generators/*/untyped.d.ts",
100
+ "default": "./dist/src/generators/*/untyped.js"
101
+ },
102
+ "default": {
103
+ "types": "./dist/src/generators/*/untyped.d.ts",
104
+ "default": "./dist/src/generators/*/untyped.js"
105
+ }
106
+ },
107
+ "./executors/*/executor": {
108
+ "import": {
109
+ "types": "./dist/src/executors/*/executor.d.mts",
110
+ "default": "./dist/src/executors/*/executor.mjs"
111
+ },
112
+ "require": {
113
+ "types": "./dist/src/executors/*/executor.d.ts",
114
+ "default": "./dist/src/executors/*/executor.js"
115
+ },
116
+ "default": {
117
+ "types": "./dist/src/executors/*/executor.d.ts",
118
+ "default": "./dist/src/executors/*/executor.js"
119
+ }
120
+ },
121
+ "./generators/*/generator": {
122
+ "import": {
123
+ "types": "./dist/src/generators/*/generator.d.mts",
124
+ "default": "./dist/src/generators/*/generator.mjs"
125
+ },
126
+ "require": {
127
+ "types": "./dist/src/generators/*/generator.d.ts",
128
+ "default": "./dist/src/generators/*/generator.js"
129
+ },
130
+ "default": {
131
+ "types": "./dist/src/generators/*/generator.d.ts",
132
+ "default": "./dist/src/generators/*/generator.js"
133
+ }
134
+ },
135
+ "./generators/*/generator.js": "./dist/src/generators/*/generator.js",
136
+ "./generators/*/executors.js": "./dist/src/executors/*/executor.js",
137
+ "./generators/*/generator.mjs": "./dist/src/generators/*/generator.mjs",
138
+ "./generators/*/executors.mjs": "./dist/src/executors/*/executor.mjs"
139
+ },
140
+ "typings": "dist/index.d.ts",
141
+ "dependencies": {
142
+ "@nx/devkit": "21.5.3",
143
+ "@storm-software/build-tools": "^0.158.6",
144
+ "@storm-software/config": "^1.134.6",
145
+ "@storm-software/config-tools": "^1.188.6",
146
+ "@storm-software/esbuild": "^0.53.6",
147
+ "@storm-software/unbuild": "^0.57.6",
148
+ "@storm-software/workspace-tools": "^1.292.6",
149
+ "@stryke/fs": "^0.31.4",
150
+ "@stryke/hash": "^0.12.0",
151
+ "@stryke/path": "^0.15.5",
152
+ "@stryke/string-format": "^0.12.0",
153
+ "@stryke/type-checks": "^0.3.10",
154
+ "defu": "^6.1.4",
155
+ "jiti": "^2.6.1",
156
+ "nx": "21.5.3",
157
+ "powerlines": "^0.1.0"
158
+ },
159
+ "devDependencies": {
160
+ "@nx/workspace": "21.5.3",
161
+ "@storm-software/testing-tools": "^1.119.6",
162
+ "@types/node": "^22.18.11",
163
+ "eslint-flat-config-utils": "2.1.0",
164
+ "jsonc-eslint-parser": "2.4.0",
165
+ "tsup": "8.4.0",
166
+ "untyped": "1.5.2"
167
+ },
168
+ "publishConfig": { "access": "public" },
169
+ "executors": "./executors.json",
170
+ "generators": "./generators.json",
171
+ "gitHead": "ecb19d2493e29805acdca3a87b7ffaf6d331dfec"
172
+ }