@evjs/cli 0.0.10 → 0.0.12

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
@@ -25,7 +25,7 @@ No configuration file is needed. `ev dev` and `ev build` work out of the box wit
25
25
  | `ev dev` | Start dev server (client HMR + API watch) |
26
26
  | `ev build` | Production build (client + server) |
27
27
 
28
- > **Scaffolding:** Use `npx create-ev-app` to scaffold a new project.
28
+ > **Scaffolding:** Use `npx @evjs/create-app` to scaffold a new project.
29
29
 
30
30
  ### `ev dev`
31
31
 
package/dist/index.js CHANGED
@@ -53,7 +53,7 @@ export async function dev(userConfig, options) {
53
53
  `const bundle = require(${JSON.stringify(serverBundlePath)});`,
54
54
  `const app = bundle.app || bundle.createApp({ endpoint: ${JSON.stringify(config.server.endpoint)} });`,
55
55
  `const { serve } = require("@evjs/server/node");`,
56
- `serve(app, { port: ${serverPort}, https: ${Boolean(config.server.dev.https)} });`,
56
+ `serve(app, { port: ${serverPort}, https: ${JSON.stringify(config.server.dev.https)} });`,
57
57
  ].join("\n"));
58
58
  // node gets --watch flags; other runtimes use their own args as-is
59
59
  const backendArgs = backend === "node"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evjs/cli",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "description": "CLI and configuration layer for the evjs framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",