-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- doc(CHANGELOG): renamed from Changes - doc(CONTRIBUTORS): added - style: automated code formatting with prettier - ci: update local copy of ci.yml - dep(eslint): updated to v9 - dep: eslint-plugin-haraka -> @haraka/eslint-config - lint: remove duplicate / stale rules from .eslintrc - populate [files] in package.json.
- Loading branch information
Showing
12 changed files
with
307 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
plugins: | ||
eslint: | ||
enabled: true | ||
channel: "eslint-8" | ||
channel: 'eslint-9' | ||
config: | ||
config: ".eslintrc.yaml" | ||
config: 'eslint.config.mjs' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,14 @@ | ||
name: CI | ||
|
||
on: [ pull_request, push ] | ||
on: [pull_request, push] | ||
|
||
env: | ||
CI: true | ||
|
||
jobs: | ||
|
||
lint: | ||
uses: haraka/.github/.github/workflows/lint.yml@master | ||
|
||
# coverage: | ||
# 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 ] | ||
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 | ||
|
||
needs: [lint] | ||
uses: haraka/.github/.github/workflows/ubuntu.yml@master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
singleQuote: true | ||
semi: false |
Submodule .release
updated
11 files
+2 −0 | .prettierrc.yaml | |
+1 −0 | .shellcheckrc | |
+32 −5 | CHANGELOG.md | |
+1 −1 | LICENSE | |
+34 −15 | README.md | |
+38 −1 | base.sh | |
+85 −0 | contributors.js | |
+14 −3 | finish.sh | |
+7 −6 | npm/prepend-scope.cjs | |
+146 −32 | start.sh | |
+46 −6 | submit.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,54 @@ | ||
### Unreleased | ||
|
||
### [1.2.1] - 2025-01-07 | ||
|
||
- style: automated code formatting with prettier | ||
- ci: update local copy of ci.yml | ||
- dep(eslint): updated to v9 | ||
- dep: eslint-plugin-haraka -> @haraka/eslint-config | ||
- lint: remove duplicate / stale rules from .eslintrc | ||
- populate [files] in package.json. | ||
|
||
### [1.2.0] - 2023-03-29 | ||
|
||
- maint: replace for..i iterator with for..of, add test | ||
- feat: add redis enabled setting, #28 | ||
|
||
|
||
### [1.1.0] - 2022-11-22 | ||
|
||
- fix: use this.redis_ping during runtime, #26 | ||
- test: more async tests | ||
|
||
|
||
### 1.0.4 - 2022-11-15 | ||
|
||
- fix: run redis_ping when registering, fixes #23 | ||
- ci: replace travis/appveyor with GHA | ||
- dep(redis): 2 -> 4 | ||
- dep(pi-redis): * -> 2 | ||
- dep(pi-redis): \* -> 2 | ||
- dep(eslint): 4 -> 8 | ||
- dep(url): drop npm url package, use builtin | ||
- test: replace node_unit with mocha | ||
- doc(README): update badge URLs | ||
|
||
|
||
### 1.0.3 - 2019-04-11 | ||
|
||
- test fix for unitialized redis config block | ||
|
||
|
||
### 1.0.2 - 2018-03-05 | ||
|
||
- for MX entries, previously only full email address matches in the file were parsed for LMTP/SMTP routes. Now all MX entries are parsed (email file, email domain, email redis, and domain redis) for URIs. | ||
- use es6 arrow functions | ||
- refactored the functions in rcpt() into separate functions (simplify, more testable) | ||
|
||
|
||
### 1.0.1 - 2017-08-19 | ||
|
||
- enable Redis install on AppVeyor CI testing | ||
|
||
|
||
### 1.0.0 - 2017-07-28 | ||
|
||
- imported from haraka/plugins/rcpt_to.routes | ||
|
||
|
||
|
||
[1.0.4]: https://github.com/haraka/haraka-plugin-recipient-routes/releases/tag/1.0.4 | ||
[1.1.0]: https://github.com/haraka/haraka-plugin-recipient-routes/releases/tag/1.1.0 | ||
[1.2.0]: https://github.com/haraka/haraka-plugin-recipient-routes/releases/tag/1.2.0 | ||
[1.2.1]: https://github.com/haraka/haraka-plugin-recipient-routes/releases/tag/1.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import globals from 'globals' | ||
import path from 'node:path' | ||
import { fileURLToPath } from 'node:url' | ||
import js from '@eslint/js' | ||
import { FlatCompat } from '@eslint/eslintrc' | ||
|
||
const __filename = fileURLToPath(import.meta.url) | ||
const __dirname = path.dirname(__filename) | ||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
recommendedConfig: js.configs.recommended, | ||
allConfig: js.configs.all, | ||
}) | ||
|
||
export default [ | ||
...compat.extends('@haraka'), | ||
{ | ||
languageOptions: { | ||
globals: { | ||
...globals.node, | ||
...globals.mocha, | ||
}, | ||
}, | ||
rules: { | ||
'no-unused-vars': 'warn', | ||
}, | ||
}, | ||
] |
Oops, something went wrong.