create-start-serenojs 0.1.0 → 0.1.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/README.md
CHANGED
|
@@ -74,7 +74,7 @@ my-app/
|
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
The generated `package.json` uses the published `@eutobias/serenojs` range;
|
|
77
|
-
`workspace:` specs
|
|
77
|
+
legacy `workspace:` specs are still normalized when present.
|
|
78
78
|
|
|
79
79
|
If a git repository is requested, the CLI runs `git init`, stages the files and
|
|
80
80
|
attempts an initial commit. The commit is skipped silently when git user
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "serenojs-starter",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": true,
|
|
6
6
|
"engines": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"typegen": "waku router typegen"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@eutobias/serenojs": "
|
|
17
|
+
"@eutobias/serenojs": "^0.1.2",
|
|
18
18
|
"hono": "^4.12.14",
|
|
19
19
|
"react": "~19.3.0",
|
|
20
20
|
"react-dom": "~19.3.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineCmsConfig } from "@eutobias/serenojs/config";
|
|
2
2
|
|
|
3
|
-
import { collections } from "./src/schemas";
|
|
3
|
+
import { collections, schemaTitle } from "./src/schemas";
|
|
4
4
|
import { defaultLocale, locales } from "./src/schemas/locales";
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -8,7 +8,7 @@ import { defaultLocale, locales } from "./src/schemas/locales";
|
|
|
8
8
|
* mounted by `src/middleware/serenojs.ts` at the paths below.
|
|
9
9
|
*/
|
|
10
10
|
export default defineCmsConfig({
|
|
11
|
-
title:
|
|
11
|
+
title: schemaTitle,
|
|
12
12
|
collections,
|
|
13
13
|
locales,
|
|
14
14
|
defaultLocale,
|
|
@@ -28,5 +28,6 @@ export default defineCmsConfig({
|
|
|
28
28
|
intervalHours: Number(process.env.ADMIN_BACKUP_INTERVAL_HOURS ?? "24"),
|
|
29
29
|
keep: Number(process.env.ADMIN_BACKUP_KEEP ?? "10"),
|
|
30
30
|
},
|
|
31
|
+
schemas: { path: "src/schemas" },
|
|
31
32
|
db: { path: process.env.ADMIN_DB_PATH ?? ".data/admin.db" },
|
|
32
33
|
});
|