@nu-art/build-and-install 0.300.8 → 0.400.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 (195) hide show
  1. package/build-and-install-v3.d.ts +29 -0
  2. package/build-and-install-v3.js +132 -0
  3. package/build-and-install-v3.js.map +1 -0
  4. package/build-and-install.js +18 -24
  5. package/build-and-install.js.map +1 -0
  6. package/core/consts.d.ts +7 -2
  7. package/core/consts.js +12 -9
  8. package/core/consts.js.map +1 -0
  9. package/core/exceptions/PhaseAggregatedException.d.ts +5 -0
  10. package/core/exceptions/PhaseAggregatedException.js +9 -0
  11. package/core/exceptions/PhaseAggregatedException.js.map +1 -0
  12. package/core/package/consts.d.ts +1 -1
  13. package/core/package/consts.js +7 -9
  14. package/core/package/consts.js.map +1 -0
  15. package/core/params/params.d.ts +18 -19
  16. package/core/params/params.js +142 -178
  17. package/core/params/params.js.map +1 -0
  18. package/core/types/configs/firebasejson.js +2 -2
  19. package/core/types/configs/firebasejson.js.map +1 -0
  20. package/core/types/configs/firebaserc.js +2 -2
  21. package/core/types/configs/firebaserc.js.map +1 -0
  22. package/core/types/configs/index.d.ts +3 -3
  23. package/core/types/configs/index.js +4 -19
  24. package/core/types/configs/index.js.map +1 -0
  25. package/core/types/configs/package-json.d.ts +2 -1
  26. package/core/types/configs/package-json.js +2 -2
  27. package/core/types/configs/package-json.js.map +1 -0
  28. package/core/types/core.js +2 -2
  29. package/core/types/core.js.map +1 -0
  30. package/core/types/index.d.ts +4 -4
  31. package/core/types/index.js +5 -20
  32. package/core/types/index.js.map +1 -0
  33. package/core/types/package/index.d.ts +2 -2
  34. package/core/types/package/index.js +3 -18
  35. package/core/types/package/index.js.map +1 -0
  36. package/core/types/package/package.d.ts +10 -14
  37. package/core/types/package/package.js +15 -12
  38. package/core/types/package/package.js.map +1 -0
  39. package/core/types/package/runtime-package.d.ts +2 -2
  40. package/core/types/package/runtime-package.js +2 -2
  41. package/core/types/package/runtime-package.js.map +1 -0
  42. package/core/types/project-config.d.ts +31 -2
  43. package/core/types/project-config.js +2 -2
  44. package/core/types/project-config.js.map +1 -0
  45. package/defaults/backend-proxy/proxy._ts +3 -1
  46. package/defaults/consts.d.ts +0 -7
  47. package/defaults/consts.js +10 -10
  48. package/defaults/consts.js.map +1 -0
  49. package/{v2/phase-runner → old}/PhaseRunnerDispatcher.d.ts +4 -4
  50. package/old/PhaseRunnerDispatcher.js +33 -0
  51. package/old/PhaseRunnerDispatcher.js.map +1 -0
  52. package/{v2/unit → old}/runner-dispatchers.d.ts +3 -3
  53. package/old/runner-dispatchers.js +4 -0
  54. package/old/runner-dispatchers.js.map +1 -0
  55. package/package.json +20 -15
  56. package/v3/PhaseManager.d.ts +26 -0
  57. package/v3/PhaseManager.js +144 -0
  58. package/v3/PhaseManager.js.map +1 -0
  59. package/v3/RunningStatusHandler.d.ts +16 -0
  60. package/v3/RunningStatusHandler.js +57 -0
  61. package/v3/RunningStatusHandler.js.map +1 -0
  62. package/v3/UnitsDependencyMapper/UnitsDependencyMapper.d.ts +52 -0
  63. package/v3/UnitsDependencyMapper/UnitsDependencyMapper.js +287 -0
  64. package/v3/UnitsDependencyMapper/UnitsDependencyMapper.js.map +1 -0
  65. package/v3/UnitsMapper/UnitsMapper.d.ts +21 -0
  66. package/v3/UnitsMapper/UnitsMapper.js +60 -0
  67. package/v3/UnitsMapper/UnitsMapper.js.map +1 -0
  68. package/v3/UnitsMapper/resolvers/UnitMapper_Base.d.ts +23 -0
  69. package/v3/UnitsMapper/resolvers/UnitMapper_Base.js +17 -0
  70. package/v3/UnitsMapper/resolvers/UnitMapper_Base.js.map +1 -0
  71. package/v3/UnitsMapper/resolvers/UnitMapper_FirebaseFunction.d.ts +62 -0
  72. package/v3/UnitsMapper/resolvers/UnitMapper_FirebaseFunction.js +56 -0
  73. package/v3/UnitsMapper/resolvers/UnitMapper_FirebaseFunction.js.map +1 -0
  74. package/v3/UnitsMapper/resolvers/UnitMapper_FirebaseHosting.d.ts +38 -0
  75. package/v3/UnitsMapper/resolvers/UnitMapper_FirebaseHosting.js +49 -0
  76. package/v3/UnitsMapper/resolvers/UnitMapper_FirebaseHosting.js.map +1 -0
  77. package/v3/UnitsMapper/resolvers/UnitMapper_Node.d.ts +30 -0
  78. package/v3/UnitsMapper/resolvers/UnitMapper_Node.js +59 -0
  79. package/v3/UnitsMapper/resolvers/UnitMapper_Node.js.map +1 -0
  80. package/v3/UnitsMapper/resolvers/UnitMapper_NodeLib.d.ts +25 -0
  81. package/v3/UnitsMapper/resolvers/UnitMapper_NodeLib.js +29 -0
  82. package/v3/UnitsMapper/resolvers/UnitMapper_NodeLib.js.map +1 -0
  83. package/v3/UnitsMapper/resolvers/UnitMapper_NodeProject.d.ts +24 -0
  84. package/v3/UnitsMapper/resolvers/UnitMapper_NodeProject.js +23 -0
  85. package/v3/UnitsMapper/resolvers/UnitMapper_NodeProject.js.map +1 -0
  86. package/v3/UnitsMapper/resolvers/index.d.ts +4 -0
  87. package/v3/UnitsMapper/resolvers/index.js +5 -0
  88. package/v3/UnitsMapper/resolvers/index.js.map +1 -0
  89. package/v3/UnitsMapper/types.d.ts +24 -0
  90. package/v3/UnitsMapper/types.js +2 -0
  91. package/v3/UnitsMapper/types.js.map +1 -0
  92. package/v3/core/FileSystemUtils.d.ts +34 -0
  93. package/v3/core/FileSystemUtils.js +152 -0
  94. package/v3/core/FileSystemUtils.js.map +1 -0
  95. package/v3/core/FilesCache.d.ts +7 -0
  96. package/v3/core/FilesCache.js +34 -0
  97. package/v3/core/FilesCache.js.map +1 -0
  98. package/v3/core/Unit_HelpPrinter.d.ts +16 -0
  99. package/v3/core/Unit_HelpPrinter.js +48 -0
  100. package/v3/core/Unit_HelpPrinter.js.map +1 -0
  101. package/v3/core/types.d.ts +17 -0
  102. package/v3/core/types.js +6 -0
  103. package/v3/core/types.js.map +1 -0
  104. package/v3/phase/consts.d.ts +52 -0
  105. package/v3/phase/consts.js +127 -0
  106. package/v3/phase/consts.js.map +1 -0
  107. package/v3/phase/index.d.ts +2 -0
  108. package/v3/phase/index.js +3 -0
  109. package/v3/phase/index.js.map +1 -0
  110. package/v3/phase/types.d.ts +9 -0
  111. package/v3/phase/types.js +2 -0
  112. package/v3/phase/types.js.map +1 -0
  113. package/v3/units/BaseUnit.d.ts +46 -0
  114. package/v3/units/BaseUnit.js +120 -0
  115. package/v3/units/BaseUnit.js.map +1 -0
  116. package/v3/units/ProjectUnit.d.ts +18 -0
  117. package/v3/units/ProjectUnit.js +12 -0
  118. package/v3/units/ProjectUnit.js.map +1 -0
  119. package/v3/units/Unit_NodeProject.d.ts +32 -0
  120. package/v3/units/Unit_NodeProject.js +244 -0
  121. package/v3/units/Unit_NodeProject.js.map +1 -0
  122. package/v3/units/Unit_PackageJson.d.ts +19 -0
  123. package/v3/units/Unit_PackageJson.js +42 -0
  124. package/v3/units/Unit_PackageJson.js.map +1 -0
  125. package/v3/units/Unit_TypescriptLib.d.ts +45 -0
  126. package/v3/units/Unit_TypescriptLib.js +373 -0
  127. package/v3/units/Unit_TypescriptLib.js.map +1 -0
  128. package/v3/units/firebase/Unit_FirebaseFunctionsApp.d.ts +62 -0
  129. package/v3/units/firebase/Unit_FirebaseFunctionsApp.js +281 -0
  130. package/v3/units/firebase/Unit_FirebaseFunctionsApp.js.map +1 -0
  131. package/v3/units/firebase/Unit_FirebaseHostingApp.d.ts +49 -0
  132. package/v3/units/firebase/Unit_FirebaseHostingApp.js +100 -0
  133. package/v3/units/firebase/Unit_FirebaseHostingApp.js.map +1 -0
  134. package/v3/units/index.d.ts +5 -0
  135. package/v3/units/index.js +6 -0
  136. package/v3/units/index.js.map +1 -0
  137. package/core/params/types.d.ts +0 -51
  138. package/core/params/types.js +0 -2
  139. package/tsconfig.json +0 -23
  140. package/v2/phase/consts.d.ts +0 -53
  141. package/v2/phase/consts.js +0 -151
  142. package/v2/phase/index.d.ts +0 -2
  143. package/v2/phase/index.js +0 -18
  144. package/v2/phase/types.d.ts +0 -12
  145. package/v2/phase/types.js +0 -2
  146. package/v2/phase-runner/PhaseRunner.d.ts +0 -69
  147. package/v2/phase-runner/PhaseRunner.js +0 -472
  148. package/v2/phase-runner/PhaseRunnerDispatcher.js +0 -37
  149. package/v2/phase-runner/RunnerParams.d.ts +0 -12
  150. package/v2/phase-runner/RunnerParams.js +0 -9
  151. package/v2/phase-runner/consts.d.ts +0 -7
  152. package/v2/phase-runner/consts.js +0 -9
  153. package/v2/phase-runner/kaki.d.ts +0 -0
  154. package/v2/phase-runner/kaki.js +0 -1
  155. package/v2/phase-runner/types.d.ts +0 -13
  156. package/v2/phase-runner/types.js +0 -6
  157. package/v2/project/types.d.ts +0 -8
  158. package/v2/project/types.js +0 -2
  159. package/v2/screens/BAIScreen.d.ts +0 -22
  160. package/v2/screens/BAIScreen.js +0 -82
  161. package/v2/screens/BAIScreenManager.d.ts +0 -28
  162. package/v2/screens/BAIScreenManager.js +0 -77
  163. package/v2/screens/BAIScreen_Launch.d.ts +0 -28
  164. package/v2/screens/BAIScreen_Launch.js +0 -173
  165. package/v2/screens/BAIScreen_UnitList.d.ts +0 -36
  166. package/v2/screens/BAIScreen_UnitList.js +0 -203
  167. package/v2/unit/consts.d.ts +0 -6
  168. package/v2/unit/consts.js +0 -8
  169. package/v2/unit/core/BaseUnit.d.ts +0 -39
  170. package/v2/unit/core/BaseUnit.js +0 -138
  171. package/v2/unit/core/Unit_Python.d.ts +0 -16
  172. package/v2/unit/core/Unit_Python.js +0 -26
  173. package/v2/unit/core/Unit_Typescript.d.ts +0 -49
  174. package/v2/unit/core/Unit_Typescript.js +0 -143
  175. package/v2/unit/core/Unit_TypescriptLib.d.ts +0 -48
  176. package/v2/unit/core/Unit_TypescriptLib.js +0 -226
  177. package/v2/unit/core/Unit_TypescriptProject.d.ts +0 -31
  178. package/v2/unit/core/Unit_TypescriptProject.js +0 -194
  179. package/v2/unit/core/index.d.ts +0 -5
  180. package/v2/unit/core/index.js +0 -21
  181. package/v2/unit/firebase-units/Unit_FirebaseFunctionsApp.d.ts +0 -35
  182. package/v2/unit/firebase-units/Unit_FirebaseFunctionsApp.js +0 -309
  183. package/v2/unit/firebase-units/Unit_FirebaseHostingApp.d.ts +0 -24
  184. package/v2/unit/firebase-units/Unit_FirebaseHostingApp.js +0 -138
  185. package/v2/unit/firebase-units/consts.d.ts +0 -2
  186. package/v2/unit/firebase-units/consts.js +0 -9
  187. package/v2/unit/firebase-units/index.d.ts +0 -2
  188. package/v2/unit/firebase-units/index.js +0 -18
  189. package/v2/unit/runner-dispatchers.js +0 -6
  190. package/v2/unit/thunderstorm.d.ts +0 -171
  191. package/v2/unit/thunderstorm.js +0 -199
  192. package/v2/unit/tools/tools.d.ts +0 -2
  193. package/v2/unit/tools/tools.js +0 -15
  194. package/v2/unit/types.d.ts +0 -8
  195. package/v2/unit/types.js +0 -2
