@nemigo/webgpu 2.0.1 → 2.2.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -0
  2. package/package.json +9 -11
package/dist/index.js CHANGED
@@ -4,6 +4,7 @@ export class WebGPU {
4
4
  adapter;
5
5
  device;
6
6
  format;
7
+ // eslint-disable-next-line unicorn/consistent-function-scoping
7
8
  init = profish(async () => {
8
9
  const adapter = await navigator.gpu.requestAdapter();
9
10
  if (!adapter)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nemigo/webgpu",
3
- "version": "2.0.1",
3
+ "version": "2.2.0",
4
4
  "private": false,
5
5
  "author": {
6
6
  "name": "Vlad Logvin",
@@ -8,14 +8,12 @@
8
8
  },
9
9
  "type": "module",
10
10
  "scripts": {
11
- "build": "svelte-package && rimraf .svelte-kit",
11
+ "build": "bunx --bun svelte-package && bunx --bun rimraf .svelte-kit",
12
12
  "check": "bunx --bun tsc --noemit",
13
13
  "eslint": "bunx --bun eslint ./",
14
- "eslint:fix": "bunx --bun eslint --fix ./",
15
- "lint": "biome lint",
16
- "lint:fix": "biome lint --fix --unsafe",
17
- "lint:fix:unsafe": "biome lint --fix --unsafe",
18
- "format": "biome check --write --linter-enabled=false"
14
+ "oxlint": "bunx --bun oxlint --config .././../oxlintrc.jsonc --ignore-path ../configs/.eslint.ignore ./",
15
+ "bilint": "bunx --bun biome lint",
16
+ "format": "bunx --bun biome check --write --linter-enabled=false"
19
17
  },
20
18
  "exports": {
21
19
  ".": {
@@ -24,11 +22,11 @@
24
22
  }
25
23
  },
26
24
  "peerDependencies": {
27
- "@nemigo/helpers": ">=2.0.0",
28
- "@webgpu/types": ">=0.1.50"
25
+ "@nemigo/helpers": ">=2.2.0",
26
+ "@webgpu/types": ">=0.1.60"
29
27
  },
30
28
  "devDependencies": {
31
- "@nemigo/configs": "2.1.2",
32
- "@nemigo/helpers": "2.0.2"
29
+ "@nemigo/configs": "2.2.0",
30
+ "@nemigo/helpers": "2.2.0"
33
31
  }
34
32
  }