@webjskit/cli 0.1.4 → 0.3.0

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/bin/webjs.js CHANGED
@@ -8,9 +8,9 @@ const [cmd, ...rest] = process.argv.slice(2);
8
8
 
9
9
  const USAGE = `webjs — commands:
10
10
  webjs dev [--port 3000] Start dev server with live reload
11
- webjs build Bundle components + pages for production
12
- webjs start [--port 3000] Start production server
11
+ webjs start [--port 3000] Start production server (serves source directly; no build required)
13
12
  [--http2 --cert <path> --key <path>] Serve HTTP/2 over TLS (falls back to h1.1)
13
+ webjs build Optional: bundle client modules into a single file (advanced/perf opt-in)
14
14
  webjs test [--server|--browser] Run server + browser tests
15
15
  webjs check Validate app against conventions
16
16
  webjs create <name> [--template full-stack|api|saas] Scaffold a new webjs app
package/lib/create.js CHANGED
@@ -59,7 +59,6 @@ export async function scaffoldApp(name, cwd, opts = {}) {
59
59
  predev: 'prisma generate',
60
60
  prestart: 'prisma migrate deploy',
61
61
  dev: 'webjs dev',
62
- build: 'webjs build',
63
62
  start: 'webjs start',
64
63
  test: 'webjs test',
65
64
  'test:server': 'webjs test --server',
@@ -76,7 +75,6 @@ export async function scaffoldApp(name, cwd, opts = {}) {
76
75
  '@webjskit/server': 'latest',
77
76
  },
78
77
  devDependencies: {
79
- esbuild: '^0.28.0',
80
78
  prisma: '^6.0.0',
81
79
  '@web/test-runner': '^0.20.0',
82
80
  '@web/test-runner-playwright': '^0.11.0',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webjskit/cli",
3
- "version": "0.1.4",
3
+ "version": "0.3.0",
4
4
  "type": "module",
5
5
  "description": "webjs CLI — dev, start, create, db",
6
6
  "bin": {
@@ -13,7 +13,7 @@
13
13
  "README.md"
14
14
  ],
15
15
  "dependencies": {
16
- "@webjskit/server": "0.1.1"
16
+ "@webjskit/server": "0.3.0"
17
17
  },
18
18
  "publishConfig": {
19
19
  "access": "public"