Several minor improvements to typing and misc.
- Improved schema validation - Move username parsing and other validators to schema types - Fix astro check command - Add JSON/YAML schema validation for data collections - Update licenses - Remove deployment script in favor of rsync - Prevent unsanitized input in export-story script - Change "eng" language to "en", per BCP47 - Clean up i18n keys and add aria attributes - Improve MastodonComments behavior on no-JS browsers
This commit is contained in:
parent
fe908a4989
commit
7bb8a952ef
54 changed files with 1005 additions and 962 deletions
7
.vscode/extensions.json
vendored
7
.vscode/extensions.json
vendored
|
|
@ -1,3 +1,8 @@
|
|||
{
|
||||
"recommendations": ["astro-build.astro-vscode", "bradlc.vscode-tailwindcss", "esbenp.prettier-vscode"]
|
||||
"recommendations": [
|
||||
"astro-build.astro-vscode",
|
||||
"bradlc.vscode-tailwindcss",
|
||||
"esbenp.prettier-vscode",
|
||||
"redhat.vscode-yaml"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
19
.vscode/settings.json
vendored
19
.vscode/settings.json
vendored
|
|
@ -2,6 +2,25 @@
|
|||
"files.associations": {
|
||||
"*.css": "tailwindcss"
|
||||
},
|
||||
"json.schemas": [
|
||||
{
|
||||
"fileMatch": ["/src/content/series/**"],
|
||||
"url": "./.astro/collections/series.schema.json"
|
||||
},
|
||||
{
|
||||
"fileMatch": ["/src/content/tag-categories/**"],
|
||||
"url": "./.astro/collections/tag-categories.schema.json"
|
||||
},
|
||||
{
|
||||
"fileMatch": ["/src/content/users/**"],
|
||||
"url": "./.astro/collections/users.schema.json"
|
||||
}
|
||||
],
|
||||
"yaml.schemas": {
|
||||
"./.astro/collections/series.schema.json": "/src/content/series/**",
|
||||
"./.astro/collections/tag-categories.schema.json": "/src/content/tag-categories/**",
|
||||
"./.astro/collections/users.schema.json": "/src/content/users/**"
|
||||
},
|
||||
"[astro]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue