@powerlines/nx 0.10.16 → 0.10.18

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 (54) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/{chunk-WMZ45WVV.mjs → chunk-5KEIBGFG.mjs} +31 -11
  3. package/dist/{chunk-7SWNXVZN.js → chunk-AD2EUZQL.js} +2 -2
  4. package/dist/{chunk-NSFCCGL7.mjs → chunk-E7EIMG6J.mjs} +1 -1
  5. package/dist/{chunk-IWLY4VEK.mjs → chunk-EMPB7IUD.mjs} +1 -1
  6. package/dist/{chunk-DKRIOFPB.js → chunk-EOBEXUZ2.js} +2 -2
  7. package/dist/chunk-EX3O7O2B.js +10 -0
  8. package/dist/{chunk-32RH3DSY.js → chunk-FBZEUICY.js} +31 -11
  9. package/dist/chunk-FEJ2ZSZP.mjs +8 -0
  10. package/dist/{chunk-KJAIPQKC.js → chunk-HANZV54P.js} +2 -2
  11. package/dist/{chunk-K7X3KSVW.mjs → chunk-J66W6WPB.mjs} +1 -1
  12. package/dist/chunk-LQU7XWFP.mjs +30 -0
  13. package/dist/{chunk-RIB65IPA.mjs → chunk-OFWFMQU2.mjs} +1 -1
  14. package/dist/{chunk-GUAUB4A5.mjs → chunk-OS7UD4XD.mjs} +3 -37
  15. package/dist/{chunk-QJLAFC2D.js → chunk-P5LV56CI.js} +2 -2
  16. package/dist/{chunk-LG4AFV5G.js → chunk-TO3WM5BR.js} +6 -38
  17. package/dist/{chunk-KNIZUAS5.mjs → chunk-VD72KMTO.mjs} +1 -1
  18. package/dist/chunk-VIU4CXA3.js +32 -0
  19. package/dist/{chunk-FZWXH2M7.js → chunk-VW4AOJ4M.js} +2 -2
  20. package/dist/executors.js +16 -16
  21. package/dist/executors.mjs +6 -6
  22. package/dist/index.d.mts +1 -0
  23. package/dist/index.d.ts +1 -0
  24. package/dist/index.js +25 -23
  25. package/dist/index.mjs +9 -7
  26. package/dist/src/base/base-executor.js +2 -2
  27. package/dist/src/base/base-executor.mjs +1 -1
  28. package/dist/src/executors/build/executor.js +4 -4
  29. package/dist/src/executors/build/executor.mjs +2 -2
  30. package/dist/src/executors/clean/executor.js +4 -4
  31. package/dist/src/executors/clean/executor.mjs +2 -2
  32. package/dist/src/executors/docs/executor.js +4 -4
  33. package/dist/src/executors/docs/executor.mjs +2 -2
  34. package/dist/src/executors/lint/executor.js +4 -4
  35. package/dist/src/executors/lint/executor.mjs +2 -2
  36. package/dist/src/executors/prepare/executor.js +4 -4
  37. package/dist/src/executors/prepare/executor.mjs +2 -2
  38. package/dist/src/helpers/constants.d.mts +6 -0
  39. package/dist/src/helpers/constants.d.ts +6 -0
  40. package/dist/src/helpers/constants.js +11 -0
  41. package/dist/src/helpers/constants.mjs +2 -0
  42. package/dist/src/helpers/plugin-utilities.d.mts +55 -0
  43. package/dist/src/helpers/plugin-utilities.d.ts +55 -0
  44. package/dist/src/helpers/plugin-utilities.js +21 -0
  45. package/dist/src/helpers/plugin-utilities.mjs +4 -0
  46. package/dist/src/plugin/index.d.mts +1 -173
  47. package/dist/src/plugin/index.d.ts +1 -173
  48. package/dist/src/plugin/index.js +4 -2
  49. package/dist/src/plugin/index.mjs +3 -1
  50. package/dist/src/types/plugin.d.mts +174 -0
  51. package/dist/src/types/plugin.d.ts +174 -0
  52. package/dist/src/types/plugin.js +2 -0
  53. package/dist/src/types/plugin.mjs +1 -0
  54. package/package.json +45 -3
