@raisenow/tamaro-cli 1.0.20 → 1.0.21
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/dist/{chunk-CNSEEVDD.js → chunk-MVLEHXBO.js} +10 -2
- package/dist/cli.js +7 -7
- package/dist/webpack.config.js +1 -1
- package/package.json +6 -6
- package/src/lib/env.ts +11 -1
|
@@ -185,10 +185,18 @@ var getEnvVars = (files, ifMin, ifCore, ifLocalCore) => {
|
|
|
185
185
|
"PUBLIC_URL",
|
|
186
186
|
"PRODUCT_NAME",
|
|
187
187
|
"PRODUCT_VERSION",
|
|
188
|
+
"EPP_API_KEY_DEFAULT",
|
|
189
|
+
"EPP_API_URL_STAGE",
|
|
190
|
+
"EPP_API_URL_PROD",
|
|
191
|
+
"EPMS_API_URL_STAGE",
|
|
192
|
+
"EPMS_API_URL_PROD",
|
|
193
|
+
"EPP_PROXY_URL_STAGE",
|
|
194
|
+
"EPP_PROXY_URL_PROD",
|
|
195
|
+
"EPMS_PROXY_URL_STAGE",
|
|
196
|
+
"EPMS_PROXY_URL_PROD",
|
|
188
197
|
"WIDGET_UUID",
|
|
189
198
|
"CORE_URL",
|
|
190
|
-
"CORE_VERSION"
|
|
191
|
-
"IS_CREDIT_CARD_IFRAME"
|
|
199
|
+
"CORE_VERSION"
|
|
192
200
|
];
|
|
193
201
|
const raw = Object.keys(process.env).filter((key) => /^PUBLIC_/.test(key) || varNames.includes(key)).reduce((env, key) => {
|
|
194
202
|
env[key] = process.env[key];
|
package/dist/cli.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveBin,
|
|
13
13
|
resolveOwn,
|
|
14
14
|
runCommandSync
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MVLEHXBO.js";
|
|
16
16
|
|
|
17
17
|
// src/cli.ts
|
|
18
18
|
import { createCommand } from "commander";
|
|
@@ -20,7 +20,7 @@ import { createCommand } from "commander";
|
|
|
20
20
|
// package.json
|
|
21
21
|
var package_default = {
|
|
22
22
|
name: "@raisenow/tamaro-cli",
|
|
23
|
-
version: "1.0.
|
|
23
|
+
version: "1.0.21",
|
|
24
24
|
author: {
|
|
25
25
|
name: "RaiseNow",
|
|
26
26
|
email: "development@raisenow.com"
|
|
@@ -53,13 +53,13 @@ var package_default = {
|
|
|
53
53
|
"@statoscope/webpack-plugin": "^5.24.0",
|
|
54
54
|
"@types/columnify": "^1.5.1",
|
|
55
55
|
"@types/lodash": "^4.14.182",
|
|
56
|
-
"@types/node": "^18.6.
|
|
56
|
+
"@types/node": "^18.6.3",
|
|
57
57
|
"@types/node-notifier": "^8.0.2",
|
|
58
58
|
"@types/resolve-bin": "^0.4.1",
|
|
59
59
|
"@types/webpack-config-utils": "^2.3.1",
|
|
60
60
|
"@typescript-eslint/eslint-plugin": "^5.31.0",
|
|
61
61
|
"@typescript-eslint/parser": "^5.31.0",
|
|
62
|
-
autoprefixer: "^10.4.
|
|
62
|
+
autoprefixer: "^10.4.8",
|
|
63
63
|
"babel-loader": "^8.2.5",
|
|
64
64
|
"babel-plugin-istanbul": "^6.1.1",
|
|
65
65
|
"babel-plugin-lodash": "^3.3.4",
|
|
@@ -68,7 +68,7 @@ var package_default = {
|
|
|
68
68
|
columnify: "^1.6.0",
|
|
69
69
|
commander: "^9.4.0",
|
|
70
70
|
"copy-webpack-plugin": "^11.0.0",
|
|
71
|
-
"core-js": "^3.24.
|
|
71
|
+
"core-js": "^3.24.1",
|
|
72
72
|
"css-loader": "^6.7.1",
|
|
73
73
|
"css-minimizer-webpack-plugin": "^4.0.0",
|
|
74
74
|
dotenv: "^16.0.1",
|
|
@@ -101,8 +101,8 @@ var package_default = {
|
|
|
101
101
|
"source-map-loader": "^4.0.0",
|
|
102
102
|
"strip-indent": "^4.0.0",
|
|
103
103
|
"style-loader": "^3.3.1",
|
|
104
|
-
"tsconfig-paths-webpack-plugin": "^
|
|
105
|
-
tsup: "^6.2.
|
|
104
|
+
"tsconfig-paths-webpack-plugin": "^4.0.0",
|
|
105
|
+
tsup: "^6.2.1",
|
|
106
106
|
typescript: "^4.7.4",
|
|
107
107
|
"url-loader": "^4.1.1",
|
|
108
108
|
webpack: "^5.74.0",
|
package/dist/webpack.config.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raisenow/tamaro-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.21",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "RaiseNow",
|
|
6
6
|
"email": "development@raisenow.com"
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"@statoscope/webpack-plugin": "^5.24.0",
|
|
34
34
|
"@types/columnify": "^1.5.1",
|
|
35
35
|
"@types/lodash": "^4.14.182",
|
|
36
|
-
"@types/node": "^18.6.
|
|
36
|
+
"@types/node": "^18.6.3",
|
|
37
37
|
"@types/node-notifier": "^8.0.2",
|
|
38
38
|
"@types/resolve-bin": "^0.4.1",
|
|
39
39
|
"@types/webpack-config-utils": "^2.3.1",
|
|
40
40
|
"@typescript-eslint/eslint-plugin": "^5.31.0",
|
|
41
41
|
"@typescript-eslint/parser": "^5.31.0",
|
|
42
|
-
"autoprefixer": "^10.4.
|
|
42
|
+
"autoprefixer": "^10.4.8",
|
|
43
43
|
"babel-loader": "^8.2.5",
|
|
44
44
|
"babel-plugin-istanbul": "^6.1.1",
|
|
45
45
|
"babel-plugin-lodash": "^3.3.4",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"columnify": "^1.6.0",
|
|
49
49
|
"commander": "^9.4.0",
|
|
50
50
|
"copy-webpack-plugin": "^11.0.0",
|
|
51
|
-
"core-js": "^3.24.
|
|
51
|
+
"core-js": "^3.24.1",
|
|
52
52
|
"css-loader": "^6.7.1",
|
|
53
53
|
"css-minimizer-webpack-plugin": "^4.0.0",
|
|
54
54
|
"dotenv": "^16.0.1",
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
"source-map-loader": "^4.0.0",
|
|
82
82
|
"strip-indent": "^4.0.0",
|
|
83
83
|
"style-loader": "^3.3.1",
|
|
84
|
-
"tsconfig-paths-webpack-plugin": "^
|
|
85
|
-
"tsup": "^6.2.
|
|
84
|
+
"tsconfig-paths-webpack-plugin": "^4.0.0",
|
|
85
|
+
"tsup": "^6.2.1",
|
|
86
86
|
"typescript": "^4.7.4",
|
|
87
87
|
"url-loader": "^4.1.1",
|
|
88
88
|
"webpack": "^5.74.0",
|
package/src/lib/env.ts
CHANGED
|
@@ -83,11 +83,21 @@ export const getEnvVars = (
|
|
|
83
83
|
'PRODUCT_NAME',
|
|
84
84
|
'PRODUCT_VERSION',
|
|
85
85
|
|
|
86
|
+
// epik
|
|
87
|
+
'EPP_API_KEY_DEFAULT',
|
|
88
|
+
'EPP_API_URL_STAGE',
|
|
89
|
+
'EPP_API_URL_PROD',
|
|
90
|
+
'EPMS_API_URL_STAGE',
|
|
91
|
+
'EPMS_API_URL_PROD',
|
|
92
|
+
'EPP_PROXY_URL_STAGE',
|
|
93
|
+
'EPP_PROXY_URL_PROD',
|
|
94
|
+
'EPMS_PROXY_URL_STAGE',
|
|
95
|
+
'EPMS_PROXY_URL_PROD',
|
|
96
|
+
|
|
86
97
|
// config
|
|
87
98
|
'WIDGET_UUID',
|
|
88
99
|
'CORE_URL',
|
|
89
100
|
'CORE_VERSION', // must be explicitly specified in each config
|
|
90
|
-
'IS_CREDIT_CARD_IFRAME',
|
|
91
101
|
]
|
|
92
102
|
|
|
93
103
|
// Collect all vars which names start from "PUBLIC_" or present in "varNames" array
|