@adobe/eslint-config-helix 2.0.5 → 2.0.7

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.
@@ -0,0 +1,45 @@
1
+ name: Build
2
+ on: [push]
3
+
4
+ env:
5
+ CI_BUILD_NUM: ${{ github.run_id }}
6
+ CI_BRANCH: ${{ github.ref_name }}
7
+
8
+ jobs:
9
+ test:
10
+ name: Test
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - name: Use Node.js 20.x
15
+ uses: actions/setup-node@v4
16
+ with:
17
+ node-version: '20.x'
18
+ - run: npm ci
19
+ - run: npm run lint
20
+ - run: npm test
21
+ - uses: codecov/codecov-action@v4
22
+ with:
23
+ token: ${{ secrets.CODECOV_TOKEN }}
24
+ - name: Semantic Release (Dry Run)
25
+ run: npm run semantic-release-dry
26
+ env:
27
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28
+ NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
29
+
30
+ release:
31
+ name: Release
32
+ runs-on: ubuntu-latest
33
+ needs: test
34
+ if: github.ref == 'refs/heads/main'
35
+ steps:
36
+ - uses: actions/checkout@v4
37
+ - name: Use Node.js 20.x
38
+ uses: actions/setup-node@v4
39
+ with:
40
+ node-version: '20.x'
41
+ - run: npm ci
42
+ - run: npm run semantic-release
43
+ env:
44
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45
+ NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
@@ -1,7 +1,12 @@
1
+ name: Semantic Release Version Check
1
2
  on:
2
3
  push:
3
4
  branches-ignore:
4
- - 'master'
5
+ - 'main'
6
+
7
+ permissions:
8
+ issues: write
9
+ pull-requests: write
5
10
 
6
11
  jobs:
7
12
  ci_trigger:
@@ -10,6 +15,6 @@ jobs:
10
15
  steps:
11
16
  - name: Comment
12
17
  id: comment
13
- uses: adobe-rnd/github-semantic-release-comment-action@master
18
+ uses: adobe-rnd/github-semantic-release-comment-action@main
14
19
  with:
15
- repo-token: ${{ secrets.GITHUB_TOKEN }}
20
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [2.0.7](https://github.com/adobe/helix-eslint-config/compare/v2.0.6...v2.0.7) (2024-09-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update dependency eslint-plugin-import to v2.30.0 ([39f0aa1](https://github.com/adobe/helix-eslint-config/commit/39f0aa1dcb38d0c568056988674e1a0b46eabf1c))
7
+
8
+ ## [2.0.6](https://github.com/adobe/helix-eslint-config/compare/v2.0.5...v2.0.6) (2024-02-01)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **template:** it's 2024, baby ([eda47a3](https://github.com/adobe/helix-eslint-config/commit/eda47a326e1d897de1c896753b8441fd8f452055))
14
+
1
15
  ## [2.0.5](https://github.com/adobe/helix-eslint-config/compare/v2.0.4...v2.0.5) (2023-11-17)
2
16
 
3
17
 
package/index.js CHANGED
@@ -67,7 +67,7 @@ module.exports = {
67
67
 
68
68
  // enforce license header
69
69
  'header/header': [2, 'block', ['',
70
- { pattern: ' * Copyright \\d{4} Adobe\\. All rights reserved\\.', template: ' * Copyright 2023 Adobe. All rights reserved.' },
70
+ { pattern: ' * Copyright \\d{4} Adobe\\. All rights reserved\\.', template: ' * Copyright 2024 Adobe. All rights reserved.' },
71
71
  ' * This file is licensed to you under the Apache License, Version 2.0 (the "License");',
72
72
  ' * you may not use this file except in compliance with the License. You may obtain a copy',
73
73
  ' * of the License at http://www.apache.org/licenses/LICENSE-2.0',
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@adobe/eslint-config-helix",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "description": "Helix's ESLint config, based on Airbnb's style guide",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "lint": "./node_modules/.bin/eslint .",
8
+ "semantic-release-dry": "semantic-release --dry-run --branches $CI_BRANCH",
8
9
  "semantic-release": "semantic-release",
9
10
  "test": "npm run lint"
10
11
  },
@@ -27,13 +28,13 @@
27
28
  "eslint-config-airbnb-base": "15.0.0",
28
29
  "eslint-import-resolver-exports": "1.0.0-beta.5",
29
30
  "eslint-plugin-header": "3.1.1",
30
- "eslint-plugin-import": "2.29.0"
31
+ "eslint-plugin-import": "2.30.0"
31
32
  },
32
33
  "devDependencies": {
33
34
  "@semantic-release/changelog": "6.0.3",
34
35
  "@semantic-release/git": "10.0.1",
35
- "eslint": "8.53.0",
36
- "semantic-release": "22.0.7"
36
+ "eslint": "8.57.0",
37
+ "semantic-release": "24.1.0"
37
38
  },
38
39
  "peerDependencies": {
39
40
  "eslint": "^8.0.0"
@@ -1,41 +0,0 @@
1
- name: "CodeQL"
2
-
3
- on:
4
- push:
5
- branches: [ "main" ]
6
- pull_request:
7
- branches: [ "main" ]
8
- schedule:
9
- - cron: "59 10 * * 5"
10
-
11
- jobs:
12
- analyze:
13
- name: Analyze
14
- runs-on: ubuntu-latest
15
- permissions:
16
- actions: read
17
- contents: read
18
- security-events: write
19
-
20
- strategy:
21
- fail-fast: false
22
- matrix:
23
- language: [ javascript ]
24
-
25
- steps:
26
- - name: Checkout
27
- uses: actions/checkout@v4
28
-
29
- - name: Initialize CodeQL
30
- uses: github/codeql-action/init@v2
31
- with:
32
- languages: ${{ matrix.language }}
33
- queries: +security-and-quality
34
-
35
- - name: Autobuild
36
- uses: github/codeql-action/autobuild@v2
37
-
38
- - name: Perform CodeQL Analysis
39
- uses: github/codeql-action/analyze@v2
40
- with:
41
- category: "/language:${{ matrix.language }}"
@@ -1,22 +0,0 @@
1
- name: Semantic Release
2
- on:
3
- push:
4
- branches:
5
- - 'main'
6
-
7
- jobs:
8
- build:
9
- runs-on: ubuntu-latest
10
- if: "!contains(github.event.head_commit.message, '[skip ci]')"
11
- steps:
12
- - uses: actions/checkout@v4
13
- - name: Use Node.js 18.x
14
- uses: actions/setup-node@v4
15
- with:
16
- node-version: '18.x'
17
- - run: npm install
18
- - run: npm test
19
- - run: npm run semantic-release
20
- env:
21
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22
- NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}