@ohos-ports/shadcn 4.21.0-beta.1

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/package.json ADDED
@@ -0,0 +1,149 @@
1
+ {
2
+ "name": "@ohos-ports/shadcn",
3
+ "version": "4.21.0-beta.1",
4
+ "description": "Add components to your apps. (HarmonyOS openharmony port)",
5
+ "homepage": "https://ui.shadcn.com",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "license": "MIT",
10
+ "ohos": {
11
+ "platform": "openharmony",
12
+ "portOf": "shadcn@4.21.0"
13
+ },
14
+ "author": {
15
+ "name": "shadcn",
16
+ "url": "https://twitter.com/shadcn"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/ohos-ports/ohos-ports.git",
21
+ "directory": "ports/shadcn/4.21.0"
22
+ },
23
+ "bugs": {
24
+ "url": "https://github.com/ohos-ports/ohos-ports/issues"
25
+ },
26
+ "files": [
27
+ "dist"
28
+ ],
29
+ "keywords": [
30
+ "components",
31
+ "ui",
32
+ "tailwind",
33
+ "radix-ui",
34
+ "base-ui",
35
+ "shadcn"
36
+ ],
37
+ "type": "module",
38
+ "exports": {
39
+ ".": {
40
+ "types": "./dist/index.d.ts",
41
+ "default": "./dist/index.js"
42
+ },
43
+ "./registry": {
44
+ "types": "./dist/registry/index.d.ts",
45
+ "default": "./dist/registry/index.js"
46
+ },
47
+ "./schema": {
48
+ "types": "./dist/schema/index.d.ts",
49
+ "default": "./dist/schema/index.js"
50
+ },
51
+ "./mcp": {
52
+ "types": "./dist/mcp/index.d.ts",
53
+ "default": "./dist/mcp/index.js"
54
+ },
55
+ "./utils": {
56
+ "types": "./dist/utils/index.d.ts",
57
+ "default": "./dist/utils/index.js"
58
+ },
59
+ "./icons": {
60
+ "types": "./dist/icons/index.d.ts",
61
+ "default": "./dist/icons/index.js"
62
+ },
63
+ "./preset": {
64
+ "types": "./dist/preset/index.d.ts",
65
+ "default": "./dist/preset/index.js"
66
+ },
67
+ "./tailwind.css": "./dist/tailwind.css"
68
+ },
69
+ "sideEffects": [
70
+ "./dist/tailwind.css"
71
+ ],
72
+ "bin": "./dist/index.js",
73
+ "engines": {
74
+ "node": ">=20.18.1"
75
+ },
76
+ "dependencies": {
77
+ "@babel/core": "^7.28.0",
78
+ "@babel/parser": "^7.28.0",
79
+ "@babel/plugin-transform-typescript": "^7.28.0",
80
+ "@babel/preset-typescript": "^7.27.1",
81
+ "@dotenvx/dotenvx": "^1.48.4",
82
+ "@modelcontextprotocol/sdk": "^1.26.0",
83
+ "@types/validate-npm-package-name": "^4.0.2",
84
+ "browserslist": "^4.26.2",
85
+ "cn": "^0.2.4",
86
+ "commander": "^14.0.0",
87
+ "cosmiconfig": "^9.0.0",
88
+ "dedent": "^1.6.0",
89
+ "deepmerge": "^4.3.1",
90
+ "diff": "^8.0.2",
91
+ "execa": "^9.6.0",
92
+ "fast-glob": "^3.3.3",
93
+ "fs-extra": "^11.3.1",
94
+ "fuzzysort": "^3.1.0",
95
+ "kleur": "^4.1.5",
96
+ "open": "^11.0.0",
97
+ "ora": "^8.2.0",
98
+ "postcss": "^8.5.6",
99
+ "postcss-selector-parser": "^7.1.0",
100
+ "prompts": "^2.4.2",
101
+ "recast": "^0.23.11",
102
+ "socks": "^2.8.8",
103
+ "stringify-object": "^5.0.0",
104
+ "ts-morph": "^26.0.0",
105
+ "tsconfig-paths": "^4.2.0",
106
+ "undici": "^7.27.2",
107
+ "validate-npm-package-name": "^7.0.1",
108
+ "zod": "^3.24.1",
109
+ "zod-to-json-schema": "^3.24.6"
110
+ },
111
+ "devDependencies": {
112
+ "@antfu/ni": "^25.0.0",
113
+ "@types/babel__core": "^7.20.5",
114
+ "@types/fs-extra": "^11.0.4",
115
+ "@types/prompts": "^2.4.9",
116
+ "@types/stringify-object": "^4.0.5",
117
+ "msw": "^2.10.4",
118
+ "rimraf": "^6.0.1",
119
+ "tsup": "^8.5.0",
120
+ "type-fest": "^4.41.0",
121
+ "typescript": "^5.9.2"
122
+ },
123
+ "overrides": {
124
+ "default-browser": "npm:@ohos-ports/default-browser@^5.5.0-beta.1",
125
+ "esbuild": "npm:@ohos-ports/esbuild@^0.28.1-beta.1",
126
+ "powershell-utils": "npm:@ohos-ports/powershell-utils@^0.1.0-beta.0",
127
+ "rollup": "npm:@ohos-ports/rollup@^4.62.2-beta.2",
128
+ "systeminformation": "npm:@ohos-ports/systeminformation@^5.33.1-beta.0"
129
+ },
130
+ "scripts": {
131
+ "dev": "tsup --watch",
132
+ "build": "tsup",
133
+ "typecheck": "tsc --noEmit",
134
+ "clean": "rimraf dist && rimraf components",
135
+ "start:dev": "cross-env REGISTRY_URL=http://localhost:4000/r SHADCN_TEMPLATE_DIR=../../templates node dist/index.js",
136
+ "start:prod": "cross-env REGISTRY_URL=https://ui.shadcn.com/r node dist/index.js",
137
+ "start": "node dist/index.js",
138
+ "format:write": "prettier --write \"**/*.{ts,tsx,mdx}\" --cache",
139
+ "format:check": "prettier --check \"**/*.{ts,tsx,mdx}\" --cache",
140
+ "release": "changeset version",
141
+ "pub:beta": "pnpm build && pnpm publish --no-git-checks --access public --tag beta",
142
+ "pub:rc": "pnpm build && pnpm publish --no-git-checks --access public --tag rc",
143
+ "pub:next": "pnpm build && pnpm publish --no-git-checks --access public --tag next",
144
+ "pub:release": "pnpm build && pnpm publish --access public",
145
+ "test": "vitest run",
146
+ "test:dev": "REGISTRY_URL=http://localhost:4000/r SHADCN_TEMPLATE_DIR=../../templates vitest run",
147
+ "mcp:inspect": "pnpm dlx @modelcontextprotocol/inspector node dist/index.js mcp"
148
+ }
149
+ }