* docs: revise contributor advice for node.js setup (#26652)
* feat: initial release of cypress/vite-plugin-cypress-esm (#26663)
* chore: release @cypress/vite-plugin-cypress-esm-v1.0.0
[skip ci]
* chore: upgrade Lerna to v5 and use Nx (#26660)
* dependency(deps): update dependency engine.io to v6.4.2 [security] (#26664)
* dependency(deps): update dependency engine.io to v6.4.2 [security]
* updating changelog
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
* fix: updated CYPRESS_DOWNLOAD_PATH_TEMPLATE regex to allow multiple replacements (#25531)
* feat: Component Testing banner (#26625)
Co-authored-by: elevatebart <bart@cypress.io>
* chore: Update v8 snapshot cache (#26647)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* chore: 12.12.0 release updates (#26697)
* chore: cypress[26674] updated github workflows to use checklout@v3 and stop using set-output and move to file use (#26696)
* fix: move types condition to the front (#26630)
* fix: move `types` condition to the front
* chore: update changelog
* optimize deps for vite
* update config
* try optimizeDeps.include
* missing dep
---------
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* fix: revert #26452 (Yarn Plug n Play compat regression) (#26735)
* Revert "fix: correctly resolve dependencies for CT onboarding when using Yarn Plug n Play (#26452)"
This reverts commit 7a33f5c1a8.
* changelog
* changelog
* chore: fixing PR link in releaseData.json (#26734)
* chore: update stalebot config (#26745)
* misc: ACI empty state slideshows (#26692)
Co-authored-by: Stokes Player <stokes@cypress.io>
* fix: do not cache module resolution during launchpad dependency detection (#26726)
Co-authored-by: Mike Plummer <mikep@cypress.io>
* fix: Vite esm plugin issues (#26714)
* chore: Update v8 snapshot cache (#26707)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* chore: adding in repo token to explicitly use that while running commands [skip ci] (#26746)
* chore(dependency): update dependency @percy/cypress to ^3.1.2 🌟 (#26717)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
* chore: Remove console.log (#26756)
* chore: put types condition first in the syncing script (#26743)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
* test: create lists files after folders when in same directory in specs list (#26723)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
* chore: update vm2 to 3.9.19 (#26772)
* chore: add telemetry to the proxy (#26695)
* chore: set up instrumentation and instrument middleware
* chore: set up console exporter
* chore: add parent span option to telemetry package
* chore: set up telemetry verbose mode
* chore: instrument the network proxy - part 1
* chore: make sure to terminate spans when request is aborted
* fix telemetry, create/end the request middle prior to sending the outbound request
* avoid telemetry ts build step, create entrypoint into packages/telemetry using TS conventions
* allow env vars to be "true" or "1"
* when creating child span, inherit their attributes directly from the parent
* create custom honeycomb exporter and span processor to log traces
* remove duplicate code that's already called in this.setRootContext
* cleanup
* more clean up
* update honeycomb network:proxy attributes, update console.log message
* yarn lock
* chore: remove performance API in middleware
* chore: end response on correct event
* recursively gather parent attributes on close
* added key and some clean up
* github action detector, move verbose into index, verbose log commands
* some tests
* clean up honeycomb exporter
* some renaming
* testing console trace link exporter
* Don't lose the top span when running in verbose.
* link to the right place for prod/dev
* changes to verbose to make sure it is read in the browser
* Apply suggestions from code review
* pass parent attributes between telemetry instances
* default to false
* 'fix' build issues
* src not dist
* add back on start span
* once more with feeling
* Fix some tests
* try this i guess
* revert auto build
* Apply suggestions from code review
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* support failed commands
* Address PR comments
* Address PR Comments
* error handling
* handle all the errors
---------
Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
* chore: update triage workflow to add comment to contributor prs (#26493)
Co-authored-by: Ben M <benm@cypress.io>
* chore: telemetry pr cleanup (#26776)
* fix: fix UI flash when switching to debug page (#26761)
* chore: add Nx Cloud (#26712)
* chore: add empty nx.json [run ci]
* chore: add nx cloud runner [run ci]
* chore: add nx-cloud dep [run ci]
* chore: update local nx cloud accessToken to be read-only
* feat: update git related messages for runs and debug (#26758)
* feat(app): update DebugError copy
* feat: set isUsingGit project flag and consume in DebugContainer
* feat(app): update not using git icon for DebugError
* feat(app): displays alert on runs page when not using git
* feat(app): add component for when no runs for current branch
* feat(app): add warning for no runs for branch on runs container
* chore: add feat to CHANGELOG
* chore: remove logged status value
* chore: resolve import from merge conflict
* test(app): stub branch name for e2e runs spec
* chore: add line break in changelog entry
* chore: cleanup PR
* chore: fix i18n import for DebugBranchError
* chore: add utm and update Warning links to inline
* chore: capitalize Git in i18n
* ref: warning liink
* test: add i18n to tests
* test(app): change utm_source assertions
* chore: cleanup pr
* chore: remove unused prop
* test(app): remove no git warning when moving to runs page in e2e
* chore: change template logic
* chore: remove duplicate RUNS_TAB_MEDIUM const
* Changed Debug test assertion and reordered new components for Debug
---------
Co-authored-by: Stokes Player <stokes.player@gmail.com>
* chore: rename video processing events to capture/compress (#26800)
* chore: change processing nomenclature to compressing when printing the run.
* chore: rename 'capturing of' to 'capturing'
* chore: rename upload results to upload screenshots & videos (#26811)
* chore: rename upload results to upload screenshots & videos
* run ci
* chore: capture versions of relevant dependencies with `x-dependencies` header (#26814)
* chore: update changlelog script to handle revert pr ref (#26801)
* fix: Correct typescript scaffold dependency (#26815)
* fix: correct typescript scaffold dependency (#26204)
* add changelog
* Update change log for PR comment
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
---------
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
Co-authored-by: Mark Noonan <mark@cypress.io>
* chore: 12.13.0 prep (#26833)
* chore: 12.13.0 release (#26834)
* chore: 12.13.0 changelog fix
* remove pending, bump version
* fix typo
* chore: release @cypress/vite-plugin-cypress-esm-v1.0.1
[skip ci]
* chore: Implement runSpec mutation (#26782)
* chore: replace gitter badge with discord on readme (#26771)
* chore: add GraphQL mutation for sending system notifications via Electron (#26773)
* fix: upgrade typescript from 4.7.4 to 4.9.5 (#26826)
Snyk has created this PR to upgrade typescript from 4.7.4 to 4.9.5.
See this package in npm:
See this project in Snyk:
https://app.snyk.io/org/cypress-opensource/project/d5b36925-e6ee-455d-9649-6560a9aca413?utm_source=github&utm_medium=referral&page=upgrade-pr
* test: fix 2 broken tests for Windows (#26854)
* Update stale_issues_and_pr_cleanup.yml
Upped the number of operations per run. Have been manually doing that so this job can get through all the issues in the repo with no problems.
* chore(dep): [Snyk] Upgrade vite from 2.9.13 to 2.9.15 (#26830)
Co-authored-by: Ben M <benm@cypress.io>
* Update triage_add_to_project.yml
* chore: fix minor background color styling in debug results component (#26887)
* Update stale_issues_and_pr_cleanup.yml
stalebot was incorrectly configured to run in debug mode. I have updated the default to run in normal mode when running scheduled
* chore: Deprecate @cypress/xpath package (#26893)
* chore: add telemetry realworld app (#26896)
* chore: capture telemetry for realworld app maybe
* idk what i was doing
* setup record key and telemetry
* testing
* override project id
* some times we just need a little context.
* Adding tests
* Adding comment
* chore(deps): update dependency find-process to v1.4.7 🌟 (#26906)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* chore(deps): update dependency firefox-profile to v4.3.2 🌟 (#26912)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* chore: add browser state action for debug (#26884)
* chore: add browser state action for debug (#26763)
* Address PR comments
- remove unneeded async and test context
- genericize openProject function
* Revert route change, update spec description
* chore: replace gift devDep with simple-git (#26728)
* chore: replace arg devDep with minimist; remove unused shx devDep (#26727)
* chore: enable caching for lint task (#26791)
* chore: remove old performance reporting (#26920)
* chore: remove old performance reporting
* remove libhoney dep
* try this
* build and build snapshots if deps are out of date
* foiled by a comma
* freaking comma
* no snapshots maybe ugh
* ignore engines instead
* don't need this
* remove rename support file step
* chore: update Snyk to scan all projects (#26867)
* SEC-544 chore: [Snyk] Update Snyk flag in Git actn
* Update snyk_sca_scan.yaml
Removed --debug switch from the test command
---------
Co-authored-by: brady-cypressio <90723145+brady-cypressio@users.noreply.github.com>
* chore: skip problematic component tests that fail on contributor PRs (#26924)
* chore: omit unused circle variables that cause contributor PR issues (#26935)
* chore: make git message warnings remain dismissable (#26812)
* feat: make git message warnings remain dismissable
* chore: update CHANGELOG
* chore: update CHANGELOG
* chore: remove unneeded code
* chore: update BannerId types
* chore: fix queryies
* chore: clean up PR
* chore: move TrackedWarning to frontend-shared
* chore: update import
* ref: move TrackedWarning to TrackedBanner
* chore: udpate CHANGELOG
* fix: update TrackedBanner to parse markdown message
* chore: set TrackedBanner default message prop
* chore: update RunsContainer
* chore: add missing tests and update alert type
---------
Co-authored-by: Stokes Player <stokes@cypress.io>
* chore: replace fast-glob with globby; remove unneeded getenv dep (#26730)
* fix: update angular dep min versions (#26908)
* fix: update angular dep min versions
* chore: update CHANGELOG
* chore: add line break to changelog
* chore: update changelog pending release date
* chore: remove whitespace
* fix: upgrade typescript from 4.2.3 to 4.9.5 (#26858)
Snyk has created this PR to upgrade typescript from 4.2.3 to 4.9.5.
See this package in npm:
See this project in Snyk:
https://app.snyk.io/org/cypress-opensource/project/5fdaebf8-b115-41d1-a2d9-857261769179?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* chore: Update v8 snapshot cache (#26762)
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* feat: Implement testing type switch promos (#26894)
* feat: Implement testing type switch promos
* Add tests, changelog entry
* Add tests
* Fix button styling
* Styling fixes, add framework links
* Add missing testId
* run ci
* Fix spec
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* Fix styling issues
* Resolve code review findings
* Fix issue with yarn.lock
* Fix extra padding at bottom of promo
* Add tests for utm params
* Add test for switching testing type when both configured
* Fix changelog version
* Address review comments
* Widen promo when no image defined
* Prevent flash of promo before query resolves
* Reduce top margin
* reduce size of text box to match latest figma
* update button style to match figma
* increase width at which we collapse sidenav
* add short versions of the headings
* remove skeletons from header
* avoid extra height
* adjustments for column alignment
* fix flaky test
* update tests for responsive text changes
* update changelog
* restore spacing between header items
* avoid occasional flash of promo on page load
* update text handling
* fix types and tests
* Update packages/app/src/specs/SpecsList.vue
Co-authored-by: Stokes Player <stokes@cypress.io>
* updated final e2e bullet
* fix question mark icon flashing
* text formatting
* remove superfluous snapshot [skip ci]
---------
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: marktnoonan <mark@cypress.io>
Co-authored-by: astone123 <adams@cypress.io>
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* chore: release internal-scripts-v1.0.0
[skip ci]
* chore: fix changelog links (#26948)
* chore: 12.14.0 release (#26950)
* chore: Update Chrome (stable) to 114.0.5735.106 and Chrome (beta) to 115.0.5790.13 (#26650)
* chore: bump cache version (#26952)
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* chore: move release date (#26958)
* chore(deps): update dependency @antfu/utils to ^0.7.0 [security] (#26923)
* chore: fix base error styling (#26954)
* chore: remove low value percy snapshots (#26934)
* chore: remove low value percy snapshots
* chore: remove more low value percy snapshots [run ci]
* chore: remove more low value percy snapshots
* remove additional snapshots
* reduce snapshots
* fix types
---------
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* chore: changelog updates (#26964)
* chore: stabilize side navigation bar during loading and switching testing types (#26953)
* fix: log video path if exists, regardless of compression (#26813)
* chore: print the video path whether or not compression is on or fails
* chore: fix video replacement regex
* chore: add bugfix entry
* feat: allow users to pass true to videoCompression config and only a… (#26810)
* chore: allow users to pass true to videoCompression config and only allow valudes 1-51 inclusively to be passed in
* run ci
* chore: allow zero to be option for CRF as we will coerve it to false and skip compression to have a lossless video, which has the same effect
* Update cli/CHANGELOG.md
* chore: update videoCompression types
* chore: update changelog
* Update cli/CHANGELOG.md
* Update cli/types/cypress.d.ts
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* Update packages/config/src/validation.ts
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* chore: update config snapshots
* Update packages/config/test/validation.spec.ts
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* chore: add system test on videoCompression=true coersion
* chore: document 0 as being false and not a valid CRF option for cypress video compression and make CRF valid values 1-51
* chore: fix types
* chore: fix types
* chore: fix change to log as feature and not bugfix
* chore: fix server side unit tests
---------
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* chore: trigger mac/linux/windows binary builds and v8 snapshot cache update tests
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: fix possible bad merge from mismatched snapshot in CLOUD_AUTO_CANCEL_MISMATCH test
* chore: fix possible bad merge from mismatched snapshot in record_spec system test
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
---------
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Adam Stone-Lord <adams@cypress.io>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
Co-authored-by: Mahdi Khashan <58775404+mahdikhashan@users.noreply.github.com>
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
Co-authored-by: elevatebart <bart@cypress.io>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Ben M <benm@cypress.io>
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: Mike Plummer <mikep@cypress.io>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
Co-authored-by: Luis Furtado <46112985+luis-furtado@users.noreply.github.com>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Jordan <jordan@jpdesigning.com>
Co-authored-by: Stokes Player <stokes.player@gmail.com>
Co-authored-by: Dave Kasper <dave.m.kasper@gmail.com>
Co-authored-by: Mark Noonan <mark@cypress.io>
Co-authored-by: Ely Lucas <ely@meta-tek.net>
Co-authored-by: Snyk bot <snyk-bot@snyk.io>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: cypresschris <96069059+cypresschris@users.noreply.github.com>
Co-authored-by: brady-cypressio <90723145+brady-cypressio@users.noreply.github.com>
* test: add windows-test-kitchensink job
* run windows ci on this branch
* use test-binary-against-kitchensink-chrome
* windows-create-build-artifacts
* use working dir when cloning
* npm i in correct dir
* install chrome on windows for test-binary-against-repo
* parent dir
* bump kitchensink
to pull in https://github.com/cypress-io/cypress-example-kitchensink/pull/549
* fix cli type hoisting
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* chore: support vite 2.5
* chore: update eslint ignore statements
* chore: ignore jquery type issue
* chore: yarn integrity checks
* chore: use latest commit of branch for kitchensink
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* getSpecs
* move files
* move specs
* hook up gql and f/e components
* work on migration code
* update gql
* fix logic and update graphql
* wip: types
* connect removing files and write e2e test for it
* support renaming support file
* types
* feat: display migration errors
* fix types
* recursively move files
* fix types
* refactor: use "nextstep" instead of "setStep"
* add function to facilitate live component testing migration
* refactor: make steps filterable
* refactor: make migrationlistitem instead of slots
* test: make sure tests pass
* work on backend for component testing updates
* hook up emitter
* fix types
* types
* remove test
* move isomorphic migration code to separate file
* update imports
* fix test
* more idiomatic usage of gql codegen
* styling
* fix unit tests
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
* 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>
* 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>
* Rename non-user facing instances of whitelist
* Rename server option 'whitelist' to 'ignore'
* Update use of whitelist with server to throw instead of warn
* Rename Cypress.Cookies.defaults 'whitelist' option to 'preserve'
* fix circle yml parameter parsing consistent
* compose cloning an external repo and switching to the NEXT_DEV_VERSION branch consistently
* add cypress org to repo parameter
* cd into the right dir before switching branches
* one line git checkout
* simplify passing repo
* cd into the right dir
* clone into the right dir
* oh my cd 101
* replace kitchen sink strings for 5.0.0
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
* enable using yarn
* enable lerna and yarn workspaces
No longer can reliably access node_modules via thei node_modules directory; yarn may optimize it via hoisting it up. This meant updating JS tasks that were copying files directly from node_modules directories. In these cases, pulled in a new package to resolve these correctly.
SCSS files remain impacted, but cannot easily import via JS. These paths have been modified, but it feels dangerous and incorrect to reach into a node_module to grab files like this.
Many prebuild steps were removed. I **think** the purpose of `check-deps-pre` is no longer needed, but need to confirm this.
* enabling test-unit script
removal of pretest-unit due to check-deps-pre
* removal of all `check-deps` and `check-deps-pre`
I do not think these are needed anymore
* remove npm run all
Replaced by `lerna run` and `lerna run --scope`
* use yarn in circle CI
appveyor to soon follow
* yarn in appveyor
* remove need for bin-upplaces using bin-up have a dev dependency on some package; mostly mocha. This mocha package will be optimized by yarn workspaces by hoisting it into the root; which is effectively what bin-up usage was mimicing.
* replace npm run with yarn in package files
* replace explict paths to internal packages with yarn bin
* remove unecessary link packages script and references
* properly require package for mocha
* removing yarn test in this package as it was just a proxy for test-*
* yarn test in root now reflects what is run in circle ci
* relax yarn version requirement for circle ci
* @packages/cli is really just cypress
also run test in parallel via `yarn test`; it runs test in all 10 packages
* ensure postinstall is called before prebuild
yarn does not call postinstall when nothing has installed; such is the case when everything has been cached
* vscode config uses yarn
* cannot rely on which node_modules dir a package is in
find the right node_module dir via `resolve-pkg`
* further relax yarn version for OSX build in circle ci
* resolve failing test
Regarding direct access to node_modules
* node version in mac build not sufficient
ignoring check of node/yarn versions when installing
* preinstall script does not exist
I **think** the reason to not install packages' modules (the reason for `--ignore-scripts` may be irrelevant with yarn workspaces managing the packages)
* upgrade mocha that was using --file
`--file` was introduce in >=5
* scope test runs to correct packages
* explictly close connections; otherwise script hangs after tests run
* refactor so npm and npx commads can be created
npx is used to utlize lerna for running across all packages sans cli
* properly resolve socket.io-client node_module
We cannot reach directly into node_modules to grab the socket.io-client file. Furthermore, running it locally will require resolving from a different cwd, the repo root, as opposed to the package's dist directory.
The existence of the file deterimes whether we are building the binary or running locally.
* remove unnecessary arg in vscode debug config
enable debugging in @packages/server to troubleshoot failing test
* another npm command found to be changed to yarn
* properly print colors to terminal
`lerna run` does not appear to print colors to the terminal properly. Changed to leverage `lerna exec`
See https://github.com/lerna/lerna/issues/1168
* add missing test scripts to packages that have partially have them
'test', 'test-unit', 'test-watch', and 'test-debug'
This makes running them from the root easier and enables debugging via IDE on more packages
* properly patch package in yarn workspaces
* another package needing to postinstall
* use existing script over explicit lerna exec
* patches must be copied to dist
* return to building on postinstall
* do not hoist driver's packagesThere are too many places we need driver's packages to not be hoisted when testing. We have *.html files in test with script tags srcing node_modules.
* wait-on is used in circle-ci and needs to be a root dep
No longer hoisted by `@packages/driver`. This previously worked only because it was hoisted. Adding it to root properly.
* update documentation based on new ergonomics
* launcher has unit tests that should be runnable via top level task
* more concise way to run build within cypress scope
* fix for unit test that never seemed to work
`getPathToExample` is really `getPathToExamples`
* bust cache based on yarn.lock changing
* define intra-dependencies among packages
Due to the way we build the binary, all are considered dev dependencies.
* address `jquery.scrollto` mismatched jquery version
Tell yarn to explicitly resolve `jquery@3.1.1` for any dependencies and sub-dependencies. The root issue is that `jquery.scrollto` package specifies jquery as a dependency instead of a peer dependency (which is correct). Its jquery version is set to the `>=1.8` which then resolves to 3.4.1. In doing so, it will patch its jquery instead of ours; meaning that `$.scrollTo` is not defined.
* add/remove deps from renovate
- bin-up is gone in favor of yarn workspaces and lerna from root
- check-deps is gone in favor of `yarn check --integrity`
- lerna added
* few misc yarn lock updates
* hope that this may speed up build binary
installing several of the same dep in >1 package will likely be sped up using yarn due to its machine-wide caching.
* yarn pack prefix version with a `v`
* auto-run `yarn install` when deps become out of date
When switching to a branch with a different set of required deps, running any of the main top level tasks (as seen in the `./CONTRIBUTING.md` guide) will check for deps changes via `yarn check --integrity` and run `yarn` in root if deps are out of sync.
* add clean top level task, remove prebuild
install => build => prebuild => check => install === no good
* address code review to undo formatting changes
* favor default imports over deconstructing imports
* favor @package resolution; pr feedback
* include a specific revision
for some reason, it cannot resolve the original SHA `29dafed297142d3b8a9d8a01842cbdf249a98b72`
using the next closes SHA
* properly cache yarn packagesfollowed guide: https://circleci.com/docs/2.0/yarn/
* lower barrier for contributors to get started
relax node version to be 12.0.0 or higher; will use node version found in `.node-version` in CI
* updates required after merging latest development
was getting type errors when building. recreating the `yarn.lock` file seemed to resolve the issue.
* hidden dep on a specific type version in server
made dep explicit and now it can build.
* update request to patched version
non-breaking changes to request was updated in server, but not everywhere else. It appears that transitive deps were using the 2.88.0 request version instead of the updated one for the server package.
* missing commit from previous commit/merge
* do not force a higher version of yarn than the default on circleci
* exclude e2e.js helper from stop-only command
* trying to bust node_modules cache.https://github.com/yarnpkg/yarn/issues/6412#issuecomment-537787740
* incorrect quotation tick placement
* fix: properly postinstall parse-domain
Do not explicitly script the shell invocation of a dependency's postinstall (parse-domain). The dependency's node_modules may not be where the package thinks they are and are not properly resolved.
It appears that postinstall will automatically be called when installing with yarn.
* run all CI stages
* fix win-appveyor-build.js
* Update CONTRIBUTING.md
Co-Authored-By: Zach Bloomquist <github@chary.us>
* Update CONTRIBUTING.md
Co-Authored-By: Zach Bloomquist <github@chary.us>
* Update CONTRIBUTING.md
Co-Authored-By: Zach Bloomquist <github@chary.us>
* Server package watching a specific test works correctly.
* PR feedback
* Correctly use yarn to pack (to get package size)
* correct size calculation
`yarn pack` does not output the file name like `npm pack` does. Correct this by explictly setting the filename.
* PR feedback
* PR feedback
* update readmes and testing commands from them
* do not include this in default build
* yarn is now installed by default
https://github.com/appveyor/ci/issues/1852
* do not include server in `yarn` auto build
* a few more npm references changed to yarn
* Revert "run all CI stages"
This reverts commit 9256aed99f.
* Update circle.yml
Co-Authored-By: Zach Bloomquist <github@chary.us>
Co-authored-by: Zach Bloomquist <github@chary.us>