Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: dropping support for node 16 #76

Merged
merged 1 commit into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
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

- name: Get npm cache directory
id: npm-cache-dir
Expand Down Expand Up @@ -40,13 +40,12 @@ jobs:
- ubuntu-latest
- windows-latest
node:
- 16
- 18
- 20

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

- name: Install Node ${{ matrix.node }}
uses: actions/setup-node@v3
Expand Down Expand Up @@ -88,12 +87,12 @@ jobs:

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

# - name: Install Node
# uses: actions/setup-node@v3
# with:
# node-version: 16
# node-version: 18

# - name: Get npm cache directory
# id: npm-cache-dir
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.

33 changes: 18 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,24 @@
"version": "2.0.0",
"description": "A utility for parsing and validating data URLs.",
"license": "ISC",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"./package.json": "./package.json"
},
"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/data-urls.git"
Expand All @@ -11,21 +29,6 @@
"url": "https://github.com/readmeio/data-urls/issues"
},
"homepage": "https://github.com/readmeio/data-urls#readme",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./package.json": "./package.json"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"sideEffects": false,
"engines": {
"node": ">=14"
},
"scripts": {
"build": "tsup",
"lint": "eslint . --ext .js,.ts",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"declaration": true,
"esModuleInterop": true,
"lib": ["DOM", "ES2020"],
"moduleResolution": "node",
"module": "ESNext",
"moduleResolution": "bundler",
"noImplicitAny": true,
"outDir": "dist/",
"target": "ES2020"
Expand Down
Loading