Skip to content

Commit

Permalink
build: Merge pull request #1054 from keindev/dev
Browse files Browse the repository at this point in the history
build: release v8.1.0
  • Loading branch information
Daniil Ryazanov authored Feb 14, 2024
2 parents 9b45296 + 6febcc4 commit 5fb8c16
Show file tree
Hide file tree
Showing 14 changed files with 2,109 additions and 2,334 deletions.
2 changes: 1 addition & 1 deletion .ghinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tasktree-cli",
"version": "8.0.0",
"version": "8.1.0",
"description": "Simple terminal task tree - helps you keep track of your tasks in a tree structure.",
"keywords": [
"ascii",
Expand Down
34 changes: 20 additions & 14 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,35 @@
release:
- base-branch: 'main'

test:
- src/__mocks__/**/*.test.ts
- src/__tests__/**/*.test.ts
- changed-files:
- any-glob-to-any-file: ['src/__mocks__/**/*.test.ts', 'src/__tests__/**/*.test.ts']

workflow:
- .github/**/*
- .gitignore
- .npmignore
- changed-files:
- any-glob-to-any-file: ['.github/**/*', '.gitignore', '.npmignore']

project:
- package-lock.json
- package.json
- LICENSE
- changed-files:
- any-glob-to-any-file: ['package-lock.json', 'package.json', 'LICENSE']

source:
- any: ['src/**/*', '!src/cli/*', '!src/__mocks__/*', '!src/__tests__/*']
- changed-files:
- any-glob-to-any-file: ['src/**/*', '!src/cli/*', '!src/__mocks__/*', '!src/__tests__/*']

api:
- bin/**/*
- src/cli/**/*
- changed-files:
- any-glob-to-any-file: ['bin/**/*', 'src/cli/**/*']

docs:
- any: ['docs/**/*', '*.md', '.ghinfo']
- changed-files:
- any-glob-to-any-file: ['docs/**/*', '*.md', '.ghinfo']

example:
- example/**/*
- changed-files:
- any-glob-to-any-file: ['example/**/*']
-

media:
- media/**/*
- changed-files:
- any-glob-to-any-file: ['media/**/*']
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
name: Test
runs-on: ubuntu-latest
env:
NODE_VERSION: 16
NODE_VERSION: latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node.js v${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}

Expand All @@ -35,7 +35,7 @@ jobs:
npm run test
- name: Cache coverage
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: coverage
key: coverage-${{ runner.os }}-${{ env.NODE_VERSION }}-${{ hashFiles('src/**/*.*', '**/package-lock.json') }}
Expand All @@ -45,13 +45,13 @@ jobs:
needs: [ test ]
runs-on: ubuntu-latest
env:
NODE_VERSION: 16
NODE_VERSION: latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}

Expand All @@ -69,21 +69,21 @@ jobs:
needs: [ build ]
runs-on: ubuntu-latest
env:
NODE_VERSION: 16
NODE_VERSION: latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cache coverage
id: cache-coverage
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: coverage
key: coverage-${{ runner.os }}-${{ env.NODE_VERSION }}-${{ hashFiles('src/**/*.*', '**/package-lock.json') }}

- name: Setup Node.js v${{ env.NODE_VERSION }}
if: steps.cache-coverage.outputs.cache-hit != 'true'
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}

Expand All @@ -96,7 +96,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Send coverage report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
file: ./coverage/lcov.info

Expand Down
38 changes: 22 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Sync project labels
uses: micnncim/action-label-syncer@v1
Expand All @@ -19,17 +19,20 @@ jobs:

publish:
name: Publish
needs: [ sync ]
runs-on: ubuntu-latest
env:
NODE_VERSION: 16

