Skip to content

Commit 2d58637

Browse files
chore: version packages (#57)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 978bf60 commit 2d58637

4 files changed

Lines changed: 26 additions & 29 deletions

File tree

.changeset/quiet-maps-explain.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/refactor-glaze-split.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# @tenphi/glaze
22

3+
## 0.11.1
4+
5+
### Patch Changes
6+
7+
- [#56](https://github.com/tenphi/glaze/pull/56) [`978bf60`](https://github.com/tenphi/glaze/commit/978bf60540c47387d2ae3f6cafdcb23bd992cbe4) Thanks [@tenphi](https://github.com/tenphi)! - Restructure documentation into focused README, API, methodology, and migration guides.
8+
9+
- [#56](https://github.com/tenphi/glaze/pull/56) [`978bf60`](https://github.com/tenphi/glaze/commit/978bf60540c47387d2ae3f6cafdcb23bd992cbe4) Thanks [@tenphi](https://github.com/tenphi)! - Internal refactor: split the 2636-line `src/glaze.ts` into focused, flat
10+
modules (`config`, `hc-pair`, `shadow`, `warnings`, `scheme-mapping`,
11+
`validation`, `resolver`, `formatters`, `theme`, `palette`,
12+
`color-token`) and dedupe a few parallel structures:
13+
- The resolver's four-pass loop is now a single `runPass()` + `seedField()`
14+
helper called four times.
15+
- The palette `tokens` / `tasty` / `css` exporters share a
16+
`buildPaletteOutput()` driver instead of duplicating the
17+
per-theme loop / prefix resolution / collision filtering /
18+
primary-duplication logic.
19+
- The default-config literal is no longer duplicated between module
20+
init and `resetConfig()`; both call a shared `defaultConfig()`.
21+
- `theme` exports now cache the resolve result and invalidate it on
22+
any def mutation or `configure()` / `resetConfig()` call (via a
23+
new `configVersion` counter), so back-to-back exports don't
24+
re-run the four-pass resolver.
25+
26+
No public API or behavior changes.
27+
328
## 0.11.0
429

530
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tenphi/glaze",
3-
"version": "0.11.0",
3+
"version": "0.11.1",
44
"description": "OKHSL-based color theme generator with WCAG contrast solving for light, dark, and high-contrast schemes",
55
"type": "module",
66
"main": "./dist/index.cjs",

0 commit comments

Comments
 (0)