Commit Graph

46 Commits

Author SHA1 Message Date
Brian Mann
0a43ad40a3 cli: use fs async methods 2017-06-29 13:32:46 -04:00
Gleb Bahmutov
3cbe9a0356 test zip install 2017-06-28 17:33:03 -04:00
Gleb Bahmutov
188708275c cli: allow installing local binary zip file, close #233 2017-06-28 17:11:34 -04:00
Gleb Bahmutov
d9fc7f68a5 working on binary zip and unzip (#222)
* working on binary zip and unzip

* ignore support folder
2017-06-27 09:40:10 -04:00
Gleb Bahmutov
7eb03cfaad Issue 200 (#213)
* cli: use @cypress/sinon-chai, close #200

* server: use @cypress/sinon-chai

* driver: use @cypress/sinon-chai instead of git reference
2017-06-26 10:09:48 -04:00
Gleb Bahmutov
91ec7a0dd8 Move deploy scripts (#205)
* root: move deploy scripts from server to top level scripts

* remove postinstall download stop variable

* deploy: list all dev dependencies

* working on deploy run

* WIP comment out obsolete run-sequence

* add cypress-io/cypress-example-recipes

* root: enable run all to skip package or packages by name

* deploy: move coffee lint to root

* deploy: make bump async

* deploy: WIP update deploy + build processes for monorepo

* Add cypress-io/cypress-example-module-api project build to bump

* remove commas

* Add project cypress-io/cypress-test-ci-environments to list of projects to test

* deploy: WIP refactor classes -> functional

* deploy: don't copy node_modules or prune -> just npm install

* cli: consolidate important fields into monorepo root, pull out and build

* all: cleanup package.json, remove versions, license, repo information

-move some deps to devDeps

* all: convert es5 -> es6 + fix linting

* deploy: specify files to include when copying packages for dist

* deploy: convert coffee script in place + remove coffee files
2017-06-23 10:41:37 -04:00
Gleb Bahmutov
4520c2b6dd feat(run): handle failed tests returned by the cypress run (#180)
* feat(run): handle failed tests returned by the cypress run

* cli: rework errors thrown from cypress vs xvfb

* small tweak

* cli: test xvfb start error handling
2017-06-22 12:00:17 -04:00
Gleb Bahmutov
708a57ccd6 cli: use published @cypress/xvfb package, close #168 (#178)
* cli: use published @cypress/xvfb package, close #168

* public xvfb version

* remove pre-git

* cypress/xvfb name 1.0.3

* remove commit wizard script
2017-06-21 14:19:35 -04:00
Gleb Bahmutov
90db59ab0a root, docs, cli: quickly check missing dependencies on prebuild 2017-06-21 12:18:53 -04:00
Brian Mann
721f97b0e5 Merge pull request #173 from cypress-io/attach-cypress
Attach cypress by default, use `--detached` CLI flag to get old behavior
2017-06-20 16:33:48 -04:00
Gleb Bahmutov
4dd981d14f cli: remove unnecessary open 2017-06-20 16:26:02 -04:00
Gleb Bahmutov
82c3a0fff0 cli: specify exact prod dependency versions, close #164 2017-06-20 13:33:58 -04:00
Gleb Bahmutov
edb0166a2d remove commented out line 2017-06-20 11:59:28 -04:00
Gleb Bahmutov
9b28249152 cli: add --detached mode 2017-06-20 11:56:49 -04:00
Gleb Bahmutov
82e8fe395c cli: run Cypress app in attached mode, close #147 2017-06-20 11:33:39 -04:00
Gleb Bahmutov
7ff2c8a840 Merge branch 'issue-151' 2017-06-20 10:23:54 -04:00
Gleb Bahmutov
61c61cd76e cli: use same path to report error in spawn, close #151 2017-06-20 10:23:22 -04:00
Brian Mann
c00ae640bd Merge pull request #171 from cypress-io/issue-167
cli: make version mismatch when verifying a warning, close #167
2017-06-20 10:16:50 -04:00
Chris Breiding
e27c5883a3 Merge branch 'master' into 0.20.0-desktop-gui-changes 2017-06-20 10:05:44 -04:00
Gleb Bahmutov
ca073d59ce cli: make version mismatch when verifying a warning, close #167 2017-06-20 09:21:36 -04:00
Gleb Bahmutov
996bf560fa cli: report relative path from inside the node_modules 2017-06-19 18:20:06 -04:00
Gleb Bahmutov
a688c5c227 Merge branch 'master' of github.com:cypress-io/cypress-monorepo 2017-06-19 17:37:50 -04:00
Gleb Bahmutov
5767175dae cli: fix typo in download not found code path, close #166 2017-06-19 17:37:40 -04:00
Brian Mann
b7731d0326 cli: use cypress-releaser for releasing 2017-06-19 17:17:55 -04:00
Brian Mann
471d8740b0 cli: copy .release.json into build 2017-06-19 17:07:07 -04:00
Chris Breiding
a4ae7a8f75 Merge branch 'master' into 0.20.0-desktop-gui-changes 2017-06-19 14:18:19 -04:00
Brian Mann
364995ac89 cli: readme typo 2017-06-19 13:02:20 -04:00
Brian Mann
104b67dd81 cli: always nuke build dir first 2017-06-19 13:02:15 -04:00
Brian Mann
3e72e7be1c cli: WIP build script to generate cli/build folder 2017-06-19 12:59:27 -04:00
Brian Mann
3d7039ddf4 cli: don't track build/package.json 2017-06-19 12:54:51 -04:00
Gleb Bahmutov
b331cb54f0 Issue 156 cli node 0.12 (#158)
* cli: set engines node > 0.12

* cli: trying to transpile using babel-register on the fly

* downgrading fs-extras to 1.0.0 to let it work on Node 0.12

* lint and enforce single quote on strings

* remove individual plugins

* cli: include dist folder in the npm package

* cli: add build step on prepublish, add readme

* cli: use default options, because code is transpiled

* cli: output into es5

* cli: see published size, a few missing requires

* cli: replace const with var in node 0.12

* cli: cache node_modules on CircleCI

* cli: back to use const that is not changed to let by eslint

* cli: build separate package for npm publishing

* remove postinstall step

* cli: remove npm vs dev install check
2017-06-19 12:14:06 -04:00
Chris Breiding
33aa07a7a1 Merge branch 'master' into 0.20.0-desktop-gui-changes 2017-06-15 10:27:02 -04:00
Chris Breiding
105479c78e cli/server: use run-project instead of run and fix specs 2017-06-14 14:18:19 -04:00
Gleb Bahmutov
0cd395d5df cli: check dependencies before testing, close #156 (#160)
* cli: check dependencies before testing, close #156

* add missing dependency

* cli: move ramda from dev dependencies to prod

* print cli bin

* cli: use the right tool name
2017-06-14 11:43:13 +02:00
Loren Norman
f947e0c55d Merge remote-tracking branch 'origin/master'
# Conflicts:
#	docs/source/guides/getting-started/installing-cypress.md
2017-06-13 15:49:54 -04:00
Chris Breiding
e333e6d82e server: use —run to signal headless instead of —project 2017-06-13 13:52:31 -04:00
Gleb Bahmutov
8e1776c870 Issue 146: uniform CLI error reporting (#149)
* cli: shorter install message without undefined for #146

* cli: show relative path after install

* cli: debug install process

* cli: print message if using CYPRESS_VERSION

* cli: tests for CYPRESS_VERSION install

* cli: needed version message

* cli: verify app after download on install

* cli: do not verify app on install, wait until it runs

* cli: add verify command

* cli: good messags for missing app binary

* cli: xvfb error

* add missing app error

* linting

* cli: errors reported using same function

* print stack in error message for some errors

* show path checked

* use same error mechanism for download errors

* cli: unzip should report error the same way as the rest of CLI

* update some error language

* consolidate urls in error messages

* show terminal info

* terminal check outside of code

* cli: detect CI, do not use progress bar

* cli: test mock bar

* remove context.only
2017-06-09 17:37:48 -04:00
Gleb Bahmutov
1840027951 cli: use bin-up 2017-06-08 10:03:18 -04:00
Gleb Bahmutov
d0b7a72b3d Remove standard in favor of eslint (#144)
* docs: use eslint instead of standard

* example: eslint instead of standard

* cli: eslint for CLI
2017-06-08 09:34:06 -04:00
Brian Mann
bbe6602362 cli: fixes failing tests due to modifying dist dir 2017-06-06 14:50:51 -04:00
Brian Mann
dc9b835a58 cli: enable returning node module interface
-have binary call directly into the CLI
2017-06-05 18:31:44 -04:00
Brian Mann
dc99198efc cli: only publish bin and lib 2017-06-05 18:31:17 -04:00
Brian Mann
0867e4f971 cli: remove deprecated circle.yml 2017-06-05 18:31:04 -04:00
Brian Mann
b2bad45cec cl: change logic to always download unless told via CYPRESS_DOWNLOAD env var 2017-06-05 18:06:45 -04:00
Brian Mann
2562f56c72 cli: install the cypress binary into top level 'dist' 2017-06-05 18:06:20 -04:00
Brian Mann
101aac9c9b cli: move cli into subfolder, refactor cli scripts
-cleanup root monorepo files
-prevent downloading cypress binary when in development
-remove app-module-path
2017-06-05 17:26:51 -04:00