Quine's fork of "Hyper" by Vercel, A terminal built on web technologies
Find a file
Raz Friman 6039acd7a9 Update Electron to v6 (#3785)
* 3.0.0

* 3.0.2

* Save

* Save

* Upgrade yarn lock packages

* update node-gyp and node-pty

* update travis and appveyor to node 12

* appveyor is outdated as always

* update travis to xenial

* update node-pty@0.9.0-beta26

* update yarn.lock

* update electron to 6.0.8

* move node-pty to the correct package.json

* Fix linting failure

* Update yarn lockfile to try to fix appveyor build

* Remove unnecessary changes from package.json

* Try to fix appveyor by using a newer image

* Fix linting after my last change

* update electron to 6.0.9

* install windows-build-tools on appveyor

* fix syntax

* switch back to 2017 image

* remove old resolutions field

* revert accidental version change

* update electron to 6.0.11 and electron-rebuild to 1.8.6

* downgrade yarn to 1.18

until this issue is resolved https://github.com/yarnpkg/yarn/issues/7584

* update node-gyp to 6.0.0 and generate a fresh yarn lockfile

* update react and a few other dependencies

* fix lint

* this should actually be electron-builder, I think!

* update a few dependencies

* change to electron-store

electron-config was renamed to electron-store a while ago

* update xterm to v4.1.0 and ora to 4.0.2

* move pify to app/package.json

* TODO: Revert maybe. Throw a fit on every change to maybe fix the resizing issues

* a

* fix react ref problem

* fix split view focus problem

* remove the unnecessary fit

* remove the init col and row

* fix the problem that cannot show about hyper

* update electron to 6.0.12

* fix lint

* add more todos for componentWillReceiveProps deprecation

* update babel and plugins


Co-authored-by: Juan Campa <juancampa@gmail.com>
Co-authored-by: Benjamin Staneck <staneck@gmail.com>
Co-authored-by: ivan <ivanwonder@outlook.com>
2019-10-10 21:20:26 +02:00
.circleci Update xterm to v4 (#3830) 2019-10-06 20:51:56 +02:00
.github PR template typo: fulfil/fulfill (#3710) 2019-05-31 17:30:30 -04:00
.vscode Update Electron to v6 (#3785) 2019-10-10 21:20:26 +02:00
app Update Electron to v6 (#3785) 2019-10-10 21:20:26 +02:00
assets Windows titlebar improvements (#1307) 2017-01-10 21:45:49 -08:00
bin Update Electron to v6 (#3785) 2019-10-10 21:20:26 +02:00
build Improve Hyper 3 Canary and Stable icons (#3466) 2019-02-09 14:40:39 +01:00
cli Upgrade eslint to v6 and add TypeScript linting (#3843) 2019-10-03 02:56:50 +02:00
lib Update Electron to v6 (#3785) 2019-10-10 21:20:26 +02:00
test CLI : Fix package existence check for scoped packages (#3044) 2018-05-23 23:32:38 +02:00
.editorconfig Fix for markdown files (#618) 2016-08-14 21:10:41 +02:00
.eslintignore Rename compiled_app to target and add target in eslintignore 2019-10-08 21:42:51 +02:00
.gitattributes git: always set js endline to lf (#2795) 2018-04-20 17:04:40 +02:00
.gitignore Rename compiled_app to target and add target in eslintignore 2019-10-08 21:42:51 +02:00
.travis.yml Upgrade eslint to v6 and add TypeScript linting (#3843) 2019-10-03 02:56:50 +02:00
.yarnrc Update Electron to v6 (#3785) 2019-10-10 21:20:26 +02:00
appveyor.yml Upgrade eslint to v6 and add TypeScript linting (#3843) 2019-10-03 02:56:50 +02:00
jsconfig.json Disable VSCode type chekcing (#2767) 2018-03-17 18:52:18 +01:00
LICENSE Point Spectrum badge to correct location (#3166) 2018-08-09 13:15:48 +02:00
package.json Update Electron to v6 (#3785) 2019-10-10 21:20:26 +02:00
PLUGINS.md Document that plugins can require Electron 2019-10-03 23:52:10 +02:00
README.md Add a way to fix macos compiler error to README.md (#3680) 2019-07-31 00:07:12 +02:00
release.js Upgrade eslint to v6 and add TypeScript linting (#3843) 2019-10-03 02:56:50 +02:00
tsconfig.json Rename compiled_app to target and add target in eslintignore 2019-10-08 21:42:51 +02:00
webpack.config.js Update Electron to v6 (#3785) 2019-10-10 21:20:26 +02:00
yarn.lock Update Electron to v6 (#3785) 2019-10-10 21:20:26 +02:00

macOS CI Status Windows CI status Linux CI status Changelog #213 Join the community on Spectrum

For more details, head to: https://hyper.is

Usage

Download the latest release!

Linux

Arch and derivatives

Hyper is available in the AUR. Use an AUR package manager like aurman

aurman -S hyper

macOS

Use Homebrew Cask to download the app by running these commands:

brew update
brew cask install hyper

Windows

Use chocolatey to install the app by running the following command (package information can be found here):

choco install hyper

Note: The version available on Homebrew Cask, Chocolatey, Snapcraft or the AUR may not be the latest. Please consider downloading it from here if that's the case.

Contribute

Regardless of the platform you are working on, you will need to have Yarn installed. If you have never installed Yarn before, you can find out how at: https://yarnpkg.com/en/docs/install.

  1. Install necessary packages:
  • Windows
    • Be sure to run yarn global add windows-build-tools from an elevated prompt (as an administrator) to install windows-build-tools.
  • macOS
    • Once you have installed Yarn, you can skip this section!
  • Linux (You can see here what your Linux is based on.)
    • RPM-based
      • GraphicsMagick
      • libicns-utils
      • xz (Installed by default on some distributions.)
    • Debian-based
      • graphicsmagick
      • icnsutils
      • xz-utils
  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Install the dependencies: yarn
  3. Build the code and watch for changes: yarn run dev
  4. To run hyper
  • yarn run app from another terminal tab/window/pane
  • If you are using Visual Studio Code, select Launch Hyper in debugger configuration to launch a new Hyper instance with debugger attached.
  • If you interrupt yarn run dev, you'll need to relaunch it each time you want to test something. Webpack will watch changes and will rebuild renderer code when needed (and only what have changed). You'll just have to relaunch electron by using yarn run app or VSCode launch task.

To make sure that your code works in the finished application, you can generate the binaries like this:

yarn run dist

After that, you will see the binary in the ./dist folder!

Known issues that can happen during development

Error building node-pty

If after building during development you get an alert dialog related to node-pty issues, make sure its build process is working correctly by running yarn run rebuild-node-pty.

If you are on macOS, this typically is related to Xcode issues (like not having agreed to the Terms of Service by running sudo xcodebuild after a fresh Xcode installation).

Error with c++ on macOS when running yarn

If you are getting compiler errors when running yarn add the environment variable export CXX=clang++

Error with codesign on macOS when running yarn run dist

If you have issues in the codesign step when running yarn run dist on macOS, you can temporarily disable code signing locally by setting export CSC_IDENTITY_AUTO_DISCOVERY=false for the current terminal session.