Create some files
This commit is contained in:
parent
a7354264cc
commit
cd1794a16e
6 changed files with 65 additions and 0 deletions
4
src/self-installer/download.ts
Normal file
4
src/self-installer/download.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import download from 'download'
|
||||
import url from './url'
|
||||
export const downloadSelfInstaller = () => download(url)
|
||||
export default downloadSelfInstaller
|
||||
2
src/self-installer/index.ts
Normal file
2
src/self-installer/index.ts
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export * from './url'
|
||||
export * from './download'
|
||||
3
src/self-installer/url.ts
Normal file
3
src/self-installer/url.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export const ref = '301414cec74a2b6b63c95b42f2ad1790ccb980ed'
|
||||
export const url = `https://raw.githubusercontent.com/pnpm/self-installer/${ref}/install.js`
|
||||
export default url
|
||||
Loading…
Add table
Add a link
Reference in a new issue