@yamada-ui/cli 0.0.0-dev-20230608024220

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.
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/utils/prettier.ts
21
+ var prettier_exports = {};
22
+ __export(prettier_exports, {
23
+ prettier: () => prettier
24
+ });
25
+ module.exports = __toCommonJS(prettier_exports);
26
+ var import_prettier = require("prettier");
27
+ var prettier = async (content) => {
28
+ const prettierConfig = await (0, import_prettier.resolveConfig)(process.cwd());
29
+ try {
30
+ return (0, import_prettier.format)(content, {
31
+ ...prettierConfig,
32
+ parser: "typescript"
33
+ });
34
+ } catch {
35
+ return content;
36
+ }
37
+ };
38
+ // Annotate the CommonJS export names for ESM import in node:
39
+ 0 && (module.exports = {
40
+ prettier
41
+ });
package/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "@yamada-ui/cli",
3
+ "version": "0.0.0-dev-20230608024220",
4
+ "description": "Generate theme tokens for autocomplete",
5
+ "keywords": [
6
+ "theme",
7
+ "theming",
8
+ "typings",
9
+ "generator",
10
+ "yamada ui",
11
+ "yamada",
12
+ "ui mode",
13
+ "ui"
14
+ ],
15
+ "author": "Hirotomo Yamada <hirotomo.yamada@avap.co.jp>",
16
+ "license": "MIT",
17
+ "main": "dist/index.js",
18
+ "files": [
19
+ "dist",
20
+ "bin"
21
+ ],
22
+ "sideEffects": false,
23
+ "publishConfig": {
24
+ "access": "public"
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/hirotomoyamada/yamada-ui",
29
+ "directory": "packages/cli"
30
+ },
31
+ "bugs": {
32
+ "url": "https://github.com/hirotomoyamada/yamada-ui/issues"
33
+ },
34
+ "bin": {
35
+ "yamada-cli": "bin/index.js"
36
+ },
37
+ "dependencies": {
38
+ "bundle-n-require": "^1.0.1",
39
+ "chokidar": "^3.5.3",
40
+ "cli-check-node": "^1.3.4",
41
+ "cli-handle-unhandled": "^1.1.1",
42
+ "cli-welcome": "^2.2.2",
43
+ "commander": "^10.0.1",
44
+ "prettier": "^2.8.8"
45
+ },
46
+ "devDependencies": {
47
+ "ora": "^6.3.1",
48
+ "update-notifier": "^6.0.2",
49
+ "@types/update-notifier": "6.0.4",
50
+ "@types/cli-welcome": "^2.2.0",
51
+ "@types/prettier": "^2.7.2"
52
+ },
53
+ "scripts": {
54
+ "clean": "rimraf dist .turbo",
55
+ "build": "tsup src --format cjs --clean --shims",
56
+ "dev": "pnpm build --watch",
57
+ "typecheck": " tsc --noEmit"
58
+ }
59
+ }