feat(tooling): add tsconfig to tooling pkgs

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-02-22 20:20:11 +01:00
committed by Braks
parent 45cbdbfd27
commit 2a6077ed9f
30 changed files with 198 additions and 273 deletions
+2 -7
View File
@@ -26,9 +26,7 @@
"types": "tsc && shx rm -rf tmp && pnpm lint:dist",
"theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist",
"prepublishOnly": "shx cp ../../README.md .",
"postpublish": "shx rm README.md && git commit -a -m \"chore: bump version\"",
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
"test": "exit 0"
},
"peerDependencies": {
@@ -39,6 +37,7 @@
"@vue-flow/controls": "workspace:*",
"@vue-flow/core": "workspace:*",
"@vue-flow/eslint-config": "workspace:*",
"@vue-flow/tsconfig": "workspace:*",
"@vue-flow/minimap": "workspace:*"
},
"devDependencies": {
@@ -51,9 +50,5 @@
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"np": {
"branch": "master",
"message": "v%s"
}
}
+8 -23
View File
@@ -1,29 +1,14 @@
{
"extends": "@vue-flow/tsconfig/base",
"compilerOptions": {
"preserveSymlinks": true,
"baseUrl": ".",
"module": "ESNext",
"target": "es2017",
"lib": ["DOM", "ESNext"],
"strict": true,
"esModuleInterop": true,
"incremental": false,
"skipLibCheck": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"noUnusedLocals": false,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"declaration": true,
"declarationDir": "./dist",
"emitDeclarationOnly": true,
"types": ["vite/client"],
"jsx": "preserve",
"paths": {
"~/*": ["src/*"]
}
"types": [
"vite/client",
"vue/macros"
]
},
"include": ["./src"],
"exclude": ["node_modules", "dist"],
"references": [{ "path": "./tsconfig.node.json" }]
"include": [
"./src"
]
}
-11
View File
@@ -1,11 +0,0 @@
{
"compilerOptions": {
"composite": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true
},
"include": ["vite.config.ts"],
"files": ["package.json"]
}