Skip to content

Commit

Permalink
Release 1.1.0 (#67)
Browse files Browse the repository at this point in the history
* chore(ci): depend on shared GHA workflows
* chore(dep): eslint 6 -> 8, mocha 8 -> 9
  • Loading branch information
msimerson authored May 27, 2022
1 parent 5b330cb commit eb3cd48
Show file tree
Hide file tree
Showing 9 changed files with 103 additions and 170 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/ci-test-win.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/ci-test.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI

on:
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, windows-latest ]
node-version: [ 14, 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
14 changes: 14 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: CodeQL

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

jobs:
codeql:
uses: haraka/.github/.github/workflows/codeql.yml@master
34 changes: 0 additions & 34 deletions .github/workflows/coveralls.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/lint.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: publish

on:
push:
branches:
- master
paths:
- package.json

env:
CI: true

jobs:
publish:
uses: haraka/.github/.github/workflows/publish.yml@master
secrets: inherit
44 changes: 26 additions & 18 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@

## NEXT - 202Y-MM-DD

## 1.0.20 - 2021-09-01

- update YAML dep to v4
### 1.1.0 - 2022-05-27

- chore(ci): depend on shared GHA workflows
- chore(dep): eslint 6 -> 8
- chore(dep): mocha 8 -> 9

## 1.0.19 - 2021-06-10

### 1.0.20 - 2021-09-01

- chore(dep): update YAML 3.13 -> 4.1 (#65)


### 1.0.19 - 2021-06-10

- configfile: disable watch dir when platform not mac or win
- configfile: convert to es6 class
Expand All @@ -15,12 +23,12 @@
- getDir tests, use os.EOL for comparison


## 1.0.18 - 2019-10-11
### 1.0.18 - 2019-10-11

- add support for loading `.js` configurations


## 1.0.17 - 2018-12-19
### 1.0.17 - 2018-12-19

- refactor ./config.js as an es6 class
- update README syntax and improve formatting
Expand All @@ -29,13 +37,13 @@
- permit retrieval of fully qualified path


## 1.0.16 - 2018-11-02
### 1.0.16 - 2018-11-02

- remove trailing ; from function declarations
- add config.getInt(filename, default_value)


## 1.0.15 - 2017-09-21
### 1.0.15 - 2017-09-21

- additional test for 'missing json loads yaml'
- modify get_path_to_config_dir regex to also match windows paths
Expand All @@ -44,35 +52,35 @@
- add test for json/yaml !filename overloads


## 1.0.14 - 2017-09-19
### 1.0.14 - 2017-09-19

- add __dirname/../../config to config_dir_candidates for haraka/Haraka/tests/*
- sync process.env.HARAKA_TEST_DIR from haraka/Haraka/config
- eslint no-var updates #25


## 1.0.13 - 2017-06-16
### 1.0.13 - 2017-06-16

- lint updates for eslint 4


## 1.0.12 - 2017-05-21
### 1.0.12 - 2017-05-21

- unref() the setInterval so that Haraka can gracefully exit


## 1.0.11 - 2017-03-04
### 1.0.11 - 2017-03-04

- add config.getDir, loads all files in a directory


## 1.0.10 - 2017-02-05
### 1.0.10 - 2017-02-05

- log error vs throw on bad YAML
- fix appveyor badge URL


## 1.0.9 - 2017-01-27
### 1.0.9 - 2017-01-27

- config cache fix (see haraka/Haraka#1738)
- config: add overrides handling (sync with Haraka)
Expand All @@ -82,28 +90,28 @@
- lint updates


## 1.0.8 - 2017-01-02
### 1.0.8 - 2017-01-02

- version bump, lint updates & sync
- lint fixes


## 1.0.7 - 2016-11-17
### 1.0.7 - 2016-11-17

- update tests for appveyor (Windows) compatibility #9


## 1.0.6 - 2016-11-10
### 1.0.6 - 2016-11-10

- handle invalid .ini lines properly (skip them)


## 1.0.5 - 2016-10-25
### 1.0.5 - 2016-10-25

- do not leave behind a `*` section in config (due to wildcard boolean)


## 1.0.3
### 1.0.3

- added wildcard boolean support
- reduce node required 4.3 -> 0.10.43
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "haraka-config",
"license": "MIT",
"description": "Haraka's config file loader",
"version": "1.0.20",
"version": "1.1.0",
"homepage": "http://haraka.github.io",
"repository": {
"type": "git",
Expand All @@ -20,18 +20,18 @@
"hjson": "^3.2.0"
},
"devDependencies": {
"eslint": ">=6",
"eslint": ">=8",
"eslint-plugin-haraka": "*",
"mocha": ">=8"
"mocha": ">=9"
},
"bugs": {
"mail": "[email protected]",
"url": "https://github.com/haraka/haraka-config/issues"
},
"scripts": {
"test": "npx mocha test test/readers",
"lint": "npx eslint *.js readers/*.js test/*.js test/*/*.js",
"lintfix": "npx eslint --fix *.js readers/*.js test/*.js test/*/*.js",
"cover": "npx nyc --reporter=lcov npm test"
"lint": "npx eslint *.js readers test test/*/*.js",
"lintfix": "npx eslint --fix *.js readers test test/*/*.js",
"versions": "npx dependency-version-checker check"
}
}

0 comments on commit eb3cd48

Please sign in to comment.