@cedarjs/cli 6.0.0-canary.2796 → 6.0.0-canary.2798
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/README.md
CHANGED
|
@@ -238,12 +238,9 @@ export const builder = (yargs) => {
|
|
|
238
238
|
|
|
239
239
|
...
|
|
240
240
|
|
|
241
|
-
.option('
|
|
242
|
-
default:
|
|
243
|
-
description:
|
|
244
|
-
'Webpack Bundle Analyzer',
|
|
245
|
-
'https://github.com/webpack-contrib/webpack-bundle-analyzer'
|
|
246
|
-
)}`,
|
|
241
|
+
.option('prerender', {
|
|
242
|
+
default: true,
|
|
243
|
+
description: 'Prerender after building web',
|
|
247
244
|
type: 'boolean',
|
|
248
245
|
})
|
|
249
246
|
.option('verbose', {
|
|
@@ -258,11 +255,11 @@ export const builder = (yargs) => {
|
|
|
258
255
|
}
|
|
259
256
|
```
|
|
260
257
|
|
|
261
|
-
These two calls to `options` configure this command to have options `--
|
|
258
|
+
These two calls to `options` configure this command to have options `--prerender` and `--verbose`:
|
|
262
259
|
|
|
263
260
|
```terminal
|
|
264
|
-
yarn
|
|
265
|
-
yarn
|
|
261
|
+
yarn cedar build --no-prerender
|
|
262
|
+
yarn cedar build --verbose
|
|
266
263
|
```
|
|
267
264
|
|
|
268
265
|
For the full list of what properties you can use to compose the options object, see [options(key, [opt])](https://yargs.js.org/docs/#api-optionskey-opt).
|
|
@@ -280,8 +277,8 @@ While `build`'s `handler` is too long to reproduce here in full, to get the poin
|
|
|
280
277
|
|
|
281
278
|
export const handler = async ({
|
|
282
279
|
side = ['api', 'web'],
|
|
280
|
+
prerender = true,
|
|
283
281
|
verbose = false,
|
|
284
|
-
stats = false,
|
|
285
282
|
}) => {
|
|
286
283
|
|
|
287
284
|
...
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli",
|
|
3
|
-
"version": "6.0.0-canary.
|
|
3
|
+
"version": "6.0.0-canary.2798",
|
|
4
4
|
"description": "The CedarJS Command Line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/parser": "7.29.7",
|
|
35
35
|
"@babel/preset-typescript": "7.29.7",
|
|
36
|
-
"@cedarjs/api-server": "6.0.0-canary.
|
|
37
|
-
"@cedarjs/cli-helpers": "6.0.0-canary.
|
|
38
|
-
"@cedarjs/fastify-web": "6.0.0-canary.
|
|
39
|
-
"@cedarjs/internal": "6.0.0-canary.
|
|
40
|
-
"@cedarjs/prerender": "6.0.0-canary.
|
|
41
|
-
"@cedarjs/project-config": "6.0.0-canary.
|
|
42
|
-
"@cedarjs/structure": "6.0.0-canary.
|
|
43
|
-
"@cedarjs/telemetry": "6.0.0-canary.
|
|
44
|
-
"@cedarjs/utils": "6.0.0-canary.
|
|
45
|
-
"@cedarjs/vite": "6.0.0-canary.
|
|
46
|
-
"@cedarjs/web-server": "6.0.0-canary.
|
|
36
|
+
"@cedarjs/api-server": "6.0.0-canary.2798",
|
|
37
|
+
"@cedarjs/cli-helpers": "6.0.0-canary.2798",
|
|
38
|
+
"@cedarjs/fastify-web": "6.0.0-canary.2798",
|
|
39
|
+
"@cedarjs/internal": "6.0.0-canary.2798",
|
|
40
|
+
"@cedarjs/prerender": "6.0.0-canary.2798",
|
|
41
|
+
"@cedarjs/project-config": "6.0.0-canary.2798",
|
|
42
|
+
"@cedarjs/structure": "6.0.0-canary.2798",
|
|
43
|
+
"@cedarjs/telemetry": "6.0.0-canary.2798",
|
|
44
|
+
"@cedarjs/utils": "6.0.0-canary.2798",
|
|
45
|
+
"@cedarjs/vite": "6.0.0-canary.2798",
|
|
46
|
+
"@cedarjs/web-server": "6.0.0-canary.2798",
|
|
47
47
|
"@listr2/prompt-adapter-enquirer": "4.3.0",
|
|
48
48
|
"@opentelemetry/api": "1.9.1",
|
|
49
49
|
"@opentelemetry/core": "1.30.1",
|