Move bootstrap, default, and inform scripts from inline template strings in lib/init.ts to standalone files under seed/, loaded via an esbuild text-loader plugin. Add type-checking (provisions.d.ts, tsconfig.json) and ESLint config for the seed scripts. Set tsconfig module to Preserve to support import attributes.
27 lines
577 B
JSON
27 lines
577 B
JSON
{
|
|
"compilerOptions": {
|
|
"lib": ["ES2022", "dom"],
|
|
"module": "Preserve",
|
|
"moduleResolution": "bundler",
|
|
"target": "ES2022",
|
|
"resolveJsonModule": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"alwaysStrict": true,
|
|
"noImplicitReturns": true,
|
|
"strictFunctionTypes": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"allowImportingTsExtensions": true,
|
|
"skipLibCheck": true,
|
|
"jsx": "react",
|
|
"jsxFactory": "m"
|
|
},
|
|
"include": [
|
|
"./bin/*.ts",
|
|
"./lib/**/*",
|
|
"./ui/**/*",
|
|
"./test/**/*",
|
|
"./build/**/*"
|
|
]
|
|
}
|