@fougere/admin 0.14.1-alpha.0 → 0.15.1-alpha.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fougere/admin",
3
- "version": "0.14.1-alpha.0",
3
+ "version": "0.15.1-alpha.0",
4
4
  "description": "A back-office derived from what the app already says it hosts — a react-admin DataProvider over the Fougere wire.",
5
5
  "keywords": [
6
6
  "fougere",
@@ -36,9 +36,9 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@dagrejs/dagre": "^3.1.1",
39
- "@fougere/app": "0.14.1-alpha.0",
40
- "@fougere/core": "0.14.1-alpha.0",
41
- "@fougere/schema": "0.14.1-alpha.0"
39
+ "@fougere/app": "0.15.1-alpha.0",
40
+ "@fougere/core": "0.15.1-alpha.0",
41
+ "@fougere/schema": "0.15.1-alpha.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@mui/material": "^9.3.1",
@@ -0,0 +1,34 @@
1
+ {
2
+ "create": [
3
+ "create-vite@9",
4
+ "{dir}",
5
+ "--template",
6
+ "react-ts",
7
+ "--no-interactive",
8
+ "--no-immediate"
9
+ ],
10
+ "dependencies": {
11
+ "@fougere/admin": "latest",
12
+ "@fougere/app": "latest",
13
+ "react-admin": "^5.15.1"
14
+ },
15
+ "devDependencies": {
16
+ "@fougere/vite": "latest"
17
+ },
18
+ "wire": {
19
+ "kind": "vitePlugin",
20
+ "file": "vite.config.ts",
21
+ "from": "@fougere/vite",
22
+ "imported": "fougere",
23
+ "options": {
24
+ "root": "../.."
25
+ }
26
+ },
27
+ "remove": [
28
+ "src/App.tsx",
29
+ "src/App.css",
30
+ "src/index.css",
31
+ "src/assets"
32
+ ],
33
+ "tsconfig": "tsconfig.app.json"
34
+ }
@@ -1,5 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head><meta charset="utf-8" /><title>Admin</title></head>
4
- <body><div id="root"></div><script type="module" src="/src/main.tsx"></script></body>
5
- </html>
@@ -1,23 +0,0 @@
1
- {
2
- "name": "fougere-app",
3
- "private": true,
4
- "type": "module",
5
- "scripts": {
6
- "dev": "vite",
7
- "build": "vite build"
8
- },
9
- "dependencies": {
10
- "@fougere/admin": "latest",
11
- "@fougere/app": "latest",
12
- "react": "^19.0.0",
13
- "react-admin": "^5.15.1",
14
- "react-dom": "^19.0.0"
15
- },
16
- "devDependencies": {
17
- "@fougere/vite": "latest",
18
- "@types/react": "^19.0.0",
19
- "@types/react-dom": "^19.0.0",
20
- "@vitejs/plugin-react": "^5.0.0",
21
- "vite": "^8.0.0"
22
- }
23
- }
@@ -1,12 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2022",
4
- "module": "ESNext",
5
- "moduleResolution": "Bundler",
6
- "jsx": "react-jsx",
7
- "strict": true,
8
- "noEmit": true,
9
- "types": ["node", "react"]
10
- },
11
- "include": ["src"]
12
- }
@@ -1,13 +0,0 @@
1
- import { defineConfig } from 'vite';
2
- import { fougere } from '@fougere/vite';
3
- import react from '@vitejs/plugin-react';
4
-
5
- /**
6
- * The admin reads the identity card at `/_fougere/call`, and `fougere()` answers there: the dev
7
- * server boots the app from `fougere.config.ts`, so `fronds:` decides whether a frond answers in
8
- * this process or a process away.
9
- */
10
- export default defineConfig({
11
- // Fronds are shared at the workspace root, two levels up from apps/<name>.
12
- plugins: [fougere({ root: '../..' }), react()],
13
- });