Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,779 changes: 1,899 additions & 1,880 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"opencollective": "^1.0.3",
"prop-types": "^15.5.10",
"public-ip": "^2.0.1",
"react": "^16.4.1",
"spotify-node-applescript": "^1.1.0",
"styled-jsx": "2.2.6",
"systeminformation": "^3.4.1"
Expand All @@ -53,7 +54,6 @@
"jest": "^20.0.4",
"lint-staged": "^4.0.0",
"prettier": "^1.5.2",
"prop-types": "^15.5.10",
"webpack": "2.2.0-rc.1",
"webpack-node-externals": "^1.3.3",
"xo": "^0.18.2",
Expand Down
3 changes: 1 addition & 2 deletions src/lib/core/hyperline.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react'
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import Component from 'hyper/component'
import decorate from 'hyper/decorate'

class HyperLine extends Component {
Expand Down
3 changes: 1 addition & 2 deletions src/lib/plugins/battery.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/* eslint no-undef: 0 */
// Note: This is to stop XO from complaining about {navigator}

import React from 'react'
import Component from 'hyper/component'
import React, { Component } from 'react'
import leftPad from 'left-pad'
import BatteryIcon from './battery/battery-icon'

Expand Down
3 changes: 1 addition & 2 deletions src/lib/plugins/battery/charging.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react'
import Component from 'hyper/component'
import React, { Component } from 'react'
import SvgIcon from '../../utils/svg-icon'

export default class Charging extends Component {
Expand Down
3 changes: 1 addition & 2 deletions src/lib/plugins/battery/critical.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react'
import Component from 'hyper/component'
import React, { Component } from 'react'
import SvgIcon from '../../utils/svg-icon'

export default class Critical extends Component {
Expand Down
3 changes: 1 addition & 2 deletions src/lib/plugins/battery/draining.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react'
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import Component from 'hyper/component'
import SvgIcon from '../../utils/svg-icon'

export default class Draining extends Component {
Expand Down
3 changes: 1 addition & 2 deletions src/lib/plugins/cpu.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react'
import Component from 'hyper/component'
import React, { Component } from 'react'
import { currentLoad as cpuLoad } from 'systeminformation'
import leftPad from 'left-pad'
import SvgIcon from '../utils/svg-icon'
Expand Down
3 changes: 1 addition & 2 deletions src/lib/plugins/docker.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { exec as ex } from 'child_process'
import React from 'react'
import Component from 'hyper/component'
import React, { Component } from 'react'
import SvgIcon from '../utils/svg-icon'

class PluginIcon extends Component {
Expand Down
3 changes: 1 addition & 2 deletions src/lib/plugins/git-status.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import exec from 'child_process'
import shell from 'electron'
import React from 'react'
import Component from 'hyper/component'
import React, { Component } from 'react'


/*
Expand Down
3 changes: 1 addition & 2 deletions src/lib/plugins/hostname.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import os from 'os'
import React from 'react'
import Component from 'hyper/component'
import React, { Component } from 'react'
import SvgIcon from '../utils/svg-icon'

class PluginIcon extends Component {
Expand Down
3 changes: 1 addition & 2 deletions src/lib/plugins/ip.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react'
import Component from 'hyper/component'
import React, { Component } from 'react'
import publicIp from 'public-ip'
import SvgIcon from '../utils/svg-icon'

Expand Down
3 changes: 1 addition & 2 deletions src/lib/plugins/memory.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react'
import Component from 'hyper/component'
import React, { Component } from 'react'
import { mem as memoryData } from 'systeminformation'
import leftPad from 'left-pad'
import SvgIcon from '../utils/svg-icon'
Expand Down
3 changes: 1 addition & 2 deletions src/lib/plugins/network.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react'
import Component from 'hyper/component'
import React, { Component } from 'react'
import { networkStats } from 'systeminformation'
import SvgIcon from '../utils/svg-icon'

Expand Down
3 changes: 1 addition & 2 deletions src/lib/plugins/spotify.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react'
import Component from 'hyper/component'
import React, { Component } from 'react'
import spotify from 'spotify-node-applescript'
import SvgIcon from '../utils/svg-icon'

Expand Down
3 changes: 1 addition & 2 deletions src/lib/plugins/time.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react'
import Component from 'hyper/component'
import React, { Component } from 'react'
import moment from 'moment'
import SvgIcon from '../utils/svg-icon'

Expand Down
3 changes: 1 addition & 2 deletions src/lib/plugins/uptime.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import os from 'os'
import React from 'react'
import Component from 'hyper/component'
import React, { Component } from 'react'
import formatUptime from '../utils/time'
import SvgIcon from '../utils/svg-icon'

Expand Down
3 changes: 1 addition & 2 deletions src/lib/utils/svg-icon.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react'
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import Component from 'hyper/component'

export default class SvgIcon extends Component {
static propTypes() {
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
libraryTarget: 'commonjs'
},
plugins: [ new webpack.DefinePlugin({ 'global.GENTLY': false }) ],
externals: [ nodeExternals(), 'hyper/component', 'hyper/notify', 'hyper/decorate', 'react' ],
externals: [ nodeExternals(), 'hyper/notify', 'hyper/decorate', 'react' ],
module: {
rules: [
{
Expand Down