diff --git a/docs/.env.d.ts b/docs/.env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/docs/.env.d.ts @@ -0,0 +1 @@ +/// diff --git a/docs/package.json b/docs/package.json index 5e94d8f..2b8392b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -16,10 +16,12 @@ "dependencies": { "@vueuse/motion": "^2.2.5", "clsx": "^2.1.1", + "cobe": "^0.6.3", "fs-extra": "^11.2.0", "markdown-it": "^14.1.0", "nanoid": "^5.0.7", - "tailwind-merge": "^2.5.3" + "tailwind-merge": "^2.5.3", + "vue-use-spring": "^0.3.3" }, "devDependencies": { "@antfu/eslint-config": "^3.7.3", diff --git a/docs/tsconfig.app.json b/docs/tsconfig.app.json new file mode 100644 index 0000000..414b11a --- /dev/null +++ b/docs/tsconfig.app.json @@ -0,0 +1,14 @@ +{ + "extends": "@vue/tsconfig/tsconfig.dom.json", + "compilerOptions": { + "composite": true, + "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", + + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"] + } + }, + "include": ["env.d.ts", "src/**/*", "src/**/*.vue"], + "exclude": ["src/**/__tests__/*"] +} diff --git a/docs/tsconfig.json b/docs/tsconfig.json old mode 100755 new mode 100644 index 405d30d..d85c910 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -1,18 +1,11 @@ { - "extends": "../tsconfig.json", - "compilerOptions": { - "baseUrl": ".", - "paths": { - "@/*": ["./src/*"] + "references": [ + { + "path": "./tsconfig.node.json" + }, + { + "path": "./tsconfig.app.json" } - }, - "include": [ - "**/*.ts", - "**/*.d.ts", - "**/*.vue", - ".vitepress/env.d.ts" ], - "exclude": [ - "**/dist/**" - ] + "files": [] } diff --git a/docs/tsconfig.node.json b/docs/tsconfig.node.json new file mode 100644 index 0000000..0fa71ee --- /dev/null +++ b/docs/tsconfig.node.json @@ -0,0 +1,19 @@ +{ + "extends": "@tsconfig/node20/tsconfig.json", + "compilerOptions": { + "composite": true, + "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", + + "module": "ESNext", + "moduleResolution": "Bundler", + "types": ["node"], + "noEmit": true + }, + "include": [ + "vite.config.*", + "vitest.config.*", + "cypress.config.*", + "nightwatch.conf.*", + "playwright.config.*" + ] +}