vitrify 0.11.4 → 0.11.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/bin/test.js +15 -0
  2. package/package.json +26 -27
@@ -0,0 +1,15 @@
1
+ import { startVitest } from 'vitest/node';
2
+ import { baseConfig } from '../index.js';
3
+ export async function test(opts) {
4
+ const config = await baseConfig({
5
+ appDir: opts.appDir,
6
+ command: 'test',
7
+ mode: 'development'
8
+ });
9
+ await startVitest('test', [], {
10
+ root: opts.appDir.pathname,
11
+ dir: opts.appDir.pathname,
12
+ globals: true,
13
+ environment: 'happy-dom'
14
+ }, config);
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitrify",
3
- "version": "0.11.4",
3
+ "version": "0.11.5",
4
4
  "license": "MIT",
5
5
  "author": "Stefan van Herwijnen",
6
6
  "description": "Vite as your Full Stack development tool",
@@ -48,42 +48,42 @@
48
48
  "test": "vitest test/"
49
49
  },
50
50
  "dependencies": {
51
- "@fastify/middie": "^8.0.0",
52
- "@fastify/static": "^6.5.0",
53
- "@quasar/extras": "^1.15.2",
54
- "@vitejs/plugin-vue": "^3.1.0",
51
+ "@fastify/middie": "^8.1.0",
52
+ "@fastify/static": "^6.9.0",
53
+ "@quasar/extras": "^1.15.11",
54
+ "@vitejs/plugin-vue": "^4.0.0",
55
55
  "builtin-modules": "^3.3.0",
56
56
  "cac": "^6.7.14",
57
- "chalk": "^5.0.1",
57
+ "chalk": "^5.2.0",
58
58
  "critters": "^0.0.16",
59
59
  "cross-env": "^7.0.3",
60
- "esbuild": "^0.15.7",
61
- "fastify": "^4.5.3",
62
- "glob": "^8.0.3",
63
- "happy-dom": "^6.0.4",
60
+ "esbuild": "^0.17.8",
61
+ "fastify": "^4.13.0",
62
+ "glob": "^8.1.0",
63
+ "happy-dom": "^8.4.0",
64
64
  "is-port-reachable": "^4.0.0",
65
- "magic-string": "^0.26.3",
65
+ "magic-string": "^0.29.0",
66
66
  "merge-deep": "^3.0.3",
67
67
  "readline": "^1.3.0",
68
- "rollup-plugin-visualizer": "^5.8.1",
69
- "sass": "1.54.8",
68
+ "rollup-plugin-visualizer": "^5.9.0",
69
+ "sass": "1.58.1",
70
70
  "ts-node": "^10.9.1",
71
- "unplugin-vue-components": "^0.22.4",
72
- "vite": "^3.1.0",
73
- "vitest": "^0.23.1"
71
+ "unplugin-vue-components": "^0.23.0",
72
+ "vite": "^4.1.1",
73
+ "vitest": "^0.28.5"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@types/connect": "^3.4.35",
77
- "@types/glob": "^8.0.0",
77
+ "@types/glob": "^8.0.1",
78
78
  "@types/merge-deep": "^3.0.0",
79
- "@types/node": "^18.7.15",
80
- "@types/ws": "^8.5.3",
81
- "@vue/runtime-core": "^3.2.38",
82
- "quasar": "^2.7.7",
83
- "rollup": "^2.79.0",
84
- "typescript": "^4.8.2",
85
- "vue": "^3.2.38",
86
- "vue-router": "^4.1.5"
79
+ "@types/node": "^18.13.0",
80
+ "@types/ws": "^8.5.4",
81
+ "@vue/runtime-core": "^3.2.47",
82
+ "quasar": "^2.11.6",
83
+ "rollup": "^3.15.0",
84
+ "typescript": "^4.9.5",
85
+ "vue": "^3.2.47",
86
+ "vue-router": "^4.1.6"
87
87
  },
88
88
  "peerDependencies": {
89
89
  "@fastify/static": "^6.5.0",
@@ -99,8 +99,7 @@
99
99
  "files": [
100
100
  "dist",
101
101
  "src",
102
- "!dist/**/*.test.js",
103
- "!dist/**/test.js"
102
+ "!dist/**/*.test.js"
104
103
  ],
105
104
  "keywords": [
106
105
  "vite",