@lasso-ai/cli 1.0.1 → 1.0.2

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
@@ -235,7 +235,7 @@ and refuses any non-`.lasso` host. The secure URL is
235
235
  ### 1. Install
236
236
 
237
237
  ```bash
238
- npm install --save-dev @lasso-ai/cli
238
+ npm i -g @lasso-ai/cli
239
239
  ```
240
240
 
241
241
  Or:
@@ -252,7 +252,7 @@ You can also install the CLI globally and use `lasso` directly from any
252
252
  project:
253
253
 
254
254
  ```bash
255
- npm install --global @lasso-ai/cli
255
+ npm i -g @lasso-ai/cli
256
256
  # or
257
257
  pnpm add --global @lasso-ai/cli
258
258
  # or
package/dist/cli/index.js CHANGED
@@ -19,7 +19,8 @@ const paths_1 = require("./host/paths");
19
19
  const install_1 = require("./host/install");
20
20
  const client_1 = require("./host/client");
21
21
  const registry_1 = require("./host/registry");
22
- const VERSION = "0.1.0";
22
+ const package_json_1 = __importDefault(require("../../package.json"));
23
+ const VERSION = package_json_1.default.version;
23
24
  const program = new commander_1.Command();
24
25
  program.name("lasso").description("Select UI in your running app, describe a change, AI edits the real source.").version(VERSION);
25
26
  function projectEnv() {
@@ -52,7 +52,7 @@ npm publish --access public --tag next
52
52
  3. Smoke-test install in a fresh app:
53
53
 
54
54
  ```bash
55
- npm install --save-dev @lasso-ai/cli@latest
55
+ npm i -g @lasso-ai/cli@latest
56
56
  npx @lasso-ai/cli --help
57
57
  ```
58
58
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lasso-ai/cli",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Select any part of your running app, describe a change, and let AI edit the real source code.",
5
5
  "type": "commonjs",
6
6
  "main": "dist/cli/index.js",