Skip to content

Commit

Permalink
BREAKING CHANGE: Upgrade Node, major dependency versions (#20)
Browse files Browse the repository at this point in the history
* BREAKING CHANGE: Upgrade Node, chalk and dependencies

* chore: Fix chalk import

* chore: Upgrade TypeScript

* chore: Upgrade major dependencies

* Upgrade types and prettier

* Update dependencies

* Update commander

* Update CHANGELOG

* 3.0.0

* bump version in cli

* update Node to 14.17.1

* update dependencies

* update CHANGELOG

* minor update

* update commander

* update README and breaking changes

* refactor types for commander
  • Loading branch information
flandrade committed Jul 4, 2021
1 parent 6facac2 commit 05c5091
Show file tree
Hide file tree
Showing 11 changed files with 937 additions and 867 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.16.3]
node-version: [14.15.1]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.16.3]
node-version: [12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.18.3
14.17.1
1 change: 0 additions & 1 deletion .tool-versions

This file was deleted.

19 changes: 13 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,39 @@
3.0.0

- Breaking Change: Upgrade chalk to v4.1.0 and commander to v8.0.0. Requires Node.js v12+.
- Chore: Remove external chalk types.
- Chore: Upgrade Node to 14.16.1.
- Chore: Upgrade major versions - TypeScript, csv-generate, ramda, date-fns, commander, json2csv.

2.2.2

- Style: Add prettier and format files.
- Chore: Update dependencies and upgrade Node to 12.18.3.
- Chore: Migrate from tslint to eslint.

2.2.1
2.2.1

- Chore: Improve documentation.
- Feature: Add option to print report (-p).
- Feature: Add custom regular working day hours (-h).
- Chore: Migrate to Github Actions.
- Chore: Upgrade Node and dependencies.

2.1.1
2.1.1

- Chore: Upgrade Node and dependencies.

2.1.0
2.1.0

- Feature: Add support for Node v6.4+.

2.0.0
2.0.0

- Breaking Change: harvest-overtime uses ES2018. Support litimed to Node v10+.
- Breaking Change: harvest-overtime uses ES2018. Support Node v10+.
- Breaking Change: Add CLI. Commands `i` and `o` are required to define files.
- Feature: Add colors for output.
- Chore: Upgrade dependencies: TypeScript, mocha and csv-generate.

1.0.0
1.0.0

- Initial release.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Built with TypeScript and Node.js. Star me on GitHub — thanks! ⭐
- Includes both weekdays and weekends. See an [example](#-examples).
- It doesn't support national holidays.
- Specific headers are required. See the next section.
- Requires Node.js v12+.

## 📌 CSV Requirements

Expand All @@ -50,7 +51,7 @@ Please make sure your CSV is using these headers. See an [example](https://raw.g

## 🚀 How to Install

In order for you and your team to use this tool, you'll need to [install Node.js](https://nodejs.org/en/download/).
In order for you and your team to use this tool, you'll need to [install Node.js](https://nodejs.org/en/download/). This tool requires Node.js v12+.

```bash
# Global so it can be called from anywhere
Expand Down
Loading

0 comments on commit 05c5091

Please sign in to comment.