Skip to content

Commit

Permalink
Prepare v0.5.0 breaking changes (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdistin committed May 12, 2020
1 parent c2975e9 commit ab93500
Show file tree
Hide file tree
Showing 52 changed files with 355 additions and 748 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/codequality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
steps:
- name: Checkout Project
uses: actions/checkout@v1
- name: Use Node.js 10
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 10
node-version: 12
- name: Restore CI Cache
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.os }}-10-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-12-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies
run: yarn
- name: Run ESLint
Expand All @@ -38,15 +38,15 @@ jobs:
steps:
- name: Checkout Project
uses: actions/checkout@v1
- name: Use Node.js 10
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 10
node-version: 12
- name: Restore CI Cache
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.os }}-10-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-12-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies
run: yarn
- name: Run TSC
Expand All @@ -62,15 +62,15 @@ jobs:
steps:
- name: Checkout Project
uses: actions/checkout@v1
- name: Use Node.js 10
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 10
node-version: 12
- name: Restore CI Cache
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.os }}-10-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-12-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies
run: yarn
- name: Test Docs
Expand Down
23 changes: 4 additions & 19 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: [10, 12, 14]
node_version: [12, 14]
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
Expand Down Expand Up @@ -47,22 +47,17 @@ jobs:
steps:
- name: Checkout Project
uses: actions/checkout@v1
- name: Use Node.js 10
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 10
node-version: 12
- name: Restore CI Cache
uses: actions/cache@v1
with:
path: node_modules
key: Windows-10-${{ hashFiles('**\yarn.lock') }}
key: Windows-12-${{ hashFiles('**\yarn.lock') }}
- name: Install Dependencies
run: yarn
- uses: actions/download-artifact@v1
name: Download Windows-10 Coverage Data
with:
name: Windows-10
path: .nyc_output
- uses: actions/download-artifact@v1
name: Download Windows-12 Coverage Data
with:
Expand All @@ -73,11 +68,6 @@ jobs:
with:
name: Windows-14
path: .nyc_output
- uses: actions/download-artifact@v1
name: Download macOS-10 Coverage Data
with:
name: macOS-10
path: .nyc_output
- uses: actions/download-artifact@v1
name: Download macOS-12 Coverage Data
with:
Expand All @@ -88,11 +78,6 @@ jobs:
with:
name: macOS-14
path: .nyc_output
- uses: actions/download-artifact@v1
name: Download Linux-10 Coverage Data
with:
name: Linux-10
path: .nyc_output
- uses: actions/download-artifact@v1
name: Download Linux-12 Coverage Data
with:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fs-nextra",
"version": "0.4.7",
"description": "Node.js native fs promises with next-generation extra methods.",
"version": "0.5.0",
"description": "Node.js fs next-gen extra (nextra) methods.",
"main": "dist/index.js",
"scripts": {
"prepublishOnly": "yarn build",
Expand Down Expand Up @@ -37,7 +37,7 @@
"author": "BDISTIN",
"license": "MIT",
"engines": {
"node": ">=10.1.0"
"node": ">=12.12.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
Expand Down

0 comments on commit ab93500

Please sign in to comment.