fix(core): update

This commit is contained in:
Philipp Kunz 2020-08-15 13:46:56 +00:00
parent 98d1f8aea2
commit 90f57bee1a
5 changed files with 10821 additions and 907 deletions

View File

@ -10,6 +10,7 @@
}, },
"gitzone": { "gitzone": {
"projectType": "npm",
"module": { "module": {
"githost": "gitlab.com", "githost": "gitlab.com",
"gitscope": "pushrocks", "gitscope": "pushrocks",

11701
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -24,20 +24,20 @@
}, },
"homepage": "https://gitlab.com/pushrocks/smartgit", "homepage": "https://gitlab.com/pushrocks/smartgit",
"dependencies": { "dependencies": {
"@pushrocks/smartfile": "^7.0.4", "@pushrocks/smartfile": "^8.0.0",
"@pushrocks/smartpath": "^4.0.1", "@pushrocks/smartpath": "^4.0.3",
"@pushrocks/smartpromise": "^3.0.2", "@pushrocks/smartpromise": "^3.0.6",
"@pushrocks/smartshell": "^2.0.23", "@pushrocks/smartshell": "^2.0.26",
"@pushrocks/smartstring": "^3.0.10", "@pushrocks/smartstring": "^3.0.18",
"@types/minimatch": "^3.0.3", "@types/minimatch": "^3.0.3",
"@types/nodegit": "^0.24.10", "@types/nodegit": "^0.26.7",
"nodegit": "^0.25.1" "nodegit": "^0.27.0"
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.17", "@gitzone/tsbuild": "^2.1.25",
"@gitzone/tstest": "^1.0.24", "@gitzone/tstest": "^1.0.44",
"@pushrocks/tapbundle": "^3.0.13", "@pushrocks/tapbundle": "^3.2.9",
"tslint": "^5.19.0", "tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0" "tslint-config-prettier": "^1.18.0"
}, },
"private": false, "private": false,

View File

@ -7,6 +7,6 @@ const testRepoDir = path.join(__dirname, '../.nogit/testrepo');
tap.test('should create a new repo at .nogit', async () => { tap.test('should create a new repo at .nogit', async () => {
const gitRepo = await smartgit.GitRepo.fromCreatingRepoInDir(testRepoDir); const gitRepo = await smartgit.GitRepo.fromCreatingRepoInDir(testRepoDir);
}) });
tap.start(); tap.start();

View File

@ -39,7 +39,7 @@ export class GitRepo {
/** /**
* lists remotes * lists remotes
*/ */
public async listRemotes(): Promise<string[]> { public async listRemotes(): Promise<plugins.nodegit.Remote[]> {
return this.nodegitRepo.getRemotes(); return this.nodegitRepo.getRemotes();
} }