@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 +2 -2
- package/dist/cli/index.js +2 -1
- package/docs/PUBLISHING.md +1 -1
- package/package.json +1 -1
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
|
|
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
|
|
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
|
|
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() {
|
package/docs/PUBLISHING.md
CHANGED
package/package.json
CHANGED