@antv/g-webgpu 2.0.20 → 2.0.21

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.20",
3
+ "version": "2.0.21",
4
4
  "description": "A renderer implemented by WebGPU",
5
5
  "keywords": [
6
6
  "antv",
@@ -17,30 +17,32 @@
17
17
  "license": "MIT",
18
18
  "author": "https://github.com/orgs/antvis/people",
19
19
  "exports": {
20
- "types": "./dist/index.d.ts",
20
+ "types": "./types/index.d.ts",
21
21
  "import": "./dist/index.esm.js",
22
22
  "default": "./dist/index.js"
23
23
  },
24
24
  "main": "dist/index.js",
25
25
  "unpkg": "dist/index.umd.min.js",
26
26
  "module": "dist/index.esm.js",
27
- "types": "dist/index.d.ts",
27
+ "types": "types/index.d.ts",
28
28
  "files": [
29
29
  "package.json",
30
30
  "dist",
31
+ "types",
31
32
  "LICENSE",
32
33
  "README.md"
33
34
  ],
34
35
  "dependencies": {
35
36
  "@antv/g-device-api": "^1.6.10",
36
37
  "@antv/util": "^3.3.5",
38
+ "@babel/runtime": "^7.25.6",
37
39
  "@webgpu/types": "^0.1.6",
38
40
  "tslib": "^2.5.3",
39
- "@antv/g-lite": "2.1.0",
40
- "@antv/g-plugin-device-renderer": "2.1.0",
41
- "@antv/g-plugin-dom-interaction": "2.1.0",
42
- "@antv/g-plugin-html-renderer": "2.1.0",
43
- "@antv/g-plugin-image-loader": "2.0.11"
41
+ "@antv/g-lite": "2.1.1",
42
+ "@antv/g-plugin-device-renderer": "2.1.1",
43
+ "@antv/g-plugin-image-loader": "2.0.12",
44
+ "@antv/g-plugin-dom-interaction": "2.1.1",
45
+ "@antv/g-plugin-html-renderer": "2.1.1"
44
46
  },
45
47
  "devDependencies": {
46
48
  "@types/gl-matrix": "^2.4.5",
@@ -50,7 +52,8 @@
50
52
  "access": "public"
51
53
  },
52
54
  "scripts": {
53
- "build": "npm run clean && rollup -c",
55
+ "build:types": "tsc --emitDeclarationOnly --noCheck",
56
+ "build": "npm run clean && npm run build:types && rollup -c",
54
57
  "clean": "rimraf dist",
55
58
  "sync": "tnpm sync",
56
59
  "watch": "rollup -c -w"
@@ -9,3 +9,4 @@ export declare class ContextRegisterPlugin extends AbstractRendererPlugin {
9
9
  init(): void;
10
10
  destroy(): void;
11
11
  }
12
+ //# sourceMappingURL=ContextRegisterPlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContextRegisterPlugin.d.ts","sourceRoot":"","sources":["../src/ContextRegisterPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,KAAK,KAAK,cAAc,MAAM,gCAAgC,CAAC;AAGtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,GAAG,CAAC;AAEzC,qBAAa,qBAAsB,SAAQ,sBAAsB;IAG7D,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,MAAM;IAHhB,IAAI,SAA6B;gBAEvB,cAAc,EAAE,cAAc,CAAC,MAAM,EACrC,MAAM,EAAE,OAAO,CAAC,oBAAoB,CAAC;IAK/C,IAAI,IAAI,IAAI;IASZ,OAAO,IAAI,IAAI;CAGhB"}
@@ -16,3 +16,4 @@ export declare class WebGPUContextService implements ContextService<GPUCanvasCon
16
16
  applyCursorStyle(cursor: string): void;
17
17
  toDataURL(options: Partial<DataURLOptions>): Promise<string>;
18
18
  }
19
+ //# sourceMappingURL=WebGPUContextService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebGPUContextService.d.ts","sourceRoot":"","sources":["../src/WebGPUContextService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,UAAU,EACV,cAAc,EACd,aAAa,EAEb,cAAc,EACf,MAAM,cAAc,CAAC;AAKtB,qBAAa,oBAAqB,YAAW,cAAc,CAAC,gBAAgB,CAAC;IAC3E,OAAO,CAAC,UAAU,CAAqB;IACvC,OAAO,CAAC,OAAO,CAAoB;IACnC,OAAO,CAAC,GAAG,CAAS;IAEpB,OAAO,CAAC,YAAY,CAAwB;IAC5C,OAAO,CAAC,oBAAoB,CAAwB;gBAExC,OAAO,EAAE,aAAa,GAAG,aAAa;IAMlD,IAAI;IAkCJ,aAAa;IAIb,UAAU;IAOV,qBAAqB;IAMrB,OAAO;IAQP,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAmBpC,MAAM;IAIN,gBAAgB,CAAC,MAAM,EAAE,MAAM;IAMzB,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC;CAGjD"}
@@ -11,3 +11,4 @@ export declare class Renderer extends AbstractRenderer {
11
11
  clipSpaceNearZ: ClipSpaceNearZ;
12
12
  constructor(config?: Partial<WebGPURendererConfig>);
13
13
  }
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}