create-fluixi 1.0.0-alpha.100 → 1.0.0-alpha.101
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 +3 -3
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# create-fluixi
|
|
6
6
|
|
|
7
|
-
**Scaffold a new Fluixi app
|
|
7
|
+
**Scaffold a new Fluixi app: `npm create fluixi <dir>`.**
|
|
8
8
|
|
|
9
9
|
[](./LICENSE)
|
|
10
10
|

|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
## ✨ Overview
|
|
16
16
|
|
|
17
|
-
Run via your package manager's `create` shortcut
|
|
17
|
+
Run via your package manager's `create` shortcut: no install needed:
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
npm create fluixi my-app
|
|
@@ -38,7 +38,7 @@ create-fluixi my-app --spa --html # same app, html`` templates instead of JSX
|
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
`--jsx` (default) or `--html` picks how you write components. The html`` variant is
|
|
41
|
-
JSX-free
|
|
41
|
+
JSX-free: plain `.ts` files, no `jsxImportSource`, and [`@fluixi/ts-plugin`](../ts-plugin)
|
|
42
42
|
wired up so the editor still understands the templates. Both compile to the same thing.
|
|
43
43
|
|
|
44
44
|
Then:
|
package/dist/index.js
CHANGED
|
@@ -375,7 +375,7 @@ export const auth = defineAuth<AppUser>(
|
|
|
375
375
|
betterAuth({
|
|
376
376
|
// database: <your adapter>,
|
|
377
377
|
emailAndPassword: { enabled: true },
|
|
378
|
-
// socialProviders: { google: {
|
|
378
|
+
// socialProviders: { google: { ... }, github: { ... } },
|
|
379
379
|
} as Parameters<typeof betterAuth>[0]),
|
|
380
380
|
);
|
|
381
381
|
`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-fluixi",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.101",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Ibrahima Touré",
|
|
6
6
|
"description": "Scaffold a new Fluixi app — `npm create fluixi <dir>`.",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"esbuild": "^0.24.0",
|
|
31
31
|
"vitest": "^5.0.3",
|
|
32
|
-
"@fluixi/cli": "1.0.0-alpha.
|
|
33
|
-
"@fluixi/compiler": "1.0.0-alpha.
|
|
32
|
+
"@fluixi/cli": "1.0.0-alpha.101",
|
|
33
|
+
"@fluixi/compiler": "1.0.0-alpha.101"
|
|
34
34
|
},
|
|
35
35
|
"nx": {
|
|
36
36
|
"targets": {
|