git-hash-art 0.10.1 → 0.11.0
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/.github/workflows/deploy-www.yml +13 -3
- package/CHANGELOG.md +10 -0
- package/dist/browser.js +360 -56
- package/dist/browser.js.map +1 -1
- package/dist/main.js +362 -56
- package/dist/main.js.map +1 -1
- package/dist/module.js +362 -56
- package/dist/module.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/archetypes.ts +29 -0
- package/src/lib/canvas/colors.ts +7 -5
- package/src/lib/canvas/draw.ts +14 -4
- package/src/lib/render.ts +249 -60
|
@@ -3,21 +3,30 @@ name: Deploy git-hash-art-www
|
|
|
3
3
|
on:
|
|
4
4
|
release:
|
|
5
5
|
types: [published]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
inputs:
|
|
8
|
+
version:
|
|
9
|
+
description: 'Package version to deploy (e.g. 0.10.0)'
|
|
10
|
+
required: true
|
|
6
11
|
|
|
7
12
|
jobs:
|
|
8
13
|
bump-www:
|
|
9
14
|
runs-on: ubuntu-latest
|
|
10
15
|
steps:
|
|
11
|
-
- name: Extract version
|
|
16
|
+
- name: Extract version
|
|
12
17
|
id: version
|
|
13
18
|
run: |
|
|
14
|
-
|
|
19
|
+
if [ -n "${{ github.event.inputs.version }}" ]; then
|
|
20
|
+
VERSION="${{ github.event.inputs.version }}"
|
|
21
|
+
else
|
|
22
|
+
VERSION="${GITHUB_REF_NAME#v}"
|
|
23
|
+
fi
|
|
15
24
|
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
|
16
25
|
|
|
17
26
|
- name: Clone git-hash-art-www
|
|
18
27
|
uses: actions/checkout@v4
|
|
19
28
|
with:
|
|
20
|
-
repository: gfargo/git-hash-art-www
|
|
29
|
+
repository: gfargo/v0-git-hash-art-www
|
|
21
30
|
token: ${{ secrets.WWW_DEPLOY_PAT }}
|
|
22
31
|
path: www
|
|
23
32
|
|
|
@@ -29,6 +38,7 @@ jobs:
|
|
|
29
38
|
- name: Install pnpm
|
|
30
39
|
uses: pnpm/action-setup@v4
|
|
31
40
|
with:
|
|
41
|
+
version: 9
|
|
32
42
|
run_install: false
|
|
33
43
|
|
|
34
44
|
- name: Update git-hash-art dependency
|
package/CHANGELOG.md
CHANGED
|
@@ -4,12 +4,22 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
#### [0.11.0](https://github.com/gfargo/git-hash-art/compare/0.10.1...0.11.0)
|
|
8
|
+
|
|
9
|
+
- feat: rendering pipeline performance & artistic quality improvements [`#20`](https://github.com/gfargo/git-hash-art/pull/20)
|
|
10
|
+
- Allow manual version input for deployment [`94df05e`](https://github.com/gfargo/git-hash-art/commit/94df05e6d6dddc36f126c9cb0043718aad8f828f)
|
|
11
|
+
- update deploy workflow to correct repo [`7e89a0f`](https://github.com/gfargo/git-hash-art/commit/7e89a0f92866bc77f7aa1d7f6c5802350031d56f)
|
|
12
|
+
- update pnpm to v9 in deployment workflow [`0ab50de`](https://github.com/gfargo/git-hash-art/commit/0ab50debb9b2f7ca1a1137a21913a1e64396df4e)
|
|
13
|
+
|
|
7
14
|
#### [0.10.1](https://github.com/gfargo/git-hash-art/compare/0.10.0...0.10.1)
|
|
8
15
|
|
|
16
|
+
> 19 March 2026
|
|
17
|
+
|
|
9
18
|
- feat: shadow/highlight system, generative borders, gradient map, edge erosion [`#19`](https://github.com/gfargo/git-hash-art/pull/19)
|
|
10
19
|
- feat: simplex noise flow fields, color harmony modes, golden spiral composition, layered masking [`#18`](https://github.com/gfargo/git-hash-art/pull/18)
|
|
11
20
|
- fix: portal cutouts use clip-and-fill instead of destination-out [`aecdd14`](https://github.com/gfargo/git-hash-art/commit/aecdd14c0d5ddf52d0394c714d2815679263b961)
|
|
12
21
|
- add GitHub Actions workflow for deployment [`4a6ac42`](https://github.com/gfargo/git-hash-art/commit/4a6ac426d1678f5ff83cbe4c4ddc9ce2a2a0c260)
|
|
22
|
+
- chore: release v0.10.1 [`043b86c`](https://github.com/gfargo/git-hash-art/commit/043b86c5d3e85bb3ddc6dabba9e69937ba7155df)
|
|
13
23
|
|
|
14
24
|
#### [0.10.0](https://github.com/gfargo/git-hash-art/compare/0.9.0...0.10.0)
|
|
15
25
|
|