Created
April 13, 2022 22:25
-
-
Save MarkTiedemann/e524632b6072fd941a15d08e5ee1eed8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
git clone --depth 1 --filter=blob:none --sparse https://github.com/DefinitelyTyped/DefinitelyTyped | |
pushd DefinitelyTyped | |
git sparse-checkout set types/node | |
rd /q /s .git | |
popd | |
ren DefinitelyTyped node_modules | |
ren node_modules\types @types |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
curl -LO https://registry.npmjs.org/@types/node/-/node-17.0.23.tgz | |
tar zxf node-17.0.23.tgz | |
del node-17.0.23.tgz | |
md node_modules\@types | |
move node node_modules\@types > nul |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment