Skip to content

Commit f0015da

Browse files
author
wanglinquan
committed
build: add dotenv-cli dep
1 parent aade60f commit f0015da

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"scripts": {
1515
"cz": "npx git-cz",
16-
"release": "release-it"
16+
"release": "dotenv release-it --"
1717
},
1818
"publishConfig": {
1919
"access": "public"
@@ -31,6 +31,7 @@
3131
"commitlint-config-cz": "^0.11.1",
3232
"cosmiconfig": "^7.0.0",
3333
"cz-customizable": "^6.1.0",
34+
"dotenv-cli": "^4.0.0",
3435
"eslint": "^5.16.0",
3536
"eslint-config-standard": "^12.0.0",
3637
"eslint-plugin-import": "^2.17.3",

yarn.lock

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1804,7 +1804,7 @@ cross-spawn@^6.0.0, cross-spawn@^6.0.5:
18041804
shebang-command "^1.2.0"
18051805
which "^1.2.9"
18061806

1807-
cross-spawn@^7.0.0:
1807+
cross-spawn@^7.0.0, cross-spawn@^7.0.1:
18081808
version "7.0.3"
18091809
resolved "https://registry.npm.taobao.org/cross-spawn/download/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
18101810
integrity sha1-9zqFudXUHQRVUcF34ogtSshXKKY=
@@ -2256,6 +2256,26 @@ dot-prop@^5.1.0, dot-prop@^5.2.0:
22562256
dependencies:
22572257
is-obj "^2.0.0"
22582258

2259+
dotenv-cli@^4.0.0:
2260+
version "4.0.0"
2261+
resolved "https://registry.npm.taobao.org/dotenv-cli/download/dotenv-cli-4.0.0.tgz#3cdd68b87ccd63c78dbfa72aab2f639bbeba5f4b"
2262+
integrity sha1-PN1ouHzNY8eNv6cqqy9jm766X0s=
2263+
dependencies:
2264+
cross-spawn "^7.0.1"
2265+
dotenv "^8.1.0"
2266+
dotenv-expand "^5.1.0"
2267+
minimist "^1.1.3"
2268+
2269+
dotenv-expand@^5.1.0:
2270+
version "5.1.0"
2271+
resolved "https://registry.npm.taobao.org/dotenv-expand/download/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0"
2272+
integrity sha1-P7rwIL/XlIhAcuomsel5HUWmKfA=
2273+
2274+
dotenv@^8.1.0:
2275+
version "8.2.0"
2276+
resolved "https://registry.npm.taobao.org/dotenv/download/dotenv-8.2.0.tgz#97e619259ada750eea3e4ea3e26bceea5424b16a"
2277+
integrity sha1-l+YZJZradQ7qPk6j4mvO6lQksWo=
2278+
22592279
duplexer3@^0.1.4:
22602280
version "0.1.4"
22612281
resolved "https://registry.npm.taobao.org/duplexer3/download/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2"

0 commit comments

Comments
 (0)