@cedarjs/cli 6.0.0-canary.2795 → 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('stats', {
242
- default: false,
243
- description: `Use ${terminalLink(
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 `--stats` and `--verbose`:
258
+ These two calls to `options` configure this command to have options `--prerender` and `--verbose`:
262
259
 
263
260
  ```terminal
264
- yarn rw build --stats
265
- yarn rw build --verbose
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
  ...
@@ -87,7 +87,6 @@ const handler = async ({
87
87
  const projectPackages = ["prettier-plugin-tailwindcss@^0.8.0"];
88
88
  const webWorkspacePackages = [
89
89
  "postcss",
90
- "postcss-loader",
91
90
  "tailwindcss@^3.4.17",
92
91
  "autoprefixer"
93
92
  ];
@@ -89,8 +89,6 @@ async function getResources() {
89
89
  complexity,
90
90
  sides,
91
91
  experiments: JSON.stringify(experiments),
92
- webBundler: "vite",
93
- // Hardcoded because this is now the only supported bundler
94
92
  uid: UID
95
93
  };
96
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "6.0.0-canary.2795",
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.2795",
37
- "@cedarjs/cli-helpers": "6.0.0-canary.2795",
38
- "@cedarjs/fastify-web": "6.0.0-canary.2795",
39
- "@cedarjs/internal": "6.0.0-canary.2795",
40
- "@cedarjs/prerender": "6.0.0-canary.2795",
41
- "@cedarjs/project-config": "6.0.0-canary.2795",
42
- "@cedarjs/structure": "6.0.0-canary.2795",
43
- "@cedarjs/telemetry": "6.0.0-canary.2795",
44
- "@cedarjs/utils": "6.0.0-canary.2795",
45
- "@cedarjs/vite": "6.0.0-canary.2795",
46
- "@cedarjs/web-server": "6.0.0-canary.2795",
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",