@thi.ng/webgl-shadertoy 0.3.11 → 0.4.3
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/CHANGELOG.md +69 -46
- package/package.json +89 -83
package/CHANGELOG.md
CHANGED
|
@@ -1,84 +1,107 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## [0.3.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl-shadertoy@0.3.10...@thi.ng/webgl-shadertoy@0.3.11) (2021-11-10)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @thi.ng/webgl-shadertoy
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
- **Last updated**: 2021-11-21T17:09:28Z
|
|
4
|
+
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
11
5
|
|
|
6
|
+
All notable changes to this project will be documented in this file.
|
|
7
|
+
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
12
8
|
|
|
9
|
+
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
|
+
and/or version bumps of transitive dependencies.
|
|
13
11
|
|
|
14
|
-
## [0.
|
|
15
|
-
|
|
16
|
-
**Note:** Version bump only for package @thi.ng/webgl-shadertoy
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl-shadertoy@0.4.0) (2021-11-17)
|
|
19
13
|
|
|
14
|
+
#### 🚀 Features
|
|
20
15
|
|
|
16
|
+
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
17
|
+
Improving the overall build ergonomics
|
|
18
|
+
- introduced a tools workspaces
|
|
19
|
+
- imported it in all needed packages/examples
|
|
20
|
+
- inclusive project root
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
#### ♻️ Refactoring
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
|
25
|
+
this commit reverts (partly) changes made in:
|
|
26
|
+
ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
|
27
|
+
overall purpose is better testament ergonomics:
|
|
28
|
+
instead of having to pass NODE_OPTIONS with every invocation
|
|
29
|
+
having a binary to handle this for us.
|
|
25
30
|
|
|
31
|
+
### [0.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl-shadertoy@0.3.1) (2021-10-13)
|
|
26
32
|
|
|
33
|
+
#### ♻️ Refactoring
|
|
27
34
|
|
|
35
|
+
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
36
|
+
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
37
|
+
- add .js suffix for all relative imports
|
|
28
38
|
|
|
39
|
+
## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl-shadertoy@0.3.0) (2021-10-12)
|
|
29
40
|
|
|
30
|
-
|
|
41
|
+
#### 🛑 Breaking changes
|
|
31
42
|
|
|
43
|
+
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
44
|
+
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
45
|
+
- only ESM modules will be published from now on
|
|
46
|
+
- CJS obsolete due to ESM support in recent versions of node:
|
|
47
|
+
- i.e. launch NodeJS via:
|
|
48
|
+
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
49
|
+
- in the node REPL use `await import(...)` instead of `require()`
|
|
50
|
+
- UMD obsolete due to widespread browser support for ESM
|
|
51
|
+
Also:
|
|
52
|
+
- normalize/restructure/reorg all package.json files
|
|
53
|
+
- cleanup all build scripts, remove obsolete
|
|
54
|
+
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
32
55
|
|
|
33
|
-
|
|
56
|
+
#### 🚀 Features
|
|
34
57
|
|
|
35
|
-
|
|
58
|
+
- add support for DefShaderOpts ([d35cabc](https://github.com/thi-ng/umbrella/commit/d35cabc))
|
|
36
59
|
|
|
60
|
+
#### ♻️ Refactoring
|
|
37
61
|
|
|
38
|
-
|
|
62
|
+
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
63
|
+
- update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
|
|
64
|
+
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
65
|
+
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
39
66
|
|
|
40
|
-
|
|
67
|
+
### [0.2.52](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl-shadertoy@0.2.52) (2020-12-07)
|
|
41
68
|
|
|
69
|
+
#### ♻️ Refactoring
|
|
42
70
|
|
|
43
|
-
|
|
71
|
+
- update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
|
|
44
72
|
|
|
45
|
-
|
|
73
|
+
### [0.2.35](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl-shadertoy@0.2.35) (2020-07-28)
|
|
46
74
|
|
|
47
|
-
|
|
48
|
-
- CJS obsolete due to ESM support in recent versions of node:
|
|
49
|
-
- i.e. launch NodeJS via:
|
|
50
|
-
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
51
|
-
- in the node REPL use `await import(...)` instead of `require()`
|
|
52
|
-
- UMD obsolete due to widespread browser support for ESM
|
|
75
|
+
#### ♻️ Refactoring
|
|
53
76
|
|
|
54
|
-
|
|
55
|
-
- normalize/restructure/reorg all package.json files
|
|
56
|
-
- cleanup all build scripts, remove obsolete
|
|
57
|
-
- switch from mocha to @thi.ng/testament for all tests
|
|
77
|
+
- update defQuadModel() callsite ([edf8329](https://github.com/thi-ng/umbrella/commit/edf8329))
|
|
58
78
|
|
|
79
|
+
### [0.2.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl-shadertoy@0.2.5) (2020-03-28)
|
|
59
80
|
|
|
81
|
+
#### ♻️ Refactoring
|
|
60
82
|
|
|
83
|
+
- update to new webgl API ([40dd67b](https://github.com/thi-ng/umbrella/commit/40dd67b))
|
|
61
84
|
|
|
85
|
+
## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl-shadertoy@0.2.0) (2020-02-25)
|
|
62
86
|
|
|
87
|
+
#### 🚀 Features
|
|
63
88
|
|
|
64
|
-
#
|
|
89
|
+
- fix [#199](https://github.com/thi-ng/umbrella/issues/199), add generics ([e392774](https://github.com/thi-ng/umbrella/commit/e392774))
|
|
90
|
+
- add generics to allow typed custom uniforms
|
|
91
|
+
- update MainImageFn, ShaderToyOpts, ShaderToy interfaces
|
|
65
92
|
|
|
66
|
-
|
|
93
|
+
#### ♻️ Refactoring
|
|
67
94
|
|
|
68
|
-
-
|
|
95
|
+
- update imports ([3f067f9](https://github.com/thi-ng/umbrella/commit/3f067f9))
|
|
69
96
|
|
|
70
|
-
|
|
97
|
+
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl-shadertoy@0.1.0) (2019-09-21)
|
|
71
98
|
|
|
72
|
-
|
|
99
|
+
#### 🚀 Features
|
|
73
100
|
|
|
74
|
-
-
|
|
75
|
-
-
|
|
101
|
+
- add optional per-pass ModelSpec & vert shader support ([a45725a](https://github.com/thi-ng/umbrella/commit/a45725a))
|
|
102
|
+
- fix & update drawPass viewport, add update() method ([5d2c17e](https://github.com/thi-ng/umbrella/commit/5d2c17e))
|
|
103
|
+
- update multipass uniform handling ([2071133](https://github.com/thi-ng/umbrella/commit/2071133))
|
|
76
104
|
|
|
77
|
-
|
|
105
|
+
#### 🩹 Bug fixes
|
|
78
106
|
|
|
79
|
-
-
|
|
80
|
-
- **webgl-shadertoy:** fix & update drawPass viewport, add update() method ([5d2c17e](https://github.com/thi-ng/umbrella/commit/5d2c17e))
|
|
81
|
-
- **webgl-shadertoy:** import new pkg ([35d9b68](https://github.com/thi-ng/umbrella/commit/35d9b68))
|
|
82
|
-
- **webgl-shadertoy:** initial multipass skeleton ([c287dab](https://github.com/thi-ng/umbrella/commit/c287dab))
|
|
83
|
-
- **webgl-shadertoy:** simplify mainImage user fn handling, update types & readme ([bd1b88e](https://github.com/thi-ng/umbrella/commit/bd1b88e))
|
|
84
|
-
- **webgl-shadertoy:** update multipass uniform handling ([2071133](https://github.com/thi-ng/umbrella/commit/2071133))
|
|
107
|
+
- update texture/sampler & FBO handling ([25845e5](https://github.com/thi-ng/umbrella/commit/25845e5))
|
package/package.json
CHANGED
|
@@ -1,88 +1,94 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"name": "@thi.ng/webgl-shadertoy",
|
|
3
|
+
"version": "0.4.3",
|
|
4
|
+
"description": "Basic WebGL scaffolding for running interactive fragment shaders via @thi.ng/shader-ast",
|
|
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://github.com/thi-ng/umbrella/tree/develop/packages/webgl#readme",
|
|
14
|
+
"funding": [
|
|
15
|
+
{
|
|
16
|
+
"type": "github",
|
|
17
|
+
"url": "https://github.com/sponsors/postspectacular"
|
|
12
18
|
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
19
|
+
{
|
|
20
|
+
"type": "patreon",
|
|
21
|
+
"url": "https://patreon.com/thing_umbrella"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"author": "Karsten Schmidt <k+npm@thi.ng>",
|
|
25
|
+
"license": "Apache-2.0",
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "yarn clean && tsc --declaration",
|
|
28
|
+
"clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
|
|
29
|
+
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
|
|
30
|
+
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
31
|
+
"doc:readme": "yarn doc:stats && tools:readme",
|
|
32
|
+
"doc:stats": "tools:module-stats",
|
|
33
|
+
"pub": "yarn npm publish --access public",
|
|
34
|
+
"test": "testament test"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@thi.ng/api": "^8.3.2",
|
|
38
|
+
"@thi.ng/shader-ast": "^0.12.2",
|
|
39
|
+
"@thi.ng/shader-ast-glsl": "^0.4.2",
|
|
40
|
+
"@thi.ng/webgl": "^6.1.3"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@microsoft/api-extractor": "^7.18.19",
|
|
44
|
+
"@thi.ng/testament": "^0.2.2",
|
|
45
|
+
"@types/node": "^16.11.7",
|
|
46
|
+
"rimraf": "^3.0.2",
|
|
47
|
+
"tools": "^0.0.1",
|
|
48
|
+
"typedoc": "^0.22.9",
|
|
49
|
+
"typescript": "^4.5.2"
|
|
50
|
+
},
|
|
51
|
+
"keywords": [
|
|
52
|
+
"animation",
|
|
53
|
+
"browser",
|
|
54
|
+
"canvas",
|
|
55
|
+
"graphics",
|
|
56
|
+
"shader-ast",
|
|
57
|
+
"shadertoy",
|
|
58
|
+
"texture",
|
|
59
|
+
"typescript",
|
|
60
|
+
"webgl"
|
|
61
|
+
],
|
|
62
|
+
"publishConfig": {
|
|
63
|
+
"access": "public"
|
|
64
|
+
},
|
|
65
|
+
"engines": {
|
|
66
|
+
"node": ">=12.7"
|
|
67
|
+
},
|
|
68
|
+
"files": [
|
|
69
|
+
"*.js",
|
|
70
|
+
"*.d.ts"
|
|
71
|
+
],
|
|
72
|
+
"exports": {
|
|
73
|
+
".": {
|
|
74
|
+
"import": "./index.js"
|
|
41
75
|
},
|
|
42
|
-
"
|
|
43
|
-
|
|
76
|
+
"./api": {
|
|
77
|
+
"import": "./api.js"
|
|
44
78
|
},
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
79
|
+
"./shadertoy": {
|
|
80
|
+
"import": "./shadertoy.js"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"thi.ng": {
|
|
84
|
+
"parent": "@thi.ng/webgl",
|
|
85
|
+
"related": [
|
|
86
|
+
"shader-ast",
|
|
87
|
+
"shader-ast-stdlib",
|
|
88
|
+
"webgl"
|
|
55
89
|
],
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
},
|
|
62
|
-
"files": [
|
|
63
|
-
"*.js",
|
|
64
|
-
"*.d.ts"
|
|
65
|
-
],
|
|
66
|
-
"exports": {
|
|
67
|
-
".": {
|
|
68
|
-
"import": "./index.js"
|
|
69
|
-
},
|
|
70
|
-
"./api": {
|
|
71
|
-
"import": "./api.js"
|
|
72
|
-
},
|
|
73
|
-
"./shadertoy": {
|
|
74
|
-
"import": "./shadertoy.js"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"thi.ng": {
|
|
78
|
-
"parent": "@thi.ng/webgl",
|
|
79
|
-
"related": [
|
|
80
|
-
"shader-ast",
|
|
81
|
-
"shader-ast-stdlib",
|
|
82
|
-
"webgl"
|
|
83
|
-
],
|
|
84
|
-
"status": "alpha",
|
|
85
|
-
"year": 2019
|
|
86
|
-
},
|
|
87
|
-
"gitHead": "5fe52419af63984ebe53032201b2a6174b9cb159"
|
|
88
|
-
}
|
|
90
|
+
"status": "alpha",
|
|
91
|
+
"year": 2019
|
|
92
|
+
},
|
|
93
|
+
"gitHead": "d777b58d7bec4496d38166cdabda4ffb78b0dc47\n"
|
|
94
|
+
}
|