auth0-deploy-cli 7.12.0 → 7.12.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/.circleci/config.yml
CHANGED
|
@@ -47,13 +47,13 @@ jobs:
|
|
|
47
47
|
- run:
|
|
48
48
|
name: Publish package
|
|
49
49
|
command: npm publish
|
|
50
|
-
|
|
50
|
+
|
|
51
51
|
ts_migration_progress:
|
|
52
52
|
machine:
|
|
53
53
|
image: ubuntu-2004:202111-02
|
|
54
54
|
steps:
|
|
55
55
|
- checkout
|
|
56
|
-
- run :
|
|
56
|
+
- run :
|
|
57
57
|
name: Typescript Migration Progress
|
|
58
58
|
command: sh typescript-migration-progress.sh
|
|
59
59
|
|
|
@@ -66,7 +66,7 @@ workflows:
|
|
|
66
66
|
v: "lts"
|
|
67
67
|
- test:
|
|
68
68
|
name: test_current
|
|
69
|
-
v: "
|
|
69
|
+
v: "18.0.0"
|
|
70
70
|
test_and_deploy:
|
|
71
71
|
jobs:
|
|
72
72
|
- test:
|
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [7.12.1] - 2022-05-11
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Unable to deploy without branding settings feature [#532]
|
|
15
|
+
|
|
10
16
|
## [7.12.0] - 2022-05-10
|
|
11
17
|
|
|
12
18
|
### Added
|
|
@@ -732,7 +738,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
732
738
|
[#526]: https://github.com/auth0/auth0-deploy-cli/issues/526
|
|
733
739
|
[#527]: https://github.com/auth0/auth0-deploy-cli/issues/527
|
|
734
740
|
[#530]: https://github.com/auth0/auth0-deploy-cli/issues/530
|
|
735
|
-
[
|
|
741
|
+
[#532]: https://github.com/auth0/auth0-deploy-cli/issues/532
|
|
742
|
+
[unreleased]: https://github.com/auth0/auth0-deploy-cli/compare/v7.12.1...HEAD
|
|
743
|
+
[7.12.1]: https://github.com/auth0/auth0-deploy-cli/compare/v7.12.0...v7.12.1
|
|
736
744
|
[7.12.0]: https://github.com/auth0/auth0-deploy-cli/compare/v7.11.1...v7.12.0
|
|
737
745
|
[7.11.1]: https://github.com/auth0/auth0-deploy-cli/compare/v7.11.0...v7.11.1
|
|
738
746
|
[7.11.0]: https://github.com/auth0/auth0-deploy-cli/compare/v7.10.0...v7.11.0
|
|
@@ -18,12 +18,18 @@ const tools_1 = require("../../../tools");
|
|
|
18
18
|
const utils_1 = require("../../../utils");
|
|
19
19
|
function parse(context) {
|
|
20
20
|
const brandingDirectory = path_1.default.join(context.filePath, tools_1.constants.BRANDING_DIRECTORY);
|
|
21
|
+
const brandingFile = path_1.default.join(brandingDirectory, 'branding.json');
|
|
21
22
|
if (!(0, utils_1.existsMustBeDir)(brandingDirectory))
|
|
22
23
|
return { branding: null };
|
|
23
|
-
const
|
|
24
|
+
const brandingSettings = (() => {
|
|
25
|
+
if ((0, utils_1.isFile)(brandingFile)) {
|
|
26
|
+
return (0, utils_1.loadJSON)(brandingFile, context.mappings);
|
|
27
|
+
}
|
|
28
|
+
return null;
|
|
29
|
+
})();
|
|
24
30
|
const brandingTemplatesFolder = path_1.default.join(brandingDirectory, tools_1.constants.BRANDING_TEMPLATES_DIRECTORY);
|
|
25
31
|
if (!(0, utils_1.existsMustBeDir)(brandingTemplatesFolder))
|
|
26
|
-
return { branding:
|
|
32
|
+
return { branding: brandingSettings };
|
|
27
33
|
const templatesDefinitionFiles = (0, utils_1.getFiles)(brandingTemplatesFolder, ['.json']);
|
|
28
34
|
const templates = templatesDefinitionFiles.map((templateDefinitionFile) => {
|
|
29
35
|
const definition = (0, utils_1.loadJSON)(templateDefinitionFile, context.mappings);
|
|
@@ -31,7 +37,7 @@ function parse(context) {
|
|
|
31
37
|
return definition;
|
|
32
38
|
}, {});
|
|
33
39
|
return {
|
|
34
|
-
branding: Object.assign(Object.assign({},
|
|
40
|
+
branding: Object.assign(Object.assign({}, brandingSettings), { templates }),
|
|
35
41
|
};
|
|
36
42
|
}
|
|
37
43
|
function dump(context) {
|