@duongthiu/onex-core 0.1.0

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,113 @@
1
+ {
2
+ "name": "@duongthiu/onex-core",
3
+ "version": "0.1.0",
4
+ "description": "OneX Core - Theme rendering system and registry for building multi-tenant websites with visual editing",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js"
13
+ },
14
+ "./client": {
15
+ "types": "./dist/client.d.ts",
16
+ "import": "./dist/client.mjs",
17
+ "require": "./dist/client.js"
18
+ },
19
+ "./server": {
20
+ "types": "./dist/server.d.ts",
21
+ "import": "./dist/server.mjs",
22
+ "require": "./dist/server.js"
23
+ },
24
+ "./package.json": "./package.json"
25
+ },
26
+ "files": [
27
+ "dist",
28
+ "README.md",
29
+ "THEME_API.md"
30
+ ],
31
+ "scripts": {
32
+ "dev": "tsup --watch",
33
+ "build": "tsup",
34
+ "type-check": "tsc --noEmit",
35
+ "lint": "eslint src --ext .ts,.tsx",
36
+ "test": "vitest run",
37
+ "test:watch": "vitest",
38
+ "prepublishOnly": "pnpm run type-check && pnpm run lint && pnpm run build"
39
+ },
40
+ "keywords": [
41
+ "onex",
42
+ "theme",
43
+ "cms",
44
+ "headless-cms",
45
+ "react",
46
+ "nextjs",
47
+ "visual-editor",
48
+ "page-builder",
49
+ "multi-tenant",
50
+ "saas",
51
+ "theme-system",
52
+ "component-library"
53
+ ],
54
+ "author": {
55
+ "name": "OneX Team",
56
+ "email": "contact@onex.dev"
57
+ },
58
+ "repository": {
59
+ "type": "git",
60
+ "url": "https://github.com/onexapis/onex-website.git",
61
+ "directory": "packages/core"
62
+ },
63
+ "homepage": "https://github.com/onexapis/onex-website/tree/main/packages/core#readme",
64
+ "bugs": {
65
+ "url": "https://github.com/onexapis/onex-website/issues"
66
+ },
67
+ "license": "MIT",
68
+ "publishConfig": {
69
+ "access": "public",
70
+ "registry": "https://registry.npmjs.org/"
71
+ },
72
+ "engines": {
73
+ "node": ">=18.0.0",
74
+ "pnpm": ">=8.0.0"
75
+ },
76
+ "sideEffects": false,
77
+ "peerDependencies": {
78
+ "react": "^19.2.1",
79
+ "react-dom": "^19.2.1",
80
+ "next": ">=14.0.0",
81
+ "lucide-react": ">=0.5.0"
82
+ },
83
+ "peerDependenciesMeta": {
84
+ "next": {
85
+ "optional": true
86
+ },
87
+ "lucide-react": {
88
+ "optional": true
89
+ }
90
+ },
91
+ "dependencies": {
92
+ "clsx": "^2.1.1",
93
+ "tailwind-merge": "^3.4.0",
94
+ "zod": "^4.1.13",
95
+ "class-variance-authority": "^0.7.1",
96
+ "@radix-ui/react-accordion": "^1.2.12",
97
+ "@radix-ui/react-checkbox": "^1.3.3",
98
+ "@radix-ui/react-label": "^2.1.8",
99
+ "@radix-ui/react-progress": "^1.1.8",
100
+ "@radix-ui/react-select": "^2.2.6",
101
+ "@radix-ui/react-separator": "^1.1.8",
102
+ "@radix-ui/react-tabs": "^1.1.13",
103
+ "@radix-ui/react-slot": "^1.2.4"
104
+ },
105
+ "devDependencies": {
106
+ "@types/react": "^19",
107
+ "@types/react-dom": "^19",
108
+ "eslint": "^9",
109
+ "tsup": "^8.0.0",
110
+ "typescript": "^5",
111
+ "vitest": "^4.0.16"
112
+ }
113
+ }