@simplysm/sd-cli 6.4.6 → 7.0.6

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 (182) hide show
  1. package/.eslintrc.cjs +11 -0
  2. package/dist/bin/sd-cli.d.ts +1 -0
  3. package/dist/bin/sd-cli.mjs +60 -0
  4. package/dist/build-tool/SdCliCacheCompilerHost.d.ts +10 -0
  5. package/dist/build-tool/SdCliCacheCompilerHost.mjs +44 -0
  6. package/dist/build-tool/SdCliNgCacheCompilerHost.d.ts +11 -0
  7. package/dist/build-tool/SdCliNgCacheCompilerHost.mjs +36 -0
  8. package/dist/build-tool/SdCliPackageLinter.d.ts +8 -0
  9. package/dist/build-tool/SdCliPackageLinter.mjs +41 -0
  10. package/dist/builder/SdCliJsLibBuilder.d.ts +14 -0
  11. package/dist/builder/SdCliJsLibBuilder.mjs +50 -0
  12. package/dist/builder/SdCliTsLibBuilder.d.ts +27 -0
  13. package/dist/builder/SdCliTsLibBuilder.mjs +226 -0
  14. package/dist/commons.d.ts +43 -0
  15. package/dist/commons.mjs +2 -0
  16. package/dist/entry-points/SdCliWorkspace.d.ts +17 -0
  17. package/dist/entry-points/SdCliWorkspace.mjs +186 -0
  18. package/dist/packages/SdCliPackage.d.ts +19 -0
  19. package/dist/packages/SdCliPackage.mjs +89 -0
  20. package/dist/utils/SdBuildResultUtil.d.ts +6 -0
  21. package/dist/utils/SdBuildResultUtil.mjs +38 -0
  22. package/lib/ts-node-esm-paths.mjs +15 -0
  23. package/package.json +27 -59
  24. package/src/bin/sd-cli.ts +54 -220
  25. package/src/build-tool/SdCliCacheCompilerHost.ts +71 -0
  26. package/src/build-tool/SdCliNgCacheCompilerHost.ts +50 -0
  27. package/src/build-tool/SdCliPackageLinter.ts +54 -0
  28. package/src/builder/SdCliJsLibBuilder.ts +66 -0
  29. package/src/builder/SdCliTsLibBuilder.ts +335 -0
  30. package/src/commons.ts +15 -124
  31. package/src/entry-points/SdCliWorkspace.ts +222 -0
  32. package/src/packages/SdCliPackage.ts +111 -0
  33. package/src/utils/SdBuildResultUtil.ts +43 -0
  34. package/tsconfig-build.json +9 -0
  35. package/tsconfig.json +7 -18
  36. package/.eslintrc.js +0 -19
  37. package/dist-node/bin/sd-cli.js +0 -197
  38. package/dist-node/bin/sd-cli.js.map +0 -1
  39. package/dist-node/build-tools/SdCliCordova.js +0 -145
  40. package/dist-node/build-tools/SdCliCordova.js.map +0 -1
  41. package/dist-node/build-tools/SdCliIndexFileGenerator.js +0 -51
  42. package/dist-node/build-tools/SdCliIndexFileGenerator.js.map +0 -1
  43. package/dist-node/build-tools/SdCliNgModuleFilesGenerator.js +0 -675
  44. package/dist-node/build-tools/SdCliNgModuleFilesGenerator.js.map +0 -1
  45. package/dist-node/build-tools/metadata/SdAotMetadataReader.js +0 -274
  46. package/dist-node/build-tools/metadata/SdAotMetadataReader.js.map +0 -1
  47. package/dist-node/build-tools/metadata/SdIvyMetadataReader.js +0 -124
  48. package/dist-node/build-tools/metadata/SdIvyMetadataReader.js.map +0 -1
  49. package/dist-node/build-tools/metadata/SdMetadataError.js +0 -13
  50. package/dist-node/build-tools/metadata/SdMetadataError.js.map +0 -1
  51. package/dist-node/build-tools/metadata/SdMyMetadataReader.js +0 -321
  52. package/dist-node/build-tools/metadata/SdMyMetadataReader.js.map +0 -1
  53. package/dist-node/builders/SdCliJavascriptLinter.js +0 -65
  54. package/dist-node/builders/SdCliJavascriptLinter.js.map +0 -1
  55. package/dist-node/builders/SdCliNgClientBuilder.js +0 -636
  56. package/dist-node/builders/SdCliNgClientBuilder.js.map +0 -1
  57. package/dist-node/builders/SdCliNgLibraryBuilder.js +0 -217
  58. package/dist-node/builders/SdCliNgLibraryBuilder.js.map +0 -1
  59. package/dist-node/builders/SdCliPublisher.js +0 -129
  60. package/dist-node/builders/SdCliPublisher.js.map +0 -1
  61. package/dist-node/builders/SdCliServerBuilder.js +0 -452
  62. package/dist-node/builders/SdCliServerBuilder.js.map +0 -1
  63. package/dist-node/builders/SdCliTypescriptBuilder.js +0 -347
  64. package/dist-node/builders/SdCliTypescriptBuilder.js.map +0 -1
  65. package/dist-node/commons.js +0 -3
  66. package/dist-node/commons.js.map +0 -1
  67. package/dist-node/entry-points/SdCliLocalUpdater.js +0 -88
  68. package/dist-node/entry-points/SdCliLocalUpdater.js.map +0 -1
  69. package/dist-node/entry-points/SdCliPrepare.js +0 -56
  70. package/dist-node/entry-points/SdCliPrepare.js.map +0 -1
  71. package/dist-node/entry-points/SdCliProject.js +0 -302
  72. package/dist-node/entry-points/SdCliProject.js.map +0 -1
  73. package/dist-node/packages/SdCliClientPackage.js +0 -91
  74. package/dist-node/packages/SdCliClientPackage.js.map +0 -1
  75. package/dist-node/packages/SdCliLibraryPackage.js +0 -99
  76. package/dist-node/packages/SdCliLibraryPackage.js.map +0 -1
  77. package/dist-node/packages/SdCliPackageBase.js +0 -33
  78. package/dist-node/packages/SdCliPackageBase.js.map +0 -1
  79. package/dist-node/packages/SdCliServerPackage.js +0 -69
  80. package/dist-node/packages/SdCliServerPackage.js.map +0 -1
  81. package/dist-node/packages/SdCliUnknownPackage.js +0 -15
  82. package/dist-node/packages/SdCliUnknownPackage.js.map +0 -1
  83. package/dist-node/utils/SdCliFileCrypto.js +0 -76
  84. package/dist-node/utils/SdCliFileCrypto.js.map +0 -1
  85. package/dist-node/utils/SdProjectConfigUtil.js +0 -62
  86. package/dist-node/utils/SdProjectConfigUtil.js.map +0 -1
  87. package/dist-node/utils/SdTsDiagnosticUtil.js +0 -45
  88. package/dist-node/utils/SdTsDiagnosticUtil.js.map +0 -1
  89. package/dist-node/utils/SdWebpackUtil.js +0 -63
  90. package/dist-node/utils/SdWebpackUtil.js.map +0 -1
  91. package/dist-node/workers/client-ng-gen-worker.js +0 -57
  92. package/dist-node/workers/client-ng-gen-worker.js.map +0 -1
  93. package/dist-node/workers/lib-build-worker.js +0 -88
  94. package/dist-node/workers/lib-build-worker.js.map +0 -1
  95. package/dist-types/bin/sd-cli.d.ts +0 -3
  96. package/dist-types/bin/sd-cli.d.ts.map +0 -1
  97. package/dist-types/build-tools/SdCliCordova.d.ts +0 -15
  98. package/dist-types/build-tools/SdCliCordova.d.ts.map +0 -1
  99. package/dist-types/build-tools/SdCliIndexFileGenerator.d.ts +0 -13
  100. package/dist-types/build-tools/SdCliIndexFileGenerator.d.ts.map +0 -1
  101. package/dist-types/build-tools/SdCliNgModuleFilesGenerator.d.ts +0 -43
  102. package/dist-types/build-tools/SdCliNgModuleFilesGenerator.d.ts.map +0 -1
  103. package/dist-types/build-tools/metadata/SdAotMetadataReader.d.ts +0 -58
  104. package/dist-types/build-tools/metadata/SdAotMetadataReader.d.ts.map +0 -1
  105. package/dist-types/build-tools/metadata/SdIvyMetadataReader.d.ts +0 -43
  106. package/dist-types/build-tools/metadata/SdIvyMetadataReader.d.ts.map +0 -1
  107. package/dist-types/build-tools/metadata/SdMetadataError.d.ts +0 -7
  108. package/dist-types/build-tools/metadata/SdMetadataError.d.ts.map +0 -1
  109. package/dist-types/build-tools/metadata/SdMyMetadataReader.d.ts +0 -59
  110. package/dist-types/build-tools/metadata/SdMyMetadataReader.d.ts.map +0 -1
  111. package/dist-types/builders/SdCliJavascriptLinter.d.ts +0 -14
  112. package/dist-types/builders/SdCliJavascriptLinter.d.ts.map +0 -1
  113. package/dist-types/builders/SdCliNgClientBuilder.d.ts +0 -29
  114. package/dist-types/builders/SdCliNgClientBuilder.d.ts.map +0 -1
  115. package/dist-types/builders/SdCliNgLibraryBuilder.d.ts +0 -30
  116. package/dist-types/builders/SdCliNgLibraryBuilder.d.ts.map +0 -1
  117. package/dist-types/builders/SdCliPublisher.d.ts +0 -9
  118. package/dist-types/builders/SdCliPublisher.d.ts.map +0 -1
  119. package/dist-types/builders/SdCliServerBuilder.d.ts +0 -31
  120. package/dist-types/builders/SdCliServerBuilder.d.ts.map +0 -1
  121. package/dist-types/builders/SdCliTypescriptBuilder.d.ts +0 -56
  122. package/dist-types/builders/SdCliTypescriptBuilder.d.ts.map +0 -1
  123. package/dist-types/commons.d.ts +0 -134
  124. package/dist-types/commons.d.ts.map +0 -1
  125. package/dist-types/entry-points/SdCliLocalUpdater.d.ts +0 -12
  126. package/dist-types/entry-points/SdCliLocalUpdater.d.ts.map +0 -1
  127. package/dist-types/entry-points/SdCliPrepare.d.ts +0 -6
  128. package/dist-types/entry-points/SdCliPrepare.d.ts.map +0 -1
  129. package/dist-types/entry-points/SdCliProject.d.ts +0 -32
  130. package/dist-types/entry-points/SdCliProject.d.ts.map +0 -1
  131. package/dist-types/packages/SdCliClientPackage.d.ts +0 -17
  132. package/dist-types/packages/SdCliClientPackage.d.ts.map +0 -1
  133. package/dist-types/packages/SdCliLibraryPackage.d.ts +0 -20
  134. package/dist-types/packages/SdCliLibraryPackage.d.ts.map +0 -1
  135. package/dist-types/packages/SdCliPackageBase.d.ts +0 -11
  136. package/dist-types/packages/SdCliPackageBase.d.ts.map +0 -1
  137. package/dist-types/packages/SdCliServerPackage.d.ts +0 -16
  138. package/dist-types/packages/SdCliServerPackage.d.ts.map +0 -1
  139. package/dist-types/packages/SdCliUnknownPackage.d.ts +0 -9
  140. package/dist-types/packages/SdCliUnknownPackage.d.ts.map +0 -1
  141. package/dist-types/utils/SdCliFileCrypto.d.ts +0 -8
  142. package/dist-types/utils/SdCliFileCrypto.d.ts.map +0 -1
  143. package/dist-types/utils/SdProjectConfigUtil.d.ts +0 -7
  144. package/dist-types/utils/SdProjectConfigUtil.d.ts.map +0 -1
  145. package/dist-types/utils/SdTsDiagnosticUtil.d.ts +0 -6
  146. package/dist-types/utils/SdTsDiagnosticUtil.d.ts.map +0 -1
  147. package/dist-types/utils/SdWebpackUtil.d.ts +0 -7
  148. package/dist-types/utils/SdWebpackUtil.d.ts.map +0 -1
  149. package/dist-types/workers/client-ng-gen-worker.d.ts +0 -2
  150. package/dist-types/workers/client-ng-gen-worker.d.ts.map +0 -1
  151. package/dist-types/workers/lib-build-worker.d.ts +0 -2
  152. package/dist-types/workers/lib-build-worker.d.ts.map +0 -1
  153. package/schema/schema.json +0 -447
  154. package/sd-tsconfig.node.json +0 -18
  155. package/src/build-tools/SdCliCordova.ts +0 -242
  156. package/src/build-tools/SdCliIndexFileGenerator.ts +0 -61
  157. package/src/build-tools/SdCliNgModuleFilesGenerator.ts +0 -894
  158. package/src/build-tools/metadata/SdAotMetadataReader.ts +0 -374
  159. package/src/build-tools/metadata/SdIvyMetadataReader.ts +0 -183
  160. package/src/build-tools/metadata/SdMetadataError.ts +0 -7
  161. package/src/build-tools/metadata/SdMyMetadataReader.ts +0 -407
  162. package/src/builders/SdCliJavascriptLinter.ts +0 -81
  163. package/src/builders/SdCliNgClientBuilder.ts +0 -793
  164. package/src/builders/SdCliNgLibraryBuilder.ts +0 -301
  165. package/src/builders/SdCliPublisher.ts +0 -144
  166. package/src/builders/SdCliServerBuilder.ts +0 -555
  167. package/src/builders/SdCliTypescriptBuilder.ts +0 -552
  168. package/src/entry-points/SdCliLocalUpdater.ts +0 -114
  169. package/src/entry-points/SdCliPrepare.ts +0 -104
  170. package/src/entry-points/SdCliProject.ts +0 -405
  171. package/src/packages/SdCliClientPackage.ts +0 -111
  172. package/src/packages/SdCliLibraryPackage.ts +0 -118
  173. package/src/packages/SdCliPackageBase.ts +0 -34
  174. package/src/packages/SdCliServerPackage.ts +0 -85
  175. package/src/packages/SdCliUnknownPackage.ts +0 -14
  176. package/src/utils/SdCliFileCrypto.ts +0 -87
  177. package/src/utils/SdCliUtils.ts +0 -56
  178. package/src/utils/SdProjectConfigUtil.ts +0 -145
  179. package/src/utils/SdTsDiagnosticUtil.ts +0 -46
  180. package/src/utils/SdWebpackUtil.ts +0 -71
  181. package/src/workers/client-ng-gen-worker.ts +0 -63
  182. package/src/workers/lib-build-worker.ts +0 -97