@@ -0,0 +1,174 @@
1
+ interface NxPluginOptions {
2
+ clean?: false | {
3
+ /**
4
+ * The name of the clean target to use when cleaning the project
5
+ *
6
+ * @defaultValue "clean"
7
+ */
8
+ targetName?: string;
9
+ /**
10
+ * The name of the clean configuration to use when cleaning the project
11
+ *
12
+ * @defaultValue "production"
13
+ */
14
+ defaultConfiguration?: "production" | "test" | "development";
15
+ /**
16
+ * An array specifying any other target identifiers the clean target depends on
17
+ *
18
+ * @defaultValue ["^clean"]
19
+ */
20
+ dependsOn?: string[];
21
+ /**
22
+ * An array specifying any input files or globs to consider when determining if the clean target needs to be re-run
23
+ */
24
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
25
+ /**
26
+ * An array specifying the output files or globs generated by the clean target
27
+ */
28
+ outputs?: string[];
29
+ /**
30
+ * The executor to use for the clean target
31
+ *
32
+ * @defaultValue "\@powerlines/nx:clean"
33
+ */
34
+ executor?: string;
35
+ };
36
+ prepare?: false | {
37
+ /**
38
+ * The name of the prepare target to use when preparing the project
39
+ *
40
+ * @defaultValue "prepare"
41
+ */
42
+ targetName?: string;
43
+ /**
44
+ * The name of the prepare configuration to use when preparing the project
45
+ *
46
+ * @defaultValue "production"
47
+ */
48
+ defaultConfiguration?: "production" | "test" | "development";
49
+ /**
50
+ * An array specifying any other target identifiers the prepare target depends on
51
+ *
52
+ * @defaultValue ["^prepare", "clean"]
53
+ */
54
+ dependsOn?: string[];
55
+ /**
56
+ * An array specifying any input files or globs to consider when determining if the prepare target needs to be re-run
57
+ */
58
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
59
+ /**
60
+ * An array specifying the output files or globs generated by the prepare target
61
+ */
62
+ outputs?: string[];
63
+ /**
64
+ * The executor to use for the prepare target
65
+ *
66
+ * @defaultValue "\@powerlines/nx:prepare"
67
+ */
68
+ executor?: string;
69
+ };
70
+ lint?: false | {
71
+ /**
72
+ * The name of the lint target to use when linting the project
73
+ *
74
+ * @defaultValue "lint"
75
+ */
76
+ targetName?: string;
77
+ /**
78
+ * The name of the lint configuration to use when linting the project
79
+ *
80
+ * @defaultValue "production"
81
+ */
82
+ defaultConfiguration?: "production" | "test" | "development";
83
+ /**
84
+ * An array specifying any other target identifiers the lint target depends on
85
+ *
86
+ * @defaultValue ["^lint", "prepare"]
87
+ */
88
+ dependsOn?: string[];
89
+ /**
90
+ * An array specifying any input files or globs to consider when determining if the lint target needs to be re-run
91
+ */
92
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
93
+ /**
94
+ * An array specifying the output files or globs generated by the lint target
95
+ */
96
+ outputs?: string[];
97
+ /**
98
+ * The executor to use for the lint target
99
+ *
100
+ * @defaultValue "\@powerlines/nx:lint"
101
+ */
102
+ executor?: string;
103
+ };
104
+ build?: false | {
105
+ /**
106
+ * The name of the build target to use when building the project
107
+ *
108
+ * @defaultValue "build"
109
+ */
110
+ targetName?: string;
111
+ /**
112
+ * The name of the build configuration to use when building the project
113
+ *
114
+ * @defaultValue "production"
115
+ */
116
+ defaultConfiguration?: "production" | "test" | "development";
117
+ /**
118
+ * An array specifying any other target identifiers the build target depends on
119
+ *
120
+ * @defaultValue ["^build", "prepare"]
121
+ */
122
+ dependsOn?: string[];
123
+ /**
124
+ * An array specifying any input files or globs to consider when determining if the build target needs to be re-run
125
+ */
126
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
127
+ /**
128
+ * An array specifying the output files or globs generated by the build target
129
+ */
130
+ outputs?: string[];
131
+ /**
132
+ * The executor to use for the build target
133
+ *
134
+ * @defaultValue "\@powerlines/nx:build"
135
+ */
136
+ executor?: string;
137
+ };
138
+ docs?: false | {
139
+ /**
140
+ * The name of the docs target to use when generating documentation for the project
141
+ *
142
+ * @defaultValue "docs"
143
+ */
144
+ targetName?: string;
145
+ /**
146
+ * The name of the docs configuration to use when generating documentation for the project
147
+ *
148
+ * @defaultValue "production"
149
+ */
150
+ defaultConfiguration?: "production" | "test" | "development";
151
+ /**
152
+ * An array specifying any other target identifiers the docs target depends on
153
+ *
154
+ * @defaultValue ["^docs", "build"]
155
+ */
156
+ dependsOn?: string[];
157
+ /**
158
+ * An array specifying any input files or globs to consider when determining if the docs target needs to be re-run
159
+ */
160
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
161
+ /**
162
+ * An array specifying the output files or globs generated by the docs target
163
+ */
164
+ outputs?: string[];
165
+ /**
166
+ * The executor to use for the docs target
167
+ *
168
+ * @defaultValue "\@powerlines/nx:docs"
169
+ */
170
+ executor?: string;
171
+ };
172
+ }
173
+
174
+ export type { NxPluginOptions };
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -0,0 +1 @@
1
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/nx",
3
- "version": "0.10.16",
3
+ "version": "0.10.18",
4
4
  "description": "A Nx plugin to support Powerlines development in Nx monorepos.",
