@smbcloud/cli 0.3.39 → 0.4.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/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  <br>smbCloud CLI
6
6
  </h1>
7
7
  <p align="center">
8
- Deploy to the cloud in one command.
8
+ Deploy with smbCloud from your terminal.
9
9
  <br />
10
10
  <br />
11
11
  <a href="https://smbcloud.xyz/">Website</a>
@@ -26,9 +26,9 @@
26
26
 
27
27
  ## About
28
28
 
29
- **`smb`** is the command-line interface for [smbCloud](https://smbcloud.xyz/) — the modern cloud deployment platform. We've eliminated the friction of cloud infrastructure so you can focus on what matters: building an incredible product.
29
+ **`smb`** is the command-line interface for [smbCloud](https://smbcloud.xyz/).
30
30
 
31
- Ship your Rust, Node.js, Ruby, or Swift app with a single, magical command.
31
+ Install it with npm, then run the native `smb` binary for your platform.
32
32
 
33
33
  ## Install
34
34
 
@@ -36,7 +36,7 @@ Ship your Rust, Node.js, Ruby, or Swift app with a single, magical command.
36
36
  npm install -g @smbcloud/cli
37
37
  ```
38
38
 
39
- This package automatically downloads and installs the correct pre-built native binary for your platform.
39
+ This package downloads the right pre-built native binary for your platform.
40
40
 
41
41
  ## Quick Start
42
42
 
@@ -46,7 +46,7 @@ smb init
46
46
  smb deploy
47
47
  ```
48
48
 
49
- That's it. Your app is live.
49
+ That gets you from login to first deploy.
50
50
 
51
51
  ## Other Installation Methods
52
52
 
@@ -97,11 +97,11 @@ This package ships pre-built native binaries for:
97
97
 
98
98
  ## Source & Issues
99
99
 
100
- This is a native binary distributed via npm. The source code lives at
100
+ This package ships the native `smb` binary through npm.
101
+ Source code and issue tracker:
101
102
  [github.com/smbcloudXYZ/smbcloud-cli](https://github.com/smbcloudXYZ/smbcloud-cli).
102
- Please report bugs and feature requests there.
103
103
 
104
- > Explore more on the [smbCloud Services](https://smbcloud.xyz/services) page.
104
+ You can find the main install and deploy guides in the [smbCloud CLI docs](https://smbcloud.xyz/posts).
105
105
 
106
106
  ## License
107
107
 
package/lib/index.js CHANGED
@@ -19,7 +19,7 @@ function getExePath() {
19
19
  extension = ".exe";
20
20
  }
21
21
  try {
22
- // Since the binary will be located inside `node_modules`, we can simply call `require.resolve`
22
+ // The binary lives in `node_modules`, so `require.resolve` gives us the installed path.
23
23
  return require.resolve(`@smbcloud/cli-${os}-${arch}/bin/smb${extension}`);
24
24
  }
25
25
  catch (e) {
@@ -27,7 +27,7 @@ function getExePath() {
27
27
  }
28
28
  }
29
29
  /**
30
- * Runs the application with args using nodejs spawn
30
+ * Runs the native CLI with the current process arguments.
31
31
  */
32
32
  function run() {
33
33
  var _a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smbcloud/cli",
3
- "version": "0.3.39",
3
+ "version": "0.4.0",
4
4
  "keywords": [
5
5
  "smbcloud",
6
6
  "cli",
@@ -58,10 +58,10 @@
58
58
  "typescript": "^5.0.0"
59
59
  },
60
60
  "optionalDependencies": {
61
- "@smbcloud/cli-darwin-arm64": "0.3.39",
62
- "@smbcloud/cli-darwin-x64": "0.3.39",
63
- "@smbcloud/cli-linux-x64": "0.3.39",
64
- "@smbcloud/cli-windows-arm64": "0.3.39",
65
- "@smbcloud/cli-windows-x64": "0.3.39"
61
+ "@smbcloud/cli-darwin-arm64": "0.4.0",
62
+ "@smbcloud/cli-darwin-x64": "0.4.0",
63
+ "@smbcloud/cli-linux-x64": "0.4.0",
64
+ "@smbcloud/cli-windows-arm64": "0.4.0",
65
+ "@smbcloud/cli-windows-x64": "0.4.0"
66
66
  }
67
67
  }