@thi.ng/shader-ast-optimize 1.0.63 → 1.0.64

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/README.md +18 -17
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
- <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
- # ![@thi.ng/shader-ast-optimize](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/banners/thing-shader-ast-optimize.svg?98682bff)
2
+ <!-- Please see: https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
+ # ![@thi.ng/shader-ast-optimize](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/banners/thing-shader-ast-optimize.svg?98682bff)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/shader-ast-optimize.svg)](https://www.npmjs.com/package/@thi.ng/shader-ast-optimize)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/shader-ast-optimize.svg)
@@ -8,11 +8,12 @@
8
8
 
9
9
  > [!NOTE]
10
10
  > This is one of 214 standalone projects, maintained as part
11
- > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
11
+ > of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
12
12
  > and anti-framework.
13
13
  >
14
- > 🚀 Please help me to work full-time on these projects by [sponsoring me on
15
- > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
14
+ > 🚀 Please help me to work full-time on these projects by [sponsoring
15
+ > me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
16
+ > Thank you! ❤️
16
17
 
17
18
  - [About](#about)
18
19
  - [defOptimized()](#defoptimized)
@@ -28,7 +29,7 @@
28
29
 
29
30
  ## About
30
31
 
31
- Shader AST code/tree optimization passes/strategies. This is a support package for [@thi.ng/shader-ast](https://github.com/thi-ng/umbrella/tree/develop/packages/shader-ast).
32
+ Shader AST code/tree optimization passes/strategies. This is a support package for [@thi.ng/shader-ast](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/shader-ast).
32
33
 
33
34
  ### defOptimized()
34
35
 
@@ -110,7 +111,7 @@ console.log(glsl(constantFolding(expr)))
110
111
 
111
112
  **STABLE** - used in production
112
113
 
113
- [Search or submit any issues for this package](https://github.com/thi-ng/umbrella/issues?q=%5Bshader-ast-optimize%5D+in%3Atitle)
114
+ [Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bshader-ast-optimize%5D)
114
115
 
115
116
  ## Installation
116
117
 
@@ -142,24 +143,24 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.27 KB
142
143
 
143
144
  ## Dependencies
144
145
 
145
- - [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/develop/packages/api)
146
- - [@thi.ng/defmulti](https://github.com/thi-ng/umbrella/tree/develop/packages/defmulti)
147
- - [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/develop/packages/errors)
148
- - [@thi.ng/logger](https://github.com/thi-ng/umbrella/tree/develop/packages/logger)
149
- - [@thi.ng/math](https://github.com/thi-ng/umbrella/tree/develop/packages/math)
150
- - [@thi.ng/shader-ast](https://github.com/thi-ng/umbrella/tree/develop/packages/shader-ast)
146
+ - [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
147
+ - [@thi.ng/defmulti](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/defmulti)
148
+ - [@thi.ng/errors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/errors)
149
+ - [@thi.ng/logger](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/logger)
150
+ - [@thi.ng/math](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/math)
151
+ - [@thi.ng/shader-ast](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/shader-ast)
151
152
 
152
153
  Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
153
154
 
154
155
  ## Usage examples
155
156
 
156
157
  One project in this repo's
157
- [/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
158
+ [/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
158
159
  directory is using this package:
159
160
 
160
- | Screenshot | Description | Live demo | Source |
161
- |:----------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------|:-----------------------------------------------------|:----------------------------------------------------------------------------------|
162
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/shader-ast-evo.jpg" width="240"/> | Evolutionary shader generation using genetic programming | [Demo](https://demo.thi.ng/umbrella/shader-ast-evo/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/shader-ast-evo) |
161
+ | Screenshot | Description | Live demo | Source |
162
+ |:----------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------|:-----------------------------------------------------|:------------------------------------------------------------------------------------------|
163
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/shader-ast-evo.jpg" width="240"/> | Evolutionary shader generation using genetic programming | [Demo](https://demo.thi.ng/umbrella/shader-ast-evo/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/shader-ast-evo) |
163
164
 
164
165
  ## API
165
166
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/shader-ast-optimize",
3
- "version": "1.0.63",
3
+ "version": "1.0.64",
4
4
  "description": "Shader AST code/tree optimization passes/strategies",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -8,7 +8,7 @@
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/thi-ng/umbrella.git",
11
+ "url": "git+https://codeberg.org/thi.ng/umbrella.git",
12
12
  "directory": "packages/shader-ast-optimize"
13
13
  },
14
14
  "homepage": "https://thi.ng/shader-ast-optimize",
@@ -40,12 +40,12 @@
40
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@thi.ng/api": "^8.12.17",
44
- "@thi.ng/defmulti": "^3.0.94",
45
- "@thi.ng/errors": "^2.6.6",
46
- "@thi.ng/logger": "^3.3.0",
47
- "@thi.ng/math": "^5.15.6",
48
- "@thi.ng/shader-ast": "^1.1.44"
43
+ "@thi.ng/api": "^8.12.18",
44
+ "@thi.ng/defmulti": "^3.0.95",
45
+ "@thi.ng/errors": "^2.6.7",
46
+ "@thi.ng/logger": "^3.3.1",
47
+ "@thi.ng/math": "^5.15.7",
48
+ "@thi.ng/shader-ast": "^1.1.45"
49
49
  },
50
50
  "devDependencies": {
51
51
  "esbuild": "^0.27.2",
@@ -94,5 +94,5 @@
94
94
  "parent": "@thi.ng/shader-ast",
95
95
  "year": 2019
96
96
  },
97
- "gitHead": "1107498d31504dc63d1a457b5def387d7a134f69\n"
97
+ "gitHead": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
98
98
  }