mali-applet-ui 1.1.38 → 1.1.39
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/env/index.d.ts +1 -0
- package/env/index.js +2 -0
- package/package.json +1 -1
package/env/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export function getEnvCode(mode: string): string
|
|
2
2
|
export function getEnvName(mode: string): string
|
|
3
|
+
export function getCustomName(custom: string): string
|
|
3
4
|
export function getPlatformName(platform: string): string
|
|
4
5
|
export function getSubModuleName(module: string): string
|
|
5
6
|
export function parseEnv(dirPath: string): Record<string, string>
|
package/env/index.js
CHANGED
|
@@ -277,6 +277,7 @@ function sendQyWechatMsg (webhook, params) {
|
|
|
277
277
|
|
|
278
278
|
exports.getEnvCode = getEnvCode
|
|
279
279
|
exports.getEnvName = getEnvName
|
|
280
|
+
exports.getCustomName = getCustomName
|
|
280
281
|
exports.getPlatformName = getPlatformName
|
|
281
282
|
exports.getSubModuleName = getSubModuleName
|
|
282
283
|
exports.parseEnv = parseEnv
|
|
@@ -290,6 +291,7 @@ exports.sendQyWechatMsg = sendQyWechatMsg
|
|
|
290
291
|
module.exports = {
|
|
291
292
|
getEnvCode,
|
|
292
293
|
getEnvName,
|
|
294
|
+
getCustomName,
|
|
293
295
|
getPlatformName,
|
|
294
296
|
getSubModuleName,
|
|
295
297
|
parseEnv,
|