Skip to content

Commit 877e5d6

Browse files
committed
some minot house keeping
1 parent 8c0e27f commit 877e5d6

File tree

5 files changed

+28
-33
lines changed

5 files changed

+28
-33
lines changed

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
"scripts": {
88
"lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix ./workspaces/**/*.ts",
99
"format": "prettier ./workspaces/**/*.ts --write",
10-
"test": "vitest ./src/functions/*.test.ts",
11-
"test:ui": "vitest --ui",
12-
"test:run": "vitest run",
1310
"docs": "typedoc",
1411
"docs:dev": "vitepress dev docs",
1512
"docs:build": "vitepress build docs",

workspaces/client/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ export default defineConfig({
1212
},
1313
},
1414
plugins: [dts()],
15-
});
15+
});
Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
import { fileURLToPath, URL } from 'node:url'
1+
import { fileURLToPath, URL } from "node:url";
22

3-
import { defineConfig } from 'vite'
4-
import vue from '@vitejs/plugin-vue'
3+
import { defineConfig } from "vite";
4+
import vue from "@vitejs/plugin-vue";
55

66
// https://vitejs.dev/config/
77
export default defineConfig({
8-
plugins: [
9-
vue()
10-
],
11-
resolve: {
12-
alias: {
13-
'@': fileURLToPath(new URL('./src', import.meta.url))
14-
}
15-
},
16-
})
8+
plugins: [vue()],
9+
resolve: {
10+
alias: {
11+
"@": fileURLToPath(new URL("./src", import.meta.url)),
12+
},
13+
},
14+
});
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import { fileURLToPath } from 'node:url'
2-
import { mergeConfig, defineConfig, configDefaults } from 'vitest/config'
3-
import viteConfig from './vite.config'
1+
import { fileURLToPath } from "node:url";
2+
import { mergeConfig, defineConfig, configDefaults } from "vitest/config";
3+
import viteConfig from "./vite.config";
44

55
export default mergeConfig(
6-
viteConfig,
7-
defineConfig({
8-
test: {
9-
environment: 'jsdom',
10-
exclude: [...configDefaults.exclude, 'e2e/**'],
11-
root: fileURLToPath(new URL('./', import.meta.url))
12-
}
13-
})
14-
)
6+
viteConfig,
7+
defineConfig({
8+
test: {
9+
environment: "jsdom",
10+
exclude: [...configDefaults.exclude, "e2e/**"],
11+
root: fileURLToPath(new URL("./", import.meta.url)),
12+
},
13+
})
14+
);

workspaces/demo/vite.config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { defineConfig } from "vite";
22
import vue from "@vitejs/plugin-vue";
3-
import basicSsl from '@vitejs/plugin-basic-ssl';
3+
import basicSsl from "@vitejs/plugin-basic-ssl";
44

55
// https://vitejs.dev/config/
66
export default defineConfig({
7-
plugins: [vue(), basicSsl()],
8-
server: {
9-
https: true,
10-
},
7+
plugins: [vue(), basicSsl()],
8+
server: {
9+
https: true,
10+
},
1111
});

0 commit comments

Comments
 (0)