mirror of
https://github.com/pnpm/action-setup.git
synced 2025-07-20 22:49:33 +08:00
Create some files
This commit is contained in:
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
|
Reference in New Issue
Block a user