👷♂️ Include ssn-installer as a dependency
This commit is contained in:
parent
cfb6a0fbf9
commit
d5fcd19e6a
4 changed files with 7 additions and 4 deletions
|
@ -7,8 +7,6 @@ For this tool to work, `tsc` and `tslint` must be globally available, e.g. by ru
|
|||
sudo npm install -g typescript tslint
|
||||
```
|
||||
|
||||
In addition, the `patch-installer` repository must be present in the parent folder of this repository.
|
||||
|
||||
Install dependencies and transpile the TypeScript files to JavaScript by running:
|
||||
|
||||
```bash
|
||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -14,6 +14,10 @@
|
|||
"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
|
||||
"integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw=="
|
||||
},
|
||||
"ssn-installer": {
|
||||
"version": "git+https://git.jedipedia.net/swtor/ssn-installer.git#88dba8d750a88a7a11a82f77e4bacc624a426ed7",
|
||||
"from": "git+https://git.jedipedia.net/swtor/ssn-installer.git"
|
||||
},
|
||||
"xml-js": {
|
||||
"version": "1.6.8",
|
||||
"resolved": "https://registry.npmjs.org/xml-js/-/xml-js-1.6.8.tgz",
|
||||
|
|
|
@ -8,13 +8,14 @@
|
|||
},
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"start": "rm -rf dist && tsc && cd ../patch-installer && ./build.sh && cd ../ssn && mkdir dist/lib && cp ../patch-installer/patch-installer dist/lib",
|
||||
"start": "rm -rf dist && tsc",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^10.11.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"ssn-installer": "git+https://git.jedipedia.net/swtor/ssn-installer.git",
|
||||
"xml-js": "^1.6.8"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ import * as childProcess from 'child_process';
|
|||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
|
||||
const processPath = path.join(__dirname, '../../lib/patch-installer');
|
||||
const processPath = path.join(__dirname, 'ssn-installer');
|
||||
|
||||
export default function launchProcess(
|
||||
diskFile: string,
|
||||
|
|
Loading…
Reference in a new issue