Releases: kiforks/prettier-config
Releases · kiforks/prettier-config
v2.0.2
Patch Changes
- #19
1d8f2d8Thanks @kiforks! - 🧹 Internal- Opt the CI and release workflows in to running JavaScript-based GitHub
Actions on Node 24 viaFORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true. Silences
the deprecation warning thatactions/checkout@v4and
actions/setup-node@v4print on every run about Node 20 being phased out
in September 2026. No package consumer behaviour changes — purely a build
pipeline hygiene patch.
- Opt the CI and release workflows in to running JavaScript-based GitHub
v2.0.1
Patch Changes
-
#15
34c3b98Thanks @kiforks! - 🔒 Security- Added a
verifynpm script (npm run format && npm test) and called it
explicitly from.github/workflows/release.ymlright before the release
step. If formatting or tests regressed on main between PR merge and the
release run, the publish step never starts — the registry can't see a
broken build.
🧹 Internal
- The
pre-pushhusky hook now also runsnpm run formatafter validating
the branch name. Pre-commit lint-staged only covers staged files, so this
catches stray unformatted files that were committed without staging or via
--no-verify. Combined with the existing CI job and the new release-time
verify step, the project has three independent layers of formatting
validation. - Resynced
package-lock.jsonversion field from1.0.4to2.0.0— the
v2 publish bumpedpackage.jsonbutchangesets/actiondoesn't run
npm installafterchangeset version, so the lockfile was stuck on the
old version.
- Added a
v2.0.0
Major Changes
-
#8
40b26d8Thanks @kiforks! - Modernize the package — bump dependencies to latest, drop Node 20 support,
and add a snapshot test suite.💥 Breaking changes
- Node 20 no longer supported.
engines.noderaised from>=20.8.1to>=22.22.1. - Prettier 3.4–3.7 no longer supported. Peer dependency
prettiernarrowed from^3.4.0to^3.8.0.
📦 Dependencies
- Prettier → 3.8.3
@ianvs/prettier-plugin-sort-imports→ 4.7.1@prettier/plugin-oxc→ 0.1.4 (required transitively by the sort-imports plugin's parser getters even when unused)prettier-plugin-ember-template-tag→ 2.1.5 (same reason)
🔒 Security
- Patched transitive vulnerabilities in
brace-expansion,minimatch, andpicomatch.
🧪 Quality
- Added a fixture-based snapshot test suite using the native Node test runner (zero deps, no Vitest/Jest). Each test case lives in its own folder following
tests/fixtures/{category}/{category}-{rule}/{category}-{rule}.{input,expected}.{ext}. Coverage targets every rule declared inindex.js: all eight base Prettier options, every one of the ~22importOrdergroups, every one of the 24attributeGroups, and the HTML → Angular parser override. CI runs the suite on a Node 22.x / 24.x matrix. - Two new npm scripts:
npm testandnpm run test:update-snapshots(regeneratesexpected.*files when the config is intentionally changed).
🧹 Internal
- Removed dead
lodash,@types/lodash, andnpm-run-alldevDependencies. - Dropped the unused
prereleasenpm script. - Modernized the husky 9 pre-commit hook.
- Node 20 no longer supported.
[1.0.4] - 2025-10-10
1.0.3
[1.0.2] - 2024-12-21
[1.0.1] - 2024-12-19
[1.0.0] - 2024-12-10
| Category | Description |
|---|---|
| Major Changes | - Released the final version of the configuration. |