feat(tooling): add tsconfig to tooling pkgs
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
||||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist",
|
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
||||||
"test": "exit 0"
|
"test": "exit 0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
@@ -36,6 +36,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue-flow/core": "workspace:*",
|
"@vue-flow/core": "workspace:*",
|
||||||
"@vue-flow/eslint-config": "workspace:*",
|
"@vue-flow/eslint-config": "workspace:*",
|
||||||
|
"@vue-flow/tsconfig": "workspace:*",
|
||||||
"@vitejs/plugin-vue": "^4.0.0",
|
"@vitejs/plugin-vue": "^4.0.0",
|
||||||
"unplugin-auto-import": "^0.14.4",
|
"unplugin-auto-import": "^0.14.4",
|
||||||
"vite": "^4.1.3",
|
"vite": "^4.1.3",
|
||||||
|
|||||||
11
packages/background/src/auto-imports.d.ts
vendored
11
packages/background/src/auto-imports.d.ts
vendored
@@ -1,4 +1,7 @@
|
|||||||
// Generated by 'unplugin-auto-import'
|
/* eslint-disable */
|
||||||
|
/* prettier-ignore */
|
||||||
|
// @ts-nocheck
|
||||||
|
// Generated by unplugin-auto-import
|
||||||
export {}
|
export {}
|
||||||
declare global {
|
declare global {
|
||||||
const $$: typeof import('vue/macros')['$$']
|
const $$: typeof import('vue/macros')['$$']
|
||||||
@@ -43,7 +46,6 @@ declare global {
|
|||||||
const readonly: typeof import('vue')['readonly']
|
const readonly: typeof import('vue')['readonly']
|
||||||
const ref: typeof import('vue')['ref']
|
const ref: typeof import('vue')['ref']
|
||||||
const resolveComponent: typeof import('vue')['resolveComponent']
|
const resolveComponent: typeof import('vue')['resolveComponent']
|
||||||
const resolveDirective: typeof import('vue')['resolveDirective']
|
|
||||||
const shallowReactive: typeof import('vue')['shallowReactive']
|
const shallowReactive: typeof import('vue')['shallowReactive']
|
||||||
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
||||||
const shallowRef: typeof import('vue')['shallowRef']
|
const shallowRef: typeof import('vue')['shallowRef']
|
||||||
@@ -61,3 +63,8 @@ declare global {
|
|||||||
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
||||||
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
||||||
}
|
}
|
||||||
|
// for type re-export
|
||||||
|
declare global {
|
||||||
|
// @ts-ignore
|
||||||
|
export type { Component,ComponentPublicInstance,ComputedRef,InjectionKey,PropType,Ref,VNode } from 'vue'
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,31 +1,14 @@
|
|||||||
{
|
{
|
||||||
|
"extends": "@vue-flow/tsconfig/base",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"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",
|
"declarationDir": "./dist",
|
||||||
"emitDeclarationOnly": true,
|
"types": [
|
||||||
"types": [],
|
"vite/client",
|
||||||
|
"vue/macros"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"./src",
|
"./src"
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"node_modules",
|
|
||||||
"dist"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
||||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist",
|
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
||||||
"test": "exit 0"
|
"test": "exit 0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
@@ -36,6 +36,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue-flow/core": "workspace:*",
|
"@vue-flow/core": "workspace:*",
|
||||||
"@vue-flow/eslint-config": "workspace:*",
|
"@vue-flow/eslint-config": "workspace:*",
|
||||||
|
"@vue-flow/tsconfig": "workspace:*",
|
||||||
"@vitejs/plugin-vue": "^4.0.0",
|
"@vitejs/plugin-vue": "^4.0.0",
|
||||||
"unplugin-auto-import": "^0.14.4",
|
"unplugin-auto-import": "^0.14.4",
|
||||||
"vite": "^4.1.3",
|
"vite": "^4.1.3",
|
||||||
|
|||||||
11
packages/controls/src/auto-imports.d.ts
vendored
11
packages/controls/src/auto-imports.d.ts
vendored
@@ -1,4 +1,7 @@
|
|||||||
// Generated by 'unplugin-auto-import'
|
/* eslint-disable */
|
||||||
|
/* prettier-ignore */
|
||||||
|
// @ts-nocheck
|
||||||
|
// Generated by unplugin-auto-import
|
||||||
export {}
|
export {}
|
||||||
declare global {
|
declare global {
|
||||||
const $$: typeof import('vue/macros')['$$']
|
const $$: typeof import('vue/macros')['$$']
|
||||||
@@ -43,7 +46,6 @@ declare global {
|
|||||||
const readonly: typeof import('vue')['readonly']
|
const readonly: typeof import('vue')['readonly']
|
||||||
const ref: typeof import('vue')['ref']
|
const ref: typeof import('vue')['ref']
|
||||||
const resolveComponent: typeof import('vue')['resolveComponent']
|
const resolveComponent: typeof import('vue')['resolveComponent']
|
||||||
const resolveDirective: typeof import('vue')['resolveDirective']
|
|
||||||
const shallowReactive: typeof import('vue')['shallowReactive']
|
const shallowReactive: typeof import('vue')['shallowReactive']
|
||||||
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
||||||
const shallowRef: typeof import('vue')['shallowRef']
|
const shallowRef: typeof import('vue')['shallowRef']
|
||||||
@@ -61,3 +63,8 @@ declare global {
|
|||||||
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
||||||
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
||||||
}
|
}
|
||||||
|
// for type re-export
|
||||||
|
declare global {
|
||||||
|
// @ts-ignore
|
||||||
|
export type { Component,ComponentPublicInstance,ComputedRef,InjectionKey,PropType,Ref,VNode } from 'vue'
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,31 +1,14 @@
|
|||||||
{
|
{
|
||||||
|
"extends": "@vue-flow/tsconfig/base",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"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",
|
"declarationDir": "./dist",
|
||||||
"emitDeclarationOnly": true,
|
"types": [
|
||||||
"types": ["vite/client", "vue/macros"]
|
"vite/client",
|
||||||
|
"vue/macros"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"./src",
|
"./src"
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"node_modules",
|
|
||||||
"dist"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
"patch": "node patch/slots.js",
|
"patch": "node patch/slots.js",
|
||||||
"theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css",
|
"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": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
||||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist",
|
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
||||||
"prepublishOnly": "shx cp ../../README.md .",
|
"prepublishOnly": "shx cp ../../README.md .",
|
||||||
"postpublish": "shx rm README.md && git commit -a -m \"chore: bump version\"",
|
"postpublish": "shx rm README.md && git commit -a -m \"chore: bump version\"",
|
||||||
"test": "exit 0"
|
"test": "exit 0"
|
||||||
@@ -48,6 +48,7 @@
|
|||||||
"@rollup/plugin-replace": "^5.0.2",
|
"@rollup/plugin-replace": "^5.0.2",
|
||||||
"@types/d3": "^7.4.0",
|
"@types/d3": "^7.4.0",
|
||||||
"@vue-flow/eslint-config": "workspace:*",
|
"@vue-flow/eslint-config": "workspace:*",
|
||||||
|
"@vue-flow/tsconfig": "workspace:*",
|
||||||
"@vitejs/plugin-vue": "^4.0.0",
|
"@vitejs/plugin-vue": "^4.0.0",
|
||||||
"autoprefixer": "^10.4.13",
|
"autoprefixer": "^10.4.13",
|
||||||
"postcss": "^8.4.21",
|
"postcss": "^8.4.21",
|
||||||
|
|||||||
13
packages/core/src/auto-imports.d.ts
vendored
13
packages/core/src/auto-imports.d.ts
vendored
@@ -1,4 +1,7 @@
|
|||||||
// Generated by 'unplugin-auto-import'
|
/* eslint-disable */
|
||||||
|
/* prettier-ignore */
|
||||||
|
// @ts-nocheck
|
||||||
|
// Generated by unplugin-auto-import
|
||||||
export {}
|
export {}
|
||||||
declare global {
|
declare global {
|
||||||
const $$: typeof import('vue/macros')['$$']
|
const $$: typeof import('vue/macros')['$$']
|
||||||
@@ -165,7 +168,6 @@ declare global {
|
|||||||
const rendererPointToPoint: typeof import('./utils/graph')['rendererPointToPoint']
|
const rendererPointToPoint: typeof import('./utils/graph')['rendererPointToPoint']
|
||||||
const resetRecentHandle: typeof import('./utils/handle')['resetRecentHandle']
|
const resetRecentHandle: typeof import('./utils/handle')['resetRecentHandle']
|
||||||
const resolveComponent: typeof import('vue')['resolveComponent']
|
const resolveComponent: typeof import('vue')['resolveComponent']
|
||||||
const resolveDirective: typeof import('vue')['resolveDirective']
|
|
||||||
const resolveRef: typeof import('@vueuse/core')['resolveRef']
|
const resolveRef: typeof import('@vueuse/core')['resolveRef']
|
||||||
const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
|
const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
|
||||||
const shallowReactive: typeof import('vue')['shallowReactive']
|
const shallowReactive: typeof import('vue')['shallowReactive']
|
||||||
@@ -197,6 +199,7 @@ declare global {
|
|||||||
const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter']
|
const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter']
|
||||||
const useArrayFind: typeof import('@vueuse/core')['useArrayFind']
|
const useArrayFind: typeof import('@vueuse/core')['useArrayFind']
|
||||||
const useArrayFindIndex: typeof import('@vueuse/core')['useArrayFindIndex']
|
const useArrayFindIndex: typeof import('@vueuse/core')['useArrayFindIndex']
|
||||||
|
const useArrayFindLast: typeof import('@vueuse/core')['useArrayFindLast']
|
||||||
const useArrayJoin: typeof import('@vueuse/core')['useArrayJoin']
|
const useArrayJoin: typeof import('@vueuse/core')['useArrayJoin']
|
||||||
const useArrayMap: typeof import('@vueuse/core')['useArrayMap']
|
const useArrayMap: typeof import('@vueuse/core')['useArrayMap']
|
||||||
const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce']
|
const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce']
|
||||||
@@ -301,6 +304,7 @@ declare global {
|
|||||||
const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark']
|
const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark']
|
||||||
const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages']
|
const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages']
|
||||||
const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion']
|
const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion']
|
||||||
|
const usePrevious: typeof import('@vueuse/core')['usePrevious']
|
||||||
const useRafFn: typeof import('@vueuse/core')['useRafFn']
|
const useRafFn: typeof import('@vueuse/core')['useRafFn']
|
||||||
const useRefHistory: typeof import('@vueuse/core')['useRefHistory']
|
const useRefHistory: typeof import('@vueuse/core')['useRefHistory']
|
||||||
const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver']
|
const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver']
|
||||||
@@ -374,3 +378,8 @@ declare global {
|
|||||||
const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter']
|
const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter']
|
||||||
const whenever: typeof import('@vueuse/core')['whenever']
|
const whenever: typeof import('@vueuse/core')['whenever']
|
||||||
}
|
}
|
||||||
|
// for type re-export
|
||||||
|
declare global {
|
||||||
|
// @ts-ignore
|
||||||
|
export type { Component,ComponentPublicInstance,ComputedRef,InjectionKey,PropType,Ref,VNode } from 'vue'
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,32 +1,6 @@
|
|||||||
{
|
{
|
||||||
|
"extends": "./tsconfig",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"preserveSymlinks": true,
|
"outDir": "./tmp"
|
||||||
"outDir": "./tmp",
|
}
|
||||||
"baseUrl": ".",
|
|
||||||
"module": "ESNext",
|
|
||||||
"target": "es2017",
|
|
||||||
"lib": ["DOM", "ESNext"],
|
|
||||||
"declaration": true,
|
|
||||||
"declarationDir": "./dist",
|
|
||||||
"strict": true,
|
|
||||||
"esModuleInterop": true,
|
|
||||||
"incremental": false,
|
|
||||||
"skipLibCheck": true,
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"noUnusedLocals": false,
|
|
||||||
"strictNullChecks": true,
|
|
||||||
"forceConsistentCasingInFileNames": true,
|
|
||||||
"types": ["vite/client", "vue/macros"],
|
|
||||||
"jsx": "preserve",
|
|
||||||
"paths": {
|
|
||||||
"~/*": ["src/*"]
|
|
||||||
},
|
|
||||||
"plugins": [
|
|
||||||
// Transform paths in output .d.ts files (Include this line if you output declarations files)
|
|
||||||
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"include": ["src"],
|
|
||||||
"exclude": ["node_modules", "dist"]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,32 +1,27 @@
|
|||||||
{
|
{
|
||||||
|
"extends": "@vue-flow/tsconfig/base",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"preserveSymlinks": true,
|
|
||||||
"baseUrl": ".",
|
"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",
|
"declarationDir": "./dist",
|
||||||
"types": ["vite", "vue/macros", "unplugin-vue-macros/macros-global"],
|
"types": [
|
||||||
"jsx": "preserve",
|
"vite/client",
|
||||||
|
"vue/macros",
|
||||||
|
"unplugin-vue-macros/macros-global"
|
||||||
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"~/*": ["src/*"]
|
"~/*": [
|
||||||
|
"src/*"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
// Transform paths in output .d.ts files (Include this line if you output declarations files)
|
// Transform paths in output .d.ts files (Include this line if you output declarations files)
|
||||||
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
|
{
|
||||||
|
"transform": "typescript-transform-paths",
|
||||||
|
"afterDeclarations": true
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"include": ["./src"],
|
"include": [
|
||||||
"exclude": ["node_modules", "dist"],
|
"./src"
|
||||||
"references": [{ "path": "./tsconfig.node.json" }]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"composite": true,
|
|
||||||
"module": "esnext",
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"allowSyntheticDefaultImports": true
|
|
||||||
},
|
|
||||||
"include": ["vite.config.ts"],
|
|
||||||
"files": ["package.json"]
|
|
||||||
}
|
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
||||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist",
|
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
||||||
"test": "exit 0"
|
"test": "exit 0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
@@ -41,6 +41,7 @@
|
|||||||
"@types/d3-zoom": "^3.0.1",
|
"@types/d3-zoom": "^3.0.1",
|
||||||
"@vue-flow/core": "workspace:*",
|
"@vue-flow/core": "workspace:*",
|
||||||
"@vue-flow/eslint-config": "workspace:*",
|
"@vue-flow/eslint-config": "workspace:*",
|
||||||
|
"@vue-flow/tsconfig": "workspace:*",
|
||||||
"@vitejs/plugin-vue": "^4.0.0",
|
"@vitejs/plugin-vue": "^4.0.0",
|
||||||
"unplugin-auto-import": "^0.14.4",
|
"unplugin-auto-import": "^0.14.4",
|
||||||
"vite": "^4.1.3",
|
"vite": "^4.1.3",
|
||||||
|
|||||||
11
packages/minimap/src/auto-imports.d.ts
vendored
11
packages/minimap/src/auto-imports.d.ts
vendored
@@ -1,4 +1,7 @@
|
|||||||
// Generated by 'unplugin-auto-import'
|
/* eslint-disable */
|
||||||
|
/* prettier-ignore */
|
||||||
|
// @ts-nocheck
|
||||||
|
// Generated by unplugin-auto-import
|
||||||
export {}
|
export {}
|
||||||
declare global {
|
declare global {
|
||||||
const $$: typeof import('vue/macros')['$$']
|
const $$: typeof import('vue/macros')['$$']
|
||||||
@@ -43,7 +46,6 @@ declare global {
|
|||||||
const readonly: typeof import('vue')['readonly']
|
const readonly: typeof import('vue')['readonly']
|
||||||
const ref: typeof import('vue')['ref']
|
const ref: typeof import('vue')['ref']
|
||||||
const resolveComponent: typeof import('vue')['resolveComponent']
|
const resolveComponent: typeof import('vue')['resolveComponent']
|
||||||
const resolveDirective: typeof import('vue')['resolveDirective']
|
|
||||||
const shallowReactive: typeof import('vue')['shallowReactive']
|
const shallowReactive: typeof import('vue')['shallowReactive']
|
||||||
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
||||||
const shallowRef: typeof import('vue')['shallowRef']
|
const shallowRef: typeof import('vue')['shallowRef']
|
||||||
@@ -61,3 +63,8 @@ declare global {
|
|||||||
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
||||||
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
||||||
}
|
}
|
||||||
|
// for type re-export
|
||||||
|
declare global {
|
||||||
|
// @ts-ignore
|
||||||
|
export type { Component,ComponentPublicInstance,ComputedRef,InjectionKey,PropType,Ref,VNode } from 'vue'
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,31 +1,14 @@
|
|||||||
{
|
{
|
||||||
|
"extends": "@vue-flow/tsconfig/base",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"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",
|
"declarationDir": "./dist",
|
||||||
"emitDeclarationOnly": true,
|
"types": [
|
||||||
"types": [],
|
"vite/client",
|
||||||
|
"vue/macros"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"./src",
|
"./src"
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"node_modules",
|
|
||||||
"dist"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
||||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist",
|
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
||||||
"test": "exit 0"
|
"test": "exit 0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
@@ -41,6 +41,7 @@
|
|||||||
"@types/d3-selection": "^3.0.3",
|
"@types/d3-selection": "^3.0.3",
|
||||||
"@vue-flow/core": "workspace:*",
|
"@vue-flow/core": "workspace:*",
|
||||||
"@vue-flow/eslint-config": "workspace:*",
|
"@vue-flow/eslint-config": "workspace:*",
|
||||||
|
"@vue-flow/tsconfig": "workspace:*",
|
||||||
"@vitejs/plugin-vue": "^4.0.0",
|
"@vitejs/plugin-vue": "^4.0.0",
|
||||||
"unplugin-auto-import": "^0.14.4",
|
"unplugin-auto-import": "^0.14.4",
|
||||||
"vite": "^4.1.3",
|
"vite": "^4.1.3",
|
||||||
|
|||||||
11
packages/node-resizer/src/auto-imports.d.ts
vendored
11
packages/node-resizer/src/auto-imports.d.ts
vendored
@@ -1,4 +1,7 @@
|
|||||||
// Generated by 'unplugin-auto-import'
|
/* eslint-disable */
|
||||||
|
/* prettier-ignore */
|
||||||
|
// @ts-nocheck
|
||||||
|
// Generated by unplugin-auto-import
|
||||||
export {}
|
export {}
|
||||||
declare global {
|
declare global {
|
||||||
const $$: typeof import('vue/macros')['$$']
|
const $$: typeof import('vue/macros')['$$']
|
||||||
@@ -43,7 +46,6 @@ declare global {
|
|||||||
const readonly: typeof import('vue')['readonly']
|
const readonly: typeof import('vue')['readonly']
|
||||||
const ref: typeof import('vue')['ref']
|
const ref: typeof import('vue')['ref']
|
||||||
const resolveComponent: typeof import('vue')['resolveComponent']
|
const resolveComponent: typeof import('vue')['resolveComponent']
|
||||||
const resolveDirective: typeof import('vue')['resolveDirective']
|
|
||||||
const shallowReactive: typeof import('vue')['shallowReactive']
|
const shallowReactive: typeof import('vue')['shallowReactive']
|
||||||
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
||||||
const shallowRef: typeof import('vue')['shallowRef']
|
const shallowRef: typeof import('vue')['shallowRef']
|
||||||
@@ -61,3 +63,8 @@ declare global {
|
|||||||
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
||||||
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
||||||
}
|
}
|
||||||
|
// for type re-export
|
||||||
|
declare global {
|
||||||
|
// @ts-ignore
|
||||||
|
export type { Component,ComponentPublicInstance,ComputedRef,InjectionKey,PropType,Ref,VNode } from 'vue'
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,31 +1,14 @@
|
|||||||
{
|
{
|
||||||
|
"extends": "@vue-flow/tsconfig/base",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"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",
|
"declarationDir": "./dist",
|
||||||
"emitDeclarationOnly": true,
|
"types": [
|
||||||
"types": [],
|
"vite/client",
|
||||||
|
"vue/macros"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"./src",
|
"./src"
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"node_modules",
|
|
||||||
"dist"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
||||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist",
|
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
||||||
"test": "exit 0"
|
"test": "exit 0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
@@ -36,6 +36,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue-flow/core": "workspace:*",
|
"@vue-flow/core": "workspace:*",
|
||||||
"@vue-flow/eslint-config": "workspace:*",
|
"@vue-flow/eslint-config": "workspace:*",
|
||||||
|
"@vue-flow/tsconfig": "workspace:*",
|
||||||
"@vitejs/plugin-vue": "^4.0.0",
|
"@vitejs/plugin-vue": "^4.0.0",
|
||||||
"unplugin-auto-import": "^0.14.4",
|
"unplugin-auto-import": "^0.14.4",
|
||||||
"vite": "^4.1.3",
|
"vite": "^4.1.3",
|
||||||
|
|||||||
11
packages/node-toolbar/src/auto-imports.d.ts
vendored
11
packages/node-toolbar/src/auto-imports.d.ts
vendored
@@ -1,4 +1,7 @@
|
|||||||
// Generated by 'unplugin-auto-import'
|
/* eslint-disable */
|
||||||
|
/* prettier-ignore */
|
||||||
|
// @ts-nocheck
|
||||||
|
// Generated by unplugin-auto-import
|
||||||
export {}
|
export {}
|
||||||
declare global {
|
declare global {
|
||||||
const $$: typeof import('vue/macros')['$$']
|
const $$: typeof import('vue/macros')['$$']
|
||||||
@@ -43,7 +46,6 @@ declare global {
|
|||||||
const readonly: typeof import('vue')['readonly']
|
const readonly: typeof import('vue')['readonly']
|
||||||
const ref: typeof import('vue')['ref']
|
const ref: typeof import('vue')['ref']
|
||||||
const resolveComponent: typeof import('vue')['resolveComponent']
|
const resolveComponent: typeof import('vue')['resolveComponent']
|
||||||
const resolveDirective: typeof import('vue')['resolveDirective']
|
|
||||||
const shallowReactive: typeof import('vue')['shallowReactive']
|
const shallowReactive: typeof import('vue')['shallowReactive']
|
||||||
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
||||||
const shallowRef: typeof import('vue')['shallowRef']
|
const shallowRef: typeof import('vue')['shallowRef']
|
||||||
@@ -61,3 +63,8 @@ declare global {
|
|||||||
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
||||||
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
||||||
}
|
}
|
||||||
|
// for type re-export
|
||||||
|
declare global {
|
||||||
|
// @ts-ignore
|
||||||
|
export type { Component,ComponentPublicInstance,ComputedRef,InjectionKey,PropType,Ref,VNode } from 'vue'
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,31 +1,14 @@
|
|||||||
{
|
{
|
||||||
|
"extends": "@vue-flow/tsconfig/base",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"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",
|
"declarationDir": "./dist",
|
||||||
"emitDeclarationOnly": true,
|
"types": [
|
||||||
"types": [],
|
"vite/client",
|
||||||
|
"vue/macros"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"./src",
|
"./src"
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"node_modules",
|
|
||||||
"dist"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,8 +24,7 @@
|
|||||||
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && shx rm -rf tmp",
|
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && shx rm -rf tmp",
|
||||||
"postbuild": "shx rm -rf tmp",
|
"postbuild": "shx rm -rf tmp",
|
||||||
"test": "exit 0;",
|
"test": "exit 0;",
|
||||||
"lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix ."
|
||||||
"lint": "pnpm lint:js"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"pathfinding": "^0.4.18",
|
"pathfinding": "^0.4.18",
|
||||||
@@ -34,6 +33,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue-flow/core": "workspace:*",
|
"@vue-flow/core": "workspace:*",
|
||||||
"@vue-flow/eslint-config": "workspace:*",
|
"@vue-flow/eslint-config": "workspace:*",
|
||||||
|
"@vue-flow/tsconfig": "workspace:*",
|
||||||
"@types/pathfinding": "^0.0.6",
|
"@types/pathfinding": "^0.0.6",
|
||||||
"@vitejs/plugin-vue": "^4.0.0",
|
"@vitejs/plugin-vue": "^4.0.0",
|
||||||
"ts-patch": "^2.1.0",
|
"ts-patch": "^2.1.0",
|
||||||
|
|||||||
11
packages/pathfinding-edge/src/auto-imports.d.ts
vendored
11
packages/pathfinding-edge/src/auto-imports.d.ts
vendored
@@ -1,4 +1,7 @@
|
|||||||
// Generated by 'unplugin-auto-import'
|
/* eslint-disable */
|
||||||
|
/* prettier-ignore */
|
||||||
|
// @ts-nocheck
|
||||||
|
// Generated by unplugin-auto-import
|
||||||
export {}
|
export {}
|
||||||
declare global {
|
declare global {
|
||||||
const EffectScope: typeof import('vue')['EffectScope']
|
const EffectScope: typeof import('vue')['EffectScope']
|
||||||
@@ -36,7 +39,6 @@ declare global {
|
|||||||
const readonly: typeof import('vue')['readonly']
|
const readonly: typeof import('vue')['readonly']
|
||||||
const ref: typeof import('vue')['ref']
|
const ref: typeof import('vue')['ref']
|
||||||
const resolveComponent: typeof import('vue')['resolveComponent']
|
const resolveComponent: typeof import('vue')['resolveComponent']
|
||||||
const resolveDirective: typeof import('vue')['resolveDirective']
|
|
||||||
const shallowReactive: typeof import('vue')['shallowReactive']
|
const shallowReactive: typeof import('vue')['shallowReactive']
|
||||||
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
||||||
const shallowRef: typeof import('vue')['shallowRef']
|
const shallowRef: typeof import('vue')['shallowRef']
|
||||||
@@ -54,3 +56,8 @@ declare global {
|
|||||||
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
||||||
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
||||||
}
|
}
|
||||||
|
// for type re-export
|
||||||
|
declare global {
|
||||||
|
// @ts-ignore
|
||||||
|
export type { Component,ComponentPublicInstance,ComputedRef,InjectionKey,PropType,Ref,VNode } from 'vue'
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,30 +1,14 @@
|
|||||||
{
|
{
|
||||||
|
"extends": "@vue-flow/tsconfig/base",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"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",
|
"declarationDir": "./dist",
|
||||||
"types": ["vite/client", "vue/macros"],
|
"types": [
|
||||||
"paths": {
|
"vite/client",
|
||||||
"~/*": ["src/*"]
|
"vue/macros"
|
||||||
},
|
|
||||||
"plugins": [
|
|
||||||
// Transform paths in output .d.ts files (Include this line if you output declarations files)
|
|
||||||
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"include": ["./src"],
|
"include": [
|
||||||
"exclude": ["node_modules", "dist"],
|
"./src"
|
||||||
"references": [{ "path": "./tsconfig.node.json" }]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"composite": true,
|
|
||||||
"module": "esnext",
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"allowSyntheticDefaultImports": true
|
|
||||||
},
|
|
||||||
"include": ["vite.config.ts"],
|
|
||||||
"files": ["package.json"]
|
|
||||||
}
|
|
||||||
@@ -26,9 +26,7 @@
|
|||||||
"types": "tsc && shx rm -rf tmp && pnpm lint:dist",
|
"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",
|
"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": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
||||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist",
|
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
||||||
"prepublishOnly": "shx cp ../../README.md .",
|
|
||||||
"postpublish": "shx rm README.md && git commit -a -m \"chore: bump version\"",
|
|
||||||
"test": "exit 0"
|
"test": "exit 0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
@@ -39,6 +37,7 @@
|
|||||||
"@vue-flow/controls": "workspace:*",
|
"@vue-flow/controls": "workspace:*",
|
||||||
"@vue-flow/core": "workspace:*",
|
"@vue-flow/core": "workspace:*",
|
||||||
"@vue-flow/eslint-config": "workspace:*",
|
"@vue-flow/eslint-config": "workspace:*",
|
||||||
|
"@vue-flow/tsconfig": "workspace:*",
|
||||||
"@vue-flow/minimap": "workspace:*"
|
"@vue-flow/minimap": "workspace:*"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -51,9 +50,5 @@
|
|||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public",
|
"access": "public",
|
||||||
"registry": "https://registry.npmjs.org/"
|
"registry": "https://registry.npmjs.org/"
|
||||||
},
|
|
||||||
"np": {
|
|
||||||
"branch": "master",
|
|
||||||
"message": "v%s"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,29 +1,14 @@
|
|||||||
{
|
{
|
||||||
|
"extends": "@vue-flow/tsconfig/base",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"preserveSymlinks": true,
|
|
||||||
"baseUrl": ".",
|
"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",
|
"declarationDir": "./dist",
|
||||||
"emitDeclarationOnly": true,
|
"types": [
|
||||||
"types": ["vite/client"],
|
"vite/client",
|
||||||
"jsx": "preserve",
|
"vue/macros"
|
||||||
"paths": {
|
]
|
||||||
"~/*": ["src/*"]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"include": ["./src"],
|
"include": [
|
||||||
"exclude": ["node_modules", "dist"],
|
"./src"
|
||||||
"references": [{ "path": "./tsconfig.node.json" }]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"composite": true,
|
|
||||||
"module": "esnext",
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"allowSyntheticDefaultImports": true
|
|
||||||
},
|
|
||||||
"include": ["vite.config.ts"],
|
|
||||||
"files": ["package.json"]
|
|
||||||
}
|
|
||||||
19
pnpm-lock.yaml
generated
19
pnpm-lock.yaml
generated
@@ -179,6 +179,7 @@ importers:
|
|||||||
'@vitejs/plugin-vue': ^4.0.0
|
'@vitejs/plugin-vue': ^4.0.0
|
||||||
'@vue-flow/core': workspace:*
|
'@vue-flow/core': workspace:*
|
||||||
'@vue-flow/eslint-config': workspace:*
|
'@vue-flow/eslint-config': workspace:*
|
||||||
|
'@vue-flow/tsconfig': workspace:*
|
||||||
unplugin-auto-import: ^0.14.4
|
unplugin-auto-import: ^0.14.4
|
||||||
vite: ^4.1.3
|
vite: ^4.1.3
|
||||||
vite-plugin-vue-type-imports: ^0.2.4
|
vite-plugin-vue-type-imports: ^0.2.4
|
||||||
@@ -190,6 +191,7 @@ importers:
|
|||||||
'@vitejs/plugin-vue': 4.0.0_vite@4.1.3+vue@3.2.45
|
'@vitejs/plugin-vue': 4.0.0_vite@4.1.3+vue@3.2.45
|
||||||
'@vue-flow/core': link:../core
|
'@vue-flow/core': link:../core
|
||||||
'@vue-flow/eslint-config': link:../../tooling/eslint-config
|
'@vue-flow/eslint-config': link:../../tooling/eslint-config
|
||||||
|
'@vue-flow/tsconfig': link:../../tooling/tsconfig
|
||||||
unplugin-auto-import: 0.14.4
|
unplugin-auto-import: 0.14.4
|
||||||
vite: 4.1.3
|
vite: 4.1.3
|
||||||
vite-plugin-vue-type-imports: 0.2.4_vite@4.1.3+vue@3.2.45
|
vite-plugin-vue-type-imports: 0.2.4_vite@4.1.3+vue@3.2.45
|
||||||
@@ -200,6 +202,7 @@ importers:
|
|||||||
'@vitejs/plugin-vue': ^4.0.0
|
'@vitejs/plugin-vue': ^4.0.0
|
||||||
'@vue-flow/core': workspace:*
|
'@vue-flow/core': workspace:*
|
||||||
'@vue-flow/eslint-config': workspace:*
|
'@vue-flow/eslint-config': workspace:*
|
||||||
|
'@vue-flow/tsconfig': workspace:*
|
||||||
unplugin-auto-import: ^0.14.4
|
unplugin-auto-import: ^0.14.4
|
||||||
vite: ^4.1.3
|
vite: ^4.1.3
|
||||||
vite-plugin-vue-type-imports: ^0.2.4
|
vite-plugin-vue-type-imports: ^0.2.4
|
||||||
@@ -212,6 +215,7 @@ importers:
|
|||||||
'@vitejs/plugin-vue': 4.0.0_vite@4.1.3+vue@3.2.45
|
'@vitejs/plugin-vue': 4.0.0_vite@4.1.3+vue@3.2.45
|
||||||
'@vue-flow/core': link:../core
|
'@vue-flow/core': link:../core
|
||||||
'@vue-flow/eslint-config': link:../../tooling/eslint-config
|
'@vue-flow/eslint-config': link:../../tooling/eslint-config
|
||||||
|
'@vue-flow/tsconfig': link:../../tooling/tsconfig
|
||||||
unplugin-auto-import: 0.14.4
|
unplugin-auto-import: 0.14.4
|
||||||
vite: 4.1.3
|
vite: 4.1.3
|
||||||
vite-plugin-vue-type-imports: 0.2.4_vite@4.1.3+vue@3.2.45
|
vite-plugin-vue-type-imports: 0.2.4_vite@4.1.3+vue@3.2.45
|
||||||
@@ -224,6 +228,7 @@ importers:
|
|||||||
'@types/d3': ^7.4.0
|
'@types/d3': ^7.4.0
|
||||||
'@vitejs/plugin-vue': ^4.0.0
|
'@vitejs/plugin-vue': ^4.0.0
|
||||||
'@vue-flow/eslint-config': workspace:*
|
'@vue-flow/eslint-config': workspace:*
|
||||||
|
'@vue-flow/tsconfig': workspace:*
|
||||||
'@vueuse/core': ^9.13.0
|
'@vueuse/core': ^9.13.0
|
||||||
autoprefixer: ^10.4.13
|
autoprefixer: ^10.4.13
|
||||||
d3-drag: ^3.0.0
|
d3-drag: ^3.0.0
|
||||||
@@ -250,6 +255,7 @@ importers:
|
|||||||
'@types/d3': 7.4.0
|
'@types/d3': 7.4.0
|
||||||
'@vitejs/plugin-vue': 4.0.0_vite@4.1.3+vue@3.2.45
|
'@vitejs/plugin-vue': 4.0.0_vite@4.1.3+vue@3.2.45
|
||||||
'@vue-flow/eslint-config': link:../../tooling/eslint-config
|
'@vue-flow/eslint-config': link:../../tooling/eslint-config
|
||||||
|
'@vue-flow/tsconfig': link:../../tooling/tsconfig
|
||||||
autoprefixer: 10.4.13_postcss@8.4.21
|
autoprefixer: 10.4.13_postcss@8.4.21
|
||||||
postcss: 8.4.21
|
postcss: 8.4.21
|
||||||
postcss-cli: 10.1.0_postcss@8.4.21
|
postcss-cli: 10.1.0_postcss@8.4.21
|
||||||
@@ -268,6 +274,7 @@ importers:
|
|||||||
'@vitejs/plugin-vue': ^4.0.0
|
'@vitejs/plugin-vue': ^4.0.0
|
||||||
'@vue-flow/core': workspace:*
|
'@vue-flow/core': workspace:*
|
||||||
'@vue-flow/eslint-config': workspace:*
|
'@vue-flow/eslint-config': workspace:*
|
||||||
|
'@vue-flow/tsconfig': workspace:*
|
||||||
d3-selection: ^3.0.0
|
d3-selection: ^3.0.0
|
||||||
d3-zoom: ^3.0.0
|
d3-zoom: ^3.0.0
|
||||||
unplugin-auto-import: ^0.14.4
|
unplugin-auto-import: ^0.14.4
|
||||||
@@ -285,6 +292,7 @@ importers:
|
|||||||
'@vitejs/plugin-vue': 4.0.0_vite@4.1.3+vue@3.2.45
|
'@vitejs/plugin-vue': 4.0.0_vite@4.1.3+vue@3.2.45
|
||||||
'@vue-flow/core': link:../core
|
'@vue-flow/core': link:../core
|
||||||
'@vue-flow/eslint-config': link:../../tooling/eslint-config
|
'@vue-flow/eslint-config': link:../../tooling/eslint-config
|
||||||
|
'@vue-flow/tsconfig': link:../../tooling/tsconfig
|
||||||
unplugin-auto-import: 0.14.4
|
unplugin-auto-import: 0.14.4
|
||||||
vite: 4.1.3
|
vite: 4.1.3
|
||||||
vite-plugin-vue-type-imports: 0.2.4_vite@4.1.3+vue@3.2.45
|
vite-plugin-vue-type-imports: 0.2.4_vite@4.1.3+vue@3.2.45
|
||||||
@@ -297,6 +305,7 @@ importers:
|
|||||||
'@vitejs/plugin-vue': ^4.0.0
|
'@vitejs/plugin-vue': ^4.0.0
|
||||||
'@vue-flow/core': workspace:*
|
'@vue-flow/core': workspace:*
|
||||||
'@vue-flow/eslint-config': workspace:*
|
'@vue-flow/eslint-config': workspace:*
|
||||||
|
'@vue-flow/tsconfig': workspace:*
|
||||||
d3-drag: ^3.0.0
|
d3-drag: ^3.0.0
|
||||||
d3-selection: ^3.0.0
|
d3-selection: ^3.0.0
|
||||||
unplugin-auto-import: ^0.14.4
|
unplugin-auto-import: ^0.14.4
|
||||||
@@ -314,6 +323,7 @@ importers:
|
|||||||
'@vitejs/plugin-vue': 4.0.0_vite@4.1.3+vue@3.2.45
|
'@vitejs/plugin-vue': 4.0.0_vite@4.1.3+vue@3.2.45
|
||||||
'@vue-flow/core': link:../core
|
'@vue-flow/core': link:../core
|
||||||
'@vue-flow/eslint-config': link:../../tooling/eslint-config
|
'@vue-flow/eslint-config': link:../../tooling/eslint-config
|
||||||
|
'@vue-flow/tsconfig': link:../../tooling/tsconfig
|
||||||
unplugin-auto-import: 0.14.4
|
unplugin-auto-import: 0.14.4
|
||||||
vite: 4.1.3
|
vite: 4.1.3
|
||||||
vite-plugin-vue-type-imports: 0.2.4_vite@4.1.3+vue@3.2.45
|
vite-plugin-vue-type-imports: 0.2.4_vite@4.1.3+vue@3.2.45
|
||||||
@@ -324,6 +334,7 @@ importers:
|
|||||||
'@vitejs/plugin-vue': ^4.0.0
|
'@vitejs/plugin-vue': ^4.0.0
|
||||||
'@vue-flow/core': workspace:*
|
'@vue-flow/core': workspace:*
|
||||||
'@vue-flow/eslint-config': workspace:*
|
'@vue-flow/eslint-config': workspace:*
|
||||||
|
'@vue-flow/tsconfig': workspace:*
|
||||||
unplugin-auto-import: ^0.14.4
|
unplugin-auto-import: ^0.14.4
|
||||||
vite: ^4.1.3
|
vite: ^4.1.3
|
||||||
vite-plugin-vue-type-imports: ^0.2.4
|
vite-plugin-vue-type-imports: ^0.2.4
|
||||||
@@ -335,6 +346,7 @@ importers:
|
|||||||
'@vitejs/plugin-vue': 4.0.0_vite@4.1.3+vue@3.2.45
|
'@vitejs/plugin-vue': 4.0.0_vite@4.1.3+vue@3.2.45
|
||||||
'@vue-flow/core': link:../core
|
'@vue-flow/core': link:../core
|
||||||
'@vue-flow/eslint-config': link:../../tooling/eslint-config
|
'@vue-flow/eslint-config': link:../../tooling/eslint-config
|
||||||
|
'@vue-flow/tsconfig': link:../../tooling/tsconfig
|
||||||
unplugin-auto-import: 0.14.4
|
unplugin-auto-import: 0.14.4
|
||||||
vite: 4.1.3
|
vite: 4.1.3
|
||||||
vite-plugin-vue-type-imports: 0.2.4_vite@4.1.3+vue@3.2.45
|
vite-plugin-vue-type-imports: 0.2.4_vite@4.1.3+vue@3.2.45
|
||||||
@@ -346,6 +358,7 @@ importers:
|
|||||||
'@vitejs/plugin-vue': ^4.0.0
|
'@vitejs/plugin-vue': ^4.0.0
|
||||||
'@vue-flow/core': workspace:*
|
'@vue-flow/core': workspace:*
|
||||||
'@vue-flow/eslint-config': workspace:*
|
'@vue-flow/eslint-config': workspace:*
|
||||||
|
'@vue-flow/tsconfig': workspace:*
|
||||||
pathfinding: ^0.4.18
|
pathfinding: ^0.4.18
|
||||||
perfect-arrows: ^0.3.7
|
perfect-arrows: ^0.3.7
|
||||||
ts-patch: ^2.1.0
|
ts-patch: ^2.1.0
|
||||||
@@ -364,6 +377,7 @@ importers:
|
|||||||
'@vitejs/plugin-vue': 4.0.0_vite@4.1.3+vue@3.2.45
|
'@vitejs/plugin-vue': 4.0.0_vite@4.1.3+vue@3.2.45
|
||||||
'@vue-flow/core': link:../core
|
'@vue-flow/core': link:../core
|
||||||
'@vue-flow/eslint-config': link:../../tooling/eslint-config
|
'@vue-flow/eslint-config': link:../../tooling/eslint-config
|
||||||
|
'@vue-flow/tsconfig': link:../../tooling/tsconfig
|
||||||
ts-patch: 2.1.0_typescript@4.9.5
|
ts-patch: 2.1.0_typescript@4.9.5
|
||||||
typescript-transform-paths: 3.4.6_typescript@4.9.5
|
typescript-transform-paths: 3.4.6_typescript@4.9.5
|
||||||
unplugin-auto-import: 0.14.4
|
unplugin-auto-import: 0.14.4
|
||||||
@@ -378,6 +392,7 @@ importers:
|
|||||||
'@vue-flow/core': workspace:*
|
'@vue-flow/core': workspace:*
|
||||||
'@vue-flow/eslint-config': workspace:*
|
'@vue-flow/eslint-config': workspace:*
|
||||||
'@vue-flow/minimap': workspace:*
|
'@vue-flow/minimap': workspace:*
|
||||||
|
'@vue-flow/tsconfig': workspace:*
|
||||||
autoprefixer: ^10.4.13
|
autoprefixer: ^10.4.13
|
||||||
postcss: ^8.4.21
|
postcss: ^8.4.21
|
||||||
postcss-cli: ^10.1.0
|
postcss-cli: ^10.1.0
|
||||||
@@ -390,6 +405,7 @@ importers:
|
|||||||
'@vue-flow/core': link:../core
|
'@vue-flow/core': link:../core
|
||||||
'@vue-flow/eslint-config': link:../../tooling/eslint-config
|
'@vue-flow/eslint-config': link:../../tooling/eslint-config
|
||||||
'@vue-flow/minimap': link:../minimap
|
'@vue-flow/minimap': link:../minimap
|
||||||
|
'@vue-flow/tsconfig': link:../../tooling/tsconfig
|
||||||
vue: 3.2.45
|
vue: 3.2.45
|
||||||
devDependencies:
|
devDependencies:
|
||||||
autoprefixer: 10.4.13_postcss@8.4.21
|
autoprefixer: 10.4.13_postcss@8.4.21
|
||||||
@@ -433,6 +449,9 @@ importers:
|
|||||||
eslint-plugin-prettier: 4.2.1_u5wnrdwibbfomslmnramz52buy
|
eslint-plugin-prettier: 4.2.1_u5wnrdwibbfomslmnramz52buy
|
||||||
prettier: 2.8.4
|
prettier: 2.8.4
|
||||||
|
|
||||||
|
tooling/tsconfig:
|
||||||
|
specifiers: {}
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
/@algolia/autocomplete-core/1.7.4:
|
/@algolia/autocomplete-core/1.7.4:
|
||||||
|
|||||||
28
tooling/tsconfig/base.json
Normal file
28
tooling/tsconfig/base.json
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "ESNext",
|
||||||
|
"target": "es2017",
|
||||||
|
"lib": [
|
||||||
|
"DOM",
|
||||||
|
"ESNext"
|
||||||
|
],
|
||||||
|
"preserveSymlinks": true,
|
||||||
|
"strict": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"incremental": false,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"noUnusedLocals": false,
|
||||||
|
"strictNullChecks": true,
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"declaration": true,
|
||||||
|
"emitDeclarationOnly": true,
|
||||||
|
"jsx": "preserve",
|
||||||
|
"types": []
|
||||||
|
},
|
||||||
|
"exclude": [
|
||||||
|
"node_modules",
|
||||||
|
"dist"
|
||||||
|
]
|
||||||
|
}
|
||||||
6
tooling/tsconfig/package.json
Normal file
6
tooling/tsconfig/package.json
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "@vue-flow/tsconfig",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"private": true,
|
||||||
|
"license": "MIT"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user