@yamada-ui/cli 0.7.0 → 0.7.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/bin/index.js
CHANGED
|
@@ -20,9 +20,9 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
20
20
|
};
|
|
21
21
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
22
22
|
|
|
23
|
-
// ../../node_modules/.pnpm/tsup@
|
|
23
|
+
// ../../node_modules/.pnpm/tsup@8.0.1_@swc+core@1.3.100_ts-node@10.9.1_typescript@5.3.2/node_modules/tsup/assets/cjs_shims.js
|
|
24
24
|
var init_cjs_shims = __esm({
|
|
25
|
-
"../../node_modules/.pnpm/tsup@
|
|
25
|
+
"../../node_modules/.pnpm/tsup@8.0.1_@swc+core@1.3.100_ts-node@10.9.1_typescript@5.3.2/node_modules/tsup/assets/cjs_shims.js"() {
|
|
26
26
|
"use strict";
|
|
27
27
|
}
|
|
28
28
|
});
|
|
@@ -225,7 +225,7 @@ var createThemeTypings = async (theme) => {
|
|
|
225
225
|
const { transitionProperty, transitionDuration, transitionEasing } = extractTransitions(theme);
|
|
226
226
|
const componentTypes = extractComponents(theme);
|
|
227
227
|
return prettier(
|
|
228
|
-
`import { UITheme } from './ui-theme.types'
|
|
228
|
+
`import type { UITheme } from './ui-theme.types'
|
|
229
229
|
|
|
230
230
|
export interface GeneratedTheme extends UITheme { ${print(
|
|
231
231
|
{
|
|
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.0.1_@swc+core@1.3.100_ts-node@10.9.1_typescript@5.3.2/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var init_cjs_shims = __esm({
|
|
38
|
-
"../../node_modules/.pnpm/tsup@
|
|
38
|
+
"../../node_modules/.pnpm/tsup@8.0.1_@swc+core@1.3.100_ts-node@10.9.1_typescript@5.3.2/node_modules/tsup/assets/cjs_shims.js"() {
|
|
39
39
|
"use strict";
|
|
40
40
|
}
|
|
41
41
|
});
|
|
@@ -4586,7 +4586,7 @@ var require_stream_readable = __commonJS({
|
|
|
4586
4586
|
});
|
|
4587
4587
|
for (var i in stream) {
|
|
4588
4588
|
if (this[i] === void 0 && typeof stream[i] === "function") {
|
|
4589
|
-
this[i] = function methodWrap(method) {
|
|
4589
|
+
this[i] = /* @__PURE__ */ function methodWrap(method) {
|
|
4590
4590
|
return function methodWrapReturnFunction() {
|
|
4591
4591
|
return stream[method].apply(stream, arguments);
|
|
4592
4592
|
};
|
|
@@ -6608,7 +6608,7 @@ var createThemeTypings = async (theme) => {
|
|
|
6608
6608
|
const { transitionProperty, transitionDuration, transitionEasing } = extractTransitions(theme);
|
|
6609
6609
|
const componentTypes = extractComponents(theme);
|
|
6610
6610
|
return prettier(
|
|
6611
|
-
`import { UITheme } from './ui-theme.types'
|
|
6611
|
+
`import type { UITheme } from './ui-theme.types'
|
|
6612
6612
|
|
|
6613
6613
|
export interface GeneratedTheme extends UITheme { ${print(
|
|
6614
6614
|
{
|
|
@@ -6631,7 +6631,7 @@ var generateThemeTypings = async ({
|
|
|
6631
6631
|
theme,
|
|
6632
6632
|
outFile
|
|
6633
6633
|
}) => {
|
|
6634
|
-
const spinner = ora("Generating Yamada
|
|
6634
|
+
const spinner = ora("Generating Yamada UI theme typings").start();
|
|
6635
6635
|
try {
|
|
6636
6636
|
const start = process.hrtime.bigint();
|
|
6637
6637
|
const generatedTheme = await createThemeTypings(theme);
|
package/dist/index.js
CHANGED
|
@@ -33,10 +33,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.0.1_@swc+core@1.3.100_ts-node@10.9.1_typescript@5.3.2/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var getImportMetaUrl, importMetaUrl;
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@
|
|
39
|
+
"../../node_modules/.pnpm/tsup@8.0.1_@swc+core@1.3.100_ts-node@10.9.1_typescript@5.3.2/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
"use strict";
|
|
41
41
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
42
42
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
@@ -4589,7 +4589,7 @@ var require_stream_readable = __commonJS({
|
|
|
4589
4589
|
});
|
|
4590
4590
|
for (var i in stream2) {
|
|
4591
4591
|
if (this[i] === void 0 && typeof stream2[i] === "function") {
|
|
4592
|
-
this[i] = function methodWrap(method) {
|
|
4592
|
+
this[i] = /* @__PURE__ */ function methodWrap(method) {
|
|
4593
4593
|
return function methodWrapReturnFunction() {
|
|
4594
4594
|
return stream2[method].apply(stream2, arguments);
|
|
4595
4595
|
};
|
|
@@ -5463,7 +5463,7 @@ var require_polyfills = __commonJS({
|
|
|
5463
5463
|
Object.setPrototypeOf(read, fs$read);
|
|
5464
5464
|
return read;
|
|
5465
5465
|
}(fs4.read);
|
|
5466
|
-
fs4.readSync = typeof fs4.readSync !== "function" ? fs4.readSync : function(fs$readSync) {
|
|
5466
|
+
fs4.readSync = typeof fs4.readSync !== "function" ? fs4.readSync : /* @__PURE__ */ function(fs$readSync) {
|
|
5467
5467
|
return function(fd, buffer, offset, length, position) {
|
|
5468
5468
|
var eagCounter = 0;
|
|
5469
5469
|
while (true) {
|
|
@@ -14755,7 +14755,7 @@ var require_polyfills2 = __commonJS({
|
|
|
14755
14755
|
Object.setPrototypeOf(read, fs$read);
|
|
14756
14756
|
return read;
|
|
14757
14757
|
}(fs4.read);
|
|
14758
|
-
fs4.readSync = typeof fs4.readSync !== "function" ? fs4.readSync : function(fs$readSync) {
|
|
14758
|
+
fs4.readSync = typeof fs4.readSync !== "function" ? fs4.readSync : /* @__PURE__ */ function(fs$readSync) {
|
|
14759
14759
|
return function(fd, buffer, offset, length, position) {
|
|
14760
14760
|
var eagCounter = 0;
|
|
14761
14761
|
while (true) {
|
|
@@ -18735,7 +18735,7 @@ var import_cli_welcome = __toESM(require("cli-welcome"));
|
|
|
18735
18735
|
// package.json
|
|
18736
18736
|
var package_default = {
|
|
18737
18737
|
name: "@yamada-ui/cli",
|
|
18738
|
-
version: "0.7.
|
|
18738
|
+
version: "0.7.2",
|
|
18739
18739
|
description: "Generate theme tokens for autocomplete",
|
|
18740
18740
|
keywords: [
|
|
18741
18741
|
"theme",
|
|
@@ -18787,7 +18787,7 @@ var package_default = {
|
|
|
18787
18787
|
devDependencies: {
|
|
18788
18788
|
ora: "^7.0.1",
|
|
18789
18789
|
"update-notifier": "^6.0.2",
|
|
18790
|
-
"@types/update-notifier": "6.0.
|
|
18790
|
+
"@types/update-notifier": "6.0.8",
|
|
18791
18791
|
"@types/cli-welcome": "^2.2.0",
|
|
18792
18792
|
"@types/prettier": "^3.0.0"
|
|
18793
18793
|
}
|
|
@@ -26059,7 +26059,7 @@ var createThemeTypings = async (theme) => {
|
|
|
26059
26059
|
const { transitionProperty, transitionDuration, transitionEasing } = extractTransitions(theme);
|
|
26060
26060
|
const componentTypes = extractComponents(theme);
|
|
26061
26061
|
return prettier(
|
|
26062
|
-
`import { UITheme } from './ui-theme.types'
|
|
26062
|
+
`import type { UITheme } from './ui-theme.types'
|
|
26063
26063
|
|
|
26064
26064
|
export interface GeneratedTheme extends UITheme { ${print(
|
|
26065
26065
|
{
|
|
@@ -26082,7 +26082,7 @@ var generateThemeTypings = async ({
|
|
|
26082
26082
|
theme,
|
|
26083
26083
|
outFile
|
|
26084
26084
|
}) => {
|
|
26085
|
-
const spinner = ora("Generating Yamada
|
|
26085
|
+
const spinner = ora("Generating Yamada UI theme typings").start();
|
|
26086
26086
|
try {
|
|
26087
26087
|
const start = process.hrtime.bigint();
|
|
26088
26088
|
const generatedTheme = await createThemeTypings(theme);
|
package/dist/utils/cli.js
CHANGED
|
@@ -33,10 +33,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.0.1_@swc+core@1.3.100_ts-node@10.9.1_typescript@5.3.2/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var getImportMetaUrl, importMetaUrl;
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@
|
|
39
|
+
"../../node_modules/.pnpm/tsup@8.0.1_@swc+core@1.3.100_ts-node@10.9.1_typescript@5.3.2/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
"use strict";
|
|
41
41
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
42
42
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
@@ -160,7 +160,7 @@ var require_polyfills = __commonJS({
|
|
|
160
160
|
Object.setPrototypeOf(read, fs$read);
|
|
161
161
|
return read;
|
|
162
162
|
}(fs3.read);
|
|
163
|
-
fs3.readSync = typeof fs3.readSync !== "function" ? fs3.readSync : function(fs$readSync) {
|
|
163
|
+
fs3.readSync = typeof fs3.readSync !== "function" ? fs3.readSync : /* @__PURE__ */ function(fs$readSync) {
|
|
164
164
|
return function(fd, buffer, offset, length, position) {
|
|
165
165
|
var eagCounter = 0;
|
|
166
166
|
while (true) {
|
|
@@ -9652,7 +9652,7 @@ var require_polyfills2 = __commonJS({
|
|
|
9652
9652
|
Object.setPrototypeOf(read, fs$read);
|
|
9653
9653
|
return read;
|
|
9654
9654
|
}(fs3.read);
|
|
9655
|
-
fs3.readSync = typeof fs3.readSync !== "function" ? fs3.readSync : function(fs$readSync) {
|
|
9655
|
+
fs3.readSync = typeof fs3.readSync !== "function" ? fs3.readSync : /* @__PURE__ */ function(fs$readSync) {
|
|
9656
9656
|
return function(fd, buffer, offset, length, position) {
|
|
9657
9657
|
var eagCounter = 0;
|
|
9658
9658
|
while (true) {
|
|
@@ -12631,7 +12631,7 @@ var import_cli_welcome = __toESM(require("cli-welcome"));
|
|
|
12631
12631
|
// package.json
|
|
12632
12632
|
var package_default = {
|
|
12633
12633
|
name: "@yamada-ui/cli",
|
|
12634
|
-
version: "0.7.
|
|
12634
|
+
version: "0.7.2",
|
|
12635
12635
|
description: "Generate theme tokens for autocomplete",
|
|
12636
12636
|
keywords: [
|
|
12637
12637
|
"theme",
|
|
@@ -12683,7 +12683,7 @@ var package_default = {
|
|
|
12683
12683
|
devDependencies: {
|
|
12684
12684
|
ora: "^7.0.1",
|
|
12685
12685
|
"update-notifier": "^6.0.2",
|
|
12686
|
-
"@types/update-notifier": "6.0.
|
|
12686
|
+
"@types/update-notifier": "6.0.8",
|
|
12687
12687
|
"@types/cli-welcome": "^2.2.0",
|
|
12688
12688
|
"@types/prettier": "^3.0.0"
|
|
12689
12689
|
}
|
package/dist/utils/index.js
CHANGED
|
@@ -33,10 +33,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.0.1_@swc+core@1.3.100_ts-node@10.9.1_typescript@5.3.2/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var getImportMetaUrl, importMetaUrl;
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@
|
|
39
|
+
"../../node_modules/.pnpm/tsup@8.0.1_@swc+core@1.3.100_ts-node@10.9.1_typescript@5.3.2/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
"use strict";
|
|
41
41
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
42
42
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
@@ -160,7 +160,7 @@ var require_polyfills = __commonJS({
|
|
|
160
160
|
Object.setPrototypeOf(read, fs$read);
|
|
161
161
|
return read;
|
|
162
162
|
}(fs3.read);
|
|
163
|
-
fs3.readSync = typeof fs3.readSync !== "function" ? fs3.readSync : function(fs$readSync) {
|
|
163
|
+
fs3.readSync = typeof fs3.readSync !== "function" ? fs3.readSync : /* @__PURE__ */ function(fs$readSync) {
|
|
164
164
|
return function(fd, buffer, offset, length, position) {
|
|
165
165
|
var eagCounter = 0;
|
|
166
166
|
while (true) {
|
|
@@ -9652,7 +9652,7 @@ var require_polyfills2 = __commonJS({
|
|
|
9652
9652
|
Object.setPrototypeOf(read, fs$read);
|
|
9653
9653
|
return read;
|
|
9654
9654
|
}(fs3.read);
|
|
9655
|
-
fs3.readSync = typeof fs3.readSync !== "function" ? fs3.readSync : function(fs$readSync) {
|
|
9655
|
+
fs3.readSync = typeof fs3.readSync !== "function" ? fs3.readSync : /* @__PURE__ */ function(fs$readSync) {
|
|
9656
9656
|
return function(fd, buffer, offset, length, position) {
|
|
9657
9657
|
var eagCounter = 0;
|
|
9658
9658
|
while (true) {
|
|
@@ -12657,7 +12657,7 @@ var import_cli_welcome = __toESM(require("cli-welcome"));
|
|
|
12657
12657
|
// package.json
|
|
12658
12658
|
var package_default = {
|
|
12659
12659
|
name: "@yamada-ui/cli",
|
|
12660
|
-
version: "0.7.
|
|
12660
|
+
version: "0.7.2",
|
|
12661
12661
|
description: "Generate theme tokens for autocomplete",
|
|
12662
12662
|
keywords: [
|
|
12663
12663
|
"theme",
|
|
@@ -12709,7 +12709,7 @@ var package_default = {
|
|
|
12709
12709
|
devDependencies: {
|
|
12710
12710
|
ora: "^7.0.1",
|
|
12711
12711
|
"update-notifier": "^6.0.2",
|
|
12712
|
-
"@types/update-notifier": "6.0.
|
|
12712
|
+
"@types/update-notifier": "6.0.8",
|
|
12713
12713
|
"@types/cli-welcome": "^2.2.0",
|
|
12714
12714
|
"@types/prettier": "^3.0.0"
|
|
12715
12715
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "Generate theme tokens for autocomplete",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"theme",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"ora": "^7.0.1",
|
|
48
48
|
"update-notifier": "^6.0.2",
|
|
49
|
-
"@types/update-notifier": "6.0.
|
|
49
|
+
"@types/update-notifier": "6.0.8",
|
|
50
50
|
"@types/cli-welcome": "^2.2.0",
|
|
51
51
|
"@types/prettier": "^3.0.0"
|
|
52
52
|
},
|