eslint-plugin-traceability 1.0.0 → 1.0.1
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/.github/workflows/ci-cd.yml +27 -5
- package/CHANGELOG.md +10 -3
- package/package.json +1 -1
|
@@ -5,20 +5,20 @@ on:
|
|
|
5
5
|
branches: [main]
|
|
6
6
|
|
|
7
7
|
jobs:
|
|
8
|
-
quality-
|
|
8
|
+
quality-checks:
|
|
9
|
+
name: Quality Checks
|
|
9
10
|
runs-on: ubuntu-latest
|
|
10
11
|
strategy:
|
|
11
12
|
matrix:
|
|
12
|
-
node-version: [18.x, 20.x]
|
|
13
|
-
|
|
13
|
+
node-version: ['18.x', '20.x']
|
|
14
14
|
steps:
|
|
15
15
|
- name: Checkout code
|
|
16
16
|
uses: actions/checkout@v4
|
|
17
17
|
|
|
18
|
-
- name: Setup Node.js ${{ matrix
|
|
18
|
+
- name: Setup Node.js ${{ matrix['node-version'] }}
|
|
19
19
|
uses: actions/setup-node@v4
|
|
20
20
|
with:
|
|
21
|
-
node-version: ${{ matrix
|
|
21
|
+
node-version: ${{ matrix['node-version'] }}
|
|
22
22
|
cache: npm
|
|
23
23
|
|
|
24
24
|
- name: Install dependencies
|
|
@@ -45,6 +45,28 @@ jobs:
|
|
|
45
45
|
- name: Run security audit
|
|
46
46
|
run: npm audit --audit-level=high
|
|
47
47
|
|
|
48
|
+
publish:
|
|
49
|
+
name: Publish Package
|
|
50
|
+
needs: quality-checks
|
|
51
|
+
runs-on: ubuntu-latest
|
|
52
|
+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
|
53
|
+
steps:
|
|
54
|
+
- name: Checkout code
|
|
55
|
+
uses: actions/checkout@v4
|
|
56
|
+
|
|
57
|
+
- name: Setup Node.js for publish
|
|
58
|
+
uses: actions/setup-node@v4
|
|
59
|
+
with:
|
|
60
|
+
node-version: '20.x'
|
|
61
|
+
registry-url: 'https://registry.npmjs.org/'
|
|
62
|
+
always-auth: true
|
|
63
|
+
|
|
64
|
+
- name: Install dependencies
|
|
65
|
+
run: npm ci
|
|
66
|
+
|
|
67
|
+
- name: Build project
|
|
68
|
+
run: npm run build
|
|
69
|
+
|
|
48
70
|
- name: Configure npm for publish
|
|
49
71
|
run: npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
|
|
50
72
|
env:
|
package/CHANGELOG.md
CHANGED
|
@@ -2,17 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
## [1.0.
|
|
5
|
+
## [1.0.1] - 2025-11-17
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- Detailed API documentation in `user-docs/api-reference.md`
|
|
9
|
+
- New usage examples in `user-docs/examples.md`
|
|
6
10
|
|
|
7
11
|
### Changed
|
|
12
|
+
- Updated `README.md` with advanced usage instructions and migration guide
|
|
13
|
+
- Consolidated CI workflows into a unified GitHub Actions pipeline
|
|
14
|
+
|
|
15
|
+
## [1.0.0] - 2025-11-16
|
|
8
16
|
|
|
17
|
+
### Changed
|
|
9
18
|
- Bumped version to 1.0.0 in package.json.
|
|
10
19
|
- Aligned CHANGELOG with package.json version.
|
|
11
20
|
|
|
12
21
|
## [0.1.0] - 2025-11-16
|
|
13
22
|
|
|
14
23
|
### Added
|
|
15
|
-
|
|
16
24
|
- Initial release of `eslint-plugin-traceability`:
|
|
17
25
|
- `require-story-annotation`
|
|
18
26
|
- `require-req-annotation`
|
|
@@ -27,5 +35,4 @@ All notable changes to this project will be documented in this file.
|
|
|
27
35
|
- Comprehensive tests covering core validation rules.
|
|
28
36
|
|
|
29
37
|
### Fixed
|
|
30
|
-
|
|
31
38
|
- N/A
|