Skip to content

Commit 5fb8c16

Browse files
author
Daniil Ryazanov
authored
build: Merge pull request #1054 from keindev/dev
build: release v8.1.0
2 parents 9b45296 + 6febcc4 commit 5fb8c16

File tree

14 files changed

+2109
-2334
lines changed

14 files changed

+2109
-2334
lines changed

.ghinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tasktree-cli",
3-
"version": "8.0.0",
3+
"version": "8.1.0",
44
"description": "Simple terminal task tree - helps you keep track of your tasks in a tree structure.",
55
"keywords": [
66
"ascii",

.github/labeler.yml

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,35 @@
1+
release:
2+
- base-branch: 'main'
3+
14
test:
2-
- src/__mocks__/**/*.test.ts
3-
- src/__tests__/**/*.test.ts
5+
- changed-files:
6+
- any-glob-to-any-file: ['src/__mocks__/**/*.test.ts', 'src/__tests__/**/*.test.ts']
47

58
workflow:
6-
- .github/**/*
7-
- .gitignore
8-
- .npmignore
9+
- changed-files:
10+
- any-glob-to-any-file: ['.github/**/*', '.gitignore', '.npmignore']
911

1012
project:
11-
- package-lock.json
12-
- package.json
13-
- LICENSE
13+
- changed-files:
14+
- any-glob-to-any-file: ['package-lock.json', 'package.json', 'LICENSE']
1415

1516
source:
16-
- any: ['src/**/*', '!src/cli/*', '!src/__mocks__/*', '!src/__tests__/*']
17+
- changed-files:
18+
- any-glob-to-any-file: ['src/**/*', '!src/cli/*', '!src/__mocks__/*', '!src/__tests__/*']
1719

1820
api:
19-
- bin/**/*
20-
- src/cli/**/*
21+
- changed-files:
22+
- any-glob-to-any-file: ['bin/**/*', 'src/cli/**/*']
2123

2224
docs:
23-
- any: ['docs/**/*', '*.md', '.ghinfo']
25+
- changed-files:
26+
- any-glob-to-any-file: ['docs/**/*', '*.md', '.ghinfo']
2427

2528
example:
26-
- example/**/*
29+
- changed-files:
30+
- any-glob-to-any-file: ['example/**/*']
31+
-
2732

2833
media:
29-
- media/**/*
34+
- changed-files:
35+
- any-glob-to-any-file: ['media/**/*']

.github/workflows/build.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
name: Test
1515
runs-on: ubuntu-latest
1616
env:
17-
NODE_VERSION: 16
17+
NODE_VERSION: latest
1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- name: Setup Node.js v${{ env.NODE_VERSION }}
23-
uses: actions/setup-node@v3
23+
uses: actions/setup-node@v4
2424
with:
2525
node-version: ${{ env.NODE_VERSION }}
2626

@@ -35,7 +35,7 @@ jobs:
3535
npm run test
3636
3737
- name: Cache coverage
38-
uses: actions/cache@v3
38+
uses: actions/cache@v4
3939
with:
4040
path: coverage
4141
key: coverage-${{ runner.os }}-${{ env.NODE_VERSION }}-${{ hashFiles('src/**/*.*', '**/package-lock.json') }}
@@ -45,13 +45,13 @@ jobs:
4545
needs: [ test ]
4646
runs-on: ubuntu-latest
4747
env:
48-
NODE_VERSION: 16
48+
NODE_VERSION: latest
4949
steps:
5050
- name: Checkout repository
51-
uses: actions/checkout@v3
51+
uses: actions/checkout@v4
5252

5353
- name: Use Node.js ${{ env.NODE_VERSION }}
54-
uses: actions/setup-node@v3
54+
uses: actions/setup-node@v4
5555
with:
5656
node-version: ${{ env.NODE_VERSION }}
5757

@@ -69,21 +69,21 @@ jobs:
6969
needs: [ build ]
7070
runs-on: ubuntu-latest
7171
env:
72-
NODE_VERSION: 16
72+
NODE_VERSION: latest
7373
steps:
7474
- name: Checkout repository
75-
uses: actions/checkout@v3
75+
uses: actions/checkout@v4
7676

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

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

@@ -96,7 +96,7 @@ jobs:
9696
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9797

9898
- name: Send coverage report
99-
uses: codecov/codecov-action@v3
99+
uses: codecov/codecov-action@v4
100100
with:
101101
file: ./coverage/lcov.info
102102

.github/workflows/release.yml

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout repository
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414

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

2020
publish:
2121
name: Publish
22+
needs: [ sync ]
2223
runs-on: ubuntu-latest
23-
env:
24-
NODE_VERSION: 16
24+
25+
permissions:
26+
id-token: write
27+
2528
steps:
2629
- name: Checkout repository
27-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
2831

29-
- name: Setup Node.js v${{ env.NODE_VERSION }}
30-
uses: actions/setup-node@v3
32+
- name: Setup Node.js
33+
uses: actions/setup-node@v4
3134
with:
32-
node-version: ${{ env.NODE_VERSION }}
35+
node-version: latest
3336

3437
- name: Install Dependencies
3538
run: npm ci
@@ -45,26 +48,29 @@ jobs:
4548
run: npm run build
4649

4750
- name: Publish package
48-
uses: JS-DevTools/npm-publish@v1
49-
env:
50-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
uses: JS-DevTools/npm-publish@v3
5152
with:
5253
token: ${{ secrets.NPM_TOKEN }}
5354
access: "public"
55+
provenance: true
5456

5557
release:
5658
name: Create Release
59+
needs: [ publish ]
5760
runs-on: ubuntu-latest
58-
env:
59-
NODE_VERSION: 16
61+
62+
permissions:
63+
contents: write
64+
id-token: write
65+
6066
steps:
6167
- name: Checkout code
62-
uses: actions/checkout@v3
68+
uses: actions/checkout@v4
6369

64-
- name: Use Node.js ${{ env.NODE_VERSION }}
65-
uses: actions/setup-node@v3
70+
- name: Use Node.js
71+
uses: actions/setup-node@v4
6672
with:
67-
node-version: ${{ env.NODE_VERSION }}
73+
node-version: latest
6874

6975
- name: Get package version
7076
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV

.github/workflows/scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 2
1919

.github/workflows/sync.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@ jobs:
88
labels:
99
name: Pull Request Labeler
1010
runs-on: ubuntu-latest
11+
12+
permissions:
13+
contents: read
14+
pull-requests: write
15+
1116
steps:
12-
- uses: actions/labeler@v4
17+
- uses: actions/labeler@v5
1318
with:
1419
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1520
configuration-path: '.github/labeler.yml'

CHANGELOG.md

Lines changed: 11 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,34 @@
11
# Important Changes
22

3-
## Engines
4-
5-
- Changed **node** from `^14.13.1 || >=16.0.0` to `>=16.0.0`
6-
73
## Dependencies
84

95
<details>
106
<summary>Dependencies</summary>
117

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

1511
</details>
1612

1713
<details>
1814
<summary>Dev Dependencies</summary>
1915

20-
- Changed **[enquirer](https://www.npmjs.com/package/enquirer)** from `^2.3.6` to `^2.4.1`
21-
- Changed **[strip-ansi](https://www.npmjs.com/package/strip-ansi)** from `^7.0.1` to `^7.1.0`
22-
- Bumped **[@tagproject/ts-package-shared-config](https://www.npmjs.com/package/@tagproject/ts-package-shared-config)** from `^10.0.2` to `^11.0.1`
23-
- Removed **[@tagproject/docs-shared-config](https://www.npmjs.com/package/@tagproject/docs-shared-config)**, with `^1.1.2`
24-
- Removed **[@tagproject/vscode-shared-config](https://www.npmjs.com/package/@tagproject/vscode-shared-config)**, with `^2.0.5`
25-
- Removed **[@types/jest](https://www.npmjs.com/package/@types/jest)**, with `^29.2.3`
26-
- Removed **[@types/node](https://www.npmjs.com/package/@types/node)**, with `^18.11.9`
27-
- Removed **[@typescript-eslint/eslint-plugin](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin)**, with `^5.44.0`
28-
- Removed **[@typescript-eslint/parser](https://www.npmjs.com/package/@typescript-eslint/parser)**, with `^5.44.0`
29-
- Removed **[changelog-guru](https://www.npmjs.com/package/changelog-guru)**, with `^4.0.9`
30-
- Removed **[cspell](https://www.npmjs.com/package/cspell)**, with `^6.15.0`
31-
- Removed **[eslint](https://www.npmjs.com/package/eslint)**, with `^8.28.0`
32-
- Removed **[eslint-config-prettier](https://www.npmjs.com/package/eslint-config-prettier)**, with `^8.5.0`
33-
- Removed **[eslint-plugin-import](https://www.npmjs.com/package/eslint-plugin-import)**, with `^2.26.0`
34-
- Removed **[eslint-plugin-jest](https://www.npmjs.com/package/eslint-plugin-jest)**, with `^27.1.6`
35-
- Removed **[eslint-plugin-node](https://www.npmjs.com/package/eslint-plugin-node)**, with `^11.1.0`
36-
- Removed **[eslint-plugin-optimize-regex](https://www.npmjs.com/package/eslint-plugin-optimize-regex)**, with `^1.2.1`
37-
- Removed **[eslint-plugin-promise](https://www.npmjs.com/package/eslint-plugin-promise)**, with `^6.1.1`
38-
- Removed **[ghinfo](https://www.npmjs.com/package/ghinfo)**, with `^3.0.8`
39-
- Removed **[husky](https://www.npmjs.com/package/husky)**, with `^8.0.2`
40-
- Removed **[jest](https://www.npmjs.com/package/jest)**, with `^29.3.1`
41-
- Removed **[npm-run-all](https://www.npmjs.com/package/npm-run-all)**, with `^4.1.5`
42-
- Removed **[prettier](https://www.npmjs.com/package/prettier)**, with `^2.8.0`
43-
- Removed **[rimraf](https://www.npmjs.com/package/rimraf)**, with `^3.0.2`
44-
- Removed **[ts-jest](https://www.npmjs.com/package/ts-jest)**, with `^29.0.3`
45-
- Removed **[typescript](https://www.npmjs.com/package/typescript)**, with `^4.9.3`
16+
- Changed **[@tagproject/ts-package-shared-config](https://www.npmjs.com/package/@tagproject/ts-package-shared-config)** from `^11.0.1` to `^11.0.4`
17+
- Changed **[ts-node](https://www.npmjs.com/package/ts-node)** from `^10.9.1` to `^10.9.2`
4618

4719
</details>
4820

21+
# :fire: Improvements
22+
23+
- Add `noProcessExit` to Tree.start options [`49e3a99`](https://github.com/keindev/tasktree/commit/49e3a9979a7e4ad811fa36ba1d99e9c5eb738ae0)
24+
4925
# :memo: Internal changes
5026

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

5330
---
5431

5532
# Contributors
5633

57-
[![@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)
34+
[![@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)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<p align="center"><img src="https://cdn.jsdelivr.net/gh/tagproject/art/packages/tasktree-cli/banner.svg" alt="Package logo"></p>
22

33
<p align="center">
4-
<a href="https://travis-ci.com/keindev/tasktree"><img src="https://travis-ci.com/keindev/tasktree.svg?branch=master" alt="Build Status"></a>
4+
<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>
55
<a href="https://codecov.io/gh/keindev/tasktree"><img src="https://codecov.io/gh/keindev/tasktree/branch/master/graph/badge.svg" /></a>
66
<a href="https://www.npmjs.com/package/tasktree-cli"><img alt="npm" src="https://img.shields.io/npm/v/tasktree-cli.svg"></a>
77
<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>

0 commit comments

Comments
 (0)