Commit Graph

74 Commits

Author SHA1 Message Date
renovate[bot]
fa3bb9344b chore(deps): update dependency cypress-example-kitchensink to v… (#4849)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-07-29 12:47:51 +06:30
renovate[bot]
879288942c chore(deps): update dependency gulp to version .x 🌟 (major) (#4816)
* chore(deps): update gulp to 4.0.2 🌟

* remove unused gulp-typescript package

* rename gulpDebug dep for consistency

* remove run-sequence dep - replace with new gulp.sequence and gulp.parallel

* pass new sourcemaps arg through to gulp-coffee

* fix favicon task that I broke. 😬

* fix extension gulpfile - needed those returns :P

- also update vinyl-source-stream to avoid vinyl errors during gulp
tasks

* Fix example gulpfile to allow empty sources


Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2019-07-26 14:02:44 +06:30
Ben Kucera
7857dac907 [internal] use webpack for builds (#4103)
* add webpack

* fix build proccess

* fix reporter build and test

* fix reporter test .css

* use apply(window, ...) since strict mode in webpack

* temp 05/13/19 [skip ci] resolver

* temp 05/14/19 [skip ci] webpack w/ root level symlinks

* run ci

* minor fixes

* fix link-packages script

* hopefully fix mac build

* re-add build-prod script in reporter

* fix typo in link-packages script

* fix lint errors

* fix node-version

* namespace files in webpack

* bust circle ci cache

* bust circle ci cache 2

* remove deps

* bust circle ci cache 3

* bust circle ci cache (launcher)

* ok circleci, you win. I will change all the cache keys

* update snapshot: not sure why added stack lines

* add mocha to reporter devDeps

* separate build file for reporter

* remove unneeded code

* node-sass-globbing use relative imports for appveyor

* add debugging for appveyor failure

* node-sass-globbing force unix paths for windows

* node-sass-globbing force unix paths for windows 2

* node-sass-globbing force unix paths for windows in runner

* run ci

* add checksum to packages caches

* bust circle ci cache (sub packages)

* testing code for appveyor env vars

* fix appveyor env vars for branchname
06-00000026

* fix binary build script, smoke test catch errors, include pkg mains
03-0000000a

* build binary in appveyor for this branch
07-00000047

* fix binary unit test, revert mocha upgrade in root, fix e2e specs
02-00000004

* statically replace symlinks at build time, add test, remove proxy packages code
03-00000002

* oops, update snapshot
04-00000049

* bump circle packages cache
02-00000005

* fix path.win32 on windows, add test for it
00-00000058

* for some reason packages ci cache is not including `rebuild-node-sass` in node_modules/.bin, and npm does not recreate .bin links if a node_modules folder already exists. so Im bumping all the npm caches, again
00-00000003

* emit during webpack-dev-server watch mode
02-00000020

* try revert circle.yml
02-0000002f

* try revert everything
03-0000003b

* Revert "try revert everything"

This reverts commit be125b88ff.

* no circle cache now
02-00000013

* remove logging in reporter build
06-00002a41

* Merge branch develop of github.com:cypress-io/cypress into webpack-runner
02-0000089b

* make build scripts DRY
04-00000a7f

* fix missing fonts, better watch mode
06-00003053

* use webpack --progress in watch mode
00-00000582

* move webpack config files into dedicated package
05-000023bf

* build desktop-gui with webpack, use relative scss url()s
03-00001801

* add timings info, fix configs
07-00005582

* enable sourcemaps "eval", fix desktopgui test
04-00005a08

* try 2: fix desktopgui test
01-0000058e

* fix lint
03-00000b10

* fix snapshot (very minor do not worry)
04-000014a4

* code cleanup
00-00007a4f

* try disable devtool
07-0000a97a

* remove cypress:// devtool sourceURL mapping to prevent cross-domain on electron
00-000056e4

* re-enable eval sourcemap in dev and prod
06-000051e6

* code cleanup
02-000056ae

* refactor node-jsdom setup for tests
00-000041a2

* re-enable sourceURL protocol, enable crossorigin script on runner to appease electron

* smoke tests for static assets in binary build script, disable sourceURL protocol mapping, more consistent dev/prod webpack builds

* use cross-env for desktop-gui

* desktop-dui: expect development NODE_ENV during build script (as has been in past)

* fix build script unit test

* fix build script unit test for real

* fix sourcemaps for dev/prod, add comments, add build static asset tests

* add cross-env to runner devDeps

* fix unit tests for build binary script

* fix whitespace

* add postcss autoprefixer + staticAsset tets

* add eslintrc to scripts/unit

* tabs -> spaces

* tabs -> spaces

* fix binary/util scripts

* fix testStaticAssets in build script

* fix extension requiring node socket

* fix unit-test for binary build script

* fix unit test for runner/reporter

* disable sourcemaps/eval in production

* fix disable sourcemaps in prod code

* resort jsons w/ new lint

* linting fixes

* runner/package.json add back rebuild-node-sass

* no circle cache again

* fix circle.yml

* try appveyor again

* fix binary build: remove "timers" from server/package.json.files

* fix testStaticAssets false-positive sourcemap detection (due to diff package)

* fix 2 failing e2e tests (run in chrome for now)
use build-prod scripts in binary-build script
add build-prod scripts to all packages

* a string is no regex

* correct merge: global_mode_spec

* fix all snapshot screenshot dimensions

* fix all snapshot screenshot dimensions (again)

* fix testStaticAssets development -> production

* Revert "fix all snapshot screenshot dimensions (again)"

This reverts commit d9022ef950.

* Revert "fix all snapshot screenshot dimensions"

This reverts commit 4f7628a051.

* helpers/e2e: only normalize screenshot dimensions NOT on electron

* post-task: windows build don't build on this branch

* post-task: un-bump circleci cache

* post-task: bump circleci cache packages/node_modules to v9

* cleanup: fix eol-newline, remove unneeded eslintrc

* bump circleci cache

* run rebuild-node-sass inside webpack build config

* bump circleci cache

* use cache version from env variable on circle

* use custom command to save cache for most packages

* add custom restore cache command

* restore 2 packages separately

* allow passing package path to restore

* pass explicit path to package to restore

* add restore-caches and save-caches

* print name for restoring cache commands

* print name when storing cache

* print .bin when saving cache

* fix path to .bin

* print launcher .bin

* show .bin for desktop-gui

* print bins

* update npm version

* update npm version - try 2

* update npm version - try 3

* remove circleci debugging print commands

* Revert "remove circleci debugging print commands"

This reverts commit 248966efcd.

* add TERM=xterm to Circle

* Revert "Revert "remove circleci debugging print commands""

This reverts commit cf77273b10.

* Revert "add TERM=xterm to Circle"

This reverts commit dc77c94c57.

* remove --serial arg from run all scripts

* add web-config package to cache

* simplify circleci build job

* circleci: try rmrf node_modules/@packages before install

* appveyor: try removing --serial from install script

* Revert "appveyor: try removing --serial from install script"

This reverts commit 7ef619ff30.

* use appveyor from develop

* use preinstall removing subpackage symlinks
fix webpack config typescript errors
fix path to rebuild-node-sass in packages/web-config
assert replace minimum number of symlink requires

* test binary build [build binary]

* fix transformRequires code [build binary]
2019-07-18 12:11:27 -04:00
renovate[bot]
dbc0db81fe chore(deps): Update dependency cypress-example-kitchensink to v… (#4721)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-07-16 12:20:37 +06:30
Ben Kucera
fbd523615e [internal] Lint typescript, json, new eslint rules (#4449)
* temp 07/01/19 [skip ci] main lint files

* use lint-staged scripts

* fix all auto-fixable eslint errors

* manually fix lint issues in files

* temp 07/01/19 [skip ci]

* bump eslint plugin versions, update circle.yml

* [lint fix] remaining js files

* update vscode/settings.json

* add back stop-only

* use stop-only for linting .onlys

* fix verify_spec, build_spec

* update json plugin

* relint & apply corrections

* fix appveyor.yml not cleansing env vars (very bad)

* dont echo commit message in appveyor script

* retry build &

* re-add & upgrade lint-staged

* update contributing docs

* only let stop-only catch staged changes
2019-07-12 13:59:44 -04:00
renovate[bot]
bd9233f192 chore(deps): update dependency cypress-example-kitchensink to v… (#4688)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-07-10 12:07:42 +06:30
Brian Mann
17520bd4b2 remove dead code [skip ci] 2019-06-27 17:09:18 -04:00
renovate[bot]
2dc1ed6a93 chore(deps): Update dependency cypress-example-kitchensink to version 1.5.4 🌟 (#4378)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-06-04 12:49:27 +06:30
Gleb Bahmutov
28c75d0bcc upgrade kitchensink to get rid of http-server dependency (#4107) 2019-05-02 17:04:33 -04:00
Gleb Bahmutov
b96066a396 chore: linting example spec files 2019-05-01 10:18:33 -04:00
renovate[bot]
06fa095961 chore(deps): update dependency cypress-example-kitchensink to version 1.5.2 🌟 (#4079)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-05-01 09:11:10 +06:30
renovate[bot]
9372bc3f67 chore(deps): update dependency gulp-rev-all to version 0.9.8 🌟 (#4061)
* chore(deps): update gulp-rev-all to 0.9.8 🌟

* update rev-all usage to match new 0.9 API


Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2019-04-30 15:56:55 +06:30
renovate[bot]
875186ed36 chore(deps): update dependency bin-up to version 1.2.0 🌟 (#4047)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-29 16:11:09 +06:30
renovate[bot]
9ef619cddf chore(deps): Update dependency shelljs to version 0.8.3 🌟 (#4049)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-29 13:59:33 +06:30
Jennifer Shehane
d7d9e5f9fb Downgrade cachedir and commander packages back to versions that support Node 4
- snapshots have only updated whitespace 👍
2019-03-15 12:31:33 +06:30
Jennifer Shehane
559be7b991 cypress-example-kitchensink from 1.5.0 to 1.5.1 (#3700) 2019-03-13 16:45:55 +06:30
Gleb Bahmutov
2ab7cf1830 chore: updates example built files 2019-02-07 10:50:12 -05:00
renovate[bot]
04ef99fcb8 chore(deps): update dependency cypress-example-kitchensink to version 1.5.0 🌟 (#3287)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-04 17:33:03 +06:30
renovate[bot]
53bb349060 chore(deps): update gulp-clean to 0.4.0 🌟 (#3288)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-04 17:28:53 +06:30
renovate[bot]
559cb5f91d chore(deps): update cypress-example-kitchensink to 1.4.0 🌟 (#3272)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-01 13:32:32 +06:30
renovate[bot]
ff5c88ada1 chore(deps): pin dependency @cypress/env-or-json-file to version 2.0.0 🌟 (#3012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-01-31 16:25:16 +06:30
Gleb Bahmutov
a5a80e6153 chore: bump cypress-example-kitchensink (#3085)
* chore: bump cypress-example-kitchensink

* update to kitchensink 1.2.0
2019-01-14 10:32:26 -05:00
Gleb Bahmutov
13178b01cb Pin prod dependencies 3025 (#3026)
* pin packages/electron prod dependencies

* pin packages/example

* pin packages/extension

* pin packages/https-proxy

* pin packages/launcher

* pin packages/server

* pin packages/ts
2019-01-02 13:58:20 -05:00
Brian Mann
2333d04a54 secure cookie error crash (#2685)
- fixes #1264 
- fixes #1321 
- fixes #1799  
- fixes #2689
- fixes #2688
- fixes #2687 	
- fixes #2686
2018-11-01 12:34:37 -04:00
Chris Breiding
2a8478fc36 add dependency check pre-condition to all packages (#2580) 2018-10-15 16:42:32 -04:00
Jennifer Shehane
3dc4ff9fd1 example: Add instructions for updating the example app [skip ci] 2018-07-23 12:10:04 -04:00
Gleb Bahmutov
7308e6eecc Fix launcher transpile (#2194)
* updated examples specs

* fix version of bluebird types in launcher
2018-07-23 12:22:56 +02:00
Jennifer Shehane
0f9abeab80 update kitchen-sink example to 1.0.2 release (#2063) 2018-07-12 17:49:34 -04:00
Brian Mann
ce32b80faa bump deps [skip ci] 2018-05-30 00:16:05 -04:00
Chris Breiding
5faed29a97 Make example scaffolding async (#1798)
* use async globbing to get example specs

* add bluebird as dependency to packages/example
2018-05-29 13:38:56 -04:00
Brian Mann
8f0bc986b0 missing deps causing binary build to fail 2018-05-29 07:18:08 -04:00
Jennifer Shehane
eaa182bb69 update type and clear errors to accurately describe what is 'typeable' or 'clearable' (#1651)
* update `type` and `clear` errors to accurately describe what is 'typeable' or 'clearable'

* newly built assertion for example.spec from 1.0.1 update

* 'the' to 'a' - reads better in err message

* update specs to reflect type change in err msg.
2018-05-15 13:39:51 -04:00
SEBIRE Florian
d564ddbe69 fix(doc): fix 404 link (#1667)
* fix(doc): fix 404 link

The `example_spec.js` has been split up so we redirect to the corresponding directory

* Updated a few references from example_spec -> example tests [skip ci]
2018-05-15 11:26:43 -04:00
Jennifer Shehane
4be3a3fd2f bump dep 'example-kitchensink' 2018-05-14 14:01:48 -04:00
Jennifer Shehane
5fc1b5747f Issue 1460 - Update onboarding modal to display split 'examples' specs (#1462)
* Update onboarding dialog to handle new kitchen-sink examples

- Now display ‘integrationExampleFolder’ in messaging instead of file
- Does not display children files of ‘examples’ folder (it’s way too
much) and instead shows ‘examples’ as a closed folder in preview
- Reworded onboarding message to grammatically make sense with folder
- updated finder to open ‘integrationExampleFolder’
- update fixture to reflect new kitchen sink structure.

* bump kitchensink example to 1.0.0

* handle multiple spec files when converting kitchen-sink to example

* handle multiple example spec files when scaffolding

* handle multiple example files in desktop-gui

* update unit tests for new example specs

* fix integration spec
2018-05-11 17:00:02 -04:00
Gleb Bahmutov
938190aaa5 linted example spec and include example plugins folder 2018-01-08 13:24:53 -05:00
Jennifer Shehane
2435992328 example: bump kitchen-sink to 0.8.3 (cy.exec w/ platform updates) (#1095) 2017-12-19 13:40:55 -05:00
Brian Mann
8033fbf819 Issue 995 (#996)
* better explain contributing to the driver

- update npm tasks to reflect newest conventions

* better explain contributing to the desktop-gui

- update npm tasks to reflect newest conventions

* synchronize content changes

* capitalize all package readme's for consistency

* better explain contributing to the runner, synchronize content changes

* better explain contributing to the server

* synchronize content

* synchronize content

* synchronize content

* synchronize content

* synchronize content

* synchronize content

* better contribution guidelines by redirecting users to package specific readme's

* synchronize content

* fix various content mistakes

* simplify contributing

* removed dead files

* bump zunder

* lock zunder to 5.1.0
2017-12-02 18:51:42 -05:00
Jennifer Shehane
0e0f75cfe9 example: bump kitchen-sink version 2017-10-16 17:42:31 -04:00
Gleb Bahmutov
a0c08bbdf3 Windows support (#484)
* try installing on Windows

* Handle windows setup

- no browser detection on windows yet, just placeholder code
- symlink types

* add appveyor file

* add appveyor windows build

* use execa to run server unit tests

* run server unit tests on appveyor

* ignore root install errors

* upgrade rebuild-node-sass

and work on Json unit test that fails on Windows

* print npm version

before installing, commented out caching node modules in the root

* a few small tweaks for windows support

* fix bin-up in launcher project

use bin-up@1.1.0 for windows support, close #491

* cli: build script on Windows, close #492

* cli: build errors are fatal

* use cross-env in extension

Fixes environment variables on Windows in #490

* extension: fix 3 tests on Windows

1 more broken test remaining

* extension: use EOL before comparing text

* example: update test for Windows

* example: replace build.sh with build.js

Close #488

* remove trailing whitespace

* cli: build script again

* server: work on unit tests for windows

* binary: add windows as build platform

* windows: try building binary

started work on building on CI for windows
2017-09-25 10:17:28 -04:00
Chris Breiding
752964d719 example: eslint auto-fixes 2017-09-18 12:50:00 -04:00
Brian Mann
4032240541 example: bump kitchensink dep, get latest example spec and support files 2017-09-10 21:45:39 -04:00
Brian Mann
6aa032920e example: remove release tasks [skip ci] 2017-09-10 20:31:19 -04:00
Brian Mann
ca47df1d85 example: update to latest support scaffolding, ignore eslint example cypress support 2017-09-10 20:31:05 -04:00
Brian Mann
b5f6f670b3 example: write the correct regexp to strip both kinds of eslint comments 2017-09-10 20:30:40 -04:00
Brian Mann
0ac80795e1 Merge pull request #392 from cypress-io/example/eslint-replacer
example: Remove eslint comments from kitchen-sink when converting for seeded example
2017-09-10 20:11:53 -04:00
Brian Mann
ee7caf961a hard deprecate Cypress.Log.command 2017-09-06 17:38:05 -04:00
Brian Mann
a95e5f1a45 root: move common .eslint to root, remove duplicates 2017-08-29 14:45:55 -04:00
Jennifer Shehane
90cb7f5326 let -> const 2017-08-29 09:10:31 -04:00
Jennifer Shehane
7503bae677 example: Remove eslint comments from kitchen-sink when converting for seeded example 2017-08-28 16:58:12 -04:00