Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bdanforth ~/projects/lightbeam-we (master) $ git fetch --all
- Fetching origin
- Fetching upstream
- gibdanforth ~/projects/lightbeam-we (master) $ git rebase upstream/master
- Current branch master is up to date.
- bdanforth ~/projects/lightbeam-we (master) $ git checkout d3-visualization
- Switched to branch 'd3-visualization'
- Your branch is up-to-date with 'origin/d3-visualization'.
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git checkout master
- Switched to branch 'master'
- Your branch is ahead of 'origin/master' by 37 commits.
- (use "git push" to publish your local commits)
- bdanforth ~/projects/lightbeam-we (master) $ git pull upstream
- You asked to pull from the remote 'upstream', but did not specify
- a branch. Because this is not the default configured remote
- for your current branch, you must specify a branch on the command line.
- bdanforth ~/projects/lightbeam-we (master) $ git pull upstream master
- From https://github.com/electrolyfish/lightbeam-we
- * branch master -> FETCH_HEAD
- Already up-to-date.
- bdanforth ~/projects/lightbeam-we (master) $ git checkout d3-visualization
- Switched to branch 'd3-visualization'
- Your branch is up-to-date with 'origin/d3-visualization'.
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git rebase master
- First, rewinding head to replay your work on top of it...
- Applying: Initial D3 test
- Using index info to reconstruct a base tree...
- M css/style.css
- M index.html
- M manifest.json
- .git/rebase-apply/patch:32: trailing whitespace.
- .git/rebase-apply/patch:47: trailing whitespace.
- <!-- @todo add D3 as devDependency in package.json so it can be updated -->
- .git/rebase-apply/patch:48: trailing whitespace.
- <script src="js/d3.min.js"></script>
- .git/rebase-apply/patch:49: trailing whitespace.
- <script src="js/lightbeam.js" type="text/javascript"></script>
- .git/rebase-apply/patch:58: trailing whitespace.
- <svg width="600" height="600"></svg>
- warning: 5 lines add whitespace errors.
- Falling back to patching base and 3-way merge...
- Auto-merging index.html
- Auto-merging css/style.css
- Applying: D3 drawing first and third parties
- Applying: Add js/lib/* to .eslintignore and .gitignore
- Applying: Draw third-party nodes as white triangles
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ web-ext run
- Running web extension from /Users/bdanforth/Projects/lightbeam-we
- Use --verbose or open Tools > Web Developer > Browser Console to see logging
- Installed /Users/bdanforth/Projects/lightbeam-we as a temporary add-on
- The extension will reload if any source file changes
- Press R to reload (and Ctrl-C to quit)
- Last extension reload: 10:01:37 GMT-0700 (PDT)
- Exiting web-ext on user request
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ npm install d3
- > fsevents@1.1.2 install /Users/bdanforth/Projects/lightbeam-we/node_modules/fsevents
- > node install
- [fsevents] Success: "/Users/bdanforth/Projects/lightbeam-we/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node" already installed
- Pass --update-binary to reinstall or --build-from-source to recompile
- lightbeam-we@0.0.1 /Users/bdanforth/Projects/lightbeam-we
- ├─┬ d3@4.9.1
- │ ├── d3-array@1.2.0
- │ ├── d3-axis@1.0.7
- │ ├── d3-brush@1.0.4
- │ ├── d3-chord@1.0.4
- │ ├── d3-collection@1.0.3
- │ ├── d3-color@1.0.3
- │ ├── d3-dispatch@1.0.3
- │ ├── d3-drag@1.1.0
- │ ├─┬ d3-dsv@1.0.5
- │ │ └── rw@1.3.3
- │ ├── d3-ease@1.0.3
- │ ├── d3-force@1.0.6
- │ ├── d3-format@1.2.0
- │ ├── d3-geo@1.6.4
- │ ├── d3-hierarchy@1.1.4
- │ ├── d3-interpolate@1.1.5
- │ ├── d3-path@1.0.5
- │ ├── d3-polygon@1.0.3
- │ ├── d3-quadtree@1.0.3
- │ ├── d3-queue@3.0.7
- │ ├── d3-random@1.1.0
- │ ├─┬ d3-request@1.0.5
- │ │ └── xmlhttprequest@1.8.0
- │ ├── d3-scale@1.0.6
- │ ├── d3-selection@1.1.0
- │ ├── d3-shape@1.1.1
- │ ├── d3-time@1.0.6
- │ ├── d3-time-format@2.0.5
- │ ├── d3-timer@1.0.5
- │ ├── d3-transition@1.1.0
- │ ├── d3-voronoi@1.1.2
- │ └── d3-zoom@1.2.0
- └─┬ karma@1.7.0
- └─┬ chokidar@1.7.0
- └─┬ fsevents@1.1.2
- ├── nan@2.6.2
- └─┬ node-pre-gyp@0.6.36
- ├─┬ mkdirp@0.5.1
- │ └── minimist@0.0.8
- ├─┬ nopt@4.0.1
- │ ├── abbrev@1.1.0
- │ └─┬ osenv@0.1.4
- │ ├── os-homedir@1.0.2
- │ └── os-tmpdir@1.0.2
- ├─┬ npmlog@4.1.0
- │ ├─┬ are-we-there-yet@1.1.4
- │ │ └── delegates@1.0.0
- │ ├── console-control-strings@1.1.0
- │ ├─┬ gauge@2.7.4
- │ │ ├── aproba@1.1.1
- │ │ ├── has-unicode@2.0.1
- │ │ ├── object-assign@4.1.1
- │ │ ├── signal-exit@3.0.2
- │ │ ├─┬ string-width@1.0.2
- │ │ │ ├── code-point-at@1.1.0
- │ │ │ └─┬ is-fullwidth-code-point@1.0.0
- │ │ │ └── number-is-nan@1.0.1
- │ │ ├─┬ strip-ansi@3.0.1
- │ │ │ └── ansi-regex@2.1.1
- │ │ └── wide-align@1.1.2
- │ └── set-blocking@2.0.0
- ├─┬ rc@1.2.1
- │ ├── deep-extend@0.4.2
- │ ├── ini@1.3.4
- │ ├── minimist@1.2.0
- │ └── strip-json-comments@2.0.1
- ├─┬ request@2.81.0
- │ ├── aws-sign2@0.6.0
- │ ├── aws4@1.6.0
- │ ├── caseless@0.12.0
- │ ├─┬ combined-stream@1.0.5
- │ │ └── delayed-stream@1.0.0
- │ ├── extend@3.0.1
- │ ├── forever-agent@0.6.1
- │ ├─┬ form-data@2.1.4
- │ │ └── asynckit@0.4.0
- │ ├─┬ har-validator@4.2.1
- │ │ ├─┬ ajv@4.11.8
- │ │ │ ├── co@4.6.0
- │ │ │ └─┬ json-stable-stringify@1.0.1
- │ │ │ └── jsonify@0.0.0
- │ │ └── har-schema@1.0.5
- │ ├─┬ hawk@3.1.3
- │ │ ├── boom@2.10.1
- │ │ ├── cryptiles@2.0.5
- │ │ ├── hoek@2.16.3
- │ │ └── sntp@1.0.9
- │ ├─┬ http-signature@1.1.1
- │ │ ├── assert-plus@0.2.0
- │ │ ├─┬ jsprim@1.4.0
- │ │ │ ├── assert-plus@1.0.0
- │ │ │ ├── extsprintf@1.0.2
- │ │ │ ├── json-schema@0.2.3
- │ │ │ └── verror@1.3.6
- │ │ └─┬ sshpk@1.13.0
- │ │ ├── asn1@0.2.3
- │ │ ├── assert-plus@1.0.0
- │ │ ├── bcrypt-pbkdf@1.0.1
- │ │ ├─┬ dashdash@1.14.1
- │ │ │ └── assert-plus@1.0.0
- │ │ ├── ecc-jsbn@0.1.1
- │ │ ├─┬ getpass@0.1.7
- │ │ │ └── assert-plus@1.0.0
- │ │ ├── jodid25519@1.0.2
- │ │ ├── jsbn@0.1.1
- │ │ └── tweetnacl@0.14.5
- │ ├── is-typedarray@1.0.0
- │ ├── isstream@0.1.2
- │ ├── json-stringify-safe@5.0.1
- │ ├─┬ mime-types@2.1.15
- │ │ └── mime-db@1.27.0
- │ ├── oauth-sign@0.8.2
- │ ├── performance-now@0.2.0
- │ ├── qs@6.4.0
- │ ├── safe-buffer@5.0.1
- │ ├── stringstream@0.0.5
- │ ├─┬ tough-cookie@2.3.2
- │ │ └── punycode@1.4.1
- │ ├── tunnel-agent@0.6.0
- │ └── uuid@3.0.1
- ├─┬ rimraf@2.6.1
- │ └─┬ glob@7.1.2
- │ ├── fs.realpath@1.0.0
- │ ├── inflight@1.0.6
- │ ├─┬ minimatch@3.0.4
- │ │ └─┬ brace-expansion@1.1.7
- │ │ ├── balanced-match@0.4.2
- │ │ └── concat-map@0.0.1
- │ └── path-is-absolute@1.0.1
- ├── semver@5.3.0
- ├─┬ tar@2.2.1
- │ ├── block-stream@0.0.9
- │ ├─┬ fstream@1.0.11
- │ │ └── graceful-fs@4.1.11
- │ └── inherits@2.0.3
- └─┬ tar-pack@3.4.0
- ├─┬ debug@2.6.8
- │ └── ms@2.0.0
- ├── fstream-ignore@1.0.5
- ├─┬ once@1.4.0
- │ └── wrappy@1.0.2
- ├─┬ readable-stream@2.2.9
- │ ├── buffer-shims@1.0.0
- │ ├── core-util-is@1.0.2
- │ ├── isarray@1.0.0
- │ ├── process-nextick-args@1.0.7
- │ ├── string_decoder@1.0.1
- │ └── util-deprecate@1.0.2
- └── uid-number@0.0.6
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ web-ext run
- Running web extension from /Users/bdanforth/Projects/lightbeam-we
- Use --verbose or open Tools > Web Developer > Browser Console to see logging
- Installed /Users/bdanforth/Projects/lightbeam-we as a temporary add-on
- The extension will reload if any source file changes
- Press R to reload (and Ctrl-C to quit)
- Last extension reload: 10:04:28 GMT-0700 (PDT)
- Exiting web-ext on user request
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ npm install
- > husky@0.13.4 install /Users/bdanforth/Projects/lightbeam-we/node_modules/husky
- > node ./bin/install.js
- husky
- setting up hooks
- done
- lightbeam-we@0.0.1 /Users/bdanforth/Projects/lightbeam-we
- └─┬ husky@0.13.4
- ├── find-parent-dir@0.3.0
- ├─┬ is-ci@1.0.10
- │ └── ci-info@1.0.0
- └── normalize-path@1.0.0
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ web-ext run
- Running web extension from /Users/bdanforth/Projects/lightbeam-we
- Use --verbose or open Tools > Web Developer > Browser Console to see logging
- Installed /Users/bdanforth/Projects/lightbeam-we as a temporary add-on
- The extension will reload if any source file changes
- Press R to reload (and Ctrl-C to quit)
- Last extension reload: 10:19:53 GMT-0700 (PDT)Abort trap: 6
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git status
- On branch d3-visualization
- Your branch and 'origin/d3-visualization' have diverged,
- and have 6 and 4 different commits each, respectively.
- (use "git pull" to merge the remote branch into yours)
- Changes not staged for commit:
- (use "git add/rm <file>..." to update what will be committed)
- (use "git checkout -- <file>..." to discard changes in working directory)
- deleted: .eslintignore
- modified: .gitignore
- modified: index.html
- modified: js/lightbeam.js
- modified: js/viz.js
- modified: package.json
- no changes added to commit (use "git add" and/or "git commit -a")
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git diff
- diff --git a/.eslintignore b/.eslintignore
- deleted file mode 100644
- index ddeb530..0000000
- --- a/.eslintignore
- +++ /dev/null
- @@ -1,2 +0,0 @@
- -# Ignore external libraries
- -js/lib/*
- \ No newline at end of file
- diff --git a/.gitignore b/.gitignore
- index 30b34e1..e8025eb 100644
- --- a/.gitignore
- +++ b/.gitignore
- @@ -1,4 +1,3 @@
- .DS_Store
- node_modules
- npm-debug.log
- -js/lib/*
- diff --git a/index.html b/index.html
- index 3b81147..7368740 100644
- --- a/index.html
- +++ b/index.html
- @@ -11,9 +11,8 @@
- <link rel="stylesheet" href="css/style.css" type="text/css">
- <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
- <script src="js/store.js" type="text/javascript"></script>
- + <script src="node_modules/d3/build/d3.min.js"></script>
- <script src="js/viz.js" type="text/javascript"></script>
- - <!-- @todo add D3 as devDependency in package.json so it can be updated -->
- - <script src="js/lib/d3.min.js"></script>
- <script src="js/lightbeam.js" type="text/javascript"></script>
- </head>
- <body>
- diff --git a/js/lightbeam.js b/js/lightbeam.js
- index 7d31b51..5d4d321 100644
- --- a/js/lightbeam.js
- +++ b/js/lightbeam.js
- @@ -2,15 +2,15 @@ async function renderGraph() {
- const websites = await store.getAll();
- // reformat data for D3
- - const nodes_data = [];
- - const links_data = [];
- + const nodesData = [];
- + const linksData = [];
- // make first party nodes
- for (const firstParty in websites) {
- const node = {};
- node.hostname = firstParty;
- node.favicon = websites[firstParty].faviconUrl || '';
- node.party = 'first';
- - nodes_data.push(node);
- + nodesData.push(node);
- // make third party nodes and links
- for (const thirdParty in websites[firstParty].thirdPartyRequests) {
- const node = {};
- @@ -21,33 +21,13 @@ async function renderGraph() {
- // third parties likely don't have favicons
- node.favicon = '';
- node.party = 'third';
- - nodes_data.push(node);
- - links_data.push(link);
- + nodesData.push(node);
- + linksData.push(link);
- }
- }
- - // set up area of the page to put the graph
- - const svg = d3.select('svg');
- - const width = svg.attr('width');
- - const height = svg.attr('height');
- -
- - // set up simulation
- - const simulation = d3.forceSimulation().nodes(nodes_data);
- -
- - // add forces
- - simulation
- - // charge force treats each node as a charged particle,
- - // so that nodes will repel each other when they get too close together
- - .force('charge_force', d3.forceManyBody())
- - // centering force drives all nodes torward the center of the canvas
- - .force('center_force', d3.forceCenter(width/2, height/2))
- - // link force constrains the nodes' motion based on how they are linked
- - .force('links', d3.forceLink(links_data).id(function(d) {
- - return d.hostname;
- - }));
- -
- // draw the elements onto the page
- - viz.draw(nodes_data, links_data, simulation);
- + viz.draw(nodesData, linksData);
- }
- window.onload = renderGraph;
- diff --git a/js/viz.js b/js/viz.js
- index 2bceabc..22ae5a3 100644
- --- a/js/viz.js
- +++ b/js/viz.js
- @@ -1,20 +1,37 @@
- // eslint-disable-next-line no-unused-vars
- const viz = {
- - draw(nodes_data, links_data, simulation) {
- - // get graph area
- + draw(nodesData, linksData) {
- + // set up area of the page to put the graph
- const svg = d3.select('svg');
- + const width = svg.attr('width');
- + const height = svg.attr('height');
- +
- + // set up simulation
- + const simulation = d3.forceSimulation().nodes(nodesData);
- +
- + // add forces
- + simulation
- + // charge force treats each node as a charged particle,
- + // so that nodes will repel each other when they get too close together
- + .force('charge_force', d3.forceManyBody())
- + // centering force drives all nodes torward the center of the canvas
- + .force('center_force', d3.forceCenter(width/2, height/2))
- + // link force constrains the nodes' motion based on how they are linked
- + .force('links', d3.forceLink(linksData).id(function(d) {
- + return d.hostname;
- + }));
- // separate first from third party nodes
- - const nodes_firstParty = [];
- - const nodes_thirdParty = [];
- + const nodesFirstParty = [];
- + const nodesThirdParty = [];
- - for (let i = 0; i < nodes_data.length; i++) {
- - if (nodes_data[i].party === 'first') {
- - nodes_firstParty.push(nodes_data[i]);
- + for (let i = 0; i < nodesData.length; i++) {
- + if (nodesData[i].party === 'first') {
- + nodesFirstParty.push(nodesData[i]);
- } else {
- - nodes_data[i].type = d3.symbolTriangle;
- - nodes_data[i].size = 100;
- - nodes_thirdParty.push(nodes_data[i]);
- + nodesData[i].type = d3.symbolTriangle;
- + nodesData[i].size = 100;
- + nodesThirdParty.push(nodesData[i]);
- }
- }
- @@ -22,7 +39,7 @@ const viz = {
- const nodeFirstParty = svg.append('g')
- .attr('class', 'nodes')
- .selectAll('circle')
- - .data(nodes_firstParty)
- + .data(nodesFirstParty)
- .enter()
- .append('circle')
- .attr('r', 5)
- @@ -32,7 +49,7 @@ const viz = {
- const nodeThirdParty = svg.append('g')
- .attr('class', 'nodes')
- .selectAll('path')
- - .data(nodes_thirdParty)
- + .data(nodesThirdParty)
- .enter()
- .append('path')
- .attr('d', d3.symbol()
- @@ -48,7 +65,7 @@ const viz = {
- const link = svg.append('g')
- .attr('class', 'links')
- .selectAll('line')
- - .data(links_data)
- + .data(linksData)
- .enter().append('line')
- .attr('stroke-width', 2);
- diff --git a/package.json b/package.json
- index 600aa88..58b2e05 100644
- --- a/package.json
- +++ b/package.json
- @@ -23,7 +23,9 @@
- "url": "https://github.com/electrolyfish/lightbeam-we/issues"
- },
- "homepage": "https://github.com/electrolyfish/lightbeam-we#readme",
- - "dependencies": {},
- + "dependencies": {
- + "d3": "4"
- + },
- "devDependencies": {
- "chai": "^3.5.0",
- "eslint": "^3.19.0",
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git status
- On branch d3-visualization
- Your branch and 'origin/d3-visualization' have diverged,
- and have 6 and 4 different commits each, respectively.
- (use "git pull" to merge the remote branch into yours)
- Changes not staged for commit:
- (use "git add/rm <file>..." to update what will be committed)
- (use "git checkout -- <file>..." to discard changes in working directory)
- deleted: .eslintignore
- modified: .gitignore
- modified: index.html
- modified: js/lightbeam.js
- modified: js/viz.js
- modified: package.json
- no changes added to commit (use "git add" and/or "git commit -a")
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git add .
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git push -u origin d3-visualization
- > husky - npm run -s prepush
- > husky - node v6.10.3
- 19 06 2017 10:51:21.863:INFO [karma]: Karma v1.7.0 server started at http://0.0.0.0:9876/
- 19 06 2017 10:51:21.867:INFO [launcher]: Launching browser Firefox with unlimited concurrency
- 19 06 2017 10:51:21.876:INFO [launcher]: Starting browser Firefox
- 19 06 2017 10:51:24.241:INFO [Firefox 54.0.0 (Mac OS X 10.12.0)]: Connected on socket knc9QqxtaBsNoE7zAAAA with id 93527873
- LOG: 'error from getFirstParty', Error{}
- LOG: 'error from getThirdParties', Error{}
- Firefox 54.0.0 (Mac OS X 10.12.0): Executed 9 of 9 SUCCESS (0.009 secs / 0.005 secs)
- To https://github.com/biancadanforth/lightbeam-we.git
- ! [rejected] d3-visualization -> d3-visualization (non-fast-forward)
- error: failed to push some refs to 'https://github.com/biancadanforth/lightbeam-we.git'
- hint: Updates were rejected because the tip of your current branch is behind
- hint: its remote counterpart. Integrate the remote changes (e.g.
- hint: 'git pull ...') before pushing again.
- hint: See the 'Note about fast-forwards' in 'git push --help' for details.
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git status
- On branch d3-visualization
- Your branch and 'origin/d3-visualization' have diverged,
- and have 6 and 4 different commits each, respectively.
- (use "git pull" to merge the remote branch into yours)
- Changes to be committed:
- (use "git reset HEAD <file>..." to unstage)
- deleted: .eslintignore
- modified: .gitignore
- modified: index.html
- modified: js/lightbeam.js
- modified: js/viz.js
- modified: package.json
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git commit --amend
- > husky - npm run -s precommit
- > husky - node v6.10.3
- [d3-visualization 0923aba] Draw third-party nodes as white triangles
- Date: Sun Jun 18 14:26:13 2017 -0700
- 6 files changed, 55 insertions(+), 54 deletions(-)
- delete mode 100644 .eslintignore
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git log --oneline -5
- 0923aba (HEAD -> d3-visualization) Draw third-party nodes as white triangles
- 1ebef2f Add js/lib/* to .eslintignore and .gitignore
- 4093d0c D3 drawing first and third parties
- f81f3a3 Initial D3 test
- c2ffe84 (upstream/master, master) Add structural/layout fixes to top bar. Fixes #56. (#61)
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git commit -m "Incorporate feedback from PR review"
- > husky - npm run -s precommit
- > husky - node v6.10.3
- On branch d3-visualization
- Your branch and 'origin/d3-visualization' have diverged,
- and have 6 and 4 different commits each, respectively.
- (use "git pull" to merge the remote branch into yours)
- nothing to commit, working tree clean
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git commit --amend
- > husky - npm run -s precommit
- > husky - node v6.10.3
- [d3-visualization 647a317] Draw third-party nodes as white triangles
- Date: Sun Jun 18 14:26:13 2017 -0700
- 6 files changed, 55 insertions(+), 54 deletions(-)
- delete mode 100644 .eslintignore
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git log -3
- commit 647a3174d7940a8f17b0441fb042fc15c217a611 (HEAD -> d3-visualization)
- Author: Bianca Danforth <biancadanforth@gmail.com>
- Date: Sun Jun 18 14:26:13 2017 -0700
- Draw third-party nodes as white triangles
- commit 1ebef2fbc6f4725b4e31006e901e5fd3ecb9703e
- Author: Bianca Danforth <biancadanforth@gmail.com>
- Date: Sun Jun 18 13:58:33 2017 -0700
- Add js/lib/* to .eslintignore and .gitignore
- commit 4093d0cc6ebbefb88d8dc19abb912cda368c9f48
- Author: Bianca Danforth <biancadanforth@gmail.com>
- Date: Sun Jun 18 13:28:47 2017 -0700
- D3 drawing first and third parties
- @todo make third parties white and equilateral triangles
- @todo add text labels for each node's hostname
- @todo consider using `<canvas>` instead of `<svg>` to draw in UI
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git status
- On branch d3-visualization
- Your branch and 'origin/d3-visualization' have diverged,
- and have 6 and 4 different commits each, respectively.
- (use "git pull" to merge the remote branch into yours)
- nothing to commit, working tree clean
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git log --oneline -4
- 647a317 (HEAD -> d3-visualization) Draw third-party nodes as white triangles
- 1ebef2f Add js/lib/* to .eslintignore and .gitignore
- 4093d0c D3 drawing first and third parties
- f81f3a3 Initial D3 test
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git push origin d3-visualization
- > husky - npm run -s prepush
- > husky - node v6.10.3
- 19 06 2017 10:59:45.309:INFO [karma]: Karma v1.7.0 server started at http://0.0.0.0:9876/
- 19 06 2017 10:59:45.313:INFO [launcher]: Launching browser Firefox with unlimited concurrency
- 19 06 2017 10:59:45.321:INFO [launcher]: Starting browser Firefox
- 19 06 2017 10:59:47.703:INFO [Firefox 54.0.0 (Mac OS X 10.12.0)]: Connected on socket SvN_EcF-zoHD3-9CAAAA with id 99440418
- LOG: 'error from getFirstParty', Error{}
- LOG: 'error from getThirdParties', Error{}
- Firefox 54.0.0 (Mac OS X 10.12.0): Executed 9 of 9 SUCCESS (0.014 secs / 0.003 secs)
- To https://github.com/biancadanforth/lightbeam-we.git
- ! [rejected] d3-visualization -> d3-visualization (non-fast-forward)
- error: failed to push some refs to 'https://github.com/biancadanforth/lightbeam-we.git'
- hint: Updates were rejected because the tip of your current branch is behind
- hint: its remote counterpart. Integrate the remote changes (e.g.
- hint: 'git pull ...') before pushing again.
- hint: See the 'Note about fast-forwards' in 'git push --help' for details.
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git push -u origin d3-visualization
- > husky - npm run -s prepush
- > husky - node v6.10.3
- 19 06 2017 11:08:05.326:INFO [karma]: Karma v1.7.0 server started at http://0.0.0.0:9876/
- 19 06 2017 11:08:05.331:INFO [launcher]: Launching browser Firefox with unlimited concurrency
- 19 06 2017 11:08:05.343:INFO [launcher]: Starting browser Firefox
- 19 06 2017 11:08:07.831:INFO [Firefox 54.0.0 (Mac OS X 10.12.0)]: Connected on socket gSLlZlto_kMup-EJAAAA with id 28055187
- LOG: 'error from getFirstParty', Error{}
- LOG: 'error from getThirdParties', Error{}
- Firefox 54.0.0 (Mac OS X 10.12.0): Executed 9 of 9 SUCCESS (0.013 secs / 0.006 secs)
- Counting objects: 207, done.
- Delta compression using up to 4 threads.
- Compressing objects: 100% (186/186), done.
- Writing objects: 100% (207/207), 768.57 KiB | 0 bytes/s, done.
- Total 207 (delta 96), reused 0 (delta 0)
- remote: Resolving deltas: 100% (96/96), completed with 3 local objects.
- To https://github.com/biancadanforth/lightbeam-we.git
- * [new branch] d3-visualization -> d3-visualization
- Branch d3-visualization set up to track remote branch d3-visualization from origin.
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git log --oneline -5
- 647a317 (HEAD -> d3-visualization, origin/d3-visualization) Draw third-party nodes as white triangles
- 1ebef2f Add js/lib/* to .eslintignore and .gitignore
- 4093d0c D3 drawing first and third parties
- f81f3a3 Initial D3 test
- c2ffe84 (upstream/master, master) Add structural/layout fixes to top bar. Fixes #56. (#61)
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git status
- On branch d3-visualization
- Your branch is up-to-date with 'origin/d3-visualization'.
- nothing to commit, working tree clean
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git status
- On branch d3-visualization
- Your branch is up-to-date with 'origin/d3-visualization'.
- nothing to commit, working tree clean
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git status
- On branch d3-visualization
- Your branch is up-to-date with 'origin/d3-visualization'.
- nothing to commit, working tree clean
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git push -u origin d3-visualization
- > husky - npm run -s prepush
- > husky - node v6.10.3
- 19 06 2017 11:14:06.352:INFO [karma]: Karma v1.7.0 server started at http://0.0.0.0:9876/
- 19 06 2017 11:14:06.357:INFO [launcher]: Launching browser Firefox with unlimited concurrency
- 19 06 2017 11:14:06.368:INFO [launcher]: Starting browser Firefox
- 19 06 2017 11:14:08.726:INFO [Firefox 54.0.0 (Mac OS X 10.12.0)]: Connected on socket wrD2Tpx_tBNwsNlkAAAA with id 21409987
- LOG: 'error from getFirstParty', Error{}
- LOG: 'error from getThirdParties', Error{}
- Firefox 54.0.0 (Mac OS X 10.12.0): Executed 9 of 9 SUCCESS (0.011 secs / 0.004 secs)
- Branch d3-visualization set up to track remote branch d3-visualization from origin.
- Everything up-to-date
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ npm test
- > lightbeam-we@0.0.1 test /Users/bdanforth/Projects/lightbeam-we
- > npm-run-all test:*
- > lightbeam-we@0.0.1 test:lint /Users/bdanforth/Projects/lightbeam-we
- > npm run lint:eslint
- > lightbeam-we@0.0.1 lint:eslint /Users/bdanforth/Projects/lightbeam-we
- > eslint --ext=.js,.json .
- > lightbeam-we@0.0.1 test:karma /Users/bdanforth/Projects/lightbeam-we
- > karma start --browsers Firefox --single-run
- 19 06 2017 11:20:47.110:INFO [karma]: Karma v1.7.0 server started at http://0.0.0.0:9876/
- 19 06 2017 11:20:47.114:INFO [launcher]: Launching browser Firefox with unlimited concurrency
- 19 06 2017 11:20:47.124:INFO [launcher]: Starting browser Firefox
- 19 06 2017 11:20:49.645:INFO [Firefox 54.0.0 (Mac OS X 10.12.0)]: Connected on socket jayFxSmZ27I3luW0AAAA with id 15301254
- LOG: 'error from getFirstParty', Error{}
- LOG: 'error from getThirdParties', Error{}
- Firefox 54.0.0 (Mac OS X 10.12.0): Executed 9 of 9 SUCCESS (0.013 secs / 0.006 secs)
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ npm test:karma
- Usage: npm <command>
- where <command> is one of:
- access, adduser, bin, bugs, c, cache, completion, config,
- ddp, dedupe, deprecate, dist-tag, docs, edit, explore, get,
- help, help-search, i, init, install, install-test, it, link,
- list, ln, login, logout, ls, outdated, owner, pack, ping,
- prefix, prune, publish, rb, rebuild, repo, restart, root,
- run, run-script, s, se, search, set, shrinkwrap, star,
- stars, start, stop, t, tag, team, test, tst, un, uninstall,
- unpublish, unstar, up, update, v, version, view, whoami
- npm <cmd> -h quick help on <cmd>
- npm -l display full usage info
- npm help <term> search for help on <term>
- npm help npm involved overview
- Specify configs in the ini-formatted file:
- /Users/bdanforth/.npmrc
- or on the command line via: npm <command> --key value
- Config info can be viewed via: npm help config
- npm@3.10.10 /usr/local/lib/node_modules/npm
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ sudo npm rm husky
- Password:
- > husky@0.13.4 uninstall /Users/bdanforth/Projects/lightbeam-we/node_modules/husky
- > node ./bin/uninstall.js
- husky
- uninstalling
- done
- - ci-info@1.0.0 node_modules/ci-info
- - find-parent-dir@0.3.0 node_modules/find-parent-dir
- - normalize-path@1.0.0 node_modules/husky/node_modules/normalize-path
- - is-ci@1.0.10 node_modules/is-ci
- - husky@0.13.4 node_modules/husky
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git push -u origin d3-visualization
- Branch d3-visualization set up to track remote branch d3-visualization from origin.
- Everything up-to-date
- bdanforth ~/projects/lightbeam-we (d3-visualization) $ git log --oneline -5
- 647a317 (HEAD -> d3-visualization, origin/d3-visualization) Draw third-party nodes as white triangles
- 1ebef2f Add js/lib/* to .eslintignore and .gitignore
- 4093d0c D3 drawing first and third parties
- f81f3a3 Initial D3 test
- c2ffe84 (upstream/master, master) Add structural/layout fixes to top bar. Fixes #56. (#61)
- bdanforth ~/projects/lightbeam-we (d3-visualization) $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement