* chore: replace dtslint with eslint-plugin-expect-type
* update guide
* add lint-staged
* rm stale script
* modify cli eslint and tsconfigs to support ts migration
* separate expect-type files
* modifications to tsconfigs to make eslint a little easier
* revert workflow.yml
* further revision
* put tslint config for dtslint back in
* ensure false negative case is tested
* correct tsconfigs
* align dtslint tsconfig with eslint 9 config
* consolidate / DRY tsconfigs
* chore: rework vitest mocks
* chore: turn on ANSI for snapshots in the CLI
* chore: remove check-more-types from the CLI and just use lodash/regex
* chore: remove lazy-ass in favor of the native assertion library in node
* chore: rename snapshots and spec files to fit vitest convention (#32405)
* chore: move compiled files to dist directory to make vitest convertion easier (#32406)
* chore: convert utils to vitest (#32407)
* chore: convert logger to vitest
* chore: convert errors spec to vitest
* chore: convert cypress spec to vitest
* chore: convert `exec` directory to `vitest` (#32428)
* chore: cut over exec directory to vitest
* Update cli/test/lib/exec/run.spec.ts
* Update cli/test/lib/exec/run.spec.ts
* Update cli/test/lib/exec/run.spec.ts
* chore: convert the CLI and build script specs over to vitest (#32438)
* chore: convert tasks directory to vitest (#32434)
change way verify module is exported due to issues interpreting module (thinks its an esm)
rework scripts as we cannot run an empty mocha suite
chore: fix snapshots and verify requires that are internal to the cypress project
fix stubbing issues with fs-extra which is also used by request-progress under the hood
fix issues where xvfb was stopping prematurely
* chore: remove files no longer used now that mocha tests are converted to vitest (#32455)
* build binaries
* chore: fix CLI tests (#32484)
* chore: remove CI branch
* migrate cli scripts to TypeScript
* convert all javascript source files in the CLI to TypeScript
rebase into first
* chore: refactor all tests to TypeScript
rebase into second
* add npmignore for cli for typescript files
* update build process
* fix publically available exports
* Fix cy-in-cy tests
* add ts-expect-error to failing files
* fix projectConfigIpc failures as there are now multiple installs of tsx
* fix after-pack hook
* fix binary script
* chore: update publish binary to account for CLI being an ESModule compiled down to CommonJS
* does this work?
* fix the verify spec by making the listr2 renderer silent as it behaves differently since the refactor and is printing non deterministic outputs into our tests that do not have a large impact on the area we are testing and mostly served to actually test the renders of the listr2 framework itself
* empty commit
* additional refactor to code to remove strange any typing and exporting
* bump cache and build binaries
* fix CLI exports to keep backwards compatibility
* fix unit-tests
* turn on mac jobs
* fix group name rename in CLI
* remove babel deps from cli and explicitly install typescript
* address feedback from code review
* dont just falsy check results and instead explicitly check for null or undefined
* add ts-expect-error
* additional pass on cleaning up dynamic require / import from global lib references
* annotate ts-expect-errors with reason for why error is expected
* add rest of ts-expect-error comments
* removing hardcoded branch to publish binary chore/migrate_cli_to_typescript
* chore(deps): update dependency hasha to v5.2.2
* use hashs instead of copied code
* chore(deps): update dependency hasha to v5.2.2
* move to dep instead of devDep
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* chore(deps): update dependency sinon-chai to v3.7.0
* empty commit
* bump circle cache
* add sinon-chai to base package.json as its used to test base level scripts
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
* breaking: remove support for react 16 and 17 for component testing and move cypress/react18 upstream into cypress/react [run ci]
* update tests / suggestions from code review [run ci]
* misc: replace marionette-client with geckodriver as b2g marionette client is no longer supported [run ci]
* install pump [run ci]
* refactor to have geckodriver launch the browser and split out webdriver to own class [run ci]
fix other failing tests [run ci]
fix other failing tests [run ci]
pass env variables to firefox
* fix sigkill / treekill issues on windows with firefox binary being a dangling process [run ci]
* fix issue where browser in headed mode was not starting maximized [run ci]
* stub firefox_spec added deps different to get type inference
* add comment to geckodriver patch
* move capabilities to verbose debug statement
* update changelog
* address comments from code review
* add pending for changelog
* update with suggestions from code review
* remove debug enable as the process needs to be bound to stderr and stdout
* add comment on why we need to bind
* add comments from code review
* address comments from code review
* make sure sessionId is set
* direct copy paste of angular npm package to angular18 (no changes)
* feat: implement angular-signals test hardness to support angular signals
add changelog entry and build binary [run ci]
rename angular18 to angular-signals until we are able to merge back into core package [run ci]
fix linting job [run ci]
make sure angular-signals harness is copied to cli after build [run ci]
add project fixture directory to angular 18 and build binaries for newly named branch
run ci
update cache [run ci]
bust nx cache [run ci]
bust cache on linux [run ci]
try busting the cache... again [run ci]
usually helps when you have the correct build output... [run ci]
fix issue where component internal props were getting blown away when user would not set prop in componentProperties [run ci]
* update test harness description
* add built-in control flow tests with signals
* make sure to clean up rxjs observables in order to prevent a memory leak
* address comments from code review
* yarn lock
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* chore: update babel to latest in packages and update vite to version 5, vite related vue plugins to version 5, and svg plugin to v5
update vitejs react to v5
updated vite plugins
updates unplugin-vue-components and unplugin-icons for vite
remove vite-plugin-copmponents as it is the same thing as unplugin-vue-components
update vue-i18n from beta package to released v9
get unplugin-vue-i18n to latest
add @babel/types to no rewrite [run ci]
fix typing errors [run ci]
* update snapshot [run ci]
* coerce type for compiled messages to bridge type compatibility between unplugin-vue-i18n and vue-i18n [run ci]
* chore: update babel to latest in packages and update vite to version … (#29634)
* fix vite
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
---------
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
* update other hard coded @babel/core
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
---------
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* dependency: Replace forked xvfb package with xvfb
* changelog entry
* replace call to cypress/xvfb to xvfb
* put the cypress/xvfb dep back!
* Remove xvfb package from server
* Remove changelog entry
* dependency: declare @types/node as a peerdep and allow >=16
Instead of pushing a pinned version of of types/node as a dependency on all consumer packages, allow any version of types/node that is supported by Cypress. It looks like cypress supports node v16 and up, so I set the peerdep semver to match that.
* Revert "dependency: declare @types/node as a peerdep and allow >=16"
This reverts commit 338fb8491e.
* dependency: remove @types/node as a dependency of cli
* Add changelog entry
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>