@antv/g-webgpu 2.0.56 → 2.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/g-webgpu",
3
- "version": "2.0.56",
3
+ "version": "2.1.1",
4
4
  "description": "A renderer implemented by WebGPU",
5
5
  "keywords": [
6
6
  "antv",
@@ -38,11 +38,8 @@
38
38
  "@babel/runtime": "^7.25.6",
39
39
  "@webgpu/types": "^0.1.6",
40
40
  "tslib": "^2.5.3",
41
- "@antv/g-lite": "2.5.1",
42
- "@antv/g-plugin-device-renderer": "2.5.1",
43
- "@antv/g-plugin-dom-interaction": "2.1.31",
44
- "@antv/g-plugin-html-renderer": "2.3.1",
45
- "@antv/g-plugin-image-loader": "2.3.1"
41
+ "@antv/g-lite": "2.7.0",
42
+ "@antv/g-plugin-device-renderer": "2.6.1"
46
43
  },
47
44
  "devDependencies": {
48
45
  "@types/gl-matrix": "^2.4.5",
@@ -52,9 +49,9 @@
52
49
  "access": "public"
53
50
  },
54
51
  "scripts": {
55
- "build:types": "tsc --emitDeclarationOnly --noCheck",
56
- "build": "npm run clean && npm run build:types && rollup -c",
57
- "clean": "rimraf dist",
52
+ "build:js": "rimraf dist && rollup -c",
53
+ "build:types": "rimraf types && tsc --emitDeclarationOnly --noCheck",
54
+ "build": "npm run build:js && npm run build:types",
58
55
  "sync": "tnpm sync",
59
56
  "watch": "rollup -c -w"
60
57
  }
package/types/index.d.ts CHANGED
@@ -1,7 +1,5 @@
1
- import { AbstractRenderer, ClipSpaceNearZ, RendererConfig } from '@antv/g-lite';
1
+ import { AbstractRenderer, ClipSpaceNearZ, RendererConfig, HTMLRenderer, DomInteraction } from '@antv/g-lite';
2
2
  import * as DeviceRenderer from '@antv/g-plugin-device-renderer';
3
- import * as DomInteraction from '@antv/g-plugin-dom-interaction';
4
- import * as HTMLRenderer from '@antv/g-plugin-html-renderer';
5
3
  export { DomInteraction, DeviceRenderer, HTMLRenderer };
6
4
  export interface WebGPURendererConfig extends RendererConfig {
7
5
  shaderCompilerPath: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAChF,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,YAAY,MAAM,8BAA8B,CAAC;AAI7D,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC;AAExD,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC1D,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,qBAAa,QAAS,SAAQ,gBAAgB;IAC5C,cAAc,iBAAuB;gBAEzB,MAAM,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC;CAenD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,cAAc,EAEd,YAAY,EACZ,cAAc,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,cAAc,MAAM,gCAAgC,CAAC;AAGjE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC;AAExD,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC1D,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,qBAAa,QAAS,SAAQ,gBAAgB;IAC5C,cAAc,iBAAuB;gBAEzB,MAAM,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC;CAenD"}