@@ -1,171 +0,0 @@
1
- import { BaseUnit, Unit_TypescriptLib } from './core';
2
- import { RelativePath } from '@nu-art/ts-common';
3
- export declare const Unit_TSCommon: Unit_TypescriptLib<{
4
- key: "ts-common";
5
- label: "TS/ts-common";
6
- pathToPackage: RelativePath;
7
- output: "dist";
8
- filter: () => NonNullable<boolean | undefined>;
9
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
10
- export declare const Unit_TSStyles: Unit_TypescriptLib<{
11
- key: "ts-styles";
12
- label: "TS/ts-styles";
13
- pathToPackage: RelativePath;
14
- output: "dist";
15
- filter: () => NonNullable<boolean | undefined>;
16
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
17
- export declare const Unit_GoogleServices: Unit_TypescriptLib<{
18
- key: "google-services";
19
- label: "TS/google-services";
20
- pathToPackage: RelativePath;
21
- output: "dist";
22
- filter: () => NonNullable<boolean | undefined>;
23
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
24
- export declare const Unit_Commando: Unit_TypescriptLib<{
25
- key: "commando";
26
- label: "TS/commando";
27
- pathToPackage: RelativePath;
28
- output: "dist";
29
- filter: () => NonNullable<boolean | undefined>;
30
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
31
- export declare const Unit_BAI: Unit_TypescriptLib<{
32
- key: "build-and-install";
33
- label: "TS/build-and-install";
34
- pathToPackage: RelativePath;
35
- output: "dist";
36
- filter: () => NonNullable<boolean | undefined>;
37
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
38
- export declare const Unit_Firebase: Unit_TypescriptLib<{
39
- key: "firebase";
40
- label: "TS/firebase";
41
- pathToPackage: RelativePath;
42
- output: "dist";
43
- filter: () => NonNullable<boolean | undefined>;
44
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
45
- export declare const Unit_Thunderstorm: Unit_TypescriptLib<{
46
- key: "thunderstorm";
47
- label: "TS/thunderstorm";
48
- pathToPackage: RelativePath;
49
- output: "dist";
50
- filter: () => NonNullable<boolean | undefined>;
51
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
52
- export declare const Unit_TSPDF: Unit_TypescriptLib<{
53
- key: "ts-pdf";
54
- label: "TS/ts-pdf";
55
- pathToPackage: RelativePath;
56
- output: "dist";
57
- filter: () => NonNullable<boolean | undefined>;
58
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
59
- export declare const Unit_Slack: Unit_TypescriptLib<{
60
- key: "slack";
61
- label: "TS/slack";
62
- pathToPackage: RelativePath;
63
- output: "dist";
64
- filter: () => NonNullable<boolean | undefined>;
65
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
66
- export declare const Unit_LiveDocs: Unit_TypescriptLib<{
67
- key: "live-docs";
68
- label: "TS/live-docs";
69
- pathToPackage: RelativePath;
70
- output: "dist";
71
- filter: () => NonNullable<boolean | undefined>;
72
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
73
- export declare const Unit_UserAccount: Unit_TypescriptLib<{
74
- key: "user-account";
75
- label: "TS/user-account";
76
- pathToPackage: RelativePath;
77
- output: "dist";
78
- filter: () => NonNullable<boolean | undefined>;
79
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
80
- export declare const Unit_Permissions: Unit_TypescriptLib<{
81
- key: "permissions";
82
- label: "TS/permissions";
83
- pathToPackage: RelativePath;
84
- output: "dist";
85
- filter: () => NonNullable<boolean | undefined>;
86
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
87
- export declare const Unit_TSShortUrl: Unit_TypescriptLib<{
88
- key: "ts-short-url";
89
- label: "TS/short-url";
90
- pathToPackage: RelativePath;
91
- output: "dist";
92
- filter: () => NonNullable<boolean | undefined>;
93
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
94
- export declare const Unit_DependencyViewer: Unit_TypescriptLib<{
95
- key: "ts-dependency-viewer";
96
- label: "TS/dependency-viewer";
97
- pathToPackage: RelativePath;
98
- output: "dist";
99
- filter: () => NonNullable<boolean | undefined>;
100
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
101
- export declare const Unit_FocusedObject: Unit_TypescriptLib<{
102
- key: "ts-focused-object";
103
- label: "TS/focused-object";
104
- pathToPackage: RelativePath;
105
- output: "dist";
106
- filter: () => NonNullable<boolean | undefined>;
107
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
108
- export declare const Unit_Messaging: Unit_TypescriptLib<{
109
- key: "ts-messaging";
110
- label: "TS/messaging";
111
- pathToPackage: RelativePath;
112
- output: "dist";
113
- filter: () => NonNullable<boolean | undefined>;
114
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
115
- export declare const Unit_Workspace: Unit_TypescriptLib<{
116
- key: "ts-workspace";
117
- label: "TS/workspace";
118
- pathToPackage: RelativePath;
119
- output: "dist";
120
- filter: () => NonNullable<boolean | undefined>;
121
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
122
- export declare const Unit_PushPubSub: Unit_TypescriptLib<{
123
- key: "push-pub-sub";
124
- label: "TS/push-pub-sub";
125
- pathToPackage: RelativePath;
126
- output: "dist";
127
- filter: () => NonNullable<boolean | undefined>;
128
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
129
- export declare const Unit_Jira: Unit_TypescriptLib<{
130
- key: "jira";
131
- label: "TS/jira";
132
- pathToPackage: RelativePath;
133
- output: "dist";
134
- filter: () => NonNullable<boolean | undefined>;
135
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
136
- export declare const Unit_BugReport: Unit_TypescriptLib<{
137
- key: "bug-report";
138
- label: "TS/bug-report";
139
- pathToPackage: RelativePath;
140
- output: "dist";
141
- filter: () => NonNullable<boolean | undefined>;
142
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
143
- export declare const Unit_Github: Unit_TypescriptLib<{
144
- key: "github";
145
- label: "TS/github";
146
- pathToPackage: RelativePath;
147
- output: "dist";
148
- filter: () => NonNullable<boolean | undefined>;
149
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
150
- export declare const Unit_FileUpload: Unit_TypescriptLib<{
151
- key: "file-upload";
152
- label: "TS/file-upload";
153
- pathToPackage: RelativePath;
154
- output: "dist";
155
- filter: () => NonNullable<boolean | undefined>;
156
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
157
- export declare const Unit_TSOpenAI: Unit_TypescriptLib<{
158
- key: "ts-openai";
159
- label: "TS/openai";
160
- pathToPackage: RelativePath;
161
- output: "dist";
162
- filter: () => NonNullable<boolean | undefined>;
163
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
164
- export declare const Unit_SchemaToTypes: Unit_TypescriptLib<{
165
- key: "schema-to-types";
166
- label: "TS/schema-to-types";
167
- pathToPackage: RelativePath;
168
- output: "dist";
169
- filter: () => NonNullable<boolean | undefined>;
170
- }, import("./core").Unit_TypescriptLib_RuntimeConfig>;
171
- export declare const allTSUnits: BaseUnit[];
@@ -1,199 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.allTSUnits = exports.Unit_SchemaToTypes = exports.Unit_TSOpenAI = exports.Unit_FileUpload = exports.Unit_Github = exports.Unit_BugReport = exports.Unit_Jira = exports.Unit_PushPubSub = exports.Unit_Workspace = exports.Unit_Messaging = exports.Unit_FocusedObject = exports.Unit_DependencyViewer = exports.Unit_TSShortUrl = exports.Unit_Permissions = exports.Unit_UserAccount = exports.Unit_LiveDocs = exports.Unit_Slack = exports.Unit_TSPDF = exports.Unit_Thunderstorm = exports.Unit_Firebase = exports.Unit_BAI = exports.Unit_Commando = exports.Unit_GoogleServices = exports.Unit_TSStyles = exports.Unit_TSCommon = void 0;
4
- const core_1 = require("./core");
5
- const params_1 = require("../../core/params/params");
6
- exports.Unit_TSCommon = new core_1.Unit_TypescriptLib({
7
- key: 'ts-common',
8
- label: 'TS/ts-common',
9
- pathToPackage: '_thunderstorm/ts-common',
10
- output: 'dist',
11
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
12
- });
13
- exports.Unit_TSStyles = new core_1.Unit_TypescriptLib({
14
- key: 'ts-styles',
15
- label: 'TS/ts-styles',
16
- pathToPackage: '_thunderstorm/ts-styles',
17
- output: 'dist',
18
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
19
- });
20
- exports.Unit_GoogleServices = new core_1.Unit_TypescriptLib({
21
- key: 'google-services',
22
- label: 'TS/google-services',
23
- pathToPackage: '_thunderstorm/google-services',
24
- output: 'dist',
25
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
26
- });
27
- exports.Unit_Commando = new core_1.Unit_TypescriptLib({
28
- key: 'commando',
29
- label: 'TS/commando',
30
- pathToPackage: '_thunderstorm/commando',
31
- output: 'dist',
32
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
33
- });
34
- exports.Unit_BAI = new core_1.Unit_TypescriptLib({
35
- key: 'build-and-install',
36
- label: 'TS/build-and-install',
37
- pathToPackage: '_thunderstorm/build-and-install',
38
- output: 'dist',
39
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
40
- });
41
- exports.Unit_Firebase = new core_1.Unit_TypescriptLib({
42
- key: 'firebase',
43
- label: 'TS/firebase',
44
- pathToPackage: '_thunderstorm/firebase',
45
- output: 'dist',
46
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
47
- });
48
- exports.Unit_Thunderstorm = new core_1.Unit_TypescriptLib({
49
- key: 'thunderstorm',
50
- label: 'TS/thunderstorm',
51
- pathToPackage: '_thunderstorm/thunderstorm',
52
- output: 'dist',
53
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
54
- });
55
- exports.Unit_TSPDF = new core_1.Unit_TypescriptLib({
56
- key: 'ts-pdf',
57
- label: 'TS/ts-pdf',
58
- pathToPackage: '_thunderstorm/ts-pdf',
59
- output: 'dist',
60
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
61
- });
62
- exports.Unit_Slack = new core_1.Unit_TypescriptLib({
63
- key: 'slack',
64
- label: 'TS/slack',
65
- pathToPackage: '_thunderstorm/slack',
66
- output: 'dist',
67
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
68
- });
69
- exports.Unit_LiveDocs = new core_1.Unit_TypescriptLib({
70
- key: 'live-docs',
71
- label: 'TS/live-docs',
72
- pathToPackage: '_thunderstorm/live-docs',
73
- output: 'dist',
74
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
75
- });
76
- exports.Unit_UserAccount = new core_1.Unit_TypescriptLib({
77
- key: 'user-account',
78
- label: 'TS/user-account',
79
- pathToPackage: '_thunderstorm/user-account',
80
- output: 'dist',
81
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
82
- });
83
- exports.Unit_Permissions = new core_1.Unit_TypescriptLib({
84
- key: 'permissions',
85
- label: 'TS/permissions',
86
- pathToPackage: '_thunderstorm/permissions',
87
- output: 'dist',
88
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
89
- });
90
- exports.Unit_TSShortUrl = new core_1.Unit_TypescriptLib({
91
- key: 'ts-short-url',
92
- label: 'TS/short-url',
93
- pathToPackage: '_thunderstorm/ts-short-url',
94
- output: 'dist',
95
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
96
- });
97
- exports.Unit_DependencyViewer = new core_1.Unit_TypescriptLib({
98
- key: 'ts-dependency-viewer',
99
- label: 'TS/dependency-viewer',
100
- pathToPackage: '_thunderstorm/ts-dependency-viewer',
101
- output: 'dist',
102
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
103
- });
104
- exports.Unit_FocusedObject = new core_1.Unit_TypescriptLib({
105
- key: 'ts-focused-object',
106
- label: 'TS/focused-object',
107
- pathToPackage: '_thunderstorm/ts-focused-object',
108
- output: 'dist',
109
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
110
- });
111
- exports.Unit_Messaging = new core_1.Unit_TypescriptLib({
112
- key: 'ts-messaging',
113
- label: 'TS/messaging',
114
- pathToPackage: '_thunderstorm/ts-messaging',
115
- output: 'dist',
116
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
117
- });
118
- exports.Unit_Workspace = new core_1.Unit_TypescriptLib({
119
- key: 'ts-workspace',
120
- label: 'TS/workspace',
121
- pathToPackage: '_thunderstorm/ts-workspace',
122
- output: 'dist',
123
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
124
- });
125
- exports.Unit_PushPubSub = new core_1.Unit_TypescriptLib({
126
- key: 'push-pub-sub',
127
- label: 'TS/push-pub-sub',
128
- pathToPackage: '_thunderstorm/push-pub-sub',
129
- output: 'dist',
130
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
131
- });
132
- exports.Unit_Jira = new core_1.Unit_TypescriptLib({
133
- key: 'jira',
134
- label: 'TS/jira',
135
- pathToPackage: '_thunderstorm/jira',
136
- output: 'dist',
137
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
138
- });
139
- exports.Unit_BugReport = new core_1.Unit_TypescriptLib({
140
- key: 'bug-report',
141
- label: 'TS/bug-report',
142
- pathToPackage: '_thunderstorm/bug-report',
143
- output: 'dist',
144
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
145
- });
146
- exports.Unit_Github = new core_1.Unit_TypescriptLib({
147
- key: 'github',
148
- label: 'TS/github',
149
- pathToPackage: '_thunderstorm/github',
150
- output: 'dist',
151
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
152
- });
153
- exports.Unit_FileUpload = new core_1.Unit_TypescriptLib({
154
- key: 'file-upload',
155
- label: 'TS/file-upload',
156
- pathToPackage: '_thunderstorm/file-upload',
157
- output: 'dist',
158
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
159
- });
160
- exports.Unit_TSOpenAI = new core_1.Unit_TypescriptLib({
161
- key: 'ts-openai',
162
- label: 'TS/openai',
163
- pathToPackage: '_thunderstorm/ts-openai',
164
- output: 'dist',
165
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
166
- });
167
- exports.Unit_SchemaToTypes = new core_1.Unit_TypescriptLib({
168
- key: 'schema-to-types',
169
- label: 'TS/schema-to-types',
170
- pathToPackage: '_thunderstorm/schema-to-types',
171
- output: 'dist',
172
- filter: () => params_1.RuntimeParams.runWithThunderstorm,
173
- });
174
- exports.allTSUnits = [
175
- exports.Unit_TSCommon,
176
- exports.Unit_TSStyles,
177
- exports.Unit_GoogleServices,
178
- exports.Unit_Commando,
179
- exports.Unit_BAI,
180
- exports.Unit_Firebase,
181
- exports.Unit_Thunderstorm,
182
- exports.Unit_TSPDF,
183
- exports.Unit_Slack,
184
- exports.Unit_LiveDocs,
185
- exports.Unit_UserAccount,
186
- exports.Unit_Permissions,
187
- exports.Unit_TSShortUrl,
188
- exports.Unit_DependencyViewer,
189
- exports.Unit_FocusedObject,
190
- exports.Unit_Messaging,
191
- exports.Unit_Workspace,
192
- exports.Unit_PushPubSub,
193
- exports.Unit_Jira,
194
- exports.Unit_BugReport,
195
- exports.Unit_Github,
196
- exports.Unit_FileUpload,
197
- exports.Unit_TSOpenAI,
198
- exports.Unit_SchemaToTypes
199
- ];
@@ -1,2 +0,0 @@
1
- import { PackageJson } from '../../../core/types';
2
- export declare function convertPackageJSONTemplateToPackJSON_Value(template: PackageJson, value: (value: string, key?: string) => string): PackageJson;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.convertPackageJSONTemplateToPackJSON_Value = convertPackageJSONTemplateToPackJSON_Value;
4
- const ts_common_1 = require("@nu-art/ts-common");
5
- function convertPackageJSONTemplateToPackJSON_Value(template, value) {
6
- let workspacePackageJsonAsString = (0, ts_common_1.__stringify)(template, true);
7
- let match = null;
8
- do {
9
- match = workspacePackageJsonAsString.match(/"(.*?)": ?"\$([A-Za-z0-9_]+?)"/);
10
- if (match === null || match === void 0 ? void 0 : match[0])
11
- workspacePackageJsonAsString = workspacePackageJsonAsString.replace(new RegExp(`\\$${match[2]}`), value(match[2], match[1]));
12
- } while (match);
13
- const packageJson = JSON.parse(workspacePackageJsonAsString);
14
- return packageJson;
15
- }
@@ -1,8 +0,0 @@
1
- import { AsyncVoidFunction } from '@nu-art/ts-common';
2
- import { Phase } from '../phase';
3
- import { BaseUnit } from './core';
4
- export type Unit<P extends Phase<string>[]> = BaseUnit & UnitPhaseImplementor<P>;
5
- export type UnitPhaseImplementor<P extends Phase<string>[]> = {
6
- [K in P[number]['method']]: AsyncVoidFunction;
7
- };
8
- export type WatchEventType = 'update' | 'add' | 'remove_file' | 'remove_dir' | 'ready';
package/v2/unit/types.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });