@leverege/build-tools 2.21.9 → 2.21.11
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/server/overwhelm.js +13 -1
- package/lib/web/overwhelm.js +13 -1
- package/package.json +3 -3
- package/src/helmup +5 -5
- package/src/klog +1 -1
- package/src/overwhelm.js +13 -1
- package/.env.temp +0 -19
- package/.firebaserc +0 -40
- package/.firebasercizg +0 -47
- package/.vscode/launch.json +0 -18
- package/firebase.json +0 -180
- package/secrets/dev-obd.env +0 -13
- package/secrets/dev.env +0 -12
- package/secrets/prd-obd.env +0 -12
- package/secrets/prd.env +0 -10
- package/secrets/shared.env +0 -6
- package/secrets/stg-obd.env +0 -10
- package/secrets/stg.env +0 -9
package/lib/server/overwhelm.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
+
//XXX console.log( `TOP=>[${process.cwd()}] PWD=[${process.env.PWD}]` )
|
|
3
4
|
/* eslint-disable no-console */
|
|
4
5
|
"use strict";
|
|
5
6
|
|
|
7
|
+
const path = require('node:path');
|
|
6
8
|
const chalk = require('chalk');
|
|
7
9
|
const cliArgs = require('command-line-args');
|
|
8
10
|
// const cliHelp = require( 'command-line-usage' )
|
|
@@ -69,11 +71,21 @@ const optionsDefinitions = [/* eslint-disable no-multi-spaces */
|
|
|
69
71
|
|
|
70
72
|
const args = cliArgs(optionsDefinitions);
|
|
71
73
|
|
|
74
|
+
// See if we are in a monorepo, which changes some of the rules.
|
|
75
|
+
const gitTop = exec('git rev-parse --show-toplevel', {
|
|
76
|
+
stdio: [undefined]
|
|
77
|
+
}).toString().trim();
|
|
78
|
+
let monoTop;
|
|
79
|
+
if (fs.existsSync(`${gitTop}/packages`)) {
|
|
80
|
+
monoTop = path.basename(path.resolve()); // process.env.PWD
|
|
81
|
+
console.log(`MONO=[${monoTop}]`);
|
|
82
|
+
}
|
|
83
|
+
|
|
72
84
|
// The kubernetes context is equal to the git branch name.
|
|
73
85
|
const gitBranch = exec('git rev-parse --abbrev-ref HEAD', {
|
|
74
86
|
stdio: [undefined]
|
|
75
87
|
}).toString().trim();
|
|
76
|
-
const context = args.context || gitBranch;
|
|
88
|
+
const context = args.context || monoTop || gitBranch;
|
|
77
89
|
if (context === 'master') {
|
|
78
90
|
console.log('***ERROR: master context is forbidden; change to a different branch\n\n');
|
|
79
91
|
process.exit(1);
|
package/lib/web/overwhelm.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
+
//XXX console.log( `TOP=>[${process.cwd()}] PWD=[${process.env.PWD}]` )
|
|
3
4
|
/* eslint-disable no-console */
|
|
4
5
|
"use strict";
|
|
5
6
|
|
|
7
|
+
const path = require('node:path');
|
|
6
8
|
const chalk = require('chalk');
|
|
7
9
|
const cliArgs = require('command-line-args');
|
|
8
10
|
// const cliHelp = require( 'command-line-usage' )
|
|
@@ -69,11 +71,21 @@ const optionsDefinitions = [/* eslint-disable no-multi-spaces */
|
|
|
69
71
|
|
|
70
72
|
const args = cliArgs(optionsDefinitions);
|
|
71
73
|
|
|
74
|
+
// See if we are in a monorepo, which changes some of the rules.
|
|
75
|
+
const gitTop = exec('git rev-parse --show-toplevel', {
|
|
76
|
+
stdio: [undefined]
|
|
77
|
+
}).toString().trim();
|
|
78
|
+
let monoTop;
|
|
79
|
+
if (fs.existsSync(`${gitTop}/packages`)) {
|
|
80
|
+
monoTop = path.basename(path.resolve()); // process.env.PWD
|
|
81
|
+
console.log(`MONO=[${monoTop}]`);
|
|
82
|
+
}
|
|
83
|
+
|
|
72
84
|
// The kubernetes context is equal to the git branch name.
|
|
73
85
|
const gitBranch = exec('git rev-parse --abbrev-ref HEAD', {
|
|
74
86
|
stdio: [undefined]
|
|
75
87
|
}).toString().trim();
|
|
76
|
-
const context = args.context || gitBranch;
|
|
88
|
+
const context = args.context || monoTop || gitBranch;
|
|
77
89
|
if (context === 'master') {
|
|
78
90
|
console.log('***ERROR: master context is forbidden; change to a different branch\n\n');
|
|
79
91
|
process.exit(1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leverege/build-tools",
|
|
3
|
-
"version": "2.21.
|
|
3
|
+
"version": "2.21.11",
|
|
4
4
|
"description": "A collection of build / support tools for Leverege developers",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@babel/cli": "^7.19.3",
|
|
71
|
-
"@babel/core": "^7.
|
|
71
|
+
"@babel/core": "^7.20.2",
|
|
72
72
|
"@leverege/babel-preset-leverege-node": "^2.0.0",
|
|
73
73
|
"@leverege/eslint-config-leverege": "^3.0.1",
|
|
74
|
-
"npm": "^8.19.
|
|
74
|
+
"npm": "^8.19.3"
|
|
75
75
|
}
|
|
76
76
|
}
|
package/src/helmup
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#
|
|
2
|
-
|
|
2
|
+
printf "\n***** RUNNING LOCALLY *****\n" && sleep 2
|
|
3
3
|
|
|
4
4
|
# Load the standard helper functions
|
|
5
5
|
. `build-tools --bashfun`
|
|
@@ -555,7 +555,7 @@ NEED_MANAGED_SECRET
|
|
|
555
555
|
addHelmRepo jetstack https://charts.jetstack.io
|
|
556
556
|
helm upgrade --install cert-manager jetstack/cert-manager \
|
|
557
557
|
--namespace cert-manager --set installCRDs=true \
|
|
558
|
-
--version v1.
|
|
558
|
+
--version v1.10
|
|
559
559
|
|
|
560
560
|
cat<<DELAY
|
|
561
561
|
|
|
@@ -630,7 +630,7 @@ TRAEFIK_CFG
|
|
|
630
630
|
|
|
631
631
|
addHelmRepo traefik https://helm.traefik.io/traefik
|
|
632
632
|
|
|
633
|
-
[ -z "$TRAEFIK_HELM_CHART" ] && TRAEFIK_HELM_CHART="
|
|
633
|
+
[ -z "$TRAEFIK_HELM_CHART" ] && TRAEFIK_HELM_CHART="16"
|
|
634
634
|
helm upgrade --install traefik traefik/traefik \
|
|
635
635
|
--namespace traefik \
|
|
636
636
|
--version $TRAEFIK_HELM_CHART \
|
|
@@ -1029,10 +1029,10 @@ NOTRUNNING
|
|
|
1029
1029
|
}
|
|
1030
1030
|
|
|
1031
1031
|
# ---------- helmup MAIN ----------
|
|
1032
|
-
GITTOP=`git rev-parse --show-toplevel`
|
|
1032
|
+
GITTOP=`git rev-parse --show-toplevel` # `&& cd $GITTOP
|
|
1033
1033
|
K8S_UTILS="${GITTOP}/k8s-utils"
|
|
1034
1034
|
|
|
1035
|
-
overwhelm
|
|
1035
|
+
overwhelm.js #XXX
|
|
1036
1036
|
[ $? -ne 0 ] && printf "\n\n***Aborting helmup...\n\n" && exit 1
|
|
1037
1037
|
|
|
1038
1038
|
doInstall $@
|
package/src/klog
CHANGED
package/src/overwhelm.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
+
//XXX console.log( `TOP=>[${process.cwd()}] PWD=[${process.env.PWD}]` )
|
|
3
4
|
/* eslint-disable no-console */
|
|
4
5
|
|
|
6
|
+
const path = require( 'node:path' )
|
|
5
7
|
const chalk = require( 'chalk' )
|
|
6
8
|
const cliArgs = require( 'command-line-args' )
|
|
7
9
|
// const cliHelp = require( 'command-line-usage' )
|
|
@@ -28,12 +30,22 @@ const optionsDefinitions = [
|
|
|
28
30
|
]
|
|
29
31
|
const args = cliArgs( optionsDefinitions )
|
|
30
32
|
|
|
33
|
+
// See if we are in a monorepo, which changes some of the rules.
|
|
34
|
+
const gitTop = exec(
|
|
35
|
+
'git rev-parse --show-toplevel', { stdio : [ undefined ] }
|
|
36
|
+
).toString().trim()
|
|
37
|
+
let monoTop
|
|
38
|
+
if( fs.existsSync( `${gitTop}/packages` ) ) {
|
|
39
|
+
monoTop = path.basename( path.resolve() ) // process.env.PWD
|
|
40
|
+
console.log( `MONO=[${monoTop}]` )
|
|
41
|
+
}
|
|
42
|
+
|
|
31
43
|
// The kubernetes context is equal to the git branch name.
|
|
32
44
|
const gitBranch = exec(
|
|
33
45
|
'git rev-parse --abbrev-ref HEAD', { stdio : [ undefined ] }
|
|
34
46
|
).toString().trim()
|
|
35
47
|
|
|
36
|
-
const context = args.context || gitBranch
|
|
48
|
+
const context = args.context || monoTop || gitBranch
|
|
37
49
|
|
|
38
50
|
if ( context === 'master' ) {
|
|
39
51
|
console.log( '***ERROR: master context is forbidden; change to a different branch\n\n' )
|
package/.env.temp
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
THEFT_RECOVERY_URL='theft.recovermycar.com'
|
|
2
|
-
MAPBOX_APIKEY=pk.eyJ1IjoibGV2ZXJlZ2UiLCJhIjoiY2p1Y3E0cWpkMG15azQzbnFzaDY2dmhiMSJ9.7N25h5jsjO2Aq_YmiLrAJw
|
|
3
|
-
APPEARANCE_PROJECT_ID=7b2GTbmsZj3f5VdFpjGM8O
|
|
4
|
-
INTERCOM_APP_ID='ec0qbuwi'
|
|
5
|
-
LOCATOR_ALIAS_KEY='serialNumber'
|
|
6
|
-
RECOVR_BILLING_MODULE='recovrBilling'
|
|
7
|
-
IMAGINE_HOST=https://leverege-sandbox-imagine-api.leverege.com
|
|
8
|
-
RECOVR_HOST=https://dev-recovr-notify.leverege.com
|
|
9
|
-
# RECOVR_HOST=http://localhost:8296
|
|
10
|
-
SYSTEM_ID=0UTmPFvRHXYLMlT4Kl2z1K
|
|
11
|
-
PROJECT_ID=08HBeHEYGxu5Bg4TCCnAAV
|
|
12
|
-
VEHICLE_NETWORK_ID='dev-dealership-vehicles'
|
|
13
|
-
CONSUMER_VEHICLE_NETWORK_ID='dev-customer-vehicles'
|
|
14
|
-
LOCATOR_NETWORK_ID='dev-recovr-tracker'
|
|
15
|
-
BEACON_NETWORK_ID='dev-dealership-beacons'
|
|
16
|
-
SALE_LOCATION_PARENT_PATH=sales
|
|
17
|
-
CONSUMER_LOCATION_ID=1KceIcZlVWrOBvCzsEXYud
|
|
18
|
-
userManagementUiName='obd'
|
|
19
|
-
IS_DEV=true
|
package/.firebaserc
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"projects": {
|
|
3
|
-
"default": "leverege-sandbox",
|
|
4
|
-
"stg-recovr-auto": "stg-recovr-auto",
|
|
5
|
-
"prd-recovr-auto":"prd-recovr-auto"
|
|
6
|
-
},
|
|
7
|
-
"targets": {
|
|
8
|
-
"leverege-sandbox": {
|
|
9
|
-
"hosting": {
|
|
10
|
-
"recovr": [
|
|
11
|
-
"dev"
|
|
12
|
-
],
|
|
13
|
-
"dev-obd-recovr": [
|
|
14
|
-
"dev-obd"
|
|
15
|
-
]
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"stg-recovr-auto": {
|
|
19
|
-
"hosting": {
|
|
20
|
-
"stg-recovr": [
|
|
21
|
-
"stg"
|
|
22
|
-
],
|
|
23
|
-
"stg-obd-recovr": [
|
|
24
|
-
"stg-obd"
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"prd-recovr-auto": {
|
|
29
|
-
"hosting": {
|
|
30
|
-
"recovr-auto": [
|
|
31
|
-
"prd"
|
|
32
|
-
],
|
|
33
|
-
"prd-obd-recovr":[
|
|
34
|
-
"prd-obd"
|
|
35
|
-
]
|
|
36
|
-
},
|
|
37
|
-
"production": true
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
package/.firebasercizg
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"projects": {
|
|
3
|
-
"default": "leverege-sandbox",
|
|
4
|
-
"dev-keys": "leverege-dev-nick",
|
|
5
|
-
"prd-indoor-zoning" : "prd-indoor-zoning"
|
|
6
|
-
},
|
|
7
|
-
"targets": {
|
|
8
|
-
"leverege-sandbox": {
|
|
9
|
-
"hosting": {
|
|
10
|
-
"dev-izg": [
|
|
11
|
-
"dev-izg"
|
|
12
|
-
],
|
|
13
|
-
"dev-olive-indoor-zoning": [
|
|
14
|
-
"dev-olive-indoor-zoning"
|
|
15
|
-
]
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"leverege-dev-nick": {
|
|
19
|
-
"hosting": {
|
|
20
|
-
"dev-keys": [
|
|
21
|
-
"dev-keys"
|
|
22
|
-
]
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"prd-indoor-zoning": {
|
|
26
|
-
"hosting": {
|
|
27
|
-
"prd-indoor-zoning-ui222": [
|
|
28
|
-
"prd-indoor-zoning-ui"
|
|
29
|
-
],
|
|
30
|
-
"prd-olive-indoor-zoning-ui222": [
|
|
31
|
-
"prd-olive-indoor-zoning-ui"
|
|
32
|
-
],
|
|
33
|
-
"prd-keys222": [
|
|
34
|
-
"prd-keys"
|
|
35
|
-
]
|
|
36
|
-
},
|
|
37
|
-
"production": true
|
|
38
|
-
},
|
|
39
|
-
"stg-indoor-zoning-pen-test": {
|
|
40
|
-
"hosting": {
|
|
41
|
-
"stg-indoor-zoning-ui": [
|
|
42
|
-
"stg-indoor-zoning-ui"
|
|
43
|
-
]
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
package/.vscode/launch.json
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
// Use IntelliSense to learn about possible attributes.
|
|
3
|
-
// Hover to view descriptions of existing attributes.
|
|
4
|
-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
5
|
-
"version": "0.2.0",
|
|
6
|
-
"configurations": [
|
|
7
|
-
{
|
|
8
|
-
"type": "node",
|
|
9
|
-
"request": "launch",
|
|
10
|
-
"name": "firebase deploy",
|
|
11
|
-
"skipFiles": [
|
|
12
|
-
"<node_internals>/**"
|
|
13
|
-
],
|
|
14
|
-
"program": "${workspaceFolder}/src/firebaseDeploy.mjs",
|
|
15
|
-
"console": "integratedTerminal"
|
|
16
|
-
}
|
|
17
|
-
]
|
|
18
|
-
}
|
package/firebase.json
DELETED
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"hosting": [
|
|
3
|
-
{
|
|
4
|
-
"site":"dev-izg",
|
|
5
|
-
"public": "dist",
|
|
6
|
-
"ignore": [
|
|
7
|
-
"firebase.json",
|
|
8
|
-
"**/.*",
|
|
9
|
-
"**/node_modules/**"
|
|
10
|
-
],
|
|
11
|
-
"rewrites": [
|
|
12
|
-
{
|
|
13
|
-
"source": "**",
|
|
14
|
-
"destination": "/index.html"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"headers": {
|
|
18
|
-
"X-Content-Type-Options": "nosniff",
|
|
19
|
-
"X-XSS-Protection": "1; mode=block",
|
|
20
|
-
"X-Frame-Options": "deny",
|
|
21
|
-
"Content-Security-Policy": "default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: leverege-sandbox-imagine-api.leverege.com *.mapbox.com *.firebaseio.com wss://*.firebaseio.com *.googleapis.com *.intercom.io wss://*.intercom.io maxcdn.bootstrapcdn.com *.intercomcdn.com *.gstatic.com;",
|
|
22
|
-
"Referrer-Policy":"no-referrer"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"site":"dev-keys",
|
|
27
|
-
"public": "dist",
|
|
28
|
-
"ignore": [
|
|
29
|
-
"firebase.json",
|
|
30
|
-
"**/.*",
|
|
31
|
-
"**/node_modules/**"
|
|
32
|
-
],
|
|
33
|
-
"rewrites": [
|
|
34
|
-
{
|
|
35
|
-
"source": "**",
|
|
36
|
-
"destination": "/index.html"
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
"headers": {
|
|
40
|
-
"X-Content-Type-Options": "nosniff",
|
|
41
|
-
"X-XSS-Protection": "1; mode=block",
|
|
42
|
-
"X-Frame-Options": "deny",
|
|
43
|
-
"Content-Security-Policy": "default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: leverege-sandbox-imagine-api.leverege.com *.mapbox.com *.firebaseio.com wss://*.firebaseio.com *.googleapis.com *.intercom.io wss://*.intercom.io maxcdn.bootstrapcdn.com *.intercomcdn.com *.gstatic.com;",
|
|
44
|
-
"Referrer-Policy":"no-referrer"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"site":"dev-keys",
|
|
49
|
-
"public": "dist",
|
|
50
|
-
"ignore": [
|
|
51
|
-
"firebase.json",
|
|
52
|
-
"**/.*",
|
|
53
|
-
"**/node_modules/**"
|
|
54
|
-
],
|
|
55
|
-
"rewrites": [
|
|
56
|
-
{
|
|
57
|
-
"source": "**",
|
|
58
|
-
"destination": "/index.html"
|
|
59
|
-
}
|
|
60
|
-
],
|
|
61
|
-
"headers": {
|
|
62
|
-
"X-Content-Type-Options": "nosniff",
|
|
63
|
-
"X-XSS-Protection": "1; mode=block",
|
|
64
|
-
"X-Frame-Options": "deny",
|
|
65
|
-
"Content-Security-Policy": "default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: leverege-sandbox-imagine-api.leverege.com *.mapbox.com *.firebaseio.com wss://*.firebaseio.com *.googleapis.com *.intercom.io wss://*.intercom.io maxcdn.bootstrapcdn.com *.intercomcdn.com *.gstatic.com;",
|
|
66
|
-
"Referrer-Policy":"no-referrer"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"site":"dev-olive-indoor-zoning",
|
|
71
|
-
"public": "dist",
|
|
72
|
-
"ignore": [
|
|
73
|
-
"firebase.json",
|
|
74
|
-
"**/.*",
|
|
75
|
-
"**/node_modules/**"
|
|
76
|
-
],
|
|
77
|
-
"rewrites": [
|
|
78
|
-
{
|
|
79
|
-
"source": "**",
|
|
80
|
-
"destination": "/index.html"
|
|
81
|
-
}
|
|
82
|
-
],
|
|
83
|
-
"headers": {
|
|
84
|
-
"X-Content-Type-Options": "nosniff",
|
|
85
|
-
"X-XSS-Protection": "1; mode=block",
|
|
86
|
-
"X-Frame-Options": "deny",
|
|
87
|
-
"Content-Security-Policy": "default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: leverege-sandbox-imagine-api.leverege.com *.mapbox.com *.firebaseio.com wss://*.firebaseio.com *.googleapis.com *.intercom.io wss://*.intercom.io maxcdn.bootstrapcdn.com *.intercomcdn.com *.gstatic.com;",
|
|
88
|
-
"Referrer-Policy":"no-referrer"
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"site":"prd-indoor-zoning-ui",
|
|
93
|
-
"public": "dist",
|
|
94
|
-
"ignore": [
|
|
95
|
-
"firebase.json",
|
|
96
|
-
"**/.*",
|
|
97
|
-
"**/node_modules/**"
|
|
98
|
-
],
|
|
99
|
-
"rewrites": [
|
|
100
|
-
{
|
|
101
|
-
"source": "**",
|
|
102
|
-
"destination": "/index.html"
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
"headers": {
|
|
106
|
-
"X-Content-Type-Options": "nosniff",
|
|
107
|
-
"X-XSS-Protection": "1; mode=block",
|
|
108
|
-
"X-Frame-Options": "deny",
|
|
109
|
-
"Content-Security-Policy": "default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: leverege-sandbox-imagine-api.leverege.com *.mapbox.com *.firebaseio.com wss://*.firebaseio.com *.googleapis.com *.intercom.io wss://*.intercom.io maxcdn.bootstrapcdn.com *.intercomcdn.com *.gstatic.com;",
|
|
110
|
-
"Referrer-Policy":"no-referrer"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"site":"prd-keys",
|
|
115
|
-
"public": "dist",
|
|
116
|
-
"ignore": [
|
|
117
|
-
"firebase.json",
|
|
118
|
-
"**/.*",
|
|
119
|
-
"**/node_modules/**"
|
|
120
|
-
],
|
|
121
|
-
"rewrites": [
|
|
122
|
-
{
|
|
123
|
-
"source": "**",
|
|
124
|
-
"destination": "/index.html"
|
|
125
|
-
}
|
|
126
|
-
],
|
|
127
|
-
"headers": {
|
|
128
|
-
"X-Content-Type-Options": "nosniff",
|
|
129
|
-
"X-XSS-Protection": "1; mode=block",
|
|
130
|
-
"X-Frame-Options": "deny",
|
|
131
|
-
"Content-Security-Policy": "default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: leverege-sandbox-imagine-api.leverege.com *.mapbox.com *.firebaseio.com wss://*.firebaseio.com *.googleapis.com *.intercom.io wss://*.intercom.io maxcdn.bootstrapcdn.com *.intercomcdn.com *.gstatic.com;",
|
|
132
|
-
"Referrer-Policy":"no-referrer"
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"site":"prd-olive-indoor-zoning-ui",
|
|
137
|
-
"public": "dist",
|
|
138
|
-
"ignore": [
|
|
139
|
-
"firebase.json",
|
|
140
|
-
"**/.*",
|
|
141
|
-
"**/node_modules/**"
|
|
142
|
-
],
|
|
143
|
-
"rewrites": [
|
|
144
|
-
{
|
|
145
|
-
"source": "**",
|
|
146
|
-
"destination": "/index.html"
|
|
147
|
-
}
|
|
148
|
-
],
|
|
149
|
-
"headers": {
|
|
150
|
-
"X-Content-Type-Options": "nosniff",
|
|
151
|
-
"X-XSS-Protection": "1; mode=block",
|
|
152
|
-
"X-Frame-Options": "deny",
|
|
153
|
-
"Content-Security-Policy": "default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: leverege-sandbox-imagine-api.leverege.com *.mapbox.com *.firebaseio.com wss://*.firebaseio.com *.googleapis.com *.intercom.io wss://*.intercom.io maxcdn.bootstrapcdn.com *.intercomcdn.com *.gstatic.com;",
|
|
154
|
-
"Referrer-Policy":"no-referrer"
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"site":"stg-indoor-zoning-ui",
|
|
159
|
-
"public": "dist",
|
|
160
|
-
"ignore": [
|
|
161
|
-
"firebase.json",
|
|
162
|
-
"**/.*",
|
|
163
|
-
"**/node_modules/**"
|
|
164
|
-
],
|
|
165
|
-
"rewrites": [
|
|
166
|
-
{
|
|
167
|
-
"source": "**",
|
|
168
|
-
"destination": "/index.html"
|
|
169
|
-
}
|
|
170
|
-
],
|
|
171
|
-
"headers": {
|
|
172
|
-
"X-Content-Type-Options": "nosniff",
|
|
173
|
-
"X-XSS-Protection": "1; mode=block",
|
|
174
|
-
"X-Frame-Options": "deny",
|
|
175
|
-
"Content-Security-Policy": "default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: leverege-sandbox-imagine-api.leverege.com *.mapbox.com *.firebaseio.com wss://*.firebaseio.com *.googleapis.com *.intercom.io wss://*.intercom.io maxcdn.bootstrapcdn.com *.intercomcdn.com *.gstatic.com;",
|
|
176
|
-
"Referrer-Policy":"no-referrer"
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
]
|
|
180
|
-
}
|
package/secrets/dev-obd.env
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
IMAGINE_HOST=https://leverege-sandbox-imagine-api.leverege.com
|
|
2
|
-
RECOVR_HOST=https://dev-recovr-notify.leverege.com
|
|
3
|
-
# RECOVR_HOST=http://localhost:8296
|
|
4
|
-
SYSTEM_ID=0UTmPFvRHXYLMlT4Kl2z1K
|
|
5
|
-
PROJECT_ID=08HBeHEYGxu5Bg4TCCnAAV
|
|
6
|
-
VEHICLE_NETWORK_ID='dev-dealership-vehicles'
|
|
7
|
-
CONSUMER_VEHICLE_NETWORK_ID='dev-customer-vehicles'
|
|
8
|
-
LOCATOR_NETWORK_ID='dev-recovr-tracker'
|
|
9
|
-
BEACON_NETWORK_ID='dev-dealership-beacons'
|
|
10
|
-
SALE_LOCATION_PARENT_PATH=sales
|
|
11
|
-
CONSUMER_LOCATION_ID=1KceIcZlVWrOBvCzsEXYud
|
|
12
|
-
userManagementUiName='obd'
|
|
13
|
-
IS_DEV=true
|
package/secrets/dev.env
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
IMAGINE_HOST=https://leverege-sandbox-imagine-api.leverege.com
|
|
2
|
-
RECOVR_HOST=https://dev-recovr-notify.leverege.com
|
|
3
|
-
# RECOVR_HOST=http://localhost:8296
|
|
4
|
-
SYSTEM_ID=0UTmPFvRHXYLMlT4Kl2z1K
|
|
5
|
-
PROJECT_ID=08HBeHEYGxu5Bg4TCCnAAV
|
|
6
|
-
VEHICLE_NETWORK_ID='dev-dealership-vehicles'
|
|
7
|
-
CONSUMER_VEHICLE_NETWORK_ID='dev-customer-vehicles'
|
|
8
|
-
LOCATOR_NETWORK_ID='dev-recovr-tracker'
|
|
9
|
-
BEACON_NETWORK_ID='dev-dealership-beacons'
|
|
10
|
-
SALE_LOCATION_PARENT_PATH=sales
|
|
11
|
-
CONSUMER_LOCATION_ID=1KceIcZlVWrOBvCzsEXYud
|
|
12
|
-
IS_DEV=true
|
package/secrets/prd-obd.env
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
IMAGINE_HOST=https://prd-recovr-auto-imagine-api.leverege.com
|
|
2
|
-
RECOVR_HOST=https://recovr-auto-notify.leverege.com
|
|
3
|
-
SYSTEM_ID=2ExK7rl76meCVCCctjOJEY
|
|
4
|
-
PROJECT_ID=1Je8Y7dNlfthv7ixV8oEfZ
|
|
5
|
-
VEHICLE_NETWORK_ID='prd-auto-vehicles'
|
|
6
|
-
CONSUMER_VEHICLE_NETWORK_ID='prd-customer-vehicles'
|
|
7
|
-
BEACON_NETWORK_ID='prd-auto-beacons'
|
|
8
|
-
GOOGLE_ANALYTICS_TRACKER_ID='G-LBTT0JT9V6'
|
|
9
|
-
SALE_LOCATION_PARENT_PATH=location
|
|
10
|
-
CONSUMER_LOCATION_ID=26OsDlsRqBTIOxMjyHg9S5
|
|
11
|
-
userManagementUiName='obd'
|
|
12
|
-
IS_DEV=true
|
package/secrets/prd.env
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
IMAGINE_HOST=https://prd-recovr-auto-imagine-api.leverege.com
|
|
2
|
-
RECOVR_HOST=https://recovr-auto-notify.leverege.com
|
|
3
|
-
SYSTEM_ID=2ExK7rl76meCVCCctjOJEY
|
|
4
|
-
PROJECT_ID=1Je8Y7dNlfthv7ixV8oEfZ
|
|
5
|
-
VEHICLE_NETWORK_ID='prd-auto-vehicles'
|
|
6
|
-
CONSUMER_VEHICLE_NETWORK_ID='prd-customer-vehicles'
|
|
7
|
-
BEACON_NETWORK_ID='prd-auto-beacons'
|
|
8
|
-
GOOGLE_ANALYTICS_TRACKER_ID='G-LBTT0JT9V6'
|
|
9
|
-
SALE_LOCATION_PARENT_PATH=location
|
|
10
|
-
CONSUMER_LOCATION_ID=26OsDlsRqBTIOxMjyHg9S5
|
package/secrets/shared.env
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
THEFT_RECOVERY_URL='theft.recovermycar.com'
|
|
2
|
-
MAPBOX_APIKEY=pk.eyJ1IjoibGV2ZXJlZ2UiLCJhIjoiY2p1Y3E0cWpkMG15azQzbnFzaDY2dmhiMSJ9.7N25h5jsjO2Aq_YmiLrAJw
|
|
3
|
-
APPEARANCE_PROJECT_ID=7b2GTbmsZj3f5VdFpjGM8O
|
|
4
|
-
INTERCOM_APP_ID='ec0qbuwi'
|
|
5
|
-
LOCATOR_ALIAS_KEY='serialNumber'
|
|
6
|
-
RECOVR_BILLING_MODULE='recovrBilling'
|
package/secrets/stg-obd.env
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
IMAGINE_HOST=https://stg-recovr-auto-imagine-api.leverege.com
|
|
2
|
-
# RECOVR_HOST=http://localhost:8296
|
|
3
|
-
SYSTEM_ID=6CxONnaSOnbGFBS5gLnZWl
|
|
4
|
-
PROJECT_ID=3vo2u8m9GEXPaQgMnJ45rh
|
|
5
|
-
VEHICLE_NETWORK_ID='stg-auto-vehicles'
|
|
6
|
-
CONSUMER_VEHICLE_NETWORK_ID='stg-customer-vehicles'
|
|
7
|
-
BEACON_NETWORK_ID='stg-auto-beacons'
|
|
8
|
-
CONSUMER_LOCATION_ID=1SRDkIuPWDpiAy4dsuy0JT
|
|
9
|
-
userManagementUiName='obd'
|
|
10
|
-
IS_DEV=false
|
package/secrets/stg.env
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
IMAGINE_HOST=https://stg-recovr-auto-imagine-api.leverege.com
|
|
2
|
-
# RECOVR_HOST=http://localhost:8296
|
|
3
|
-
SYSTEM_ID=6CxONnaSOnbGFBS5gLnZWl
|
|
4
|
-
PROJECT_ID=3vo2u8m9GEXPaQgMnJ45rh
|
|
5
|
-
VEHICLE_NETWORK_ID='stg-auto-vehicles'
|
|
6
|
-
CONSUMER_VEHICLE_NETWORK_ID='stg-customer-vehicles'
|
|
7
|
-
BEACON_NETWORK_ID='stg-auto-beacons'
|
|
8
|
-
CONSUMER_LOCATION_ID=1SRDkIuPWDpiAy4dsuy0JT
|
|
9
|
-
IS_DEV=false
|