@speedkit/cli 2.43.0 → 2.43.1
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/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/dist/helpers/customer-config.d.ts +0 -1
- package/dist/helpers/customer-config.js +0 -8
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [2.43.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.43.0...v2.43.1) (2024-07-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **queryBuilder:** remove domain as reuqired property ([9e64547](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/9e64547df0542212b145b21076c754d212d524a8))
|
|
7
|
+
|
|
1
8
|
# [2.43.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.42.1...v2.43.0) (2024-07-19)
|
|
2
9
|
|
|
3
10
|
|
package/README.md
CHANGED
|
@@ -9,7 +9,6 @@ type MultiConfigParameters = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare class CustomerConfig implements InstallConfigs<ConfigFile | null> {
|
|
11
11
|
readonly name: string;
|
|
12
|
-
readonly domain: string;
|
|
13
12
|
readonly config: ConfigFile | null;
|
|
14
13
|
readonly app?: string;
|
|
15
14
|
readonly appDomain: string;
|
|
@@ -28,12 +28,6 @@ exports.INSTALLATION_PROPERTIES = {
|
|
|
28
28
|
documentHandlerConfig: DOCUMENT_HANDLER_CONFIG,
|
|
29
29
|
customStyle: DF_STYLES_BASENAME,
|
|
30
30
|
};
|
|
31
|
-
function required(check, parameters, name) {
|
|
32
|
-
if (check(parameters[name])) {
|
|
33
|
-
return parameters[name];
|
|
34
|
-
}
|
|
35
|
-
throw new TypeError(`Please provide a ${check.name.slice(2)} "${name}" property.`);
|
|
36
|
-
}
|
|
37
31
|
function optional(check, parameters, name, defaultValue = null) {
|
|
38
32
|
if (check(parameters[name])) {
|
|
39
33
|
return parameters[name];
|
|
@@ -51,7 +45,6 @@ function isBoolean(value) {
|
|
|
51
45
|
}
|
|
52
46
|
class CustomerConfig {
|
|
53
47
|
name;
|
|
54
|
-
domain;
|
|
55
48
|
config;
|
|
56
49
|
app;
|
|
57
50
|
appDomain;
|
|
@@ -107,7 +100,6 @@ class CustomerConfig {
|
|
|
107
100
|
});
|
|
108
101
|
}
|
|
109
102
|
constructor(parameters, configFiles) {
|
|
110
|
-
this.domain = required(isString, parameters, "domain");
|
|
111
103
|
this.name = optional(isString, parameters, "name");
|
|
112
104
|
this.swPath = optional(isString, parameters, "swPath", "/wrapper-sw.js");
|
|
113
105
|
this.app = optional(isString, parameters, "app");
|
package/oclif.manifest.json
CHANGED