@quilted/create 0.1.35 → 0.1.36
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
|
# @quilted/create
|
|
2
2
|
|
|
3
|
+
## 0.1.36
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`5bf437ea`](https://github.com/lemonmade/quilt/commit/5bf437ea344d3818f249480c9db90c4ce418b256) Thanks [@lemonmade](https://github.com/lemonmade)! - Async load app in server render by default
|
|
8
|
+
|
|
3
9
|
## 0.1.35
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -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
|
@@ -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(
|
|
15
|
-
|
|
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;
|