gdu 4.0.11 → 4.0.12

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # gdu
2
2
 
3
+ ## 4.0.12
4
+
5
+ ### Patch Changes
6
+
7
+ - GDU adds default support for dot env configs
8
+
3
9
  ## 4.0.11
4
10
 
5
11
  ### Patch Changes
@@ -281,9 +281,11 @@ const baseOptions = (buildEnv, isMultiEnv) => ({
281
281
  }),
282
282
  ...configs_1.getConfigsDirs().flatMap((configsDir) => [
283
283
  new dotenv_webpack_1.default({
284
+ defaults: true,
284
285
  path: path_1.default.resolve(configsDir, '.env.defaults'),
285
286
  }),
286
287
  new dotenv_webpack_1.default({
288
+ defaults: true,
287
289
  path: path_1.default.resolve(configsDir, `.env.${process.env.APP_ENV || (isDev ? 'dev' : buildEnv)}`),
288
290
  }),
289
291
  ]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gdu",
3
- "version": "4.0.11",
3
+ "version": "4.0.12",
4
4
  "private": false,
5
5
  "description": "AutoGuru's development toolkit",
6
6
  "homepage": "https://github.com/autoguru-au/octane/tree/master/packages/gdu#readme",