5
5
  "repository": {
6
6
  "type": "github",
@@ -34,6 +34,48 @@
34
34
  "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
35
35
  "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
36
36
  },
37
+ "./base/*": {
38
+ "import": {
39
+ "types": "./dist/src/base/*.d.mts",
40
+ "default": "./dist/src/base/*.mjs"
41
+ },
42
+ "require": {
43
+ "types": "./dist/src/base/*.d.ts",
44
+ "default": "./dist/src/base/*.js"
45
+ },
46
+ "default": {
47
+ "types": "./dist/src/base/*.d.ts",
48
+ "default": "./dist/src/base/*.js"
49
+ }
50
+ },
51
+ "./types/*": {
52
+ "import": {
53
+ "types": "./dist/src/types/*.d.mts",
54
+ "default": "./dist/src/types/*.mjs"
55
+ },
56
+ "require": {
57
+ "types": "./dist/src/types/*.d.ts",
58
+ "default": "./dist/src/types/*.js"
59
+ },
60
+ "default": {
61
+ "types": "./dist/src/types/*.d.ts",
62
+ "default": "./dist/src/types/*.js"
63
+ }
64
+ },
65
+ "./helpers/*": {
66
+ "import": {
67
+ "types": "./dist/src/helpers/*.d.mts",
68
+ "default": "./dist/src/helpers/*.mjs"
69
+ },
70
+ "require": {
71
+ "types": "./dist/src/helpers/*.d.ts",
72
+ "default": "./dist/src/helpers/*.js"
73
+ },
74
+ "default": {
75
+ "types": "./dist/src/helpers/*.d.ts",
76
+ "default": "./dist/src/helpers/*.js"
77
+ }
78
+ },
37
79
  "./plugin": {
38
80
  "import": {
39
81
  "types": "./dist/src/plugin/index.d.mts",
@@ -154,7 +196,7 @@
154
196
  "defu": "^6.1.4",
155
197
  "jiti": "^2.6.1",
156
198
  "nx": "^22.0.4",
157
- "powerlines": "^0.22.1"
199
+ "powerlines": "^0.23.1"
158
200
  },
159
201
  "devDependencies": {
160
202
  "@nx/workspace": "^22.0.4",
@@ -168,5 +210,5 @@
168
210
  "publishConfig": { "access": "public" },
169
211
  "executors": "./executors.json",
170
212
  "generators": "./generators.json",
171
- "gitHead": "781b9a5f57b9c64bf6e659316741b7c8a429445f"
213
+ "gitHead": "f9c6f13f1e751db8d7bbc1a3496b592a2ca4f2f0"
172
214
  }