Commit Graph

43 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
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
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
559be7b991 cypress-example-kitchensink from 1.5.0 to 1.5.1 (#3700) 2019-03-13 16:45:55 +06:30
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
Chris Breiding
2a8478fc36 add dependency check pre-condition to all packages (#2580) 2018-10-15 16:42:32 -04: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
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
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
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
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
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
3f51777cb7 example: use bin-up to find eslint 2017-06-08 09:35:28 -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
Gleb Bahmutov
f3595761d0 all: set private true in each internal package.json 2017-06-07 16:27:00 -04:00
Brian Mann
0d0a12baa6 all: postinstall better messages 2017-05-31 14:00:33 -04:00
Brian Mann
817758e4b6 all: symlink all cypress packages in root node_modules for easy access 2017-05-31 12:51:35 -04:00
Gleb Bahmutov
a7877921a4 all: need to run build all command separately, fix #79 2017-05-23 09:07:55 -04:00
Gleb Bahmutov
f83b86a91a example: lint the JS files (#63)
* add standard linter to example project

* lint bin/convert script

* lint more js files, run linter pretest
2017-05-19 13:27:06 -04:00
Brian Mann
54fe5166e9 all: remove running npm run build in root monorepo - move concerns into each package
-this prevents situations like building the docs twice
-this enables each package to more finely tune how and when it builds
2017-05-17 17:57:52 -04:00
Brian Mann
2e892fb542 make package scripts consistent - fixes #43 2017-05-17 12:20:06 -04:00
Chris Breiding
4a985657ba put clean-deps script in every package 2017-05-09 11:12:10 -04:00
Chris Breidng
379013694a import example 2017-04-21 10:55:50 -04:00