Skip to content

Commit

Permalink
feat!: drop node 14.16 and 14.17 (#5602)
Browse files Browse the repository at this point in the history
* feat!: drop node 14.16 and 14.17

* chore: update hugo test
  • Loading branch information
danez authored Apr 11, 2023
1 parent 9775e40 commit 8bcc4c9
Show file tree
Hide file tree
Showing 21 changed files with 250 additions and 351 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
node-version: ['14.x', '*']
node-version: ['14.18.0', '*']
fail-fast: false

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
node-version: [14.x, '*']
node-version: ['14.18.0', '*']
shard: ['1/2', '2/2']

exclude:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/legacy-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
node-version: [14.x, '*']
node-version: ['14.18.0', '*']
machine: ['0', '1', '2', '3', '4', '5', '6']

exclude:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
node-version: ['*']
node-version: ['14.18.0', '*']
steps:
# Sets an output parameter if this is a release PR
- name: Check for release
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ site/src/**/*.md
# tests
.verdaccio-storage
.eslintcache
tests/integration/hugo-site/resources
tests/integration/hugo-site/out
tests/integration/hugo-site/.hugo_build.lock
_test_out/**
*.crt
*.key
204 changes: 75 additions & 129 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Netlify Inc.",
"type": "module",
"engines": {
"node": "^14.16.0 || >=16.0.0"
"node": "^14.18.0 || >=16.0.0"
},
"files": [
"/bin",
Expand Down Expand Up @@ -54,7 +54,7 @@
"test:init:cli-version": "npm run start -- --version",
"test:init:cli-help": "npm run start -- --help",
"test:init:eleventy-deps": "npm ci --prefix tests/integration/eleventy-site --no-audit",
"test:init:hugo-deps": "npm ci --prefix tests/integration/hugo-site --no-audit",
"test:init:hugo-deps": "npm ci --prefix tests/integration/__fixtures__/hugo-site --no-audit",
"test:dev:ava": "ava --verbose",
"test:dev:vitest": "vitest run tests/unit/ && vitest run tests/integration",
"test:ci:ava:integration": "c8 -r json ava --concurrency 1 --no-worker-threads tests/integration/",
Expand Down Expand Up @@ -185,13 +185,14 @@
"devDependencies": {
"@babel/preset-react": "^7.12.13",
"@netlify/eslint-config-node": "^7.0.0",
"@types/fs-extra": "^11.0.1",
"@vitest/coverage-c8": "^0.30.0",
"ava": "^4.0.0",
"c8": "^7.11.0",
"cpy": "^9.0.1",
"eslint-plugin-sort-destructure-keys": "^1.3.5",
"fast-glob": "^3.2.7",
"form-data": "^4.0.0",
"fs-extra": "^11.1.1",
"got": "^11.8.6",
"graphviz": "^0.0.9",
"husky": "^8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"clean": "rm -rf dist"
},
"engines": {
"node": "^14.16.0 || >=16.0.0"
"node": "^14.18.0 || >=16.0.0"
},
"license": "MIT",
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"engines": {
"node": "^14.16.0 || >=16.0.0"
"node": "^14.18.0 || >=16.0.0"
},
"keywords": [
"netlify",
Expand Down
Loading

1 comment on commit 8bcc4c9

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Package size: 306 MB

Please sign in to comment.