@webgpu/types
Advanced tools
+2
-2
@@ -6,3 +6,3 @@ { | ||
| "bugs": "https://github.com/gpuweb/types/issues", | ||
| "version": "0.1.64", | ||
| "version": "0.1.65", | ||
| "main": "", | ||
@@ -17,3 +17,3 @@ "types": "dist/index.d.ts", | ||
| "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 && node fix-generated.mjs && prettier -w generated/index.d.ts", | ||
| "generate": "node generate.mjs", | ||
| "format": "prettier -w dist/index.d.ts" | ||
@@ -20,0 +20,0 @@ }, |
+2
-3
@@ -86,5 +86,4 @@ # Typescript Type Definitions for WebGPU | ||
| - Install dependencies: `npm ci` | ||
| - Bug workaround: paste the `copies.bs` contents in place of its include in `index.bs` (generator doesn't support includes). | ||
| - Generate `generated/index.d.ts`: `npm run generate` | ||
| - Open a diff between `generated/index.d.ts` and `dist/index.d.ts`. | ||
| - Generate `generated/index-fixed.d.ts`: `npm run generate` | ||
| - Open a diff between `generated/index-fixed.d.ts` and `dist/index.d.ts`. | ||
| The generated file is tracked by Git so you can see what has changed. | ||
@@ -91,0 +90,0 @@ Update the latter according to changes from the former. |
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
3106
0.03%119283
-0.17%133
-0.75%