Skip to content

Commit

Permalink
chore: remove node-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoishin committed Dec 25, 2024
1 parent 9990349 commit c02047e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 127 deletions.
131 changes: 9 additions & 122 deletions package-lock.json

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

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"inquirer": "^7.3.3",
"json-schema-defaults": "0.4.0",
"json-schema-to-typescript": "11.0.3",
"node-fetch": "^2.0.0",
"npm-package-arg": "6.1.0",
"rimraf": "2.6.3",
"semver": "5.7.0",
Expand All @@ -51,8 +50,7 @@
"@types/hosted-git-info": "2.7.0",
"@types/inquirer": "^7.3.1",
"@types/jest": "^26.0.14",
"@types/node": "16",
"@types/node-fetch": "^2.6.2",
"@types/node": "~18.11.0",
"@types/npm-package-arg": "6.1.0",
"@types/rimraf": "2.0.2",
"@types/semver": "5.5.0",
Expand Down
1 change: 0 additions & 1 deletion src/commands/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import semver from 'semver';
import fs from 'fs';
import fetchTags from '../lib/fetch-tags';
import { Command } from 'commander';
import fetch from 'node-fetch';
import tar from 'tar';
import stream from 'stream/promises';

Expand Down
1 change: 0 additions & 1 deletion src/lib/util.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import fs from 'fs';
import path from 'path';
import fetch from 'node-fetch';
import semver from 'semver';

export default {
Expand Down

0 comments on commit c02047e

Please sign in to comment.