@alicloud/console-base-conf-parse-env 1.4.7 → 1.4.8
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.
|
@@ -8,7 +8,7 @@ exports.default = getChannel;
|
|
|
8
8
|
var _consoleOneConfig = _interopRequireDefault(require("@alicloud/console-one-config"));
|
|
9
9
|
function getFallbackChannel(site, mainDomain) {
|
|
10
10
|
// 兜底逻辑,非 OneConsole 应用可能没获取到全局变量
|
|
11
|
-
if (mainDomain === 'idptcloud01.com') {
|
|
11
|
+
if (mainDomain === 'idptcloud01.com' || mainDomain === 'idptcloud01-inc.com') {
|
|
12
12
|
return 'EA134';
|
|
13
13
|
}
|
|
14
14
|
switch (site) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ONE_CONF from '@alicloud/console-one-config';
|
|
2
2
|
function getFallbackChannel(site, mainDomain) {
|
|
3
3
|
// 兜底逻辑,非 OneConsole 应用可能没获取到全局变量
|
|
4
|
-
if (mainDomain === 'idptcloud01.com') {
|
|
4
|
+
if (mainDomain === 'idptcloud01.com' || mainDomain === 'idptcloud01-inc.com') {
|
|
5
5
|
return 'EA134';
|
|
6
6
|
}
|
|
7
7
|
switch (site) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/console-base-conf-parse-env",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.8",
|
|
4
4
|
"description": "ConsoleBase CONF.ENV parse",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"build:cjs": "breezr build --engine babel",
|
|
41
41
|
"build:bundle": "breezr build --engine webpack",
|
|
42
42
|
"build:types": "tsc -p tsconfig-declaration.json --outDir build/types --declaration --emitDeclarationOnly",
|
|
43
|
-
"build": "
|
|
43
|
+
"build": "pnpm build:esm && pnpm build:cjs && pnpm build:types",
|
|
44
44
|
"clean": "rm -rf build",
|
|
45
|
-
"prepublishOnly": "
|
|
45
|
+
"prepublishOnly": "pnpm clean && pnpm build"
|
|
46
46
|
}
|
|
47
47
|
}
|