feat: msdl package to alias a specific version of musescore-downloader
This commit is contained in:
parent
7bb3aaf7b1
commit
d014ade9ca
|
@ -53,6 +53,15 @@ jobs:
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # 0301...
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # 0301...
|
||||||
|
|
||||||
|
- name: NPM Publish msdl
|
||||||
|
run: |
|
||||||
|
cd ./src/msdl
|
||||||
|
sed -i "s/%VERSION%/$VERSION/" package.json
|
||||||
|
npm publish --tag $NPM_TAG
|
||||||
|
cd -
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
- name: Publish Firefox Extension
|
- name: Publish Firefox Extension
|
||||||
id: web-ext-build
|
id: web-ext-build
|
||||||
uses: kewisch/action-web-ext@v1
|
uses: kewisch/action-web-ext@v1
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/usr/bin/env node
|
||||||
|
require("musescore-downloader/dist/cli.js")
|
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"name": "msdl",
|
||||||
|
"version": "%VERSION%",
|
||||||
|
"author": "Xmader",
|
||||||
|
"bin": "cli.js",
|
||||||
|
"description": "Alias for musescore-downloader",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/Xmader/musescore-downloader.git"
|
||||||
|
},
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/Xmader/musescore-downloader/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/Xmader/musescore-downloader#readme",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"musescore-downloader": "%VERSION%"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue