gdu 4.0.2 → 4.0.3

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.3
4
+
5
+ ### Patch Changes
6
+
7
+ - SSR apps: Get changes to their nextjs config defaults
8
+
3
9
  ## 4.0.2
4
10
 
5
11
  ### Patch Changes
@@ -17,6 +17,8 @@ const buildSSR = async (guruConfig) => {
17
17
  stdio: 'inherit',
18
18
  cwd: roots_1.PROJECT_ROOT,
19
19
  localDir: roots_1.GDU_ROOT,
20
+ extendEnv: true,
21
+ env: { NODE_ENV: 'production' },
20
22
  })
21
23
  .then((result) => {
22
24
  console.log(`${kleur_1.dim('SUCCESS!')}`, `${kleur_1.dim('Listening')}: ${kleur_1.blue(result === null || result === void 0 ? void 0 : result.all)}`);
@@ -5,6 +5,16 @@ export declare const createNextJSConfig: (buildEnv: any) => {
5
5
  swcMinify: boolean;
6
6
  experimental: {
7
7
  concurrentFeatures: boolean;
8
+ serverComponents: boolean;
9
+ };
10
+ i18n: {
11
+ locales: string[];
12
+ defaultLocale: string;
13
+ };
14
+ typescript: {
15
+ transpileOnly: boolean;
16
+ ignoreDevErrors: boolean;
17
+ ignoreBuildErrors: boolean;
8
18
  };
9
19
  images: {
10
20
  domains: string[];
@@ -53,6 +53,16 @@ const createNextJSConfig = (buildEnv) => {
53
53
  swcMinify: true,
54
54
  experimental: {
55
55
  concurrentFeatures: false,
56
+ serverComponents: false,
57
+ },
58
+ i18n: {
59
+ locales: ["en"],
60
+ defaultLocale: "en",
61
+ },
62
+ typescript: {
63
+ transpileOnly: true,
64
+ ignoreDevErrors: true,
65
+ ignoreBuildErrors: true,
56
66
  },
57
67
  images: {
58
68
  domains: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gdu",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
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",