Skip to content

Commit

Permalink
Release v2.2.4 (#40)
Browse files Browse the repository at this point in the history
- doc(CONTRIBUTORS): added
- populate [files] in package.json. Delete .npmignore.
- ci: updated ci.yml
- dep: eslint-plugin-haraka -> @haraka/eslint-config
- lint: remove duplicate / stale rules from .eslintrc
- doc(CHANGES): rename Changes.md -> CHANGELOG.md
- deps: bump versions
  • Loading branch information
msimerson authored Apr 10, 2024
1 parent 310006b commit 2fb67b4
Show file tree
Hide file tree
Showing 15 changed files with 510 additions and 564 deletions.
8 changes: 4 additions & 4 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
engines:
eslint:
enabled: true
channel: "eslint-8"
channel: 'eslint-8'
config:
config: ".eslintrc.yaml"
config: '.eslintrc.yaml'

checks:
return-statements:
Expand All @@ -16,5 +16,5 @@ checks:
threshold: 20

ratings:
paths:
- "**.js"
paths:
- '**.js'
12 changes: 2 additions & 10 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ env:
node: true
es6: true
mocha: true
es2020: true

plugins:
- haraka

extends:
- eslint:recommended
- plugin:haraka/recommended

root: true
es2022: true

extends: ['@haraka']
6 changes: 4 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
Fixes #

Changes proposed in this pull request:
-
-

-
-

Checklist:

- [ ] docs updated
- [ ] tests updated
- [ ] Changes.md updated
Expand Down
49 changes: 8 additions & 41 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on: [ push, pull_request ]
on: [push, pull_request]

env:
CI: true
Expand All @@ -13,44 +13,11 @@ jobs:
uses: haraka/.github/.github/workflows/coverage.yml@master
secrets: inherit

test:
needs: lint
runs-on: ${{ matrix.os }}
services:
redis:
image: redis
ports:
- 6379:6379
strategy:
matrix:
os: [ ubuntu-latest ]
node-version: [ 16, 18, 20 ]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
with:
node-version: ${{ matrix.node-version }}
ubuntu:
needs: [lint]
uses: haraka/.github/.github/workflows/ubuntu.yml@master

- run: npm install
- run: npm test

test-win:
needs: lint
if: ${{ false }} # needs redis server
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest ]
node-version: [ 16, 18, 20 ]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
with:
node-version: ${{ matrix.node-version }}

- run: npm install
- run: npm test
windows:
if: ${{ false }} # needs redis server
needs: [lint]
uses: haraka/.github/.github/workflows/windows.yml@master
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: CodeQL

on:
push:
branches: [ master ]
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
branches: [master]
schedule:
- cron: '18 7 * * 4'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ env:
jobs:
publish:
uses: haraka/.github/.github/workflows/publish.yml@master
secrets: inherit
secrets: inherit
61 changes: 0 additions & 61 deletions .npmignore

This file was deleted.

2 changes: 2 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
singleQuote: true
semi: false
2 changes: 1 addition & 1 deletion .release
41 changes: 25 additions & 16 deletions Changes.md → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,35 @@
# Changelog

#### N.N.N - YYYY-MM-DD
The format is based on [Keep a Changelog](https://keepachangelog.com/).

### Unreleased

### [2.2.4] - 2024-04-10

- deps: bump versions
- ci: updated ci.yml
- doc(CHANGES): rename Changes.md -> CHANGELOG.md
- doc(CONTRIBUTORS): added
- populate [files] in package.json. Delete .npmignore.
- dep: eslint-plugin-haraka -> @haraka/eslint-config
- lint: remove duplicate / stale rules from .eslintrc
- prettier

### [2.2.3] - 2023-06-08

- ci: add on pull_request
- dev: expand .gitignore
- packaging: add .npmignore


#### 2.2.2 - 2022-05-28

- feat: add ignores keys with undefined values
- add .release submodule


#### 2.2.1 - 2022-05-27

- chore(ci): depend on shared GHA workflows


#### 2.2.0 - 2022-05-23

- dep(node): require 14+
Expand All @@ -29,49 +39,48 @@
- doc(README): deprecate usage of 'plugin'
- doc(README): update badges


#### 2.1.0 - 2021-10-14

- bump redis dep 2.8.0 -> 3.1.2
- bump redis dep 2.8.0 -> 3.1.2
- replace nodeunit with mocha
- add github workflows, drop travis & appveyor CI
- use es6 classes
- es6: use "for item of array" syntax for array iterator


#### 2.0.3 - 2017-08-26

- add redis_publish boolean to disable redis results publishing


#### 2.0.2 - 2017-06-26

- revert #4, until a proper and tested fix is available


#### 2.0.1 - 2017-05-26

- eslint 4 compat


#### 2.0.0 - 2017-05-26

- Disable Redis pub/sub by default


#### 1.0.2 - 2017-02-13

- publish incr operations
- update eslint to inherit eslint-plugin-haraka
- added AppVeyor (windows) testing


#### 1.0.1 - 2017-01-26
#### 1.0.1 - 2017-01-26

- update eslint to inherit eslint-plugin-haraka

* depend on haraka-config
* vs ./config, which doesn't work for npm packaged plugin tests
- vs ./config, which doesn't work for npm packaged plugin tests

#### 1.0.0 - initial release

#### 1.0.0 - initial release
[2.2.3]: https://github.com/haraka/haraka-results/releases/tag/2.2.3
[2.1.0]: https://github.com/haraka/haraka-results/releases/tag/2.1.0
[2.2.0]: https://github.com/haraka/haraka-results/releases/tag/2.2.0
[2.2.1]: https://github.com/haraka/haraka-results/releases/tag/2.2.1
[2.2.2]: https://github.com/haraka/haraka-results/releases/tag/2.2.2
[2.2.3]: https://github.com/haraka/haraka-results/releases/tag/v2.2.3
[2.2.4]: https://github.com/haraka/haraka-results/releases/tag/v2.2.4
8 changes: 8 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Contributors

This handcrafted artisinal software is brought to you by:

| <img height="80" src="https://avatars.githubusercontent.com/u/261635?v=4"><br><a href="https://github.com/msimerson">msimerson</a> (<a href="https://github.com/haraka/haraka-results/commits?author=msimerson">29</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/42121756?v=4"><br><a href="https://github.com/PSSGCSim">PSSGCSim</a> (<a href="https://github.com/haraka/haraka-results/commits?author=PSSGCSim">2</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/203240?v=4"><br><a href="https://github.com/lnedry">lnedry</a> (<a href="https://github.com/haraka/haraka-results/commits?author=lnedry">2</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/662371?v=4"><br><a href="https://github.com/baudehlo">baudehlo</a> (<a href="https://github.com/haraka/haraka-results/commits?author=baudehlo">1</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/550490?v=4"><br><a href="https://github.com/smfreegard">smfreegard</a> (<a href="https://github.com/haraka/haraka-results/commits?author=smfreegard">1</a>) |
| :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |

<sub>this file is maintained by [.release](https://github.com/msimerson/.release)</sub>
Loading

0 comments on commit 2fb67b4

Please sign in to comment.