From 0d973e2965367ee88fbff25afcac3c1312f61986 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Mon, 6 Jan 2025 09:15:39 -0800 Subject: [PATCH] bump to v0.2.0 --- README.md | 6 +++--- example/example.js | 2 +- package-lock.json | 4 ++-- package.json | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index fc8bf64..b9d3045 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# node-webgpu - dawn.node +# webgpu - dawn.node Provides webgpu to node @@ -9,13 +9,13 @@ it on npm. ## Usage ``` -npm install --save node-webgpu +npm install --save webgpu ``` Then in your code ```js -import { create, globals } from 'node-webgpu'; +import { create, globals } from 'webgpu'; Object.assign(globalThis, globals); const navigator = { gpu: create([]) }; diff --git a/example/example.js b/example/example.js index 08ecdf1..f67f24d 100644 --- a/example/example.js +++ b/example/example.js @@ -1,6 +1,6 @@ import fs from 'node:fs'; import { PNG } from 'pngjs'; -import { create, globals } from 'node-webgpu'; +import { create, globals } from 'webgpu'; Object.assign(globalThis, globals); const navigator = { gpu: create([]) }; diff --git a/package-lock.json b/package-lock.json index dd39b8d..9ba5ba5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "webgpu", - "version": "0.0.8", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "webgpu", - "version": "0.0.8", + "version": "0.2.0", "license": "MIT", "devDependencies": { "mocha": "^11.0.1" diff --git a/package.json b/package.json index 5042b9b..d346e5e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "node-webgpu", - "version": "0.0.8", + "name": "webgpu", + "version": "0.2.0", "description": "WebGPU for node", "main": "index.js", "type": "module",