Skip to content

Commit

Permalink
Use asterisk for @types/* dependencies (#3131)
Browse files Browse the repository at this point in the history
Could we use asterisk instead of fixed version for `@types/node` and possible other `@types/*` dependencies?

This is how [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) publish their packages with dependencies to other typings (for example see [`@types/react/package.json`](https://unpkg.com/browse/@types/react/package.json)). It allows users to instal a single version of package with necessary typings.

I believe that it may reduce the size of `node_modules` folder.
  • Loading branch information
frenzzy authored and lukastaegert committed Sep 26, 2019
1 parent 4b69c09 commit bc5b98d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -63,8 +63,8 @@
},
"homepage": "https://github.com/rollup/rollup",
"dependencies": {
"@types/estree": "0.0.39",
"@types/node": "^12.7.8",
"@types/estree": "*",
"@types/node": "*",
"acorn": "^7.1.0"
},
"devDependencies": {
Expand Down

0 comments on commit bc5b98d

Please sign in to comment.