@realtek/core-theme-live 0.0.338
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 +80 -0
- package/dist-lib/Breadcrumb-D7A6-RQd.cjs +5 -0
- package/dist-lib/Breadcrumb-D7A6-RQd.cjs.map +1 -0
- package/dist-lib/Breadcrumb-EQ3Ya722.js +5860 -0
- package/dist-lib/Breadcrumb-EQ3Ya722.js.map +1 -0
- package/dist-lib/addFormApi-C9zleP9Q.js +53 -0
- package/dist-lib/addFormApi-C9zleP9Q.js.map +1 -0
- package/dist-lib/addFormApi-eNPJsvaP.cjs +2 -0
- package/dist-lib/addFormApi-eNPJsvaP.cjs.map +1 -0
- package/dist-lib/authApi-B9rZ54kh.js +338 -0
- package/dist-lib/authApi-B9rZ54kh.js.map +1 -0
- package/dist-lib/authApi-Df2m5aPG.cjs +2 -0
- package/dist-lib/authApi-Df2m5aPG.cjs.map +1 -0
- package/dist-lib/diceCandidateMapper-BjMhHno3.cjs +2 -0
- package/dist-lib/diceCandidateMapper-BjMhHno3.cjs.map +1 -0
- package/dist-lib/diceCandidateMapper-DqBO4EhL.js +201 -0
- package/dist-lib/diceCandidateMapper-DqBO4EhL.js.map +1 -0
- package/dist-lib/formGroupsCache-Bbz-28ws.cjs +2 -0
- package/dist-lib/formGroupsCache-Bbz-28ws.cjs.map +1 -0
- package/dist-lib/formGroupsCache-JeC59oNe.js +24 -0
- package/dist-lib/formGroupsCache-JeC59oNe.js.map +1 -0
- package/dist-lib/index.cjs +13 -0
- package/dist-lib/index.cjs.map +1 -0
- package/dist-lib/index.js +57365 -0
- package/dist-lib/index.js.map +1 -0
- package/dist-lib/rolldown-runtime-Chgba0Kb.cjs +1 -0
- package/dist-lib/rolldown-runtime-Dy4uBu1J.js +11 -0
- package/dist-lib/style.css +2 -0
- package/package.json +127 -0
- package/scripts/init-admin-mongodb.js +898 -0
package/package.json
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@realtek/core-theme-live",
|
|
3
|
+
"version": "0.0.338",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "RealTek CORE-THEME — shared React component & admin-screen library (AddFormV1, EditFormV1, ListView, DetailViewV1, ...).",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/Zinnext/core-theme-live.git"
|
|
10
|
+
},
|
|
11
|
+
"main": "./dist-lib/index.cjs",
|
|
12
|
+
"module": "./dist-lib/index.js",
|
|
13
|
+
"bin": {
|
|
14
|
+
"core-theme-init-mongodb": "./scripts/init-admin-mongodb.js"
|
|
15
|
+
},
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"import": "./dist-lib/index.js",
|
|
19
|
+
"require": "./dist-lib/index.cjs"
|
|
20
|
+
},
|
|
21
|
+
"./style.css": "./dist-lib/style.css",
|
|
22
|
+
"./package.json": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist-lib"
|
|
26
|
+
],
|
|
27
|
+
"sideEffects": [
|
|
28
|
+
"**/*.css"
|
|
29
|
+
],
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"access": "public",
|
|
32
|
+
"registry": "https://registry.npmjs.org/"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"install:hooks": "node scripts/install-git-hooks.js",
|
|
36
|
+
"setup": "npm ci && npm run install:hooks",
|
|
37
|
+
"predev": "node scripts/install-git-hooks.js",
|
|
38
|
+
"dev": "vite",
|
|
39
|
+
"pretest": "node scripts/install-git-hooks.js",
|
|
40
|
+
"build": "vite build",
|
|
41
|
+
"prebuild": "node scripts/install-git-hooks.js",
|
|
42
|
+
"build:lib": "vite build --config vite.lib.config.js",
|
|
43
|
+
"prepare": "npm run build:lib",
|
|
44
|
+
"init:mongodb": "node scripts/init-admin-mongodb.js",
|
|
45
|
+
"check:publish": "node scripts/check-publish-manifest.mjs",
|
|
46
|
+
"prepublishOnly": "npm run check:publish && npm run build:lib",
|
|
47
|
+
"lint": "eslint .",
|
|
48
|
+
"preview": "vite preview",
|
|
49
|
+
"test": "vitest run",
|
|
50
|
+
"test:dashboard": "node scripts/run-test-dashboard.js src/testcomponent",
|
|
51
|
+
"test:dashboard:addform": "node scripts/run-test-dashboard.js src/testcomponent/AddFormTestComponent",
|
|
52
|
+
"test:dashboard:listview": "node scripts/run-test-dashboard.js src/testcomponent/ListViewTestComponent",
|
|
53
|
+
"test:dashboard:detailview": "node scripts/run-test-dashboard.js src/testcomponent/DetailViewTestComponent",
|
|
54
|
+
"test:dashboard:editform": "node scripts/run-test-dashboard.js src/testcomponent/EditFormTestComponent",
|
|
55
|
+
"test:changed-components": "node scripts/run-changed-component-tests.js",
|
|
56
|
+
"pr:test": "node scripts/run-pr-component-tests.js",
|
|
57
|
+
"pr:create": "node scripts/create-pr-with-component-tests.js",
|
|
58
|
+
"test:addform": "vitest run src/testcomponent/AddFormTestComponent",
|
|
59
|
+
"test:addform:unit": "vitest run src/testcomponent/AddFormTestComponent/unit",
|
|
60
|
+
"test:addform:integration": "vitest run src/testcomponent/AddFormTestComponent/integration",
|
|
61
|
+
"test:addform:list": "vitest list src/testcomponent/AddFormTestComponent",
|
|
62
|
+
"test:editform": "vitest run src/testcomponent/EditFormTestComponent",
|
|
63
|
+
"test:editform:unit": "vitest run src/testcomponent/EditFormTestComponent/unit",
|
|
64
|
+
"test:editform:integration": "vitest run src/testcomponent/EditFormTestComponent/integration",
|
|
65
|
+
"test:editform:list": "vitest list src/testcomponent/EditFormTestComponent",
|
|
66
|
+
"test:listview": "vitest run src/testcomponent/ListViewTestComponent",
|
|
67
|
+
"test:listview:unit": "vitest run src/testcomponent/ListViewTestComponent/unit",
|
|
68
|
+
"test:listview:integration": "vitest run src/testcomponent/ListViewTestComponent/integration",
|
|
69
|
+
"test:listview:list": "vitest list src/testcomponent/ListViewTestComponent",
|
|
70
|
+
"test:detailview": "vitest run src/testcomponent/DetailViewTestComponent",
|
|
71
|
+
"test:detailview:unit": "vitest run src/testcomponent/DetailViewTestComponent/unit",
|
|
72
|
+
"test:detailview:integration": "vitest run src/testcomponent/DetailViewTestComponent/integration",
|
|
73
|
+
"test:detailview:list": "vitest list src/testcomponent/DetailViewTestComponent",
|
|
74
|
+
"test:watch": "vitest",
|
|
75
|
+
"test:open": "xdg-open test-results/index.html",
|
|
76
|
+
"seed:admin-mongodb": "node scripts/init-admin-mongodb.js",
|
|
77
|
+
"release:npm": "npm publish --access public"
|
|
78
|
+
},
|
|
79
|
+
"peerDependencies": {
|
|
80
|
+
"react": ">=18",
|
|
81
|
+
"react-dom": ">=18",
|
|
82
|
+
"react-router-dom": ">=6"
|
|
83
|
+
},
|
|
84
|
+
"dependencies": {
|
|
85
|
+
"@ant-design/icons": "^6.2.3",
|
|
86
|
+
"@tiptap/extension-link": "^3.27.1",
|
|
87
|
+
"@tiptap/extension-table": "^3.27.1",
|
|
88
|
+
"@tiptap/extension-table-cell": "^3.27.1",
|
|
89
|
+
"@tiptap/extension-table-header": "^3.27.1",
|
|
90
|
+
"@tiptap/extension-table-row": "^3.27.1",
|
|
91
|
+
"@tiptap/extension-underline": "^3.27.1",
|
|
92
|
+
"@tiptap/pm": "^3.27.1",
|
|
93
|
+
"@tiptap/react": "^3.27.1",
|
|
94
|
+
"@tiptap/starter-kit": "^3.27.1",
|
|
95
|
+
"antd": "^6.4.3",
|
|
96
|
+
"dayjs": "^1.11.21",
|
|
97
|
+
"docx-preview": "^0.3.7",
|
|
98
|
+
"dompurify": "^3.4.11",
|
|
99
|
+
"mongodb": "^7.4.0",
|
|
100
|
+
"prop-types": "^15.8.1",
|
|
101
|
+
"react-pdf": "^10.4.1"
|
|
102
|
+
},
|
|
103
|
+
"devDependencies": {
|
|
104
|
+
"@eslint/js": "^10.0.1",
|
|
105
|
+
"@testing-library/dom": "^10.4.1",
|
|
106
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
107
|
+
"@testing-library/react": "^16.3.0",
|
|
108
|
+
"@testing-library/user-event": "^14.5.2",
|
|
109
|
+
"@types/react": "^19.2.14",
|
|
110
|
+
"@types/react-dom": "^19.2.3",
|
|
111
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
112
|
+
"@vitest/ui": "^3.2.4",
|
|
113
|
+
"autoprefixer": "^10.5.0",
|
|
114
|
+
"eslint": "^10.3.0",
|
|
115
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
116
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
117
|
+
"globals": "^17.6.0",
|
|
118
|
+
"jsdom": "^26.1.0",
|
|
119
|
+
"postcss": "^8.5.15",
|
|
120
|
+
"react": "^19.2.6",
|
|
121
|
+
"react-dom": "^19.2.6",
|
|
122
|
+
"react-router-dom": "^7.15.1",
|
|
123
|
+
"tailwindcss": "^3.4.19",
|
|
124
|
+
"vite": "^8.0.12",
|
|
125
|
+
"vitest": "^3.2.4"
|
|
126
|
+
}
|
|
127
|
+
}
|