@studiometa/stylelint-formatter-gitlab 1.1.1 → 1.1.3
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 +16 -2
- package/README.md +22 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
3
|
+
All notable changes to this project will be documented in this file. Each pull request adds a fragment in `.changelog/`; the Release workflow folds them in here.
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## 1.1.3 - 2026-11-16
|
|
8
|
+
|
|
9
|
+
### Dependencies
|
|
10
|
+
|
|
11
|
+
- Update devDependencies ([#77])
|
|
12
|
+
|
|
13
|
+
[#77]: https://github.com/studiometa/stylelint-formatter-gitlab/pull/77
|
|
14
|
+
|
|
15
|
+
## 1.1.2 - 2026-10-13
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Replace the `## [Unreleased]` section with `.changelog/` fragments checked on pull requests by `weareikko/changelog`, and release from the `Release` workflow, which bumps the version, folds the fragments into `CHANGELOG.md`, tags and publishes ([#73])
|
|
20
|
+
|
|
21
|
+
[#73]: https://github.com/studiometa/stylelint-formatter-gitlab/pull/73
|
|
8
22
|
|
|
9
23
|
## v1.1.1 - 2026-04-20
|
|
10
24
|
|
package/README.md
CHANGED
|
@@ -45,6 +45,28 @@ configuration, options are passed using environment variables.
|
|
|
45
45
|
| `STYLELINT_CODE_QUALITY_REPORT` | The location to store the code quality report. By default it will detect the location of the codequality artifact defined in the GitLab CI configuration file. |
|
|
46
46
|
| `STYLELINT_FORMATTER` | The Stylelint formatter to use for the console output. This defaults to string, the default Stylelint formatter. |
|
|
47
47
|
|
|
48
|
+
## Contributing
|
|
49
|
+
|
|
50
|
+
Do not edit `CHANGELOG.md`. Each pull request adds a fragment in `.changelog/<slug>.md`, where the slug is the branch name without its prefix (`feature/foo` → `foo.md`). A fragment only contains `### Added|Changed|Deprecated|Removed|Fixed|Security|Dependencies` headings, each followed by its entries:
|
|
51
|
+
|
|
52
|
+
```markdown
|
|
53
|
+
### Fixed
|
|
54
|
+
|
|
55
|
+
- Fix the exit code on lint errors
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Do not write the pull request number: the release adds it. A pull request that changes `src/` needs a fragment, unless it has the `no-changelog` label (tests, refactors, tooling). See [`weareikko/changelog`](https://github.com/weareikko/changelog) for the format.
|
|
59
|
+
|
|
60
|
+
Each merge into `main` releases what its fragments describe. The `Release` workflow (`publish.yml`) runs the checks, gets the next version from the fragments (an `Added` entry gives a minor version, other entries a patch version, a `Breaking:` entry a major version), folds the fragments into `CHANGELOG.md`, bumps `package.json`, commits `Release <version>`, tags, creates the GitHub release and publishes to npm. A merge without fragments releases nothing. A manual run forces a bump:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
gh workflow run publish.yml -f version=major # or minor / patch
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
To release prereleases, add a `.changelog/prerelease` file with one identifier (`alpha`, `beta` or `rc`): each merge with fragments then releases the next prerelease (`1.2.0-rc.0`, `1.2.0-rc.1`), on the `next` dist-tag on npm and as a prerelease on GitHub. The pull request that deletes the file releases the stable version. See [Prereleases](https://github.com/weareikko/changelog#prereleases).
|
|
67
|
+
|
|
68
|
+
The workflow publishes with npm trusted publishing: it needs no npm token. If the publish job fails, use "Re-run failed jobs": npm skips a version that it already has.
|
|
69
|
+
|
|
48
70
|
## Notes
|
|
49
71
|
|
|
50
72
|
This project is based on the [`stylelint-formatter-gitlab`](https://gitlab.com/leon0399/stylelint-formatter-gitlab) package which seems unmaintained and does not support StyleLint v16.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@studiometa/stylelint-formatter-gitlab",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "A StyleLint formatter for the GitLab Code Quality report",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@studiometa/eslint-config": "4.3.1",
|
|
39
39
|
"@studiometa/prettier-config": "4.4.0",
|
|
40
40
|
"@studiometa/stylelint-config": "4.1.1",
|
|
41
|
-
"bun": "1.
|
|
42
|
-
"stylelint": "17.
|
|
41
|
+
"bun": "1.4.4",
|
|
42
|
+
"stylelint": "17.16.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"jest-diff": "^30.3.0",
|