@tuqulore-inc/create-eleventy 5.3.1-alpha.0 → 5.3.1-alpha.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuqulore-inc/create-eleventy",
|
|
3
|
-
"version": "5.3.1-alpha.
|
|
3
|
+
"version": "5.3.1-alpha.1",
|
|
4
4
|
"description": "Create a new Eleventy project with Preact and TailwindCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"create",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"test": "node --test"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@tuqulore-inc/oxlint-config": "5.3.1-alpha.
|
|
34
|
+
"@tuqulore-inc/oxlint-config": "5.3.1-alpha.1",
|
|
35
35
|
"oxlint": "^1.88.0"
|
|
36
36
|
},
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": ">=20"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "6cdf748dbd6b11f840afa5dd41227afce82a96bb"
|
|
41
41
|
}
|
|
@@ -193,10 +193,10 @@ The `eleventy` singleton is typed. Built-in fields such as `eleventy.page` are t
|
|
|
193
193
|
|
|
194
194
|
### Collections
|
|
195
195
|
|
|
196
|
-
A directory under `src/` with a `_schema.ts` becomes a collection named after the directory. The build fails when an entry does not match the
|
|
196
|
+
A directory under `src/` with a `_schema.ts` becomes a collection named after the directory. The build fails when an entry does not match the schema, and `eleventy.collections.<name>` is typed from it.
|
|
197
197
|
|
|
198
198
|
```sh
|
|
199
|
-
pnpm add -D zod
|
|
199
|
+
pnpm add -D zod # or another Standard Schema library; `create` writes Zod schemas
|
|
200
200
|
pnpm exec eleventy-collections create posts # src/posts/_schema.ts and a sample .md
|
|
201
201
|
pnpm exec eleventy-collections create authors --type data # one entry per .json file
|
|
202
202
|
```
|