|
2a94d1e64d
|
define 'inProd' as shortcut instead of process.env.NODE_ENV==='production'
|
2022-09-19 00:56:36 +08:00 |
|
|
79a5744055
|
u
|
2022-08-26 16:51:56 +08:00 |
|
|
08a65ec305
|
u
|
2022-08-25 14:56:43 +08:00 |
|
|
a5bdde9a57
|
use standard [.gitignore] file
|
2022-08-20 10:25:08 +08:00 |
|
|
006d6dda70
|
rename libraries 'basend-*' to 'wo-base-*', 'corend-*' to 'wo-core-*', 'usend-*' to 'wo-user-*'
|
2022-08-17 08:59:38 +08:00 |
|
|
72dc6f4e3e
|
忘了给 merge_envar 也设置读取 *-dev.js
|
2022-08-16 14:25:37 +08:00 |
|
|
dc17255ddb
|
u
|
2022-08-16 14:11:50 +08:00 |
|
|
5cff501fef
|
u
|
2022-08-05 20:20:43 +08:00 |
|
|
1abb5927e3
|
u
|
2022-08-05 19:24:48 +08:00 |
|
|
1551fa64a4
|
Merge branch 'main' of https://git.faronear.org/npm/basend-envar
|
2022-08-05 19:18:46 +08:00 |
|
|
9af9b79237
|
u
|
2022-08-05 17:31:33 +08:00 |
|
|
536045efc4
|
Merge branch 'main' of https://git.faronear.org/npm/basend-envar
|
2022-08-04 19:33:57 +08:00 |
|
|
5895d3bbe7
|
updated
|
2022-07-30 12:36:50 +08:00 |
|
|
c1a249f1e6
|
rename Commander_Option_List to commanderOptions
|
2022-07-23 14:00:54 +08:00 |
|
|
d9251a01af
|
updated
|
2022-07-23 12:39:59 +08:00 |
|
|
3ca01197d9
|
u
|
2022-07-21 09:08:10 +08:00 |
|
|
73fc0541ed
|
merge_envar 支持字符串作为envarFiles,作为文件导入。
|
2022-06-13 07:56:41 +08:00 |
|
|
64acff7b81
|
u
|
2022-06-05 11:30:08 +08:00 |
|
|
675c16f2b4
|
根据 inDev 来设置dev和prod的不同环境变量值
|
2022-06-05 09:35:10 +08:00 |
|
|
12d5278aed
|
rename all base.xxx to basend-xxx
|
2022-06-04 10:51:03 +08:00 |
|
|
454e106826
|
rename base.enviconfig to base-envar-config
|
2022-06-04 09:01:00 +08:00 |
|
|
f37c431c62
|
修改一些名字;让 maskSecret 换用 secretEnvarFile 参数来过滤机密
|
2022-04-27 09:26:07 +08:00 |
|
|
d391472855
|
rename envar.production to envar.ENV_PRODUCTION
|
2022-04-25 15:26:15 +08:00 |
|
|
8b945b405d
|
支持传入配置文件名作为参数
|
2022-04-24 16:42:08 +08:00 |
|
|
d3f694b10b
|
envar-base-custom.js 之前加载 envar-base-basic.js 中的 production 配置
|
2022-04-23 17:00:29 +08:00 |
|
|
77fb687fc8
|
rename Config*.js to envar-base-*.js
|
2022-04-23 16:06:21 +08:00 |
|
|
b8f677155c
|
renaming Config*.js to envar-base-*.js
|
2022-04-23 16:03:59 +08:00 |
|
|
44b89632d7
|
rename VERSION to Base_Version
|
2022-04-03 16:18:25 +08:00 |
|
|
87e6a7ab85
|
rename envi to envar
|
2022-04-03 16:03:14 +08:00 |
|
|
f5b7abe635
|
showEnvi() 按照属性名的顺序输出
|
2022-04-03 15:26:16 +08:00 |
|
|
f2c916facf
|
u
|
2022-04-03 15:15:22 +08:00 |
|
|
d954fb3005
|
rename commanderOptions to Commander_Option_List
|
2022-04-03 12:48:27 +08:00 |
|
|
8d3f4b2350
|
u
|
2022-03-12 09:33:45 +08:00 |
|
|
5f1a46b28e
|
u
|
2022-03-12 09:24:44 +08:00 |
|
|
fa009491ac
|
添加 showEnvi(),过滤掉机密数据再输出,以防被存入日志文件
|
2022-03-12 08:39:50 +08:00 |
|
|
a3c3b0c231
|
do not print commanderOptions to console
|
2021-11-28 13:31:25 +08:00 |
|
|
15dab1bcac
|
批量重命名 npm/* 使用标准前缀 base|core|user
|
2021-09-16 21:52:46 +08:00 |
|
|
533d8126b2
|
upgrade to include mergeConfig() and getDynamicConfig()
|
2021-09-12 09:54:36 +08:00 |
|
|
41d5fe36fd
|
rename global.SysConfig to global.EnviConfig, runenv to prodev
|
2021-06-19 20:19:51 +08:00 |
|
|
4b3832ae1d
|
rename sol.sysconfig to sol.enviconfig
|
2021-06-19 20:05:46 +08:00 |
|
|
108315cb8a
|
reorg so.* to sol.*
|
2021-05-09 15:45:47 +08:00 |
|
|
15fb9fd328
|
rename env to runenv
|
2021-03-23 12:55:53 +08:00 |
|
|
1c6e2b7f96
|
设置 env 属性,默认为 'development'
|
2021-03-23 11:07:22 +08:00 |
|
|
563a069bd5
|
不再是返回一个配置对象,而是返回一个函数,并且接受一个原始配置对象作为参数。
|
2021-01-26 20:01:42 +08:00 |
|
|
7e3e194f6c
|
add .gitignore
|
2021-01-26 19:01:52 +08:00 |
|
|
1f47f25c8b
|
补充英文的输出信息
|
2021-01-26 17:44:05 +08:00 |
|
|
38d2c0c26b
|
添加 .prettierrc.js 并格式化
|
2021-01-24 11:35:17 +08:00 |
|
|
162f1f2c8d
|
init
|
2020-06-01 16:34:37 +08:00 |
|