auth0-deploy-cli 7.13.1 → 7.14.2
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 +40 -11
- package/.eslintignore +1 -0
- package/.github/dependabot.yml +3 -0
- package/.nyc_output/1b0a2de3-0dae-4f80-9af7-f45cabfd5e99.json +1 -0
- package/.nyc_output/50c50e87-6b9d-4f9f-b6bb-a462368ff653.json +1 -0
- package/.nyc_output/cd0c5bb1-9480-4de3-b099-e95349d10f89.json +1 -0
- package/.nyc_output/processinfo/1b0a2de3-0dae-4f80-9af7-f45cabfd5e99.json +1 -0
- package/.nyc_output/processinfo/50c50e87-6b9d-4f9f-b6bb-a462368ff653.json +1 -0
- package/.nyc_output/processinfo/cd0c5bb1-9480-4de3-b099-e95349d10f89.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -0
- package/.prettierignore +2 -1
- package/CHANGELOG.md +34 -1
- package/README.md +122 -65
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +251 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/src/args.ts.html +505 -0
- package/coverage/lcov-report/src/commands/export.ts.html +274 -0
- package/coverage/lcov-report/src/commands/import.ts.html +250 -0
- package/coverage/lcov-report/src/commands/index.html +131 -0
- package/coverage/lcov-report/src/configFactory.ts.html +175 -0
- package/coverage/lcov-report/src/context/defaults.ts.html +196 -0
- package/coverage/lcov-report/src/context/directory/handlers/actions.ts.html +355 -0
- package/coverage/lcov-report/src/context/directory/handlers/attackProtection.ts.html +307 -0
- package/coverage/lcov-report/src/context/directory/handlers/branding.ts.html +448 -0
- package/coverage/lcov-report/src/context/directory/handlers/clientGrants.ts.html +262 -0
- package/coverage/lcov-report/src/context/directory/handlers/clients.ts.html +319 -0
- package/coverage/lcov-report/src/context/directory/handlers/connections.ts.html +370 -0
- package/coverage/lcov-report/src/context/directory/handlers/customDomains.ts.html +223 -0
- package/coverage/lcov-report/src/context/directory/handlers/databases.ts.html +544 -0
- package/coverage/lcov-report/src/context/directory/handlers/emailProvider.ts.html +241 -0
- package/coverage/lcov-report/src/context/directory/handlers/emailTemplates.ts.html +316 -0
- package/coverage/lcov-report/src/context/directory/handlers/guardianFactorProviders.ts.html +256 -0
- package/coverage/lcov-report/src/context/directory/handlers/guardianFactorTemplates.ts.html +247 -0
- package/coverage/lcov-report/src/context/directory/handlers/guardianFactors.ts.html +247 -0
- package/coverage/lcov-report/src/context/directory/handlers/guardianPhoneFactorMessageTypes.ts.html +214 -0
- package/coverage/lcov-report/src/context/directory/handlers/guardianPhoneFactorSelectedProvider.ts.html +226 -0
- package/coverage/lcov-report/src/context/directory/handlers/guardianPolicies.ts.html +214 -0
- package/coverage/lcov-report/src/context/directory/handlers/hooks.ts.html +274 -0
- package/coverage/lcov-report/src/context/directory/handlers/index.html +551 -0
- package/coverage/lcov-report/src/context/directory/handlers/index.ts.html +304 -0
- package/coverage/lcov-report/src/context/directory/handlers/logStreams.ts.html +220 -0
- package/coverage/lcov-report/src/context/directory/handlers/migrations.ts.html +196 -0
- package/coverage/lcov-report/src/context/directory/handlers/organizations.ts.html +289 -0
- package/coverage/lcov-report/src/context/directory/handlers/pages.ts.html +334 -0
- package/coverage/lcov-report/src/context/directory/handlers/prompts.ts.html +313 -0
- package/coverage/lcov-report/src/context/directory/handlers/resourceServers.ts.html +229 -0
- package/coverage/lcov-report/src/context/directory/handlers/roles.ts.html +253 -0
- package/coverage/lcov-report/src/context/directory/handlers/rules.ts.html +262 -0
- package/coverage/lcov-report/src/context/directory/handlers/rulesConfigs.ts.html +193 -0
- package/coverage/lcov-report/src/context/directory/handlers/tenant.ts.html +289 -0
- package/coverage/lcov-report/src/context/directory/handlers/themes.ts.html +232 -0
- package/coverage/lcov-report/src/context/directory/handlers/triggers.ts.html +214 -0
- package/coverage/lcov-report/src/context/directory/index.html +116 -0
- package/coverage/lcov-report/src/context/directory/index.ts.html +400 -0
- package/coverage/lcov-report/src/context/index.html +131 -0
- package/coverage/lcov-report/src/context/index.ts.html +475 -0
- package/coverage/lcov-report/src/context/yaml/handlers/actions.ts.html +349 -0
- package/coverage/lcov-report/src/context/yaml/handlers/attackProtection.ts.html +193 -0
- package/coverage/lcov-report/src/context/yaml/handlers/branding.ts.html +391 -0
- package/coverage/lcov-report/src/context/yaml/handlers/clientGrants.ts.html +199 -0
- package/coverage/lcov-report/src/context/yaml/handlers/clients.ts.html +301 -0
- package/coverage/lcov-report/src/context/yaml/handlers/connections.ts.html +394 -0
- package/coverage/lcov-report/src/context/yaml/handlers/customDomains.ts.html +151 -0
- package/coverage/lcov-report/src/context/yaml/handlers/databases.ts.html +346 -0
- package/coverage/lcov-report/src/context/yaml/handlers/emailProvider.ts.html +208 -0
- package/coverage/lcov-report/src/context/yaml/handlers/emailTemplates.ts.html +241 -0
- package/coverage/lcov-report/src/context/yaml/handlers/guardianFactorProviders.ts.html +151 -0
- package/coverage/lcov-report/src/context/yaml/handlers/guardianFactorTemplates.ts.html +151 -0
- package/coverage/lcov-report/src/context/yaml/handlers/guardianFactors.ts.html +151 -0
- package/coverage/lcov-report/src/context/yaml/handlers/guardianPhoneFactorMessageTypes.ts.html +151 -0
- package/coverage/lcov-report/src/context/yaml/handlers/guardianPhoneFactorSelectedProvider.ts.html +169 -0
- package/coverage/lcov-report/src/context/yaml/handlers/guardianPolicies.ts.html +151 -0
- package/coverage/lcov-report/src/context/yaml/handlers/hooks.ts.html +280 -0
- package/coverage/lcov-report/src/context/yaml/handlers/index.html +551 -0
- package/coverage/lcov-report/src/context/yaml/handlers/index.ts.html +298 -0
- package/coverage/lcov-report/src/context/yaml/handlers/logStreams.ts.html +151 -0
- package/coverage/lcov-report/src/context/yaml/handlers/migrations.ts.html +145 -0
- package/coverage/lcov-report/src/context/yaml/handlers/organizations.ts.html +235 -0
- package/coverage/lcov-report/src/context/yaml/handlers/pages.ts.html +268 -0
- package/coverage/lcov-report/src/context/yaml/handlers/prompts.ts.html +154 -0
- package/coverage/lcov-report/src/context/yaml/handlers/resourceServers.ts.html +154 -0
- package/coverage/lcov-report/src/context/yaml/handlers/roles.ts.html +199 -0
- package/coverage/lcov-report/src/context/yaml/handlers/rules.ts.html +253 -0
- package/coverage/lcov-report/src/context/yaml/handlers/rulesConfigs.ts.html +181 -0
- package/coverage/lcov-report/src/context/yaml/handlers/tenant.ts.html +235 -0
- package/coverage/lcov-report/src/context/yaml/handlers/themes.ts.html +154 -0
- package/coverage/lcov-report/src/context/yaml/handlers/triggers.ts.html +172 -0
- package/coverage/lcov-report/src/context/yaml/index.html +116 -0
- package/coverage/lcov-report/src/context/yaml/index.ts.html +568 -0
- package/coverage/lcov-report/src/index.html +221 -0
- package/coverage/lcov-report/src/index.ts.html +361 -0
- package/coverage/lcov-report/src/logger.ts.html +133 -0
- package/coverage/lcov-report/src/readonly.ts.html +346 -0
- package/coverage/lcov-report/src/sessionDurationsToMinutes.ts.html +154 -0
- package/coverage/lcov-report/src/tools/auth0/client.ts.html +604 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/actions.ts.html +793 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/attackProtection.ts.html +367 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/branding.ts.html +427 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/clientGrants.ts.html +418 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/clients.ts.html +340 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/connections.ts.html +598 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/customDomains.ts.html +379 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/databases.ts.html +436 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/default.ts.html +1027 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/emailProvider.ts.html +274 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/emailTemplates.ts.html +337 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianFactorProviders.ts.html +301 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianFactorTemplates.ts.html +265 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianFactors.ts.html +241 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianPhoneFactorMessageTypes.ts.html +337 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianPhoneFactorSelectedProvider.ts.html +331 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/guardianPolicies.ts.html +256 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/hooks.ts.html +829 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/index.html +566 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/index.ts.html +295 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/logStreams.ts.html +346 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/migrations.ts.html +319 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/organizations.ts.html +949 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/pages.ts.html +517 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/prompts.ts.html +913 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/resourceServers.ts.html +412 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/roles.ts.html +751 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/rules.ts.html +727 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/rulesConfigs.ts.html +256 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/tenant.ts.html +466 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/themes.ts.html +1882 -0
- package/coverage/lcov-report/src/tools/auth0/handlers/triggers.ts.html +430 -0
- package/coverage/lcov-report/src/tools/auth0/index.html +146 -0
- package/coverage/lcov-report/src/tools/auth0/index.ts.html +355 -0
- package/coverage/lcov-report/src/tools/auth0/schema.ts.html +184 -0
- package/coverage/lcov-report/src/tools/calculateChanges.ts.html +688 -0
- package/coverage/lcov-report/src/tools/constants.ts.html +610 -0
- package/coverage/lcov-report/src/tools/deploy.ts.html +181 -0
- package/coverage/lcov-report/src/tools/index.html +191 -0
- package/coverage/lcov-report/src/tools/index.ts.html +127 -0
- package/coverage/lcov-report/src/tools/utils.ts.html +796 -0
- package/coverage/lcov-report/src/tools/validationError.ts.html +127 -0
- package/coverage/lcov-report/src/types.ts.html +1093 -0
- package/coverage/lcov-report/src/utils.ts.html +679 -0
- package/coverage/lcov.info +7168 -0
- package/docs/available-resource-config-formats.md +19 -0
- package/docs/configuring-the-deploy-cli.md +140 -0
- package/docs/excluding-from-management.md +81 -0
- package/docs/how-to-contribute.md +49 -0
- package/docs/keyword-replacement.md +45 -0
- package/docs/multi-environment-workflow.md +98 -0
- package/docs/terraform-provider.md +20 -0
- package/docs/using-as-cli.md +89 -0
- package/docs/using-as-node-module.md +114 -0
- package/examples/yaml/config.json.example +1 -1
- package/lib/context/directory/handlers/connections.js +3 -2
- package/lib/context/yaml/handlers/connections.js +5 -2
- package/lib/context/yaml/handlers/pages.js +1 -1
- package/lib/tools/auth0/handlers/tenant.d.ts +12 -1
- package/lib/tools/auth0/handlers/tenant.js +39 -4
- package/lib/tools/auth0/handlers/themes.js +11 -3
- package/lib/types.d.ts +6 -7
- package/lib/utils.d.ts +1 -1
- package/package.json +11 -5
package/.circleci/config.yml
CHANGED
|
@@ -1,11 +1,28 @@
|
|
|
1
|
-
# Javascript Node CircleCI 2.0 configuration file
|
|
2
|
-
#
|
|
3
|
-
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
|
|
4
|
-
#
|
|
5
1
|
version: 2.1
|
|
6
2
|
|
|
3
|
+
orbs:
|
|
4
|
+
codecov: codecov/codecov@3
|
|
5
|
+
|
|
7
6
|
jobs:
|
|
8
|
-
|
|
7
|
+
e2e_test_as_node_module:
|
|
8
|
+
docker:
|
|
9
|
+
- image: cimg/node:current
|
|
10
|
+
working_directory: ~/repo
|
|
11
|
+
steps:
|
|
12
|
+
- checkout
|
|
13
|
+
- run: npm ci
|
|
14
|
+
- run: AUTH0_HTTP_RECORDINGS="lockdown" npm run test:e2e:node-module
|
|
15
|
+
|
|
16
|
+
e2e_test_as_cli:
|
|
17
|
+
docker:
|
|
18
|
+
- image: cimg/node:current
|
|
19
|
+
working_directory: ~/repo
|
|
20
|
+
steps:
|
|
21
|
+
- checkout
|
|
22
|
+
- run: npm ci
|
|
23
|
+
- run: npm run test:e2e:cli
|
|
24
|
+
|
|
25
|
+
unit_test:
|
|
9
26
|
parameters:
|
|
10
27
|
v:
|
|
11
28
|
type: string
|
|
@@ -25,10 +42,11 @@ jobs:
|
|
|
25
42
|
paths:
|
|
26
43
|
- node_modules
|
|
27
44
|
- run: npm run lint
|
|
28
|
-
- run: npm test
|
|
45
|
+
- run: npm run test:coverage
|
|
29
46
|
- persist_to_workspace:
|
|
30
47
|
root: ~/repo
|
|
31
48
|
paths: .
|
|
49
|
+
- codecov/upload
|
|
32
50
|
|
|
33
51
|
deploy:
|
|
34
52
|
parameters:
|
|
@@ -47,19 +65,30 @@ jobs:
|
|
|
47
65
|
- run:
|
|
48
66
|
name: Publish package
|
|
49
67
|
command: npm publish
|
|
68
|
+
|
|
50
69
|
workflows:
|
|
51
70
|
version: 2
|
|
52
|
-
|
|
71
|
+
|
|
72
|
+
e2e_test:
|
|
73
|
+
jobs:
|
|
74
|
+
- e2e_test_as_node_module
|
|
75
|
+
- e2e_test_as_cli:
|
|
76
|
+
filters:
|
|
77
|
+
branches:
|
|
78
|
+
only: master
|
|
79
|
+
|
|
80
|
+
unit_test:
|
|
53
81
|
jobs:
|
|
54
|
-
-
|
|
82
|
+
- unit_test:
|
|
55
83
|
name: test_lts
|
|
56
84
|
v: "lts"
|
|
57
|
-
-
|
|
85
|
+
- unit_test:
|
|
58
86
|
name: test_current
|
|
59
|
-
v: "
|
|
87
|
+
v: "current"
|
|
88
|
+
|
|
60
89
|
test_and_deploy:
|
|
61
90
|
jobs:
|
|
62
|
-
-
|
|
91
|
+
- unit_test:
|
|
63
92
|
name: test_lts
|
|
64
93
|
v: "lts"
|
|
65
94
|
filters:
|
package/.eslintignore
CHANGED