npm run dev now runs scripts/dev-env.ts first, which creates .dev/site.env with a known dev password and a random session secret, so a fresh clone serves a working admin without anyone hand-building a hash. Adds .vscode launch configurations and tasks for the dev server, one test file, and check-site, and brings scripts/ under typecheck, which it had been missing.
24 lines
482 B
JSON
24 lines
482 B
JSON
{
|
|
"files.exclude": {
|
|
"**/.dev": true,
|
|
"**/.tmp": true,
|
|
"**/.npm-cache": true
|
|
},
|
|
"search.exclude": {
|
|
"**/.dev": true,
|
|
"**/.tmp": true,
|
|
"**/.npm-cache": true,
|
|
"**/node_modules": true
|
|
},
|
|
"files.watcherExclude": {
|
|
"**/.dev/**": true,
|
|
"**/.tmp/**": true,
|
|
"**/.npm-cache/**": true
|
|
},
|
|
"editor.tabSize": 2,
|
|
"editor.insertSpaces": true,
|
|
"files.eol": "\n",
|
|
"files.trimTrailingWhitespace": true,
|
|
"files.insertFinalNewline": true
|
|
}
|