@venizia/ardor 0.3.0 → 0.3.2

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.
@@ -2,6 +2,6 @@
2
2
 
3
3
  The {{app}} admin of {{project}}, built on ARDOR: Vite, React and react-admin.
4
4
 
5
- `bun run dev` serves `http://localhost:{{devPort}}`. `/api` is proxied to the backend app chosen when this app was added (`apiUrl` in `vite.config.ts`).
5
+ `bun run dev` serves `http://localhost:{{devPort}}`. `/api` is proxied to the backend app chosen when this app was added (`apiUrl` in `vite.config.mts`).
6
6
 
7
7
  The `products` resource reads `GET /api/products` (a JSON array and a `Content-Range` header) and writes `POST /api/products` and `PATCH /api/products/:id`. Point it at your own resource by renaming `products` in `src/main.tsx`.
@@ -17,5 +17,5 @@
17
17
  "@/*": ["./src/*"]
18
18
  }
19
19
  },
20
- "include": ["src", "vite.config.ts"]
20
+ "include": ["src", "vite.config.mts"]
21
21
  }
@@ -17,5 +17,20 @@ export default defineConfig(({ mode }) => {
17
17
  strictPort: true,
18
18
  proxy,
19
19
  },
20
+ build: {
21
+ rolldownOptions: {
22
+ output: {
23
+ // React, react-admin and the router weigh about 500 KB before any application code. Two
24
+ // vendor chunks keep the application's own chunk small, cacheable across a deploy, and
25
+ // under Vite's 500 KB warning.
26
+ codeSplitting: {
27
+ groups: [
28
+ { name: 'react', test: /node_modules[\\/](react|react-dom|scheduler)[\\/]/ },
29
+ { name: 'vendor', test: /node_modules/ },
30
+ ],
31
+ },
32
+ },
33
+ },
34
+ },
20
35
  };
21
36
  });
@@ -3,15 +3,18 @@
3
3
  "side": "frontend",
4
4
  "summary": "An ARDOR admin on Vite and React: one products resource with list, create and edit pages, REST data provider and i18n, no sign-in.",
5
5
  "devPort": 5173,
6
+ "urls": [
7
+ "/"
8
+ ],
6
9
  "dependencies": {
7
10
  "@reduxjs/toolkit": "^2.12.0",
8
11
  "@tanstack/react-query": "^5.101.2",
9
- "@venizia/ardor": "0.3.0",
10
- "@venizia/ignis-connectors": "0.3.0",
11
- "@venizia/ignis-filter": "0.3.0",
12
- "@venizia/ignis-helpers": "0.3.0",
13
- "@venizia/ignis-inversion": "0.3.0",
14
- "@venizia/ignis-kernel": "0.3.0",
12
+ "@venizia/ardor": "0.3.2",
13
+ "@venizia/ignis-connectors": "0.3.2",
14
+ "@venizia/ignis-filter": "0.3.2",
15
+ "@venizia/ignis-helpers": "0.3.2",
16
+ "@venizia/ignis-inversion": "0.3.2",
17
+ "@venizia/ignis-kernel": "0.3.2",
15
18
  "ra-core": "^5.15.0",
16
19
  "ra-i18n-polyglot": "^5.15.0",
17
20
  "react": "^19.2.7",
@@ -24,7 +27,7 @@
24
27
  "@types/react": "^19",
25
28
  "@types/react-dom": "^19",
26
29
  "@venizia/dev-configs": "0.3.1",
27
- "@venizia/ignis-boot": "0.3.0",
30
+ "@venizia/ignis-boot": "0.3.2",
28
31
  "@vitejs/plugin-react": "^6.1.1",
29
32
  "eslint": "^10.10.0",
30
33
  "oxfmt": "0.73.0",
@@ -43,7 +46,7 @@
43
46
  "scripts": {
44
47
  "dev": "vite",
45
48
  "build": "vite build",
46
- "typecheck": "tsc --noEmit -p tsconfig.json",
49
+ "typecheck": "bun check --no-pretty -p tsconfig.json",
47
50
  "lint": "oxlint -c .configs/oxlint.config.mts --deny-warnings && eslint -c .configs/eslint.config.mjs . && oxfmt -c .configs/oxfmt.config.mts --check \"**/*.{js,mjs,ts,mts,tsx}\"",
48
51
  "lint:fix": "oxlint -c .configs/oxlint.config.mts --fix && eslint -c .configs/eslint.config.mjs . --fix && oxfmt -c .configs/oxfmt.config.mts \"**/*.{js,mjs,ts,mts,tsx}\""
49
52
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venizia/ardor",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "ARDOR - frontend application framework for the VENIZIA family. One entry point over ardor-kernel, ardor-react and ardor-admin: IGNIS inversion of control, a REST data layer, auth and i18n providers, and the React bindings for a react-admin application.",
5
5
  "keywords": [
6
6
  "ardor",
@@ -112,11 +112,11 @@
112
112
  "@types/bun": "^1.4.1",
113
113
  "@types/react": "^19",
114
114
  "@types/react-dom": "^19",
115
- "@venizia/dev-configs": "0.3.1",
116
- "@venizia/ignis-connectors": "0.3.0",
117
- "@venizia/ignis-filter": "0.3.0",
118
- "@venizia/ignis-inversion": "0.3.0",
119
- "@venizia/ignis-kernel": "0.3.0",
115
+ "@venizia/dev-configs": "^0.3.1",
116
+ "@venizia/ignis-connectors": "^0.3.2",
117
+ "@venizia/ignis-filter": "^0.3.2",
118
+ "@venizia/ignis-inversion": "^0.3.2",
119
+ "@venizia/ignis-kernel": "^0.3.2",
120
120
  "eslint": "^10.10.0",
121
121
  "oxfmt": "0.73.0",
122
122
  "oxlint": "1.88.0",