@magneticjs/cli 0.1.0 → 0.1.1

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
@@ -1,11 +1,11 @@
1
- # @magnetic/cli
1
+ # @magneticjs/cli
2
2
 
3
- Build, develop, and deploy Magnetic server-driven UI apps.
3
+ Build, develop, and deploy [Magnetic](https://github.com/inventhq/magnetic) server-driven UI apps.
4
4
 
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install -g @magnetic/cli
8
+ npm install -g @magneticjs/cli
9
9
  ```
10
10
 
11
11
  This also downloads the `magnetic-v8-server` binary for your platform via postinstall.
package/dist/cli.js CHANGED
@@ -375,7 +375,7 @@ function getArg(flag) {
375
375
  }
376
376
  function usage() {
377
377
  console.log(`
378
- @magnetic/cli \u2014 Build and deploy server-driven UI apps
378
+ @magneticjs/cli \u2014 Build and deploy server-driven UI apps
379
379
 
380
380
  Usage:
381
381
  magnetic dev Start dev mode (watch + rebuild + serve)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magneticjs/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Magnetic CLI — build, dev, and deploy server-driven UI apps",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  /**
3
3
  * install-server.js — Downloads the prebuilt magnetic-v8-server binary
4
- * for the current platform during `npm install @magnetic/cli`.
4
+ * for the current platform during `npm install @magneticjs/cli`.
5
5
  *
6
6
  * Update strategy:
7
- * - Version is read from ../package.json (matches @magnetic/cli version)
8
- * - When user runs `npm update @magnetic/cli`, this script re-runs
7
+ * - Version is read from ../package.json (matches @magneticjs/cli version)
8
+ * - When user runs `npm update @magneticjs/cli`, this script re-runs
9
9
  * - Binary version is tracked in bin/.version
10
10
  * - If version mismatch → re-download; if match → skip
11
11
  *
package/src/cli.ts CHANGED
@@ -37,7 +37,7 @@ function getArg(flag: string): string | undefined {
37
37
 
38
38
  function usage() {
39
39
  console.log(`
40
- @magnetic/cli — Build and deploy server-driven UI apps
40
+ @magneticjs/cli — Build and deploy server-driven UI apps
41
41
 
42
42
  Usage:
43
43
  magnetic dev Start dev mode (watch + rebuild + serve)