From eb16ab570f459710b3a7e4d9685cd709d2a13ea7 Mon Sep 17 00:00:00 2001 From: Rohan Bansal Date: Tue, 9 Jul 2024 15:48:26 +0530 Subject: [PATCH] fix: minor fixes --- atable/package.json | 4 ++-- examples/desktop/vite.config.ts | 2 +- examples/graphql_client/vite.config.ts | 4 ++-- stonecrop/package.json | 1 - stonecrop/tsconfig.json | 11 +---------- utilities/package.json | 2 +- 6 files changed, 7 insertions(+), 17 deletions(-) diff --git a/atable/package.json b/atable/package.json index 6a304f61..bea0d3b3 100644 --- a/atable/package.json +++ b/atable/package.json @@ -44,6 +44,8 @@ "dependencies": { "@stonecrop/themes": "workspace:*", "@stonecrop/utilities": "workspace:*", + "@vueuse/components": "^10.11.0", + "@vueuse/core": "^10.11.0", "uuid": "^10.0.0", "vue": "^3.4.31" }, @@ -57,8 +59,6 @@ "@vitest/coverage-istanbul": "^1.6.0", "@vitest/ui": "^1.6.0", "@vue/test-utils": "^2.4.6", - "@vueuse/components": "^10.9.0", - "@vueuse/core": "^10.11.0", "cypress": "^13.11.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-vue": "^9.11.1", diff --git a/examples/desktop/vite.config.ts b/examples/desktop/vite.config.ts index 1ed68ee0..2e405d6d 100644 --- a/examples/desktop/vite.config.ts +++ b/examples/desktop/vite.config.ts @@ -8,7 +8,7 @@ export default defineConfig({ plugins: [vue()], resolve: { alias: { - '@': resolve(projectRootDir, 'stories'), + '@': resolve(projectRootDir, 'desktop'), }, }, server: { diff --git a/examples/graphql_client/vite.config.ts b/examples/graphql_client/vite.config.ts index 8331f2b9..05324d0b 100644 --- a/examples/graphql_client/vite.config.ts +++ b/examples/graphql_client/vite.config.ts @@ -8,7 +8,7 @@ export default defineConfig({ plugins: [vue()], resolve: { alias: { - '@': resolve(projectRootDir, 'stories'), + '@': resolve(projectRootDir, 'graphql_client'), }, }, server: { @@ -19,7 +19,7 @@ export default defineConfig({ build: { sourcemap: true, lib: { - entry: resolve(projectRootDir, 'stories/index.ts'), + entry: resolve(projectRootDir, 'graphql_client/index.ts'), }, rollupOptions: { external: ['vue'], diff --git a/stonecrop/package.json b/stonecrop/package.json index c3614f8e..69f813a6 100644 --- a/stonecrop/package.json +++ b/stonecrop/package.json @@ -33,7 +33,6 @@ "scripts": { "prepublish": "heft build && vite build && rushx docs", "build": "heft build && vite build && rushx docs", - "dev": "vite serve stories/", "docs": "api-documenter markdown -i temp -o ../docs/stonecrop", "lint": "eslint . --ext .ts,.vue", "preview": "vite preview" diff --git a/stonecrop/tsconfig.json b/stonecrop/tsconfig.json index 1e8f7d36..19c07f9f 100644 --- a/stonecrop/tsconfig.json +++ b/stonecrop/tsconfig.json @@ -7,14 +7,5 @@ "types/*": ["./src/types/*"] } }, - "include": [ - "env.d.ts", - "src/**/*", - "src/**/*.ts", - "src/**/*.vue", - "stories/**/*.ts", - "stories/**/*.vue", - "tests/**/*.ts", - "tests/**/*.vue" - ] + "include": ["env.d.ts", "src/**/*", "src/**/*.ts", "src/**/*.vue", "tests/**/*.ts", "tests/**/*.vue"] } diff --git a/utilities/package.json b/utilities/package.json index 031c5a67..bdc9680d 100644 --- a/utilities/package.json +++ b/utilities/package.json @@ -38,6 +38,7 @@ "preview": "vite preview" }, "dependencies": { + "@vueuse/core": "^10.11.0", "vue": "^3.4.31" }, "devDependencies": { @@ -46,7 +47,6 @@ "@typescript-eslint/eslint-plugin": "^7.14.1", "@typescript-eslint/parser": "^7.14.1", "@vitejs/plugin-vue": "^5.0.5", - "@vueuse/core": "^10.11.0", "cypress": "^13.11.0", "eslint": "^8.40.0", "eslint-config-prettier": "^8.8.0",