Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
feat: dropping support for node 16 (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion authored Sep 12, 2023
1 parent 6441027 commit 3005e8f
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 16 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ updates:
- erunion
labels:
- dependencies
groups:
minor-development-deps:
dependency-type: 'development'
update-types:
- minor
- patch
commit-message:
prefix: chore(deps)
prefix-development: chore(deps-dev)
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: npm

- run: npm ci
Expand All @@ -24,12 +24,11 @@ jobs:
strategy:
matrix:
node-version:
- 16
- 18
- 20

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

21 changes: 12 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,26 @@
"author": "Jon Ursenbach <[email protected]>",
"license": "ISC",
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.cts",
"engines": {
"node": ">=18"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git://github.com/readmeio/oas-extensions.git"
},
"engines": {
"node": ">=16"
},
"scripts": {
"build": "tsup",
"lint": "eslint . --ext .js,.ts",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"baseUrl": "./src/",
"declaration": true,
"esModuleInterop": true,
"lib": ["DOM", "ES2020"],
"moduleResolution": "node",
"module": "ESNext",
"moduleResolution": "bundler",
"noImplicitAny": true,
"outDir": "./dist",
"target": "ES2020"
Expand Down

0 comments on commit 3005e8f

Please sign in to comment.