@quilted/create 0.0.0-preview-20230103010921 → 0.0.0-preview-20230103064017

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,10 +1,16 @@
1
1
  # @quilted/create
2
2
 
3
- ## 0.0.0-preview-20230103010921
3
+ ## 0.0.0-preview-20230103064017
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Fix default navigation performance experience
7
+ - Async load app in server render by default
8
+
9
+ ## 0.1.36
10
+
11
+ ### Patch Changes
12
+
13
+ - [`5bf437ea`](https://github.com/lemonmade/quilt/commit/5bf437ea344d3818f249480c9db90c4ce418b256) Thanks [@lemonmade](https://github.com/lemonmade)! - Async load app in server render by default
8
14
 
9
15
  ## 0.1.35
10
16
 
@@ -43,12 +43,14 @@ function createPackageManagerRunner(type, {
43
43
  },
44
44
  async install() {
45
45
  node_child_process.execSync(`${type} install`, {
46
- cwd: root
46
+ cwd: root,
47
+ stdio: 'inherit'
47
48
  });
48
49
  },
49
50
  async run(command, args) {
50
51
  node_child_process.execSync(`${type} ${command} ${args.join(' ')}`, {
51
- cwd: root
52
+ cwd: root,
53
+ stdio: 'inherit'
52
54
  });
53
55
  }
54
56
  };
@@ -23,12 +23,14 @@ function createPackageManagerRunner(type, {
23
23
  },
24
24
  async install() {
25
25
  execSync(`${type} install`, {
26
- cwd: root
26
+ cwd: root,
27
+ stdio: 'inherit'
27
28
  });
28
29
  },
29
30
  async run(command, args) {
30
31
  execSync(`${type} ${command} ${args.join(' ')}`, {
31
- cwd: root
32
+ cwd: root,
33
+ stdio: 'inherit'
32
34
  });
33
35
  }
34
36
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quilted/create",
3
3
  "type": "module",
4
- "version": "0.0.0-preview-20230103010921",
4
+ "version": "0.0.0-preview-20230103064017",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -5,15 +5,19 @@ import {
5
5
  } from '@quilted/quilt/server';
6
6
  import createAssetManifest from '@quilted/quilt/magic/app/asset-manifest';
7
7
 
8
- import App from './App';
9
-
10
8
  const router = createRequestRouter();
11
9
 
12
10
  // For all GET requests, render our React application.
13
11
  router.get(
14
- createServerRenderingRequestHandler(() => <App />, {
15
- assets: createAssetManifest(),
16
- }),
12
+ createServerRenderingRequestHandler(
13
+ async () => {
14
+ const {default: App} = await import('./App');
15
+ return <App />;
16
+ },
17
+ {
18
+ assets: createAssetManifest(),
19
+ },
20
+ ),
17
21
  );
18
22
 
19
23
  export default router;