@webgpu/types
Advanced tools
Comparing version 0.1.33 to 0.1.34
@@ -6,3 +6,3 @@ { | ||
"bugs": "https://github.com/gpuweb/types/issues", | ||
"version": "0.1.33", | ||
"version": "0.1.34", | ||
"main": "", | ||
@@ -15,4 +15,4 @@ "types": "dist/index.d.ts", | ||
"scripts": { | ||
"build-docs": "node make-webgpu-docs.mjs", | ||
"build-ci": "npm run build-docs", | ||
"test": "for t in tests/*/ ; do (cd \"$t\" && npm i && npm test); done", | ||
"build-docs": "cd tsdoc-src && npm ci && npm run build", | ||
"generate": "bikeshed-to-ts --in ./gpuweb/spec/index.bs --out ./generated/index.d.ts --forceGlobal --nominal && prettier -w generated/index.d.ts", | ||
@@ -23,6 +23,4 @@ "format": "prettier -w dist/index.d.ts" | ||
"bikeshed-to-ts": "github:toji/bikeshed-to-ts", | ||
"prettier": "^2.2.1", | ||
"typedoc": "^0.23.22", | ||
"typescript": "4.6.4" | ||
"prettier": "^2.2.1" | ||
} | ||
} |
@@ -23,2 +23,6 @@ # Typescript Type Definitions for WebGPU | ||
If you are on TypeScript < 5.1, you will also need to install `@types/dom-webcodecs` | ||
as a sibling dependency. The version you need depends on the TypeScript version; | ||
see the [tests](tests/) for examples. | ||
### Configure | ||
@@ -25,0 +29,0 @@ |
Sorry, the diff of this file is too big to display
2
116
111539
3037