File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 "private" : true ,
77 "scripts" : {
88 "lint" : " eslint --report-unused-disable-directives --max-warnings 0" ,
9- "lint:sh" : " find . -name '*.sh' -not -path '*/node_modules/*' -print0 | xargs -0 shellcheck && find . -name '*.sh' -not -path '*/node_modules/*' -print0 | xargs -0 shfmt -d -i 2" ,
10- "format" : " PRETTIER_EXPERIMENTAL_CLI=1 prettier --write . && find . -name '*.sh' -not -path '*/node_modules/*' -print0 | xargs -0 shfmt -w -i 2" ,
9+ "lint:sh" : " find . -name '*.sh' -not -path '*/node_modules/*' -print0 | xargs -0 shellcheck" ,
10+ "format" : " PRETTIER_EXPERIMENTAL_CLI=1 prettier --write . && find . -name '*.sh' -not -path '*/node_modules/*' -print0" ,
11+ "format:sh" : " find . -name '*.sh' -not -path '*/node_modules/*' -print | xargs -0 shfmt -w -i 2" ,
1112 "typecheck" : " tsc --noEmit"
1213 },
1314 "dependencies" : {
Original file line number Diff line number Diff line change 1- import { defineCollection } from 'astro:content'
21import { glob } from 'astro/loaders'
32import { z } from 'astro/zod'
3+ import { defineCollection } from 'astro:content'
44
55const blog = defineCollection ( {
66 loader : glob ( { pattern : '**/*.md' , base : './src/content/blog' } ) ,
You can’t perform that action at this time.
0 commit comments