Skip to content

Commit

Permalink
Update minimum node version to v18
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Feb 4, 2024
1 parent 1164444 commit ab5d9e5
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 52 deletions.
5 changes: 5 additions & 0 deletions .changeset/six-eagles-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"every-ts": major
---

Update minimum node version to v18
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@
"adm-zip": "^0.5.10",
"clipanion": "4.0.0-rc.3",
"execa": "^8.0.1",
"node-fetch": "^3.3.2",
"semver": "^7.5.4"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@tsconfig/node16": "^16.1.1",
"@tsconfig/node18": "^18.2.2",
"@types/adm-zip": "^0.5.5",
"@types/node": "^20.11.13",
"@types/semver": "^7.5.6",
Expand Down
52 changes: 5 additions & 47 deletions pnpm-lock.yaml

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

1 change: 0 additions & 1 deletion src/fnm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export async function ensureFnm() {
}

console.log(`Downloading fnm...`);
const fetch = (await import(`node-fetch`)).default;
const url = `https://github.com/Schniz/fnm/releases/latest/download/fnm-${getPlatform()}.zip`;
const response = await fetch(url);
const buffer = await response.arrayBuffer();
Expand Down
1 change: 0 additions & 1 deletion src/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import fs from "node:fs";

import { Command, Option } from "clipanion";
import { execa } from "execa";
import fetch from "node-fetch";
import semver from "semver";

import {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"module": "Node16",
"moduleResolution": "Node16",
Expand Down

0 comments on commit ab5d9e5

Please sign in to comment.