@thi.ng/wasm-api-webgl 1.0.4 → 1.0.9

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/package.json +102 -102
  2. package/CHANGELOG.md +0 -47
package/package.json CHANGED
@@ -1,103 +1,103 @@
1
1
  {
2
- "name": "@thi.ng/wasm-api-webgl",
3
- "version": "1.0.4",
4
- "description": "WebGL bridge API for hybrid TypeScript & WASM (Zig) applications",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
12
- },
13
- "homepage": "https://thi.ng/wasm-api-webgl",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- },
23
- {
24
- "type": "liberapay",
25
- "url": "https://liberapay.com/thi.ng"
26
- }
27
- ],
28
- "author": "Karsten Schmidt (https://thi.ng)",
29
- "license": "Apache-2.0",
30
- "scripts": {
31
- "build": "yarn build:esbuild && yarn build:decl",
32
- "build:decl": "tsc --declaration --emitDeclarationOnly",
33
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
- "build:types": "npx wasm-api-bindgen -a analytics.json --config src/typedefs-config.json --lang ts -o src/generated/types.ts --lang zig -o zig/types.zig src/typedefs.json",
35
- "clean": "bun ../../tools/src/clean-package.ts",
36
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
37
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
38
- "pub": "yarn npm publish --access public",
39
- "test": "bun test",
40
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
- },
42
- "dependencies": {
43
- "@thi.ng/api": "^8.12.2",
44
- "@thi.ng/errors": "^2.5.42",
45
- "@thi.ng/wasm-api": "^2.4.3",
46
- "@thi.ng/wasm-api-dom": "^2.0.3",
47
- "@thi.ng/webgl": "^6.9.79"
48
- },
49
- "devDependencies": {
50
- "@thi.ng/wasm-api-bindgen": "^1.2.46",
51
- "esbuild": "^0.25.9",
52
- "typedoc": "^0.28.12",
53
- "typescript": "^5.9.2"
54
- },
55
- "keywords": [
56
- "browser",
57
- "codegen",
58
- "interop",
59
- "shader",
60
- "typescript",
61
- "wasm",
62
- "webgl",
63
- "zig"
64
- ],
65
- "publishConfig": {
66
- "access": "public"
67
- },
68
- "browser": {
69
- "process": false,
70
- "setTimeout": false
71
- },
72
- "engines": {
73
- "node": ">=18"
74
- },
75
- "files": [
76
- "./*.js",
77
- "./*.d.ts",
78
- "zig/*.zig",
79
- "generated"
80
- ],
81
- "exports": {
82
- ".": {
83
- "default": "./index.js"
84
- },
85
- "./api": {
86
- "default": "./api.js"
87
- },
88
- "./gl": {
89
- "default": "./gl.js"
90
- }
91
- },
92
- "thi.ng": {
93
- "parent": "@thi.ng/wasm-api",
94
- "related": [
95
- "wasm-api-canvas",
96
- "webgl"
97
- ],
98
- "status": "alpha",
99
- "tag": "wasm",
100
- "year": 2024
101
- },
102
- "gitHead": "fbf4b46ba8a5ecff8c5423f4c2d158d208d20fc8\n"
103
- }
2
+ "name": "@thi.ng/wasm-api-webgl",
3
+ "version": "1.0.9",
4
+ "description": "WebGL bridge API for hybrid TypeScript & WASM (Zig) applications",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://thi.ng/wasm-api-webgl",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
18
+ },
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ },
23
+ {
24
+ "type": "liberapay",
25
+ "url": "https://liberapay.com/thi.ng"
26
+ }
27
+ ],
28
+ "author": "Karsten Schmidt (https://thi.ng)",
29
+ "license": "Apache-2.0",
30
+ "scripts": {
31
+ "build": "yarn build:esbuild && yarn build:decl",
32
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
33
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
+ "build:types": "npx wasm-api-bindgen -a analytics.json --config src/typedefs-config.json --lang ts -o src/generated/types.ts --lang zig -o zig/types.zig src/typedefs.json",
35
+ "clean": "bun ../../tools/src/clean-package.ts",
36
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
37
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
38
+ "pub": "npm publish --access public",
39
+ "test": "bun test",
40
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
+ },
42
+ "dependencies": {
43
+ "@thi.ng/api": "^8.12.7",
44
+ "@thi.ng/errors": "^2.5.47",
45
+ "@thi.ng/wasm-api": "^2.4.8",
46
+ "@thi.ng/wasm-api-dom": "^2.0.8",
47
+ "@thi.ng/webgl": "^6.9.84"
48
+ },
49
+ "devDependencies": {
50
+ "@thi.ng/wasm-api-bindgen": "^1.2.51",
51
+ "esbuild": "^0.25.11",
52
+ "typedoc": "^0.28.14",
53
+ "typescript": "^5.9.3"
54
+ },
55
+ "keywords": [
56
+ "browser",
57
+ "codegen",
58
+ "interop",
59
+ "shader",
60
+ "typescript",
61
+ "wasm",
62
+ "webgl",
63
+ "zig"
64
+ ],
65
+ "publishConfig": {
66
+ "access": "public"
67
+ },
68
+ "browser": {
69
+ "process": false,
70
+ "setTimeout": false
71
+ },
72
+ "engines": {
73
+ "node": ">=18"
74
+ },
75
+ "files": [
76
+ "./*.js",
77
+ "./*.d.ts",
78
+ "zig/*.zig",
79
+ "generated"
80
+ ],
81
+ "exports": {
82
+ ".": {
83
+ "default": "./index.js"
84
+ },
85
+ "./api": {
86
+ "default": "./api.js"
87
+ },
88
+ "./gl": {
89
+ "default": "./gl.js"
90
+ }
91
+ },
92
+ "thi.ng": {
93
+ "parent": "@thi.ng/wasm-api",
94
+ "related": [
95
+ "wasm-api-canvas",
96
+ "webgl"
97
+ ],
98
+ "status": "alpha",
99
+ "tag": "wasm",
100
+ "year": 2024
101
+ },
102
+ "gitHead": "d977f819bcafdcb2b24c45f8d01a167fe29fc85a\n"
103
+ }
package/CHANGELOG.md DELETED
@@ -1,47 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-09-01T16:38:35Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
6
- All notable changes to this project will be documented in this file.
7
- Only versions published since **2022-01-01** are listed here.
8
- Please consult the Git history for older version information.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/wasm-api-webgl@1.0.0) (2025-09-01)
15
-
16
- #### 🛑 Breaking changes
17
-
18
- - internal restructure of generated types ([76a1592](https://github.com/thi-ng/umbrella/commit/76a1592))
19
- - BREAKING CHANGE: internal restructure due to breaking Zig 0.15.1 changes
20
- - `usenamespace` syntax deprecated in Zig 0.15.1, so earlier struct/namespace merging not possible anymore
21
- - instead, generated types exposed via `types` (e.g. `gl.ShaderSpec` => `gl.types.ShaderSpec`)
22
-
23
- ### [0.1.16](https://github.com/thi-ng/umbrella/tree/@thi.ng/wasm-api-webgl@0.1.16) (2024-11-10)
24
-
25
- #### ♻️ Refactoring
26
-
27
- - regenerate typescript bindings ([07e939a](https://github.com/thi-ng/umbrella/commit/07e939a))
28
- - regenerate TS bindings ([c540cb4](https://github.com/thi-ng/umbrella/commit/c540cb4))
29
-
30
- ### [0.1.15](https://github.com/thi-ng/umbrella/tree/@thi.ng/wasm-api-webgl@0.1.15) (2024-11-09)
31
-
32
- #### ♻️ Refactoring
33
-
34
- - regenerate typescript sources ([9055e0e](https://github.com/thi-ng/umbrella/commit/9055e0e))
35
-
36
- ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/wasm-api-webgl@0.1.0) (2024-08-18)
37
-
38
- #### 🚀 Features
39
-
40
- - initial import as new pkg ([3e27f06](https://github.com/thi-ng/umbrella/commit/3e27f06))
41
- - add/update attrib, uniform, texture handlers/utils ([9dcc599](https://github.com/thi-ng/umbrella/commit/9dcc599))
42
- - update WasmWebGL, add WasmWebGLModule spec ([4c43ac5](https://github.com/thi-ng/umbrella/commit/4c43ac5))
43
- - add docs
44
-
45
- #### ♻️ Refactoring
46
-
47
- - minor update dependency lookup ([eebc6cd](https://github.com/thi-ng/umbrella/commit/eebc6cd))