@arkitect-ui/cli 0.2.1 → 0.2.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/dist/package.json +5 -2
- package/dist/src/commands/add.js +2 -2
- package/package.json +2 -2
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkitect-ui/cli",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "CLI tool for
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "CLI tool managing components for Arkitect-UI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"arkitect-ui": "./dist/src/main.js"
|
|
@@ -42,6 +42,9 @@
|
|
|
42
42
|
"url": "https://github.com/devx-op/arkitect-ui.git",
|
|
43
43
|
"directory": "apps/cli"
|
|
44
44
|
},
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"access": "public"
|
|
47
|
+
},
|
|
45
48
|
"types": "./src/main.d.ts",
|
|
46
49
|
"module": "./src/main.js",
|
|
47
50
|
"main": "./src/main.js"
|
package/dist/src/commands/add.js
CHANGED
|
@@ -13,8 +13,8 @@ import * as HttpClientResponse from "@effect/platform/HttpClientResponse";
|
|
|
13
13
|
import { ComponentsConfig } from "../schemas/components-config.js";
|
|
14
14
|
const REGISTRY_BASE_URL = "https://devx-op.github.io/arkitect-ui/r";
|
|
15
15
|
// Arguments and options for add command
|
|
16
|
-
const componentNameArg = Args.text({ name: "component-name" }).pipe(Args.withDescription("Name of the
|
|
17
|
-
const allOption = Options.boolean("all").pipe(Options.withAlias("a"), Options.withDescription("Install all available
|
|
16
|
+
const componentNameArg = Args.text({ name: "component-name" }).pipe(Args.withDescription("Name of the Component to add"), Args.optional);
|
|
17
|
+
const allOption = Options.boolean("all").pipe(Options.withAlias("a"), Options.withDescription("Install all available Components"), Options.withDefault(false));
|
|
18
18
|
const overwriteOption = Options.boolean("overwrite").pipe(Options.withAlias("o"), Options.withDescription("Overwrite existing files"), Options.withDefault(false));
|
|
19
19
|
const cwdOption = Options.text("cwd").pipe(Options.withDescription("Current working directory"), Options.withDefault(process.cwd()));
|
|
20
20
|
const dryRunOption = Options.boolean("dry-run").pipe(Options.withDescription("Simulate installation without running commands"), Options.withDefault(false));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkitect-ui/cli",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "CLI tool for
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "CLI tool managing components for Arkitect-UI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"arkitect-ui": "./dist/src/main.js"
|