@niondigital/prettier-config-svelte 3.1.0 → 4.0.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/CHANGELOG.md +53 -0
- package/README.md +4 -0
- package/package.json +6 -6
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# [4.0.0](https://github.com/niondigital/javascript-style/compare/v3.1.0...v4.0.0) (2026-06-16)
|
|
7
|
+
|
|
8
|
+
- feat!: upgrade all config packages to newest versions (v4.0.0) (#4) ([31ad2f0](https://github.com/niondigital/javascript-style/commit/31ad2f0b26f1c6e57a90d14bed435abbfba091c2)), closes [#4](https://github.com/niondigital/javascript-style/issues/4)
|
|
9
|
+
|
|
10
|
+
### BREAKING CHANGES
|
|
11
|
+
|
|
12
|
+
- consumers must use ESLint 10 and TypeScript 6.
|
|
13
|
+
|
|
14
|
+
- feat!: require stylelint 17 + cssnano 8; freeze CSS property order
|
|
15
|
+
|
|
16
|
+
Bump stylelint-config to stylelint 17, stylelint-config-standard 40 and
|
|
17
|
+
stylelint-config-clean-order 10 (adds stylelint-order 8 as a peer), and
|
|
18
|
+
postcss-config to cssnano 8 and @csstools/postcss-global-data 4.
|
|
19
|
+
|
|
20
|
+
Behavior preserved: stylelint-config-standard 40 changes no rules. clean-order 10
|
|
21
|
+
reordered/extended its propertyGroups, which would change order/properties-order,
|
|
22
|
+
so the v3.x property order is now owned in stylelint-config/property-order.js and
|
|
23
|
+
no longer tracks clean-order. The resolved stylelint ruleset is identical to v16.
|
|
24
|
+
|
|
25
|
+
Note (not a lint rule): cssnano 8 no longer alphabetically sorts declarations, so
|
|
26
|
+
minified output preserves source order. CSS rendering is unchanged.
|
|
27
|
+
|
|
28
|
+
- consumers must use stylelint 17 and cssnano 8.
|
|
29
|
+
|
|
30
|
+
- build: upgrade repo tooling (lerna 9, lint-staged 17, commitlint 21)
|
|
31
|
+
|
|
32
|
+
- chore: set internal workspace peer ranges to ^4.0.0
|
|
33
|
+
|
|
34
|
+
- build: raise Node floor to 24.11, bump postcss-preset-env, extend harness
|
|
35
|
+
|
|
36
|
+
Addresses the final review:
|
|
37
|
+
|
|
38
|
+
- Raise root engines.node to >=24.11.0 (cssnano 8's engine floor; >=24.0.0 was
|
|
39
|
+
inaccurate). .nvmrc already resolves to a satisfying Node 24.x.
|
|
40
|
+
- Bump postcss-preset-env peer/dev floor ^11.1.2 -> ^11.3.1 (latest; it was the
|
|
41
|
+
only dependency left below its newest patch).
|
|
42
|
+
- Harden validate:check to also fail on untracked snapshot files.
|
|
43
|
+
- Add ESLint lint-output snapshots (rule firing on a violations fixture) and a
|
|
44
|
+
@niondigital/commitlint-config resolved-rules snapshot, closing harness gaps.
|
|
45
|
+
|
|
46
|
+
* feat(stylelint-config): adopt clean-order 10 property order
|
|
47
|
+
|
|
48
|
+
Supersedes the interim freeze: per decision, use stylelint-config-clean-order@10's
|
|
49
|
+
updated propertyGroups for order/properties-order (443 -> 468 properties) instead
|
|
50
|
+
of the frozen v3.x list. CSS property ordering changes accordingly; no other
|
|
51
|
+
stylelint rule changes (verified: only order/properties-order differs).
|
|
52
|
+
|
|
53
|
+
- feat(setup): add root ESLint flat config so the repo lints its own source
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@niondigital/prettier-config-svelte",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "4.0.0",
|
|
5
5
|
"author": "Dominik Gallitzendörfer <dominik.gallitzendoerfer@nion-digital.com>",
|
|
6
6
|
"main": "./config.js",
|
|
7
7
|
"repository": "https://github.com/niondigital/javascript-style",
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
"svelte"
|
|
13
13
|
],
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@ianvs/prettier-plugin-sort-imports": "^4.7.
|
|
16
|
-
"@niondigital/prettier-config": "^
|
|
17
|
-
"prettier": "^3.
|
|
18
|
-
"prettier-plugin-svelte": "^
|
|
15
|
+
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
|
|
16
|
+
"@niondigital/prettier-config": "^4.0.0",
|
|
17
|
+
"prettier": "^3.8.4",
|
|
18
|
+
"prettier-plugin-svelte": "^4.1.1"
|
|
19
19
|
},
|
|
20
20
|
"publishConfig": {
|
|
21
21
|
"access": "public"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "fb656241b0c11ce8968e662077c8a35e071fceaf"
|
|
24
24
|
}
|