gdu 4.0.3 → 4.0.4

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.4
4
+
5
+ ### Patch Changes
6
+
7
+ - GDU: Passes on app and node envs to build command
8
+
3
9
  ## 4.0.3
4
10
 
5
11
  ### Patch Changes
@@ -18,7 +18,7 @@ const buildSSR = async (guruConfig) => {
18
18
  cwd: roots_1.PROJECT_ROOT,
19
19
  localDir: roots_1.GDU_ROOT,
20
20
  extendEnv: true,
21
- env: { NODE_ENV: 'production' },
21
+ env: { NODE_ENV: process.env.NODE_ENV || 'production', APP_ENV: process.env.APP_ENV || 'prod' },
22
22
  })
23
23
  .then((result) => {
24
24
  console.log(`${kleur_1.dim('SUCCESS!')}`, `${kleur_1.dim('Listening')}: ${kleur_1.blue(result === null || result === void 0 ? void 0 : result.all)}`);
@@ -98,5 +98,5 @@ const createNextJSConfig = (buildEnv) => {
98
98
  };
99
99
  };
100
100
  exports.createNextJSConfig = createNextJSConfig;
101
- const createNextJSTranspiledConfig = () => withVanillaExtract(exports.withTM(exports.createNextJSConfig('uat')));
101
+ const createNextJSTranspiledConfig = () => withVanillaExtract(exports.withTM(exports.createNextJSConfig('prod')));
102
102
  exports.createNextJSTranspiledConfig = createNextJSTranspiledConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gdu",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
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",