@@ -1,9 +0,0 @@
1
- import { ISdPackageBuildResult } from "../commons";
2
- import { SdCliPackageBase } from "./SdCliPackageBase";
3
- export declare class SdCliUnknownPackage extends SdCliPackageBase {
4
- readonly rootPath: string;
5
- on(event: "change", listener: (target: "node" | "browser" | undefined) => void): this;
6
- on(event: "complete", listener: (target: "node" | "browser" | undefined, results: ISdPackageBuildResult[]) => void): this;
7
- constructor(rootPath: string);
8
- }
9
- //# sourceMappingURL=SdCliUnknownPackage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SdCliUnknownPackage.d.ts","sourceRoot":"","sources":["../../src/packages/SdCliUnknownPackage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,qBAAa,mBAAoB,SAAQ,gBAAgB;aAOpB,QAAQ,EAAE,MAAM;IAN5C,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,KAAK,IAAI,GAAG,IAAI;IACrF,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,EAAE,OAAO,EAAE,qBAAqB,EAAE,KAAK,IAAI,GAAG,IAAI;gBAK7F,QAAQ,EAAE,MAAM;CAGpD"}
@@ -1,8 +0,0 @@
1
- export declare class SdCliFileCrypto {
2
- encryptAsync(filePath: string): Promise<void>;
3
- decryptAsync(encFilePath: string): Promise<void>;
4
- private _encryptFile;
5
- private _decryptFile;
6
- private _readKeyAsync;
7
- }
8
- //# sourceMappingURL=SdCliFileCrypto.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SdCliFileCrypto.d.ts","sourceRoot":"","sources":["../../src/utils/SdCliFileCrypto.ts"],"names":[],"mappings":"AAMA,qBAAa,eAAe;IACb,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAkB7C,YAAY,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAsB7D,OAAO,CAAC,YAAY;IASpB,OAAO,CAAC,YAAY;YASN,aAAa;CAqB5B"}
@@ -1,7 +0,0 @@
1
- import { ISdProjectConfig } from "../commons";
2
- export declare class SdProjectConfigUtil {
3
- static loadConfigAsync(rootPath: string, isDevMode?: boolean, options?: string[], configFilePath?: string): Promise<ISdProjectConfig>;
4
- private static _loadConfig;
5
- private static _mergeObj;
6
- }
7
- //# sourceMappingURL=SdProjectConfigUtil.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SdProjectConfigUtil.d.ts","sourceRoot":"","sources":["../../src/utils/SdProjectConfigUtil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,YAAY,CAAC;AAKhE,qBAAa,mBAAmB;WA6DV,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAmBlJ,OAAO,CAAC,MAAM,CAAC,WAAW;IA0C1B,OAAO,CAAC,MAAM,CAAC,SAAS;CAMzB"}
@@ -1,6 +0,0 @@
1
- import * as ts from "typescript";
2
- import { ISdPackageBuildResult } from "../commons";
3
- export declare class SdTsDiagnosticUtil {
4
- static convertDiagnosticsToResult(diag: ts.Diagnostic): ISdPackageBuildResult | undefined;
5
- }
6
- //# sourceMappingURL=SdTsDiagnosticUtil.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SdTsDiagnosticUtil.d.ts","sourceRoot":"","sources":["../../src/utils/SdTsDiagnosticUtil.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAGjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD,qBAAa,kBAAkB;WACf,0BAA0B,CAAC,IAAI,EAAE,EAAE,CAAC,UAAU,GAAG,qBAAqB,GAAG,SAAS;CAuCjG"}
@@ -1,7 +0,0 @@
1
- import { ISdPackageBuildResult } from "../commons";
2
- import * as webpack from "webpack";
3
- export declare class SdWebpackUtil {
4
- static getWebpackResults(stats: Error | webpack.Stats): ISdPackageBuildResult[];
5
- private static _errorToMessage;
6
- }
7
- //# sourceMappingURL=SdWebpackUtil.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SdWebpackUtil.d.ts","sourceRoot":"","sources":["../../src/utils/SdWebpackUtil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAGnC,qBAAa,aAAa;WACV,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,KAAK,GAAG,qBAAqB,EAAE;IAgCtF,OAAO,CAAC,MAAM,CAAC,eAAe;CAiC/B"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=client-ng-gen-worker.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client-ng-gen-worker.d.ts","sourceRoot":"","sources":["../../src/workers/client-ng-gen-worker.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=lib-build-worker.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lib-build-worker.d.ts","sourceRoot":"","sources":["../../src/workers/lib-build-worker.ts"],"names":[],"mappings":""}
@@ -1,447 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft-07/schema",
3
- "type": "object",
4
- "additionalProperties": false,
5
- "definitions": {
6
- "schemaPublish": {
7
- "type": "object",
8
- "additionalProperties": false,
9
- "anyOf": [
10
- {
11
- "properties": {
12
- "type": {
13
- "enum": [
14
- "ftp",
15
- "sftp"
16
- ]
17
- },
18
- "host": {
19
- "type": "string"
20
- },
21
- "port": {
22
- "type": "number"
23
- },
24
- "path": {
25
- "type": "string"
26
- },
27
- "username": {
28
- "type": "string"
29
- },
30
- "password": {
31
- "type": "string"
32
- },
33
- "secure": {
34
- "type": "boolean"
35
- }
36
- },
37
- "required": [
38
- "type",
39
- "host",
40
- "path",
41
- "username",
42
- "password"
43
- ]
44
- },
45
- {
46
- "properties": {
47
- "type": {
48
- "enum": [
49
- "local-directory"
50
- ]
51
- },
52
- "path": {
53
- "type": "string"
54
- }
55
- },
56
- "required": [
57
- "type",
58
- "path"
59
- ]
60
- },
61
- {
62
- "properties": {
63
- "type": {
64
- "enum": [
65
- "azure-app-service"
66
- ]
67
- },
68
- "username": {
69
- "type": "string"
70
- },
71
- "password": {
72
- "type": "string"
73
- },
74
- "subscriptionId": {
75
- "type": "string"
76
- },
77
- "resourceGroupName": {
78
- "type": "string"
79
- },
80
- "serviceName": {
81
- "type": "string"
82
- },
83
- "path": {
84
- "type": "string"
85
- }
86
- },
87
- "required": [
88
- "username",
89
- "password",
90
- "subscriptionId",
91
- "resourceGroupName",
92
- "serviceName",
93
- "path"
94
- ]
95
- }
96
- ]
97
- },
98
- "schemaConfigs": {
99
- "type": "object",
100
- "properties": {
101
- "orm": {
102
- "type": "object",
103
- "additionalProperties": {
104
- "type": "object",
105
- "additionalProperties": false,
106
- "properties": {
107
- "dialect": {
108
- "enum": [
109
- "mssql",
110
- "mssql-azure"
111
- ]
112
- },
113
- "host": {
114
- "type": "string"
115
- },
116
- "port": {
117
- "type": "number"
118
- },
119
- "username": {
120
- "type": "string"
121
- },
122
- "password": {
123
- "type": "string"
124
- },
125
- "database": {
126
- "type": "string"
127
- },
128
- "defaultIsolationLevel": {
129
- "enum": [
130
- "READ_UNCOMMITTED",
131
- "READ_COMMITTED",
132
- "REPEATABLE_READ",
133
- "SERIALIZABLE"
134
- ]
135
- }
136
- }
137
- }
138
- },
139
- "smtp": {
140
- "type": "object",
141
- "additionalProperties": {
142
- "type": "object",
143
- "additionalProperties": false,
144
- "properties": {
145
- "name": {
146
- "type": "string"
147
- },
148
- "email": {
149
- "type": "string"
150
- },
151
- "user": {
152
- "type": "string"
153
- },
154
- "pass": {
155
- "type": "string"
156
- },
157
- "host": {
158
- "type": "string"
159
- },
160
- "port": {
161
- "type": "number"
162
- },
163
- "secure": {
164
- "type": "boolean"
165
- }
166
- },
167
- "required": [
168
- "name",
169
- "email",
170
- "user",
171
- "pass",
172
- "host"
173
- ]
174
- }
175
- },
176
- "crypto": {
177
- "type": "object",
178
- "additionalProperties": false,
179
- "properties": {
180
- "key": {
181
- "type": "string"
182
- }
183
- },
184
- "required": [
185
- "key"
186
- ]
187
- }
188
- },
189
- "additionalProperties": {
190
- "type": "object"
191
- }
192
- },
193
- "schemaPackage": {
194
- "type": "object",
195
- "additionalProperties": false,
196
- "properties": {
197
- "overrides": {
198
- "type": "array",
199
- "uniqueItems": true,
200
- "items": {
201
- "type": "string"
202
- }
203
- },
204
- "production": {
205
- "$ref": "#/definitions/schemaPackage"
206
- },
207
- "development": {
208
- "$ref": "#/definitions/schemaPackage"
209
- }
210
- },
211
- "anyOf": [
212
- {
213
- "properties": {
214
- "type": {
215
- "enum": [
216
- "library"
217
- ]
218
- },
219
- "targets": {
220
- "type": "array",
221
- "uniqueItems": true,
222
- "items": {
223
- "enum": [
224
- "browser",
225
- "node",
226
- "angular"
227
- ]
228
- }
229
- },
230
- "autoIndex": {
231
- "oneOf": [
232
- {
233
- "type": "object",
234
- "additionalProperties": false,
235
- "properties": {
236
- "polyfills": {
237
- "type": "array",
238
- "uniqueItems": true,
239
- "items": {
240
- "type": "string"
241
- }
242
- }
243
- }
244
- },
245
- {
246
- "type": "boolean"
247
- }
248
- ]
249
- },
250
- "publish": {
251
- "enum": [
252
- "npm"
253
- ]
254
- }
255
- }
256
- },
257
- {
258
- "properties": {
259
- "type": {
260
- "enum": [
261
- "client"
262
- ]
263
- },
264
- "env": {
265
- "type": "object",
266
- "additionalProperties": {
267
- "type": "string"
268
- }
269
- },
270
- "platforms": {
271
- "type": "array",
272
- "items": {
273
- "type": "object",
274
- "additionalProperties": false,
275
- "oneOf": [
276
- {
277
- "properties": {
278
- "type": {
279
- "enum": [
280
- "browser"
281
- ]
282
- }
283
- }
284
- },
285
- {
286
- "properties": {
287
- "type": {
288
- "enum": [
289
- "cordova"
290
- ]
291
- },
292
- "targets": {
293
- "type": "array",
294
- "uniqueItems": true,
295
- "items": {
296
- "enum": [
297
- "android"
298
- ]
299
- }
300
- },
301
- "appId": {
302
- "type": "string"
303
- },
304
- "appName": {
305
- "type": "string"
306
- },
307
- "icon": {
308
- "type": "string"
309
- },
310
- "sign": {
311
- "type": "object",
312
- "additionalProperties": false,
313
- "properties": {
314
- "keystore": {
315
- "type": "string"
316
- },
317
- "storePassword": {
318
- "type": "string"
319
- },
320
- "alias": {
321
- "type": "string"
322
- },
323
- "password": {
324
- "type": "string"
325
- },
326
- "keystoreType": {
327
- "type": "string"
328
- }
329
- },
330
- "required": [
331
- "keystore",
332
- "storePassword",
333
- "alias",
334
- "password",
335
- "keystoreType"
336
- ]
337
- },
338
- "plugins": {
339
- "type": "array",
340
- "uniqueItems": true,
341
- "items": {
342
- "type": "string"
343
- }
344
- }
345
- },
346
- "required": [
347
- "type",
348
- "targets",
349
- "appId",
350
- "appName"
351
- ]
352
- }
353
- ]
354
- }
355
- },
356
- "server": {
357
- "type": "string"
358
- },
359
- "resolveFallback": {
360
- "type": "object",
361
- "additionalProperties": {
362
- "type": "string"
363
- }
364
- },
365
- "configs": {
366
- "$ref": "#/definitions/schemaConfigs"
367
- },
368
- "publish": {
369
- "$ref": "#/definitions/schemaPublish"
370
- }
371
- }
372
- },
373
- {
374
- "properties": {
375
- "type": {
376
- "enum": [
377
- "server"
378
- ]
379
- },
380
- "pm2": {
381
- "type": "object"
382
- },
383
- "iis": {
384
- "oneOf": [
385
- {
386
- "type": "boolean"
387
- },
388
- {
389
- "type": "object",
390
- "properties": {
391
- "serverExeFilePath": {
392
- "type": "string"
393
- }
394
- }
395
- }
396
- ]
397
- },
398
- "env": {
399
- "type": "object",
400
- "additionalProperties": {
401
- "type": "string"
402
- }
403
- },
404
- "configs": {
405
- "$ref": "#/definitions/schemaConfigs"
406
- },
407
- "publish": {
408
- "$ref": "#/definitions/schemaPublish"
409
- }
410
- }
411
- }
412
- ]
413
- }
414
- },
415
- "properties": {
416
- "$schema": {
417
- "type": "string",
418
- "format": "uri"
419
- },
420
- "extends": {
421
- "type": "array",
422
- "uniqueItems": true,
423
- "items": {
424
- "type": "string",
425
- "format": "uri"
426
- }
427
- },
428
- "packages": {
429
- "type": "object",
430
- "additionalProperties": {
431
- "$ref": "#/definitions/schemaPackage"
432
- }
433
- },
434
- "overrides": {
435
- "type": "object",
436
- "additionalProperties": {
437
- "type": "object"
438
- }
439
- },
440
- "localUpdates": {
441
- "type": "object",
442
- "additionalProperties": {
443
- "type": "string"
444
- }
445
- }
446
- }
447
- }
@@ -1,18 +0,0 @@
1
- {
2
- "extends": "../../tsconfig-base.json",
3
- "compilerOptions": {
4
- "target": "es2020",
5
- "lib": [
6
- "es2020"
7
- ],
8
- "outDir": "dist-node",
9
- "declaration": true,
10
- "declarationDir": "dist-types",
11
- "declarationMap": true
12
- },
13
- "files": [
14
- "src/bin/sd-cli.ts",
15
- "src/workers/lib-build-worker.ts",
16
- "src/workers/client-ng-gen-worker.ts"
17
- ]
18
- }