vitrify 0.11.4 → 0.11.6

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 +27 -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.6",
4
4
  "license": "MIT",
5
5
  "author": "Stefan van Herwijnen",
6
6
  "description": "Vite as your Full Stack development tool",
@@ -48,42 +48,43 @@
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
+ "ajv": "^8.12.0",
55
56
  "builtin-modules": "^3.3.0",
56
57
  "cac": "^6.7.14",
57
- "chalk": "^5.0.1",
58
+ "chalk": "^5.2.0",
58
59
  "critters": "^0.0.16",
59
60
  "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",
61
+ "esbuild": "^0.17.8",
62
+ "fastify": "^4.13.0",
63
+ "glob": "^8.1.0",
64
+ "happy-dom": "^8.4.0",
64
65
  "is-port-reachable": "^4.0.0",
65
- "magic-string": "^0.26.3",
66
+ "magic-string": "^0.29.0",
66
67
  "merge-deep": "^3.0.3",
67
68
  "readline": "^1.3.0",
68
- "rollup-plugin-visualizer": "^5.8.1",
69
- "sass": "1.54.8",
69
+ "rollup-plugin-visualizer": "^5.9.0",
70
+ "sass": "1.58.1",
70
71
  "ts-node": "^10.9.1",
71
- "unplugin-vue-components": "^0.22.4",
72
- "vite": "^3.1.0",
73
- "vitest": "^0.23.1"
72
+ "unplugin-vue-components": "^0.23.0",
73
+ "vite": "^4.1.1",
74
+ "vitest": "^0.28.5"
74
75
  },
75
76
  "devDependencies": {
76
77
  "@types/connect": "^3.4.35",
77
- "@types/glob": "^8.0.0",
78
+ "@types/glob": "^8.0.1",
78
79
  "@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"
80
+ "@types/node": "^18.13.0",
81
+ "@types/ws": "^8.5.4",
82
+ "@vue/runtime-core": "^3.2.47",
83
+ "quasar": "^2.11.6",
84
+ "rollup": "^3.15.0",
85
+ "typescript": "^4.9.5",
86
+ "vue": "^3.2.47",
87
+ "vue-router": "^4.1.6"
87
88
  },
88
89
  "peerDependencies": {
89
90
  "@fastify/static": "^6.5.0",
@@ -99,8 +100,7 @@
99
100
  "files": [
100
101
  "dist",
101
102
  "src",
102
- "!dist/**/*.test.js",
103
- "!dist/**/test.js"
103
+ "!dist/**/*.test.js"
104
104
  ],
105
105
  "keywords": [
106
106
  "vite",