@ms-cloudpack/cli 0.76.14 → 0.77.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.
- package/lib/commands/info/index.js +1 -1
- package/lib/commands/info/index.js.map +1 -1
- package/lib/commands/report/index.js +1 -1
- package/lib/commands/report/index.js.map +1 -1
- package/lib/types/SharedOptions.d.ts +4 -0
- package/lib/types/SharedOptions.d.ts.map +1 -1
- package/lib/types/SharedOptions.js.map +1 -1
- package/lib/utilities/CloudpackCommand.d.ts.map +1 -1
- package/lib/utilities/CloudpackCommand.js +1 -0
- package/lib/utilities/CloudpackCommand.js.map +1 -1
- package/lib/utilities/CommandExecutor.d.ts.map +1 -1
- package/lib/utilities/CommandExecutor.js +6 -1
- package/lib/utilities/CommandExecutor.js.map +1 -1
- package/lib/utilities/readLocalConfigs.d.ts +8 -1
- package/lib/utilities/readLocalConfigs.d.ts.map +1 -1
- package/lib/utilities/readLocalConfigs.js +10 -2
- package/lib/utilities/readLocalConfigs.js.map +1 -1
- package/package.json +20 -18
- package/schema/AppConfig.json +1242 -0
- package/schema/GeneratedConfig.json +108 -0
- package/schema/UserConfig.json +1248 -0
- package/schema/UserPreferences.json +16 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"packageSettings": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"$ref": "#/definitions/GeneratedPackageSettings"
|
|
9
|
+
},
|
|
10
|
+
"description": "Generated settings to correct issues with packages or optimize their bundling process."
|
|
11
|
+
},
|
|
12
|
+
"$schema": {
|
|
13
|
+
"type": "string"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"additionalProperties": false,
|
|
17
|
+
"description": "Per-application generated configuration for Cloudpack.",
|
|
18
|
+
"definitions": {
|
|
19
|
+
"GeneratedPackageSettings": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"additionalProperties": false,
|
|
22
|
+
"properties": {
|
|
23
|
+
"match": {
|
|
24
|
+
"anyOf": [
|
|
25
|
+
{
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "object",
|
|
30
|
+
"properties": {
|
|
31
|
+
"name": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "Name of the package. Can use a trailing wildcard (e.g. `@scope/*`). `*` to match any name.\n\nTo negate a match, use `!` as the first character (e.g. `!@scope/foo` or `!@scope/*`)."
|
|
34
|
+
},
|
|
35
|
+
"version": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "Version of the package. Unspecified matches any version.\n\nNote that if the package version is a prerelease, it will only match `*` or ranges that explicitly include prereleases. For example, `^1.0.0` will not match `1.0.1-beta.0`."
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"additionalProperties": false,
|
|
41
|
+
"description": "Make all properties in T required"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"description": "This will be a string (name) for internal packages, or match with name and version for external. The match in this case will NOT contain wildcards in the name."
|
|
45
|
+
},
|
|
46
|
+
"exports": {
|
|
47
|
+
"$ref": "#/definitions/GeneratedExports",
|
|
48
|
+
"description": "Generated exports. This will always be a simple object with import paths."
|
|
49
|
+
},
|
|
50
|
+
"includedDependencies": {
|
|
51
|
+
"type": "array",
|
|
52
|
+
"items": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"description": "The dependencies which should be included when computing the import map. This is primarily used when devDependencies are needed by the app. This often happens when a library has a demo app which relies on devDependencies.\n\nAccepts `$devDependencies` as a special value to include all devDependencies."
|
|
56
|
+
},
|
|
57
|
+
"excludedDependencies": {
|
|
58
|
+
"type": "array",
|
|
59
|
+
"items": {
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
"description": "The dependencies which should be ignored by Cloudpack verbs. For example, if \"react-native\" is a dependency which should not be included in the import map or evaluated during `init`, it can be listed here to ignore it.\n\nAccepts `$peerDependencies` as a special value to exclude all peerDependencies."
|
|
63
|
+
},
|
|
64
|
+
"dynamicImports": {
|
|
65
|
+
"type": "array",
|
|
66
|
+
"items": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"description": "Only relevant for packages bundled with rollup: globs of files that include dynamic (async) imports with non-literal paths, to be processed by `@rollup/plugin-dynamic-import-vars` (subject to that plugin's [limitations](https://www.npmjs.com/package/\\@rollup/plugin-dynamic-import-vars#limitations)). Files matching `*.dynamic.*` are automatically included.\n\nThis is not needed for ori/esbuild and webpack because they should handle these types of imports automatically."
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"required": [
|
|
73
|
+
"match"
|
|
74
|
+
],
|
|
75
|
+
"description": "Subset of PackageSettings used in the generated config."
|
|
76
|
+
},
|
|
77
|
+
"GeneratedExports": {
|
|
78
|
+
"type": "object",
|
|
79
|
+
"additionalProperties": {
|
|
80
|
+
"anyOf": [
|
|
81
|
+
{
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"type": "null"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "object",
|
|
89
|
+
"additionalProperties": {
|
|
90
|
+
"anyOf": [
|
|
91
|
+
{
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "object",
|
|
96
|
+
"additionalProperties": {
|
|
97
|
+
"type": "string"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
"description": "Mapping from import path to either file path, or a nested object of conditions to file paths (occasionally with two levels of conditions). This is the format used for generated exports maps."
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|