@yamada-ui/cli 0.1.1 → 0.1.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 +42 -0
- package/dist/index.js +5 -4
- package/dist/utils/cli.js +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# @yamada-ui/cli
|
|
2
|
+
|
|
3
|
+
Generate TypeScript types to provide autocomplete for your custom theme.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
$ pnpm add @yamada-ui/cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
or
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
$ yarn add @yamada-ui/cli
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
or
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
$ npm install @yamada-ui/cli
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
pnpm yamada-cli token <path/to/your/theme.(js|ts)>
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Options
|
|
30
|
+
|
|
31
|
+
- `--out <path>` output file to node_modules/@yamada-ui/core/dist/generated-theme.types.d.ts
|
|
32
|
+
- `--watch [path]` Watch directory for changes and rebuild
|
|
33
|
+
- `--help` display help for command
|
|
34
|
+
|
|
35
|
+
## Contribution
|
|
36
|
+
|
|
37
|
+
Wouldn't you like to contribute? That's amazing! We have prepared a [contribution guide](https://github.com/hirotomoyamada/yamada-ui/blob/main/CONTRIBUTING.md) to assist you.
|
|
38
|
+
|
|
39
|
+
## Licence
|
|
40
|
+
|
|
41
|
+
This package is licensed under the terms of the
|
|
42
|
+
[MIT license](https://github.com/hirotomoyamada/yamada-ui/blob/main/LICENSE).
|
package/dist/index.js
CHANGED
|
@@ -17103,7 +17103,7 @@ var import_cli_welcome = __toESM(require("cli-welcome"));
|
|
|
17103
17103
|
// package.json
|
|
17104
17104
|
var package_default = {
|
|
17105
17105
|
name: "@yamada-ui/cli",
|
|
17106
|
-
version: "0.1.
|
|
17106
|
+
version: "0.1.1",
|
|
17107
17107
|
description: "Generate theme tokens for autocomplete",
|
|
17108
17108
|
keywords: [
|
|
17109
17109
|
"theme",
|
|
@@ -23964,9 +23964,10 @@ var run = async () => {
|
|
|
23964
23964
|
}
|
|
23965
23965
|
});
|
|
23966
23966
|
import_commander.program.on("--help", () => {
|
|
23967
|
-
console.info(`
|
|
23968
|
-
|
|
23969
|
-
$ yamada-cli tokens theme.ts
|
|
23967
|
+
console.info(`
|
|
23968
|
+
Example call:
|
|
23969
|
+
$ yamada-cli tokens theme.ts
|
|
23970
|
+
`);
|
|
23970
23971
|
});
|
|
23971
23972
|
import_commander.program.parse();
|
|
23972
23973
|
};
|
package/dist/utils/cli.js
CHANGED
|
@@ -10699,7 +10699,7 @@ var import_cli_welcome = __toESM(require("cli-welcome"));
|
|
|
10699
10699
|
// package.json
|
|
10700
10700
|
var package_default = {
|
|
10701
10701
|
name: "@yamada-ui/cli",
|
|
10702
|
-
version: "0.1.
|
|
10702
|
+
version: "0.1.1",
|
|
10703
10703
|
description: "Generate theme tokens for autocomplete",
|
|
10704
10704
|
keywords: [
|
|
10705
10705
|
"theme",
|
package/dist/utils/index.js
CHANGED
|
@@ -10726,7 +10726,7 @@ var import_cli_welcome = __toESM(require("cli-welcome"));
|
|
|
10726
10726
|
// package.json
|
|
10727
10727
|
var package_default = {
|
|
10728
10728
|
name: "@yamada-ui/cli",
|
|
10729
|
-
version: "0.1.
|
|
10729
|
+
version: "0.1.1",
|
|
10730
10730
|
description: "Generate theme tokens for autocomplete",
|
|
10731
10731
|
keywords: [
|
|
10732
10732
|
"theme",
|