From e06490553ddfec5476e70a07d190db86bec27d40 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 26 May 2020 15:28:20 -0500 Subject: [PATCH 01/18] chore(deps-dev): bump eslint from 6.8.0 to 7.0.0 (#142) * chore(deps-dev): bump eslint from 6.8.0 to 7.0.0 Bumps [eslint](https://github.com/eslint/eslint) from 6.8.0 to 7.0.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v6.8.0...v7.0.0) Signed-off-by: dependabot-preview[bot] * fix: drop support for Node 8 BREAKING CHANGE Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Nick Woodward --- .travis.yml | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a0179b9..b6e8449 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ sudo: false language: node_js node_js: - - 8 - 10 - 12 cache: npm diff --git a/package.json b/package.json index 401a45f..4cf066a 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "devDependencies": { "chai": "^4.2.0", "coveralls": "^3.0.2", - "eslint": "^6.0.0", + "eslint": "^7.0.0", "eslint-config-google": "^0.14.0", "eslint-plugin-mocha": "^6.0.0", "husky": "^4.0.2", From ee371867544aa416276af7b309a4bf9ba1658cd2 Mon Sep 17 00:00:00 2001 From: Ceci Date: Tue, 26 May 2020 15:29:52 -0500 Subject: [PATCH 02/18] docs: remove greenkeeper badge --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index c58cdf6..261cc94 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ [![Coveralls][coveralls-image]][coveralls-url] [![semantic-release][semantic-release-image]][semantic-release-url] -[![Greenkeeper badge][greenkeeper-image]][greenkeeper-url] A simple tool for parsing JavaScript objects to avoid repetition. @@ -144,6 +143,3 @@ THE SOFTWARE. [semantic-release-url]: https://github.com/semantic-release/semantic-release [semantic-release-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg - -[greenkeeper-image]: https://badges.greenkeeper.io/salte-io/dry-parser.svg -[greenkeeper-url]: https://greenkeeper.io From 84f3f46dfe450bdb617045b37c7f6d3782b5dbba Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2020 12:25:32 +0000 Subject: [PATCH 03/18] chore(deps-dev): bump eslint-plugin-mocha from 6.3.0 to 7.0.1 (#143) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4cf066a..fcf85ae 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "coveralls": "^3.0.2", "eslint": "^7.0.0", "eslint-config-google": "^0.14.0", - "eslint-plugin-mocha": "^6.0.0", + "eslint-plugin-mocha": "^7.0.1", "husky": "^4.0.2", "mocha": "^7.0.1", "nps": "^5.9.3", From 142d2cc93c25df5ae449218d15c0b18efd2bb238 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2020 12:06:06 +0000 Subject: [PATCH 04/18] chore(deps-dev): bump mocha from 7.2.0 to 8.0.1 (#144) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fcf85ae..106b3ff 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "eslint-config-google": "^0.14.0", "eslint-plugin-mocha": "^7.0.1", "husky": "^4.0.2", - "mocha": "^7.0.1", + "mocha": "^8.0.1", "nps": "^5.9.3", "nyc": "^15.0.0", "remove-lockfiles": "^2.1.3", From 16442dad215b4203815b1993e7fcb808a6e23bbf Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 10 Aug 2020 11:38:03 +0000 Subject: [PATCH 05/18] chore(deps-dev): bump eslint-plugin-mocha from 7.0.1 to 8.0.0 (#145) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 106b3ff..8173234 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "coveralls": "^3.0.2", "eslint": "^7.0.0", "eslint-config-google": "^0.14.0", - "eslint-plugin-mocha": "^7.0.1", + "eslint-plugin-mocha": "^8.0.0", "husky": "^4.0.2", "mocha": "^8.0.1", "nps": "^5.9.3", From 350df50751fdb1485b6e3e8aa221cf6b1bfbd869 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 15 Feb 2021 11:28:40 +0000 Subject: [PATCH 06/18] chore(deps-dev): bump husky from 4.3.8 to 5.0.9 (#146) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8173234..1880923 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "eslint": "^7.0.0", "eslint-config-google": "^0.14.0", "eslint-plugin-mocha": "^8.0.0", - "husky": "^4.0.2", + "husky": "^5.0.9", "mocha": "^8.0.1", "nps": "^5.9.3", "nyc": "^15.0.0", From af0b277b70ada31be078c99674cf4673bf34c728 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 29 Mar 2021 14:11:29 +0000 Subject: [PATCH 07/18] chore(deps-dev): bump sinon from 9.2.4 to 10.0.0 (#147) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1880923..b5d8b86 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "nyc": "^15.0.0", "remove-lockfiles": "^2.1.3", "semantic-release": "^17.0.0", - "sinon": "^9.0.0" + "sinon": "^10.0.0" }, "husky": { "hooks": { From 6ff16a1eb924883be62738f6fac901c50baa6bec Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 29 Mar 2021 14:23:09 +0000 Subject: [PATCH 08/18] chore(deps-dev): bump husky from 5.2.0 to 6.0.0 (#148) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b5d8b86..9891447 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "eslint": "^7.0.0", "eslint-config-google": "^0.14.0", "eslint-plugin-mocha": "^8.0.0", - "husky": "^5.0.9", + "husky": "^6.0.0", "mocha": "^8.0.1", "nps": "^5.9.3", "nyc": "^15.0.0", From 231d3e89cee546d8f437cf2c2f5c820cb8d15f56 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 31 May 2021 11:30:16 +0000 Subject: [PATCH 09/18] chore(deps-dev): bump sinon from 10.0.1 to 11.1.1 (#150) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9891447..d753aca 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "nyc": "^15.0.0", "remove-lockfiles": "^2.1.3", "semantic-release": "^17.0.0", - "sinon": "^10.0.0" + "sinon": "^11.1.1" }, "husky": { "hooks": { From 76393835e2e0da7394a1f6e63e271bb05f6139bf Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 21 Jun 2021 11:30:46 +0000 Subject: [PATCH 10/18] chore(deps-dev): bump mocha from 8.4.0 to 9.0.1 (#153) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d753aca..06bda20 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "eslint-config-google": "^0.14.0", "eslint-plugin-mocha": "^8.0.0", "husky": "^6.0.0", - "mocha": "^8.0.1", + "mocha": "^9.0.1", "nps": "^5.9.3", "nyc": "^15.0.0", "remove-lockfiles": "^2.1.3", From 6b46c6e5a302affbda29646069ed06629b008f9d Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 21 Jun 2021 11:33:49 +0000 Subject: [PATCH 11/18] chore(deps-dev): bump eslint-plugin-mocha from 8.2.0 to 9.0.0 (#151) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 06bda20..a97fb0d 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "coveralls": "^3.0.2", "eslint": "^7.0.0", "eslint-config-google": "^0.14.0", - "eslint-plugin-mocha": "^8.0.0", + "eslint-plugin-mocha": "^9.0.0", "husky": "^6.0.0", "mocha": "^9.0.1", "nps": "^5.9.3", From 71f2b5e8431d84a7532fa179932945011e49fb02 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 28 Jun 2021 11:25:57 -0500 Subject: [PATCH 12/18] Upgrade to GitHub-native Dependabot (#149) Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- .dependabot/config.yml | 12 ------------ .github/dependabot.yml | 8 ++++++++ 2 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 .dependabot/config.yml create mode 100644 .github/dependabot.yml diff --git a/.dependabot/config.yml b/.dependabot/config.yml deleted file mode 100644 index 6f5b070..0000000 --- a/.dependabot/config.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: 1 -update_configs: - - package_manager: 'javascript' - directory: '/' - update_schedule: 'weekly' - automerged_updates: - - match: - dependency_type: "development" - update_type: "all" - - match: - dependency_type: "production" - update_type: "semver:patch" diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..60efe5d --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: +- package-ecosystem: npm + directory: "/" + schedule: + interval: weekly + time: "11:00" + open-pull-requests-limit: 10 From e0da4193392b9731252a42eda970184c2e207457 Mon Sep 17 00:00:00 2001 From: Ceci Date: Thu, 1 Jul 2021 14:02:29 -0500 Subject: [PATCH 13/18] fix: migrate to github actions --- .github/workflows/ci.yml | 96 ++++++++++++++++++++++++++++++++++++++++ .travis.yml | 18 -------- 2 files changed, 96 insertions(+), 18 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..28d4680 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,96 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + install: + name: Install + runs-on: ubuntu-18.04 + + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: 14 + - name: Cache node modules + uses: actions/cache@v2 + with: + path: node_modules + key: ${{ runner.os }}-node--${{ hashFiles('package.json') }} + restore-keys: | + ${{ runner.os }}-node- + - name: Install Dependencies + run: npm i + + + validate: + name: Validate - Node v${{ matrix.node }} + runs-on: ubuntu-18.04 + needs: install + strategy: + matrix: + node: [ 10, 11, 12, 14 ] + + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node }} + - name: Restore node modules + uses: actions/cache@v2 + with: + path: node_modules + key: ${{ runner.os }}-node--${{ hashFiles('package.json') }} + restore-keys: | + ${{ runner.os }}-node- + - name: Linting + run: npm start lint + - name: Run Tests + run: npm start test + - name: Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + + release: + name: Release + runs-on: ubuntu-18.04 + needs: [validate] + if: github.ref == 'refs/heads/master' + + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: 14 + - name: Restore node modules + uses: actions/cache@v2 + with: + path: node_modules + key: ${{ runner.os }}-node--${{ hashFiles('package.json') }} + restore-keys: | + ${{ runner.os }}-node- + # Release the Codes!! + - name: Release! + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npm start semantic-release diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b6e8449..0000000 --- a/.travis.yml +++ /dev/null @@ -1,18 +0,0 @@ -sudo: false -language: node_js -node_js: - - 10 - - 12 -cache: npm -branches: - only: - - master - - /^greenkeeper/.*$/ -script: - - npm start lint - - npm start test -after_success: - - npm start report-coverage - - npm start semantic-release -notifications: - email: change From 8db9421ae3b8401cfdd70728af85a005bea08d63 Mon Sep 17 00:00:00 2001 From: Ceci Date: Thu, 1 Jul 2021 14:03:35 -0500 Subject: [PATCH 14/18] docs: update README --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 261cc94..f66d24b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![NPM Version][npm-version-image]][npm-url] [![NPM Downloads][npm-downloads-image]][npm-url] -[![Travis][travis-ci-image]][travis-ci-url] +[![CI Build][github-actions-image]][github-actions-url] [![Coveralls][coveralls-image]][coveralls-url] [![semantic-release][semantic-release-image]][semantic-release-url] @@ -132,14 +132,11 @@ THE SOFTWARE. [npm-downloads-image]: http://img.shields.io/npm/dm/dry-parser.svg?style=flat [npm-url]: https://npmjs.org/package/dry-parser -[travis-ci-image]: https://img.shields.io/travis/com/salte-io/dry-parser.svg?style=flat -[travis-ci-url]: https://travis-ci.com/salte-io/dry-parser +[github-actions-image]: https://github.com/salte-io/dry-parser/actions/workflows/ci.yml/badge.svg?branch=master +[github-actions-url]: https://github.com/salte-io/dry-parser/actions/workflows/ci.yml [coveralls-image]: https://img.shields.io/coveralls/salte-io/dry-parser/master.svg [coveralls-url]: https://coveralls.io/github/salte-io/dry-parser -[commitizen-image]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg -[commitizen-url]: http://commitizen.github.io/cz-cli/ - [semantic-release-url]: https://github.com/semantic-release/semantic-release [semantic-release-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg From 9decf734aecaa63f041397f2f8d4b5a1a259d0ca Mon Sep 17 00:00:00 2001 From: Ceci Date: Thu, 1 Jul 2021 14:21:25 -0500 Subject: [PATCH 15/18] chore: updated husky --- .husky/.gitignore | 1 + .husky/pre-commit | 4 ++++ package.json | 5 +++-- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .husky/.gitignore create mode 100755 .husky/pre-commit diff --git a/.husky/.gitignore b/.husky/.gitignore new file mode 100644 index 0000000..31354ec --- /dev/null +++ b/.husky/.gitignore @@ -0,0 +1 @@ +_ diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000..974e268 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +npx remove-lockfiles diff --git a/package.json b/package.json index a97fb0d..e4010b5 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ "url": "https://github.com/salte-io/dry-parser.git" }, "scripts": { - "start": "nps" + "start": "nps", + "prepare": "husky install" }, "license": "MIT", "devDependencies": { @@ -33,7 +34,7 @@ "eslint": "^7.0.0", "eslint-config-google": "^0.14.0", "eslint-plugin-mocha": "^9.0.0", - "husky": "^6.0.0", + "husky": "^7.0.0", "mocha": "^9.0.1", "nps": "^5.9.3", "nyc": "^15.0.0", From 25fd4391b23c6d4c4c09ecfe9dfb88858985e5d9 Mon Sep 17 00:00:00 2001 From: Ceci Date: Mon, 5 Jul 2021 15:30:15 -0500 Subject: [PATCH 16/18] chore: update references of master to main --- .github/workflows/ci.yml | 6 +++--- README.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28d4680..a448f9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,10 +3,10 @@ name: CI on: push: branches: - - master + - main pull_request: branches: - - master + - main jobs: install: @@ -70,7 +70,7 @@ jobs: name: Release runs-on: ubuntu-18.04 needs: [validate] - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' steps: - name: Checkout diff --git a/README.md b/README.md index f66d24b..fd02c24 100644 --- a/README.md +++ b/README.md @@ -132,10 +132,10 @@ THE SOFTWARE. [npm-downloads-image]: http://img.shields.io/npm/dm/dry-parser.svg?style=flat [npm-url]: https://npmjs.org/package/dry-parser -[github-actions-image]: https://github.com/salte-io/dry-parser/actions/workflows/ci.yml/badge.svg?branch=master +[github-actions-image]: https://github.com/salte-io/dry-parser/actions/workflows/ci.yml/badge.svg?branch=main [github-actions-url]: https://github.com/salte-io/dry-parser/actions/workflows/ci.yml -[coveralls-image]: https://img.shields.io/coveralls/salte-io/dry-parser/master.svg +[coveralls-image]: https://img.shields.io/coveralls/salte-io/dry-parser/main.svg [coveralls-url]: https://coveralls.io/github/salte-io/dry-parser [semantic-release-url]: https://github.com/semantic-release/semantic-release From 0382139274a8f9b468d7ffca8a4949a20ee8a42d Mon Sep 17 00:00:00 2001 From: Ceci Date: Mon, 5 Jul 2021 15:32:29 -0500 Subject: [PATCH 17/18] chore: added semantic-release config --- .releaserc.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .releaserc.yml diff --git a/.releaserc.yml b/.releaserc.yml new file mode 100644 index 0000000..d6e12ef --- /dev/null +++ b/.releaserc.yml @@ -0,0 +1 @@ +branches: main From ba6d5d821ad1cd2a3ac0dfdee88189e4d6f836e6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 May 2022 20:06:51 +0000 Subject: [PATCH 18/18] Merge pull request #20 from arxstudios/18-travis-ci-support 18 - Travis CI Support --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e4010b5..6903943 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "coveralls": "^3.0.2", "eslint": "^7.0.0", "eslint-config-google": "^0.14.0", - "eslint-plugin-mocha": "^9.0.0", + "eslint-plugin-mocha": "^10.0.4", "husky": "^7.0.0", "mocha": "^9.0.1", "nps": "^5.9.3",