- Add detailed README.md with project overview, architecture, and usage examples - Add comprehensive JSDoc documentation to all system files (Controls, Loop, Renderer, Resizer) - Add detailed documentation to component files (Terrain, Landmarks, WorldComponent) - Create CONTRIBUTING.md with development guidelines and coding standards - Create CHANGELOG.md with version history and development timeline - Create SECURITY.md with security policies and vulnerability reporting - Create API.md with comprehensive API documentation and usage examples - Update package.json with better metadata, scripts, and project information - Enhance TypeScript configuration with path aliases and strict settings - Improve Vite configuration with build optimizations and development settings - Update .gitignore with comprehensive patterns for development tools - Add file headers with author information and creation dates from git history This commit transforms the project from a basic template to a well-documented, production-ready World Component library with comprehensive documentation following best practices for open-source projects. Author: Matthew Raymer Security: All dependencies updated, comprehensive security guidelines added Performance: Build optimizations, code splitting, and memory management documented
52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
"compilerOptions": {
|
|
// Target ES2020 for modern browser support
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"module": "ESNext",
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"skipLibCheck": true,
|
|
|
|
// Enable experimental decorators for Vue-facing-decorator
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
|
|
/* Bundler mode for Vite */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "preserve",
|
|
|
|
/* Linting and type checking */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
/* Additional type checking */
|
|
"noImplicitReturns": true,
|
|
"noImplicitOverride": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
|
|
/* Module resolution */
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"],
|
|
"@/components/*": ["src/components/*"],
|
|
"@/systems/*": ["src/systems/*"],
|
|
"@/types/*": ["src/types/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/**/*.d.ts",
|
|
"src/**/*.tsx",
|
|
"src/**/*.vue",
|
|
"src/types/endorser.d.ts",
|
|
"components/**/*.ts"
|
|
],
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
}
|