@realtek/core-theme 0.0.36 → 0.0.38
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 +22 -0
- package/dist-lib/index.cjs +4 -4
- package/dist-lib/index.cjs.map +1 -1
- package/dist-lib/index.js +2486 -2370
- package/dist-lib/index.js.map +1 -1
- package/dist-lib/style.css +1 -1
- package/package.json +6 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@realtek/core-theme",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.38",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "RealTek CORE-THEME — shared React component & admin-screen library (AddFormV1, EditFormV1, ListView, DetailViewV1, ...).",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -29,8 +29,13 @@
|
|
|
29
29
|
"registry": "https://registry.npmjs.org/"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
|
+
"install:hooks": "node scripts/install-git-hooks.js",
|
|
33
|
+
"setup": "npm ci && npm run install:hooks",
|
|
34
|
+
"predev": "node scripts/install-git-hooks.js",
|
|
32
35
|
"dev": "vite",
|
|
36
|
+
"pretest": "node scripts/install-git-hooks.js",
|
|
33
37
|
"build": "vite build",
|
|
38
|
+
"prebuild": "node scripts/install-git-hooks.js",
|
|
34
39
|
"build:lib": "vite build --config vite.lib.config.js",
|
|
35
40
|
"check:publish": "node -e \"const p=require('./package.json');const s=p.scripts||{};const bad=['preinstall','install','postinstall','prepare'].filter(k=>s[k]);if(bad.length){console.error('Refusing to publish '+p.name+': remove package lifecycle script(s): '+bad.join(', '));process.exit(1)}if(!Array.isArray(p.files)||p.files.length!==1||p.files[0]!=='dist-lib'){console.error('Refusing to publish '+p.name+': package.json files must be [\\\"dist-lib\\\"].');process.exit(1)}console.log(p.name+' publish manifest is safe.')\"",
|
|
36
41
|
"prepublishOnly": "npm run check:publish && npm run build:lib",
|