Skip to content

Commit

Permalink
Merge pull request #402 from simplabs/nodegit
Browse files Browse the repository at this point in the history
Upgrade `nodegit` to v0.23.0
  • Loading branch information
ef4 committed Nov 6, 2018
2 parents 7fb441e + e7fde5c commit 8996fe2
Show file tree
Hide file tree
Showing 9 changed files with 204 additions and 59 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Expand Up @@ -7,6 +7,13 @@ sudo: required
services:
- docker

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++-4.9-dev

env:
global:
- ELASTICSEARCH=http://127.0.0.1:9200
Expand Down
2 changes: 1 addition & 1 deletion packages/git/blueprints/cardstack-git-seeds/index.js
Expand Up @@ -3,7 +3,7 @@ const {
Branch,
Reference,
Commit
} = require('@cardstack/nodegit');
} = require('nodegit');


/* eslint-env node */
Expand Down
2 changes: 1 addition & 1 deletion packages/git/change.js
Expand Up @@ -8,7 +8,7 @@ const {
Tree,
setThreadSafetyStatus,
TreeEntry: { FILEMODE }
} = require('@cardstack/nodegit');
} = require('nodegit');
const {
MutableTree,
NotFound,
Expand Down
2 changes: 1 addition & 1 deletion packages/git/indexer.js
Expand Up @@ -85,7 +85,7 @@ const {
Commit,
Clone,
Cred,
} = require('@cardstack/nodegit');
} = require('nodegit');
const { promisify } = require('util');
const temp = require('temp').track();

Expand Down
2 changes: 1 addition & 1 deletion packages/git/mutable-tree.js
Expand Up @@ -2,7 +2,7 @@
// not-yet-written tree. But you can't recursively put a Treebuilder
// inside a Treebuilder. That's where this class comes in.

const { TreeEntry, Treebuilder, Blob } = require('@cardstack/nodegit');
const { TreeEntry, Treebuilder, Blob } = require('nodegit');
const { FILEMODE } = TreeEntry;
const tombstone = {};

Expand Down
2 changes: 1 addition & 1 deletion packages/git/node-tests/writer-remote-test.js
Expand Up @@ -2,7 +2,7 @@ const {
Cred,
Clone,
Reset
} = require('@cardstack/nodegit');
} = require('nodegit');

const { inRepo } = require('./support');
const {
Expand Down
2 changes: 1 addition & 1 deletion packages/git/package.json
Expand Up @@ -14,9 +14,9 @@
},
"dependencies": {
"@cardstack/logger": "^0.1.0",
"@cardstack/nodegit": "^0.21.2-cardstack.1",
"@cardstack/plugin-utils": "0.11.6",
"moment-timezone": "^0.5.11",
"nodegit": "^0.23.0",
"temp": "^0.8.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/git/writer.js
Expand Up @@ -2,7 +2,7 @@ const {
Repository,
Cred,
Clone
} = require('@cardstack/nodegit');
} = require('nodegit');

const crypto = require('crypto');
const Change = require('./change');
Expand Down

0 comments on commit 8996fe2

Please sign in to comment.