Skip to content

Commit 700c857

Browse files
committed
docs: 📝 update README with comprehensive usage examples and API docs
chore: 🔧 upgrade GitHub Actions dependencies to latest versions chore: 📄 update copyright year to 2026 in LICENSE build: ⬆️ bump devDependencies to latest stable versions docs: 📚 add CHANGELOG.md file for version history tracking
1 parent 1908872 commit 700c857

5 files changed

Lines changed: 422 additions & 119 deletions

File tree

.github/workflows/workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
node-version: [18, 20, 22, 24]
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v6
1616
with:
1717
fetch-depth: 2
1818

1919
- name: Set up Node ${{ matrix.node-version }}
20-
uses: actions/setup-node@v4
20+
uses: actions/setup-node@v6
2121
with:
2222
node-version: ${{ matrix.node-version }}
2323

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## 1.4.2
6+
7+
### Fixed
8+
- Fixed edge case where `exclude` option with a function returning `false` was not handled correctly
9+
10+
## 1.4.1
11+
12+
### Changed
13+
- Updated README
14+
15+
## 1.4.0
16+
17+
### Added
18+
- New `unitList` option to control which units are passed to the processor function. Supports wildcards (`*`) and negation (`!rem`)
19+
20+
## 1.3.1
21+
22+
### Changed
23+
- Improved test descriptions for clarity
24+
25+
## 1.3.0
26+
27+
### Added
28+
- Comprehensive edge case tests covering various configuration scenarios
29+
30+
## 1.2.0
31+
32+
### Added
33+
- TypeScript type definitions (`index.d.ts`)
34+
35+
## 1.1.1
36+
37+
### Changed
38+
- Updated README
39+
40+
## 1.1.0
41+
42+
### Added
43+
- New `customUnitList` option to support custom/non-standard units (e.g. `rpx`, `dp`)

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 Hex
3+
Copyright (c) 2026 Hex
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)