@thi.ng/shader-ast-optimize 0.1.8 → 0.2.2
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 +30 -6
- package/README.md +1 -1
- package/package.json +78 -73
package/CHANGELOG.md
CHANGED
|
@@ -1,19 +1,43 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
- **Last updated**: 2021-11-21T17:09:28Z
|
|
4
|
+
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
|
+
|
|
3
6
|
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
|
+
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
8
|
+
|
|
9
|
+
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
|
+
and/or version bumps of transitive dependencies.
|
|
11
|
+
|
|
12
|
+
## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-optimize@0.2.0) (2021-11-17)
|
|
5
13
|
|
|
6
|
-
|
|
14
|
+
#### 🚀 Features
|
|
7
15
|
|
|
8
|
-
|
|
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
|
|
9
21
|
|
|
22
|
+
#### ♻️ Refactoring
|
|
10
23
|
|
|
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.
|
|
11
30
|
|
|
31
|
+
### [0.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-optimize@0.1.1) (2021-10-13)
|
|
12
32
|
|
|
33
|
+
#### ♻️ Refactoring
|
|
13
34
|
|
|
14
|
-
|
|
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
|
|
15
38
|
|
|
39
|
+
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-optimize@0.1.0) (2021-10-12)
|
|
16
40
|
|
|
17
|
-
|
|
41
|
+
#### 🚀 Features
|
|
18
42
|
|
|
19
|
-
|
|
43
|
+
- extract as own pkg ([b71cd16](https://github.com/thi-ng/umbrella/commit/b71cd16))
|
package/README.md
CHANGED
|
@@ -110,7 +110,7 @@ node --experimental-repl-await
|
|
|
110
110
|
> const shaderAstOptimize = await import("@thi.ng/shader-ast-optimize");
|
|
111
111
|
```
|
|
112
112
|
|
|
113
|
-
Package sizes (gzipped, pre-treeshake): ESM:
|
|
113
|
+
Package sizes (gzipped, pre-treeshake): ESM: 999 bytes
|
|
114
114
|
|
|
115
115
|
## Dependencies
|
|
116
116
|
|
package/package.json
CHANGED
|
@@ -1,76 +1,81 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"name": "@thi.ng/shader-ast-optimize",
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "Shader AST code optimization passes/strategies",
|
|
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/master/packages/shader-ast-optimize#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
|
-
|
|
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/defmulti": "^2.1.2",
|
|
39
|
+
"@thi.ng/logger": "^1.1.2",
|
|
40
|
+
"@thi.ng/math": "^5.1.2",
|
|
41
|
+
"@thi.ng/shader-ast": "^0.12.2"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@microsoft/api-extractor": "^7.18.19",
|
|
45
|
+
"@thi.ng/testament": "^0.2.2",
|
|
46
|
+
"rimraf": "^3.0.2",
|
|
47
|
+
"tools": "^0.0.1",
|
|
48
|
+
"typedoc": "^0.22.9",
|
|
49
|
+
"typescript": "^4.5.2"
|
|
50
|
+
},
|
|
51
|
+
"keywords": [
|
|
52
|
+
"typescript"
|
|
53
|
+
],
|
|
54
|
+
"publishConfig": {
|
|
55
|
+
"access": "public"
|
|
56
|
+
},
|
|
57
|
+
"browser": {
|
|
58
|
+
"process": false,
|
|
59
|
+
"setTimeout": false
|
|
60
|
+
},
|
|
61
|
+
"engines": {
|
|
62
|
+
"node": ">=12.7"
|
|
63
|
+
},
|
|
64
|
+
"files": [
|
|
65
|
+
"*.js",
|
|
66
|
+
"*.d.ts"
|
|
67
|
+
],
|
|
68
|
+
"exports": {
|
|
69
|
+
".": {
|
|
70
|
+
"import": "./index.js"
|
|
35
71
|
},
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"keywords": [
|
|
47
|
-
"typescript"
|
|
48
|
-
],
|
|
49
|
-
"publishConfig": {
|
|
50
|
-
"access": "public"
|
|
51
|
-
},
|
|
52
|
-
"browser": {
|
|
53
|
-
"process": false,
|
|
54
|
-
"setTimeout": false
|
|
55
|
-
},
|
|
56
|
-
"engines": {
|
|
57
|
-
"node": ">=12.7"
|
|
58
|
-
},
|
|
59
|
-
"files": [
|
|
60
|
-
"*.js",
|
|
61
|
-
"*.d.ts"
|
|
62
|
-
],
|
|
63
|
-
"exports": {
|
|
64
|
-
".": {
|
|
65
|
-
"import": "./index.js"
|
|
66
|
-
},
|
|
67
|
-
"./contant-folding": {
|
|
68
|
-
"import": "./contant-folding.js"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"thi.ng": {
|
|
72
|
-
"parent": "@thi.ng/shader-ast",
|
|
73
|
-
"year": 2019
|
|
74
|
-
},
|
|
75
|
-
"gitHead": "852cd2450617c86d15d18477dc634f17f04202eb"
|
|
76
|
-
}
|
|
72
|
+
"./contant-folding": {
|
|
73
|
+
"import": "./contant-folding.js"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"thi.ng": {
|
|
77
|
+
"parent": "@thi.ng/shader-ast",
|
|
78
|
+
"year": 2019
|
|
79
|
+
},
|
|
80
|
+
"gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
|
|
81
|
+
}
|