lattice-ui 0.4.3 → 0.4.4
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 +9 -9
- package/dist/cli.js +7 -7
- package/dist/commands/create.js +1 -1
- package/dist/commands/doctor.js +1 -1
- package/dist/commands/init.js +1 -1
- package/package.json +1 -1
- package/templates/init/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# lattice-ui
|
|
2
2
|
|
|
3
3
|
Node CLI for Lattice UI projects.
|
|
4
4
|
|
|
5
5
|
## Install (Optional Global)
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm i -g
|
|
8
|
+
npm i -g lattice-ui
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
@@ -33,13 +33,13 @@ lattice <command> [options]
|
|
|
33
33
|
### Examples
|
|
34
34
|
|
|
35
35
|
```bash
|
|
36
|
-
npx
|
|
37
|
-
npx
|
|
38
|
-
npx
|
|
39
|
-
npx
|
|
40
|
-
npx
|
|
41
|
-
npx
|
|
42
|
-
npx
|
|
36
|
+
npx lattice-ui create
|
|
37
|
+
npx lattice-ui create my-game --pm npm --git --no-lint
|
|
38
|
+
npx lattice-ui init --dry-run
|
|
39
|
+
npx lattice-ui add dialog,toast --preset overlay
|
|
40
|
+
npx lattice-ui remove dialog --dry-run
|
|
41
|
+
npx lattice-ui upgrade --dry-run
|
|
42
|
+
npx lattice-ui doctor
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
When `--pm` is omitted, the CLI resolves a package manager automatically from the project lockfile or installed managers. Use `--pm` to override that choice explicitly.
|
package/dist/cli.js
CHANGED
|
@@ -79,13 +79,13 @@ Global options:
|
|
|
79
79
|
--version
|
|
80
80
|
|
|
81
81
|
Examples:
|
|
82
|
-
npx
|
|
83
|
-
npx
|
|
84
|
-
npx
|
|
85
|
-
npx
|
|
86
|
-
npx
|
|
87
|
-
npx
|
|
88
|
-
npx
|
|
82
|
+
npx lattice-ui create
|
|
83
|
+
npx lattice-ui create my-game --pm npm --git --no-lint
|
|
84
|
+
npx lattice-ui init --dry-run
|
|
85
|
+
npx lattice-ui add dialog,toast --preset overlay
|
|
86
|
+
npx lattice-ui remove dialog --dry-run
|
|
87
|
+
npx lattice-ui upgrade --dry-run
|
|
88
|
+
npx lattice-ui doctor
|
|
89
89
|
`;
|
|
90
90
|
function splitList(value) {
|
|
91
91
|
return value
|
package/dist/commands/create.js
CHANGED
|
@@ -47,7 +47,7 @@ const prompt_1 = require("../core/prompt");
|
|
|
47
47
|
const SUPPORTED_TEMPLATE = "rbxts";
|
|
48
48
|
const CORE_VERSION_PACKAGES = {
|
|
49
49
|
latticeStyle: "@lattice-ui/style",
|
|
50
|
-
latticeCli: "
|
|
50
|
+
latticeCli: "lattice-ui",
|
|
51
51
|
rbxtsReact: "@rbxts/react",
|
|
52
52
|
rbxtsReactRoblox: "@rbxts/react-roblox",
|
|
53
53
|
rbxtsCompilerTypes: "@rbxts/compiler-types",
|
package/dist/commands/doctor.js
CHANGED
|
@@ -6,7 +6,7 @@ const patch_1 = require("../core/fs/patch");
|
|
|
6
6
|
const output_1 = require("../core/output");
|
|
7
7
|
const readPackageJson_1 = require("../core/project/readPackageJson");
|
|
8
8
|
const schema_1 = require("../core/registry/schema");
|
|
9
|
-
const LATTICE_TOOLING_PACKAGES = new Set(["
|
|
9
|
+
const LATTICE_TOOLING_PACKAGES = new Set(["lattice-ui"]);
|
|
10
10
|
function collectRecommendations(issues, pmName) {
|
|
11
11
|
const recommendationSet = new Set();
|
|
12
12
|
const localLattice = (0, output_1.resolveLocalLatticeCommand)(pmName);
|
package/dist/commands/init.js
CHANGED
|
@@ -68,7 +68,7 @@ const PNPM_NPMRC_PATH = ".npmrc";
|
|
|
68
68
|
const PNPM_NODE_LINKER_LINE = "node-linker=hoisted";
|
|
69
69
|
const CORE_VERSION_PACKAGES = {
|
|
70
70
|
latticeStyle: "@lattice-ui/style",
|
|
71
|
-
latticeCli: "
|
|
71
|
+
latticeCli: "lattice-ui",
|
|
72
72
|
rbxtsReact: "@rbxts/react",
|
|
73
73
|
rbxtsReactRoblox: "@rbxts/react-roblox",
|
|
74
74
|
rbxtsCompilerTypes: "@rbxts/compiler-types",
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@rbxts/react-roblox": "__RBXTS_REACT_ROBLOX_VERSION__"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"
|
|
16
|
+
"lattice-ui": "__LATTICE_CLI_VERSION__",
|
|
17
17
|
"@rbxts/compiler-types": "__RBXTS_COMPILER_TYPES_VERSION__",
|
|
18
18
|
"@rbxts/types": "__RBXTS_TYPES_VERSION__",
|
|
19
19
|
"roblox-ts": "__ROBLOX_TS_VERSION__",
|