Commit Graph

12 Commits

Author SHA1 Message Date
Zachary Williams
c66a890229 feat: scaffold integration files in app (#18763) 2021-11-15 09:44:49 +10:00
Zach Panzarino
da3e49bf59 feat: updated scaffolding, new project & user banners, ability to remove scaffolding (#15826)
* update example build scripts

* remove old scaffolding relics

* update

* Fix some issues with scaffolding

* Correctly fix issues with scaffolding

* Replace old onboarding with new banner

* Add ability to remove scaffolded files

* Add banner for new users

* Update tests for new scaffolding

* Compare file sizes before removing

* Add tests for remove file

* Save when user opened cypress rather than boolean

* Update intro link and add tets for banners

* fix small issue

* Update design and copy of onboarding banners

* Update style of new spec file button

* Improve outline button active statE

* Update design of new project a bit more

* Fix specs list tests

* Update banner copy and layout

* Update banner copy and layout

* Switch to docs style alerts

* Fix testing logic

* Update banner styles a bit

* Update banners

* Add confirmation modal for delete specs

* Update tests and fix states

* Upgrade kitchensink dep

* Upgrade kitchen sink version and fix unit tests

* Update integration scaffolding test

* Add further description to warning modal

* Update test for new user and new project case

* Remove check to file tree when removing files

* Update kitchensink version

* Fix edge case where banner could appear when no files have been scaffolded

* Fix tests

* Update styling for 'note' when deleting files

* fix issue with path on windows

* Change remove command

* Fix rm dir

* Fix for windows

* Try to use appveyor to test

* appveyor please

* getting some feedback

* Why doesn't this work

* more info

* I have a feeling this works

* maybe its the other path

* please

* this is the one

* this is it

* this should work

* try reverting that change that might not be needed

* remove appveyor testing scaffolding

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-06-22 10:59:47 -05:00
Dmitriy Kovalenko
c405ee89ef feat: create-cypress-tests installation wizard (#9563)
* Remove unused stuff

* Fix eslint errors

* Use local cypress running script

* Fix dependency resolution

* Revert "Fix dependency resolution"

This reverts commit 01a70be211.

* Add @cypress/react CI

* Properly resolve @types pacakges

* Run tests with mocha

* Fix cypress tests

* Fix or skip some specs

* Add retries to the card-spec.js

* Remove jest mocks

* Run e2e examples on CI

* Fix yarn cache key

* Fix e2e examples jobs

* Rename cypress-react-unit-test with @cypress/react

* Fix circleci.yml

* Revert "Fix e2e examples jobs"

This reverts commit efcc7c4d19.

* Revert " Rename cypress-react-unit-test with @cypress/react"

This reverts commit 4febfcc82b.

* Replce cypress-react-unit-test with @cypress/react

* Persist build artifacts

* Fix working directory paths circle.yml

* Fix more CI

* adding yarn.lock files

* Make package.json for  folder

* Remove .npmrc

* Update circle.yml

* Remove unused files

* Copy plugins files to the "dist" folder

* Fix links to the github repos

* Move init wizard from npm/react/init to npm/wizard

* Move init wizard from npm/react/init to npm/wizard

* Implement initial vue template

* Run wizard tests on CI

* Refactor continue: bool to success: bool for better code readability

* Fix circleci.yml

* Use only absolute paths for tests

* Stub process.exit calls

* Remove useless comments

* Add installation cypress to the wizard logic

* More improvements

* Include packages/examples/cypress into git

* Commit new files

* Use packages/example as SST for generated files

* Last improvements for wizard

* Update packages/server/lib/scaffold.js

* Rename wizard to create-cypress-tests

* Fix circleci config

* Fix snapshot tests

* Run all create-cypress-tests on ci

* Do not install plugins and scaffold files from kitchensink

* Ignore integration/examples folder for packages/example

* Run create-cypress-tests-tests on CI

* Add copy example cross-platform script

* Use copy example script in tests

* feat: create-cypress-tests auto-inject config (#9116)

* Implement the basic babel code transformation for configs

* Add more tests for edge-cases

* Add snapshot tests for autogenerated code for each template

* Add git status guard

* Add git status guard

* Fix last test

* Fix tests

* Revert changes for packages/example

* Revert changes for packages/example/tsconfig.json

* Prepeare package for the release

* Fix inquirer name

* v0.0.125

* v0.0.127

* v0.0.128

* v0.0.130

* v0.0.131

* Add more UX features

* Add vue-cli template

* Make src as default folder for vue-cli template

* Revert dev-time changes

* Run appveyour windows build

* Run full appveyour build

* Fix circle.yml

* Update plugins

* Join paths for windows

* Revert example/lib changes

* Fix tests

* Revert unnecessary changes

* Implement dev-server dependency installation

* Update npm/create-cypress-tests/README.md

* Include webpack-options template in dist

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-03-05 07:51:53 +02:00
Zach Bloomquist
c87f7b9104 chore: revert "feat: create-cypress-tests wizard (#8857)" (#9554) 2020-12-07 17:09:32 -05:00
Dmitriy Kovalenko
21ee591d1e feat: create-cypress-tests wizard (#8857)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2020-11-30 13:20:43 -05: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
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
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
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
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
Chris Breidng
379013694a import example 2017-04-21 10:55:50 -04:00