@cardinali-studio/adminkit 2.1.0 → 2.2.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cardinali-studio/adminkit",
3
- "version": "2.1.0",
3
+ "version": "2.2.1",
4
4
  "type": "module",
5
5
  "description": "Motore riusabile di un pannello di amministrazione per siti Hugo su Cloudflare Pages: codec del front matter guidato dallo schema, form React, libreria media su R2. NIENTE di specifico di un sito qui dentro.",
6
6
  "license": "UNLICENSED",
@@ -31,13 +31,17 @@
31
31
  "types": "./dist/testing.d.ts",
32
32
  "default": "./dist/testing.js"
33
33
  },
34
+ "./materializer": {
35
+ "types": "./dist/materializer.d.ts",
36
+ "default": "./dist/materializer.js"
37
+ },
34
38
  "./functions/*": "./dist/functions/*"
35
39
  },
36
40
  "files": [
37
41
  "dist"
38
42
  ],
39
43
  "scripts": {
40
- "build": "rm -rf dist && tsc -p tsconfig.json && cp src/theme.css dist/theme.css && cp src/app/app.css dist/app/app.css && cp -R src/functions dist/functions",
44
+ "build": "rm -rf dist && tsc -p tsconfig.json && cp src/theme.css dist/theme.css && cp src/app/app.css dist/app/app.css && cp -R src/functions dist/functions && cp -R src/migrations dist/migrations",
41
45
  "test": "node --test \"test/*.test.js\"",
42
46
  "check": "npm run build && npm test"
43
47
  },
@@ -45,6 +49,7 @@
45
49
  "access": "public"
46
50
  },
47
51
  "peerDependencies": {
52
+ "@cloudflare/pages-plugin-cloudflare-access": "^1",
48
53
  "@dnd-kit/core": "^6.3.1",
49
54
  "@dnd-kit/modifiers": "^9.0.0",
50
55
  "@dnd-kit/sortable": "^10.0.0",
@@ -52,8 +57,7 @@
52
57
  "react": "^19",
53
58
  "react-dom": "^19",
54
59
  "react-hook-form": "^7",
55
- "zod": "^4",
56
- "@cloudflare/pages-plugin-cloudflare-access": "^1"
60
+ "zod": "^4"
57
61
  },
58
62
  "peerDependenciesMeta": {
59
63
  "react": {
@@ -82,6 +86,7 @@
82
86
  }
83
87
  },
84
88
  "devDependencies": {
89
+ "@cloudflare/pages-plugin-cloudflare-access": "1.0.5",
85
90
  "@dnd-kit/core": "^6.3.1",
86
91
  "@dnd-kit/modifiers": "^9.0.0",
87
92
  "@dnd-kit/sortable": "^10.0.0",
@@ -92,6 +97,7 @@
92
97
  "react-dom": "^19.2.8",
93
98
  "react-hook-form": "^7.85.0",
94
99
  "typescript": "^5.9.3",
100
+ "wrangler": "4.114.0",
95
101
  "zod": "^4.4.3"
96
102
  }
97
103
  }