@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.
Files changed (2) hide show
  1. package/CHANGELOG.md +69 -46
  2. package/package.json +89 -83
package/CHANGELOG.md CHANGED
@@ -1,84 +1,107 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
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.3.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl-shadertoy@0.3.9...@thi.ng/webgl-shadertoy@0.3.10) (2021-11-04)
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
- ## [0.3.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl-shadertoy@0.3.8...@thi.ng/webgl-shadertoy@0.3.9) (2021-11-03)
22
+ #### ♻️ Refactoring
23
23
 
24
- **Note:** Version bump only for package @thi.ng/webgl-shadertoy
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
- # [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl-shadertoy@0.2.91...@thi.ng/webgl-shadertoy@0.3.0) (2021-10-12)
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
- ### Build System
56
+ #### 🚀 Features
34
57
 
35
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
58
+ - add support for DefShaderOpts ([d35cabc](https://github.com/thi-ng/umbrella/commit/d35cabc))
36
59
 
60
+ #### ♻️ Refactoring
37
61
 
38
- ### Features
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
- * **webgl-shadertoy:** add support for DefShaderOpts ([d35cabc](https://github.com/thi-ng/umbrella/commit/d35cabc3805b6c0c710778c21a45e6f13a477b7f))
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
- ### BREAKING CHANGES
71
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
44
72
 
45
- * discontinue CommonJS & UMD versions
73
+ ### [0.2.35](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl-shadertoy@0.2.35) (2020-07-28)
46
74
 
47
- - only ESM modules will be published from now on
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
- Also:
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
- # [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl-shadertoy@0.1.4...@thi.ng/webgl-shadertoy@0.2.0) (2020-02-25)
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
- ### Features
93
+ #### ♻️ Refactoring
67
94
 
68
- - **webgl-shadertoy:** fix [#199](https://github.com/thi-ng/umbrella/issues/199), add generics ([e392774](https://github.com/thi-ng/umbrella/commit/e392774945e4d29f145dba2fd17f99919b2c5fd5))
95
+ - update imports ([3f067f9](https://github.com/thi-ng/umbrella/commit/3f067f9))
69
96
 
70
- # 0.1.0 (2019-09-21)
97
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/webgl-shadertoy@0.1.0) (2019-09-21)
71
98
 
72
- ### Bug Fixes
99
+ #### 🚀 Features
73
100
 
74
- - **webgl-shadertoy:** update imports ([7d6ed77](https://github.com/thi-ng/umbrella/commit/7d6ed77))
75
- - **webgl-shadertoy:** update texture/sampler & FBO handling ([25845e5](https://github.com/thi-ng/umbrella/commit/25845e5))
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
- ### Features
105
+ #### 🩹 Bug fixes
78
106
 
79
- - **webgl-shadertoy:** add optional per-pass ModelSpec & vert shader support ([a45725a](https://github.com/thi-ng/umbrella/commit/a45725a))
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
- "name": "@thi.ng/webgl-shadertoy",
3
- "version": "0.3.11",
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"
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
- "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"
18
- },
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 && node_modules/.bin/api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
- "pub": "yarn build && yarn publish --access public",
34
- "test": "testament test"
35
- },
36
- "dependencies": {
37
- "@thi.ng/api": "^8.2.0",
38
- "@thi.ng/shader-ast": "^0.11.9",
39
- "@thi.ng/shader-ast-glsl": "^0.3.9",
40
- "@thi.ng/webgl": "^6.0.11"
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
- "devDependencies": {
43
- "@thi.ng/testament": "^0.1.6"
76
+ "./api": {
77
+ "import": "./api.js"
44
78
  },
45
- "keywords": [
46
- "animation",
47
- "browser",
48
- "canvas",
49
- "graphics",
50
- "shader-ast",
51
- "shadertoy",
52
- "texture",
53
- "typescript",
54
- "webgl"
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
- "publishConfig": {
57
- "access": "public"
58
- },
59
- "engines": {
60
- "node": ">=12.7"
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
+ }