permissions:
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node.js v${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
node-version: latest

- name: Install Dependencies
run: npm ci
Expand All @@ -45,26 +48,29 @@ jobs:
run: npm run build

- name: Publish package
uses: JS-DevTools/npm-publish@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
access: "public"
provenance: true

release:
name: Create Release
needs: [ publish ]
runs-on: ubuntu-latest
env:
NODE_VERSION: 16

permissions:
contents: write
id-token: write

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
node-version: latest

- name: Get package version
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2

Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ jobs:
labels:
name: Pull Request Labeler
runs-on: ubuntu-latest

permissions:
contents: read
pull-requests: write

steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: '.github/labeler.yml'
Expand Down
45 changes: 11 additions & 34 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,57 +1,34 @@
# Important Changes

## Engines

- Changed **node** from `^14.13.1 || >=16.0.0` to `>=16.0.0`

## Dependencies

<details>
<summary>Dependencies</summary>

- Bumped **[chalk-template](https://www.npmjs.com/package/chalk-template)** from `^0.4.0` to `^1.1.0`
- Bumped **[stdout-update](https://www.npmjs.com/package/stdout-update)** from `^3.1.1` to `^4.0.0`
- Changed **[stdout-update](https://www.npmjs.com/package/stdout-update)** from `^4.0.0` to `^4.0.1`
- Bumped **[figures](https://www.npmjs.com/package/figures)** from `^5.0.0` to `^6.0.1`

</details>

<details>
<summary>Dev Dependencies</summary>

- Changed **[enquirer](https://www.npmjs.com/package/enquirer)** from `^2.3.6` to `^2.4.1`
- Changed **[strip-ansi](https://www.npmjs.com/package/strip-ansi)** from `^7.0.1` to `^7.1.0`
- Bumped **[@tagproject/ts-package-shared-config](https://www.npmjs.com/package/@tagproject/ts-package-shared-config)** from `^10.0.2` to `^11.0.1`
- Removed **[@tagproject/docs-shared-config](https://www.npmjs.com/package/@tagproject/docs-shared-config)**, with `^1.1.2`
- Removed **[@tagproject/vscode-shared-config](https://www.npmjs.com/package/@tagproject/vscode-shared-config)**, with `^2.0.5`
- Removed **[@types/jest](https://www.npmjs.com/package/@types/jest)**, with `^29.2.3`
- Removed **[@types/node](https://www.npmjs.com/package/@types/node)**, with `^18.11.9`
- Removed **[@typescript-eslint/eslint-plugin](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin)**, with `^5.44.0`
- Removed **[@typescript-eslint/parser](https://www.npmjs.com/package/@typescript-eslint/parser)**, with `^5.44.0`
- Removed **[changelog-guru](https://www.npmjs.com/package/changelog-guru)**, with `^4.0.9`
- Removed **[cspell](https://www.npmjs.com/package/cspell)**, with `^6.15.0`
- Removed **[eslint](https://www.npmjs.com/package/eslint)**, with `^8.28.0`
- Removed **[eslint-config-prettier](https://www.npmjs.com/package/eslint-config-prettier)**, with `^8.5.0`
- Removed **[eslint-plugin-import](https://www.npmjs.com/package/eslint-plugin-import)**, with `^2.26.0`
- Removed **[eslint-plugin-jest](https://www.npmjs.com/package/eslint-plugin-jest)**, with `^27.1.6`
- Removed **[eslint-plugin-node](https://www.npmjs.com/package/eslint-plugin-node)**, with `^11.1.0`
- Removed **[eslint-plugin-optimize-regex](https://www.npmjs.com/package/eslint-plugin-optimize-regex)**, with `^1.2.1`
- Removed **[eslint-plugin-promise](https://www.npmjs.com/package/eslint-plugin-promise)**, with `^6.1.1`
- Removed **[ghinfo](https://www.npmjs.com/package/ghinfo)**, with `^3.0.8`
- Removed **[husky](https://www.npmjs.com/package/husky)**, with `^8.0.2`
- Removed **[jest](https://www.npmjs.com/package/jest)**, with `^29.3.1`
- Removed **[npm-run-all](https://www.npmjs.com/package/npm-run-all)**, with `^4.1.5`
- Removed **[prettier](https://www.npmjs.com/package/prettier)**, with `^2.8.0`
- Removed **[rimraf](https://www.npmjs.com/package/rimraf)**, with `^3.0.2`
- Removed **[ts-jest](https://www.npmjs.com/package/ts-jest)**, with `^29.0.3`
- Removed **[typescript](https://www.npmjs.com/package/typescript)**, with `^4.9.3`
- Changed **[@tagproject/ts-package-shared-config](https://www.npmjs.com/package/@tagproject/ts-package-shared-config)** from `^11.0.1` to `^11.0.4`
- Changed **[ts-node](https://www.npmjs.com/package/ts-node)** from `^10.9.1` to `^10.9.2`

</details>

# :fire: Improvements

- Add `noProcessExit` to Tree.start options [`49e3a99`](https://github.com/keindev/tasktree/commit/49e3a9979a7e4ad811fa36ba1d99e9c5eb738ae0)

# :memo: Internal changes

- Fix lint errors [`109087f`](https://github.com/keindev/tasktree/commit/109087f61294ca587955674a510591a847709bfc)
- Fix build badge [`99ffa05`](https://github.com/keindev/tasktree/commit/99ffa05521648daba3bddc5cf4d8c82e1939f462)
- Fix lint warnings [`a7ef481`](https://github.com/keindev/tasktree/commit/a7ef481dee333e0b8abbc27f3d22c98727128945)

---

# Contributors

[![@github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4&s=40)](https://github.com/github-actions%5Bbot%5D) [![@keindev](https://avatars.githubusercontent.com/u/4527292?v=4&s=40)](https://github.com/keindev)
[![@keindev](https://avatars.githubusercontent.com/u/4527292?v=4&s=40)](https://github.com/keindev) [![@github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4&s=40)](https://github.com/github-actions%5Bbot%5D)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p align="center"><img src="https://cdn.jsdelivr.net/gh/tagproject/art/packages/tasktree-cli/banner.svg" alt="Package logo"></p>

<p align="center">
<a href="https://travis-ci.com/keindev/tasktree"><img src="https://travis-ci.com/keindev/tasktree.svg?branch=master" alt="Build Status"></a>
<a href="https://github.com/keindev/tasktree/actions"><img src="https://github.com/keindev/tasktree/actions/workflows/build.yml/badge.svg" alt="Build Status"></a>
<a href="https://codecov.io/gh/keindev/tasktree"><img src="https://codecov.io/gh/keindev/tasktree/branch/master/graph/badge.svg" /></a>
<a href="https://www.npmjs.com/package/tasktree-cli"><img alt="npm" src="https://img.shields.io/npm/v/tasktree-cli.svg"></a>
<a href="https://github.com/tagproject/ts-package-shared-config"><img src="https://img.shields.io/badge/standard--shared--config-nodejs%2Bts-green?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAfCAYAAACh+E5kAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJQSURBVHgB1VftUcMwDFU4/tMNyAZ0A7IBbBA2CExAmIBjApcJChO0TFA2SJkgMIGRyDNV3TSt26RN353OX/LHUyTZIdoB1tqMZcaS0imBDzxkeWaJWR51SX0HrJ6pdsJyifpdb4loq3v9A+1CaBuWMR0Q502DzuJRFD34Y9z3DXIRNy/QPWKZY27COlM6BtZZHWMJ3CkVa28KZMTJkDpCVLOhs/oL2gMuEhYpxeenPPah9EdczLkvpwZgnQHWnlNLiNQGYiWx5gu6Ehz4m+WNN/2i9Yd75CJmeRDXogbIFxECrqQ2wIvlLBOXaViuYbGQNSQLFSGZyOnulb2wadaGnyoSSeC8GBJkNDf5kloESAhy2gFIIPG2+ufUMtivn/gAEi+Gy4u6FLxh/qer8/xbLq7QlNh6X4mbtr+A3pylDI0Lb43YrmLmXP5v3a4I4ABDRSI4xjB/ghveoj4BCVm37JQADhGDgOA+YJ48TSaoOwKpt27aOQG1WRES3La65WPU3dysTjE8de0Aj8SsKS5sdS9lqCeYI08bU6d8EALYS5OoDW4c3qi2gf7f+4yODfj2DIcqdVzYKnMtEUO7RP2gT/W1AImxXSC3i7R7rfRuMT5G2xzSYzaCDzOyyzDeuNHZx1a3fOdJJwh28fRwwT1QY6Xzf7TvWG6ob/BIGPQ59ymUngRyRn2El6Fy5T7G0zl+JmoC3KRQXyT1xpfiJKIeAemzqBl6U3V5ocZNf4hHg61u223wn4nOqF8IzvF9IxCMkyfQ+i/lnnhlmW6h9+Mqv1SmQhehji4JAAAAAElFTkSuQmCC" alt="Standard Shared Config"></a>
Expand Down
Loading

0 comments on commit 5fb8c16

Please sign in to comment.