mirror of
https://github.com/ivuorinen/sysvinit-service-generator.git
synced 2026-01-26 03:24:03 +00:00
fix: resolve tsconfig parsing issues (#88)
This commit is contained in:
@@ -21,6 +21,10 @@ Install dependencies and run the dev server with Yarn:
|
||||
yarn install
|
||||
yarn dev
|
||||
|
||||
# check code before committing
|
||||
yarn lint
|
||||
yarn type-lint
|
||||
|
||||
# build the app
|
||||
yarn build
|
||||
```
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
"build-only": "vite build",
|
||||
"type-check": "vue-tsc --build --force",
|
||||
"lint": "eslint . --fix",
|
||||
"type-lint": "ts-standard",
|
||||
"type-fix": "ts-standard --fix",
|
||||
"type-lint": "vue-tsc --noEmit -p tsconfig.lint.json",
|
||||
"type-fix": "ts-standard --fix --project tsconfig.lint.json",
|
||||
"format": "prettier --write src/ index.html .github/ .vscode/"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
||||
"strict": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": [
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{
|
||||
"extends": "./tsconfig.node.json",
|
||||
"include": [
|
||||
"src/**/*.ts",
|
||||
"src/**/*.tsx",
|
||||
@@ -12,6 +11,14 @@
|
||||
"node_modules"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"lib": ["es2023"]
|
||||
"target": "ES2022",
|
||||
"lib": ["es2023"],
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Bundler",
|
||||
"strict": true,
|
||||
"strictNullChecks": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"types": ["node"]
|
||||
}
|
||||
}
|
||||
|
||||
14
tsconfig.lint.json
Normal file
14
tsconfig.lint.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"extends": "./tsconfig.app.json",
|
||||
"include": [
|
||||
"env.d.ts",
|
||||
"src/**/*",
|
||||
"src/**/*.vue",
|
||||
"eslint.config.mjs",
|
||||
"vite.config.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"strict": true,
|
||||
"strictNullChecks": true
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
{
|
||||
"extends": "@tsconfig/node22/tsconfig.json",
|
||||
"include": [
|
||||
"vite.config.*",
|
||||
"vitest.config.*",
|
||||
@@ -8,12 +7,17 @@
|
||||
"playwright.config.*"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"strict": true,
|
||||
"strictNullChecks": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"moduleResolution": "Bundler",
|
||||
"composite": true,
|
||||
"noEmit": true,
|
||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
||||
"lib": ["es2023"],
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Bundler",
|
||||
"types": [
|
||||
"node"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user