Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade dotenv-webpack to 7.0.x #15343

Merged
merged 1 commit into from
Jun 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/builder-webpack5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"case-sensitive-paths-webpack-plugin": "^2.3.0",
"core-js": "^3.8.2",
"css-loader": "^5.0.1",
"dotenv-webpack": "^6.0.0",
"dotenv-webpack": "^7.0.0",
"fork-ts-checker-webpack-plugin": "^6.0.4",
"fs-extra": "^9.0.1",
"glob": "^7.1.6",
Expand Down
2 changes: 1 addition & 1 deletion lib/manager-webpack5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"chalk": "^4.1.0",
"core-js": "^3.8.2",
"css-loader": "^5.0.1",
"dotenv-webpack": "^6.0.0",
"dotenv-webpack": "^7.0.0",
"express": "^4.17.1",
"file-loader": "^6.2.0",
"file-system-cache": "^1.0.5",
Expand Down
2 changes: 1 addition & 1 deletion lib/manager-webpack5/src/manager-webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default async ({
template,
}) as any) as WebpackPluginInstance,
(new CaseSensitivePathsPlugin() as any) as WebpackPluginInstance,
(new Dotenv({ silent: true }) as any) as WebpackPluginInstance,
new Dotenv({ silent: true }),
// graphql sources check process variable
new DefinePlugin({
'process.env': stringifyEnvs(envs),
Expand Down
24 changes: 12 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6363,7 +6363,7 @@ __metadata:
case-sensitive-paths-webpack-plugin: ^2.3.0
core-js: ^3.8.2
css-loader: ^5.0.1
dotenv-webpack: ^6.0.0
dotenv-webpack: ^7.0.0
fork-ts-checker-webpack-plugin: ^6.0.4
fs-extra: ^9.0.1
glob: ^7.1.6
Expand Down Expand Up @@ -7018,7 +7018,7 @@ __metadata:
chalk: ^4.1.0
core-js: ^3.8.2
css-loader: ^5.0.1
dotenv-webpack: ^6.0.0
dotenv-webpack: ^7.0.0
express: ^4.17.1
file-loader: ^6.2.0
file-system-cache: ^1.0.5
Expand Down Expand Up @@ -18170,12 +18170,12 @@ __metadata:
languageName: node
linkType: hard

"dotenv-defaults@npm:^2.0.1":
version: 2.0.1
resolution: "dotenv-defaults@npm:2.0.1"
"dotenv-defaults@npm:^2.0.2":
version: 2.0.2
resolution: "dotenv-defaults@npm:2.0.2"
dependencies:
dotenv: ^8.2.0
checksum: f2bf720e969679fe27a8e2f07fe230b75526ebe499256ebdd8b8f05e9a64103aa09234a5f1ef29b960e914c8be0f1e9522b5b85e73b4de2e6d2159a667be312c
checksum: 14b7b8f6c21a30404106384398728746e63405bfeabe47ef7aadd0e81de49986d5896a612e5b1acddf655af6472a24947b7b113aa3ef3270a2877afa9c5bd287
languageName: node
linkType: hard

Expand All @@ -18197,14 +18197,14 @@ __metadata:
languageName: node
linkType: hard

"dotenv-webpack@npm:^6.0.0":
version: 6.0.2
resolution: "dotenv-webpack@npm:6.0.2"
"dotenv-webpack@npm:^7.0.0":
version: 7.0.3
resolution: "dotenv-webpack@npm:7.0.3"
dependencies:
dotenv-defaults: ^2.0.1
dotenv-defaults: ^2.0.2
peerDependencies:
webpack: ^1 || ^2 || ^3 || ^4 || ^5
checksum: 4458763c622b7515d58497906ddcea34b09503f60d7ed2eeb24e1946793fe5df37bd96e6a722685004b18b749a773021491ec705aff256463d4372392632ba72
webpack: ^4 || ^5
checksum: 1209f72c980989a4de550e6be7fab9efe7c34f56496760e8b91cd577ddba461b36acbb7de3a56416e60af9ef67c9b7d224bdf6a61e4dca60e23dc8e1673a16eb
languageName: node
linkType: hard

Expand Down