-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- dep: eslint-plugin-haraka -> @haraka/eslint-config - lint: remove duplicate / stale rules from .eslintrc - populate [files] in package.json. Delete .npmignore. - doc: Changes.md -> CHANGELOG.md - test: switch to node --test - prettier
- Loading branch information
Showing
13 changed files
with
101 additions
and
175 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 |
---|---|---|
|
@@ -6,5 +6,5 @@ engines: | |
config: ".eslintrc.yaml" | ||
|
||
ratings: | ||
paths: | ||
- "**.js" | ||
paths: | ||
- "**.js" |
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
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
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,8 +1,6 @@ | ||
name: publish | ||
|
||
on: | ||
release: | ||
types: [ published ] | ||
push: | ||
branches: | ||
- master | ||
|
This file was deleted.
Oops, something went wrong.
Submodule .release
updated
10 files
+2 −0 | .prettierrc.yaml | |
+1 −0 | .shellcheckrc | |
+29 −5 | CHANGELOG.md | |
+1 −1 | LICENSE | |
+24 −15 | README.md | |
+30 −1 | base.sh | |
+6 −2 | finish.sh | |
+7 −6 | npm/prepend-scope.cjs | |
+115 −32 | start.sh | |
+33 −5 | 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,39 +1,47 @@ | ||
# Changelog | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/). | ||
|
||
### Unreleased | ||
|
||
### [1.0.6] - 2024-04-08 | ||
|
||
- dep: eslint-plugin-haraka -> @haraka/eslint-config | ||
- lint: remove duplicate / stale rules from .eslintrc | ||
- populate [files] in package.json. Delete .npmignore. | ||
- doc: Changes.md -> CHANGELOG.md | ||
- test: switch to node --test | ||
|
||
### 1.0.5 - 2023-12-12 | ||
|
||
- ci: run tests on PR | ||
- ci(publish): add on.release trigger | ||
- deps(dev*): pin versions | ||
|
||
- deps(dev\*): pin versions | ||
|
||
### [1.0.3] - 2022-06-05 | ||
|
||
- ci: replace hard coded vers with node-lts-versions | ||
- ci(publish): add secrets: inherit | ||
- ci: use reusable workflows (#18) | ||
|
||
|
||
### 1.0.2 - 2022-05-23 | ||
### [1.0.2] - 2022-05-23 | ||
|
||
- ci: replace hard coded node vers with node-lts-versions | ||
- ci(publish): add secrets: inherit | ||
- ci: use reusable workflows (#18) | ||
- packaging updates | ||
|
||
|
||
### 1.0.1 - 2021-02-04 | ||
### [1.0.1] - 2021-02-04 | ||
|
||
- test: added example tests that set up conn/txn | ||
- ci: add automated package publishing | ||
- ci(GHA): consolidate \*nix & win tests | ||
|
||
|
||
### 1.0.0 - 2017-02-02 | ||
|
||
- initial release | ||
|
||
|
||
[1.0.1]: https://github.com/haraka/haraka-plugin-template/releases/tag/1.0.1 | ||
[1.0.2]: https://github.com/haraka/haraka-plugin-template/releases/tag/1.0.2 | ||
[1.0.3]: https://github.com/haraka/haraka-plugin-template/releases/tag/1.0.3 | ||
[1.0.6]: https://github.com/haraka/haraka-plugin-template/releases/tag/v1.0.6 |
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 |
---|---|---|
@@ -1,23 +1,24 @@ | ||
'use strict' | ||
"use strict"; | ||
|
||
exports.register = function () { | ||
this.load_template_ini() | ||
this.load_template_ini(); | ||
|
||
// register hooks here. More info at https://haraka.github.io/core/Plugins/ | ||
// this.register_hook('data_post', 'do_stuff_with_message') | ||
} | ||
}; | ||
|
||
exports.load_template_ini = function () { | ||
const plugin = this | ||
|
||
plugin.cfg = plugin.config.get('template.ini', { | ||
booleans: [ | ||
'+enabled', // plugin.cfg.main.enabled=true | ||
'-disabled', // plugin.cfg.main.disabled=false | ||
'+feature_section.yes' // plugin.cfg.feature_section.yes=true | ||
] | ||
}, | ||
function () { | ||
plugin.load_example_ini() | ||
}) | ||
} | ||
this.cfg = this.config.get( | ||
"template.ini", | ||
{ | ||
booleans: [ | ||
"+enabled", // this.cfg.main.enabled=true | ||
"-disabled", // this.cfg.main.disabled=false | ||
"+feature_section.yes", // this.cfg.feature_section.yes=true | ||
], | ||
}, | ||
() => { | ||
this.load_example_ini(); | ||
}, | ||
); | ||
}; |
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
Oops, something went wrong.