@fougere/react 0.15.1-alpha.0 → 0.16.0-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/react",
3
- "version": "0.15.1-alpha.0",
3
+ "version": "0.16.0-alpha.0",
4
4
  "description": "Fougere's four primitives as React hooks — host-independent.",
5
5
  "keywords": [
6
6
  "fougere",
@@ -31,8 +31,8 @@
31
31
  "template"
32
32
  ],
33
33
  "dependencies": {
34
- "@fougere/app": "0.15.1-alpha.0",
35
- "@fougere/core": "0.15.1-alpha.0"
34
+ "@fougere/app": "0.16.0-alpha.0",
35
+ "@fougere/core": "0.16.0-alpha.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/react": "^19.2.2",
@@ -41,7 +41,7 @@
41
41
  "@testing-library/react": "^16.3.0",
42
42
  "jsdom": "^27.0.0",
43
43
  "react-dom": "19.2.8",
44
- "@fougere/schema": "0.15.1-alpha.0"
44
+ "@fougere/schema": "0.16.0-alpha.0"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "react": "^18.3.0 || ^19.0.0"
@@ -23,10 +23,7 @@
23
23
  "kind": "vitePlugin",
24
24
  "file": "vite.config.ts",
25
25
  "from": "@fougere/vite",
26
- "imported": "fougere",
27
- "options": {
28
- "root": "../.."
29
- }
26
+ "imported": "fougere"
30
27
  },
31
28
  "remove": [
32
29
  "src/App.css",
@@ -1,14 +1,5 @@
1
+ import Welcome from './Welcome';
2
+
1
3
  export default function App() {
2
- return (
3
- <main className="welcome">
4
- <h1>🌿 Fougere</h1>
5
- <p className="host">Your app is running on <strong>React</strong>.</p>
6
- <ol>
7
- <li><a href="https://fougere.dev/docs/guides/business-logic">Handle your business logic <span>→</span></a></li>
8
- <li><a href="https://fougere.dev/docs/guides/data">Store your data <span>→</span></a></li>
9
- <li><a href="https://fougere.dev/docs/guides/topology">Shape your topology <span>→</span></a></li>
10
- </ol>
11
- <footer><a href="https://fougere.dev/docs">Docs</a></footer>
12
- </main>
13
- );
4
+ return <Welcome />;
14
5
  }
@@ -0,0 +1,14 @@
1
+ export default function Welcome() {
2
+ return (
3
+ <main className="welcome">
4
+ <h1>🌿 Fougere</h1>
5
+ <p className="host">Your app is running on <strong>React</strong>.</p>
6
+ <ol>
7
+ <li><a href="https://fougere.dev/docs/guides/business-logic">Handle your business logic <span>→</span></a></li>
8
+ <li><a href="https://fougere.dev/docs/guides/data">Store your data <span>→</span></a></li>
9
+ <li><a href="https://fougere.dev/docs/guides/topology">Shape your topology <span>→</span></a></li>
10
+ </ol>
11
+ <footer><a href="https://fougere.dev/docs">Docs</a></footer>
12
+ </main>
13
+ );
14
+ }