vitest-environment-webgl-node 1.0.1 → 3.0.0
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.
- package/README.md +2 -0
- package/package.json +9 -10
- package/src/index.ts +1 -1
- package/CHANGELOG.md +0 -5
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitest-environment-webgl-node",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Vitest environment that provides real headless WebGL 1/2 (ANGLE via @onirenaud/node-webgl) in Node",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"headless",
|
|
@@ -29,8 +29,7 @@
|
|
|
29
29
|
"dist/**/*.d.ts",
|
|
30
30
|
"dist/**/*.d.ts.map",
|
|
31
31
|
"src/**/*.ts",
|
|
32
|
-
"!src/**/*.test.ts"
|
|
33
|
-
"CHANGELOG.md"
|
|
32
|
+
"!src/**/*.test.ts"
|
|
34
33
|
],
|
|
35
34
|
"type": "module",
|
|
36
35
|
"main": "./dist/index.js",
|
|
@@ -47,17 +46,17 @@
|
|
|
47
46
|
"publishConfig": {
|
|
48
47
|
"access": "public"
|
|
49
48
|
},
|
|
50
|
-
"scripts": {
|
|
51
|
-
"build": "tsc",
|
|
52
|
-
"tsc": "tsc"
|
|
53
|
-
},
|
|
54
49
|
"dependencies": {
|
|
55
50
|
"@onirenaud/node-webgl": "^0.2.0"
|
|
56
51
|
},
|
|
57
52
|
"peerDependencies": {
|
|
58
|
-
"vitest": ">=
|
|
53
|
+
"vitest": ">=4 <6"
|
|
59
54
|
},
|
|
60
55
|
"engines": {
|
|
61
|
-
"node": ">=
|
|
56
|
+
"node": ">=22"
|
|
57
|
+
},
|
|
58
|
+
"scripts": {
|
|
59
|
+
"build": "tsc",
|
|
60
|
+
"tsc": "tsc"
|
|
62
61
|
}
|
|
63
|
-
}
|
|
62
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { getDisplayInfo, init, installDOM, type InitOptions, type InstallDOMOpti
|
|
|
2
2
|
import { readFile } from 'node:fs/promises';
|
|
3
3
|
import { extname, resolve } from 'node:path';
|
|
4
4
|
import { fileURLToPath } from 'node:url';
|
|
5
|
-
import type { Environment } from 'vitest/
|
|
5
|
+
import type { Environment } from 'vitest/runtime';
|
|
6
6
|
|
|
7
7
|
/** Set under `test.environmentOptions.webglNode` in your Vitest config. */
|
|
8
8
|
export type WebglNodeOptions = InitOptions & InstallDOMOptions;
|
package/CHANGELOG.md
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
## [vitest-environment-webgl-node-v1.0.1](https://github.com/bhouston/vitest-gpu/compare/vitest-environment-webgl-node-v1.0.0...vitest-environment-webgl-node-v1.0.1) (2026-09-25)
|
|
2
|
-
|
|
3
|
-
### Bug Fixes
|
|
4
|
-
|
|
5
|
-
* drop deprecated transformMode from GPU environments ([28f736a](https://github.com/bhouston/vitest-gpu/commit/28f736ad629a2a3ca023839cadce460d0d5c6937)), closes [#54](https://github.com/bhouston/vitest-gpu/issues/54)
|