Commit Graph

1526 Commits

Author SHA1 Message Date
Bill Glesias 05c1828b2e fix: correctly discover TypeScript compiler in @cypress/webpack-batteries-included-preprocessor (#32339)
* fix: correctly discover TypeScript compiler in WBIP

* address comments from cursor
2025-08-26 14:28:55 -04:00
renovate[bot] ad1c819511 chore(deps): update dependency axios [security] (#32226)
* chore(deps): update dependency axios [security]

* chore(deps): update dependency axios [security]

* empty commit

---------

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>
2025-08-25 12:23:52 -04:00
renovate[bot] 09b930e43e chore(deps): update dependency vite-5 to ^5.4.19 [security] (#32223)
* chore(deps): update dependency vite-5 to ^5.4.19 [security]

* empty commit

* chore(deps): update dependency vite-5 to ^5.4.19 [security]

* chore(deps): update dependency vite-5 to ^5.4.19 [security]

* empty commit

---------

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>
2025-08-25 09:38:33 -04:00
semantic-release-bot f041f422a0 chore: release @cypress/schematic-v4.1.1
[skip ci]
2025-08-19 21:16:10 -04:00
Cacie Prins e463fdbc61 fix: Redirect spammy electron stderr to a debug sink (#32188)
* wip: system test to reproduce

* system test for alsa stderr

* split cypress from 3rd party stderr at parent process to electron child

* rm garbage warning regexes

* fix newline behavior when parsing internal stderr

* migrate left over console errors

* clean up system test name

* fix typed import

* extract stderr splitting to separate pkg so runner can use @packages/error

* rm new err log from packherd-quire

* handle backpressure

* docs

* some unit tests & coverage for stderr-filtering

* unit tests

* no longer test regexp specific output in spawn unit tests

* filter enabled debug namespaces rather than just cypress namespacesc

* revise stream splitting et al

* try to fix v8 snapshot build??

* fix console.log assertion

* add missing eslint config

* rm unused spies

* fix regexp for optional leading wsp and ansi on debug entries

* update unit tests because sinon

* lint

* colon..

* build stderr-filtering before checking if binary exists

* adds TagStream transform stream, fixes stderr from child proc config

* add build-prod script for stderr-filtering

* changelog

* properly handle backpressure in prefixed content transform stream

* use standard tsconfig?

* better tsconfig

* Add pkgStderrFiltering to monorepoPaths

* add \"files\" manifest

* pipe all stderr to stderr when CYPRESS_INTERNAL_DEBUG_ELECTRON is enabled

* rm explicit build of stderr-filtering in check-if-binary-exists step

* ensure all dependencies of scripts/ are built before scripts are executed in the check-if-binary-exists command

* fix dev version ref

* swap logic

* add stdin piping

* fix exec name on the run-on-dependencies command to be more useful

* use correct env

* rm obsolete type refs

* simplify stderr-filtering public iface, pipe cy-in-cy stderr through filtering tx

* bust cache

* fix mocks

* fix v8-snapshot

* move stderrfiltering to dev pkg in cli

* skip integrity check in ci, if they are out of date things should fail anyway

* copypasta over a portion of stderr-filtering to cli, since cli cannot import @packages

* Delete issues.md

* rm special filtering for cy in cy

* rm too narrow rules file

---------

Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-08-19 17:05:53 -04:00
semantic-release-bot 01683b8f80 chore: release @cypress/webpack-preprocessor-v7.0.1
[skip ci]
2025-08-19 11:26:30 -04:00
semantic-release-bot 833149ebe1 chore: release @cypress/webpack-batteries-included-preprocessor-v4.0.1
[skip ci]
2025-08-19 11:26:16 -04:00
Bruno Lemos f7c98473f5 fix: ts-loader detection (false positive) (#32266)
* fix: ts-loader detection (false positive)

* add test for ts-loader incorrectly resolcing and removing typescript 4 tests as support is removed in Cypress 15

* fix regex where ts-loader may be an absolute path

* chore: fix regex typo

* re-add typescript 4 tests and remove in a separate PR

* add changelog entry

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-08-18 20:11:44 -04:00
semantic-release-bot 9831f4932b chore: release @cypress/webpack-dev-server-v5.1.1
[skip ci]
2025-08-18 13:28:33 -04:00
Jennifer Shehane 0551e38a5a docs: rewrite cypress/grep instructions (#32269)
* docs: rewrite cypress/grep instructions

* Update npm/grep/README.md

Co-authored-by: Bill Glesias <bglesias@gmail.com>

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-08-18 10:47:37 -04:00
renovate[bot] 051ebfbc8d chore(deps): update dependency vue-i18n to v9.14.5 [security] (#32230)
* chore(deps): update dependency vue-i18n to v9.14.5 [security]

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-08-15 16:31:31 -04:00
Bill Glesias c8606c21ae fix: extranous angular warnings (#32251) 2025-08-15 16:10:54 -04:00
renovate[bot] 4c117f7edf chore(deps): update dependency rollup to v3.29.5 [security] (#32228)
* chore(deps): update dependency rollup to v3.29.5 [security]

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-08-15 16:02:59 -04:00
Bill Glesias f0c0f77e19 chore: fix node resolution and default node10 to node to make it easier for ts-loader to handle on compilation (#32250) 2025-08-15 15:37:01 -04:00
renovate[bot] 9be5caeef0 chore(deps): update dependency vitest to v2.1.9 [security] (#32224)
* chore(deps): update dependency vitest to v2.1.9 [security]

* empty commit

* chore(deps): update dependency vitest to v2.1.9 [security]

* bump vitest in driver

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-08-14 12:51:32 -04:00
semantic-release-bot bdba00c756 chore: release @cypress/webpack-dev-server-v5.1.0
[skip ci]
2025-08-14 11:15:23 -04:00
semantic-release-bot fde4f0a29c chore: release @cypress/schematic-v4.1.0
[skip ci]
2025-08-14 11:15:08 -04:00
Bill Glesias c96115df0f feat: support Angular 20 (#32198)
* feat: support angular 20

* chore: update cypress/schematic dev deps
2025-08-13 18:23:48 -04:00
Cacie Prins 53c32e61b1 chore: partial eslint migration (mount-utils, cypress-schematic, puppeteer) (#32113)
* puppeteer eslint

* mount-utils

* cypress-schematic

* update guide with status

* fix import of eslint config, add nonstandard build artifact pattern to schematic ignores

* fix lint staged on chunk 1
2025-08-13 11:29:53 -04:00
Bill Glesias 19df26c279 chore: update babel to latest (#32203) 2025-08-12 15:07:23 -04:00
Bill Glesias b7f6888ded chore: update build dependencies to vite 6 (#32041)
* chore: update build dependencies to vite 6

* empty commit

* update snapshots
2025-08-11 10:36:21 -04:00
semantic-release-bot 666e0880b9 chore: release @cypress/webpack-preprocessor-v7.0.0
[skip ci]
2025-08-08 16:31:40 -04:00
semantic-release-bot cc0dddc34e chore: release @cypress/webpack-dev-server-v5.0.0
[skip ci]
2025-08-08 16:31:24 -04:00
semantic-release-bot b671261ee0 chore: release @cypress/webpack-batteries-included-preprocessor-v4.0.0
[skip ci]
2025-08-08 16:31:10 -04:00
semantic-release-bot 2634464bff chore: release @cypress/vite-dev-server-v7.0.0
[skip ci]
2025-08-08 16:30:56 -04:00
semantic-release-bot e2a5da4eaa chore: release @cypress/grep-v4.1.1
[skip ci]
2025-08-08 16:30:38 -04:00
semantic-release-bot 9cbde2635a chore: release @cypress/schematic-v4.0.0
[skip ci]
2025-08-08 16:30:17 -04:00
semantic-release-bot f1153064e3 chore: release @cypress/angular-v4.0.0
[skip ci]
2025-08-08 16:30:00 -04:00
Bill Glesias b6f3eead33 Merge branch 'develop' into merge_develop_15 2025-08-07 15:45:04 -04:00
Bill Glesias 99055ec6ac fix: make sure legacy output spies work as intended (#32158) 2025-08-07 15:29:32 -04:00
Bill Glesias a3924071c1 Merge branch 'develop' into merge_develop_15 2025-08-05 16:23:25 -04:00
Cacie Prins e0452462cc chore: modify how eslint is invoked from lint-staged for eslint migration (#32149)
* each pkg is responsible for its own lint-staged, because lerna does not play nicely with lint-staged

* use on hierarchical lint-staged only for new eslint packages

* rm unnecessary lint script

* add blurb about lint-staged to the guide

* fix for recursion

* correct glob for old eslint
2025-08-04 12:49:24 -04:00
Cacie Prins ed0819de25 Merge branch 'develop' into release/15.0.0 2025-07-30 11:40:28 -04:00
Cacie Prins d5c8885dd4 chore: Eslint migration foundation + migrate npm/grep package (#32046)
* foundational monorepo pkg for shared eslint config

* add a migration guide

* adds new eslint to grep

* add troubleshooting guide

* fix eslint config jiti issue

* fix a bit

* Update guides/eslint-migration.md

* restore console.error to grep, export collection of cli related rules from eslint-config

* fix linting of primary eslint config pkg

* fix glob exclusion

* uses an explicit expansion of the package patterns for eslint migration - once migration is complete, this will clean up

* lockfile

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-07-28 12:07:52 -04:00
Jennifer Shehane 7b6cd037e9 Merge branch 'develop' into release/15.0.0 2025-07-24 11:23:14 -04:00
semantic-release-bot 8ce8ee0c28 chore: release @cypress/webpack-dev-server-v4.1.1
[skip ci]
2025-07-24 10:58:48 -04:00
semantic-release-bot 749a1d5cc8 chore: release @cypress/webpack-batteries-included-preprocessor-v3.1.2
[skip ci]
2025-07-24 10:58:35 -04:00
semantic-release-bot 69df121d2c chore: release @cypress/angular-v3.0.1
[skip ci]
2025-07-24 10:58:22 -04:00
Bill Glesias af5c6b44f5 breaking: release version 7.x.x of @cypress/vite-dev-server.
BREAKING CHANGE: @cypress/vite-dev-server longer supports vite 4 and supports vite 7 via converting the package to an esm only package, which is a breaking change
2025-07-16 16:24:10 -04:00
Bill Glesias af0908f5d5 breaking: remove vite 4 support inside component testing (#32039) 2025-07-16 16:18:38 -04:00
Bill Glesias 5a89bd3c0a Merge branch 'develop' into release/15.0.0 2025-07-16 15:27:46 -04:00
Christopher Leigh 886878b8b5 fix: ensure cy.mount is reference safe (#31238,#31983) (#31993)
* fix: ensure cy.mount is reference safe (#31238,#31983)

* chore: add changelog entry

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-07-16 15:10:59 -04:00
Matt Mower cabdae708d fix: Add extensionAlias for ESM TS to webpack-batteries-included (#31994)
* chore: Add extensionAlias for ESM TS to webpack-batteries-included

For TypeScript ESM projects that use module resolution requiring file
extensions, `.js` extension must be used for `.ts` imports. Take
advantage of `resolve.extensionAlias` to resolve these imports.

Fixes #26827
Fixes #28805

* (Revisions) chore: Add extensionAlias for ESM TS to webpack-batteries-included

- Update typescript regex to allow .mts files
- Add ESM import tests

* chore: add changelog entry

* make sure extensionAlias is backwards compatible

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-07-16 12:25:19 -04:00
Jennifer Shehane 1b149d5dfb Merge branch 'develop' into release/15.0.0 2025-07-16 11:48:13 -04:00
pmaieref 8ff4c7d364 fix: check path for indexHtmlFile in onSpecsChange (#31819) (#31821)
* fix: check path for indexHtmlFile in onSpecsChange (#31819)

indexHtmlFile supports absolute paths,
so we need to check if the path is absolute before
fetching it from the project root.

* Update CHANGELOG.md

* Update CHANGELOG.md

updates changelog ref to 14.5.3

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-07-15 16:55:10 -04:00
Bill Glesias 0eaea54519 breaking: make @cypress/vite-dev-server an ESM only package and support Vite 7 (#32001)
* chore: cut over mocha tests to vitest in @cypress/vite-dev-server

* breaking: make @cypress/vite-dev-server an ESM only package

* feat: support vite version 7 in @cypress/vite-dev-server

* build binaries

* test

* fix: file import issues on windows

* avoid optimized deps to suppress extraneous console logs

* does this work?

* chore: add unit tests for getVite as the implementation as changed quite a bit

* chore: update changelog

* fix vite optimize dependency messages being logged out to the console
even though log level is silent

* fix issues with correct vite being invoked

* chore: address issues from code review

* Downgrade react in vite 7 project to fix deprecation warnings
2025-07-14 16:03:37 -04:00
Ryan Manuel 8a6d1d666b Merge branch 'develop' into release/15.0.0 2025-07-02 10:10:59 -05:00
semantic-release-bot 4293e76909 chore: release @cypress/webpack-batteries-included-preprocessor-v3.1.1
[skip ci]
2025-07-01 16:17:00 -04:00
Bill Glesias ddac37779c breaking: release version 7.0.0 of @cypress/webpack-preprocessor.
BREAKING CHANGE: release major version of @cypress/webpack-preprocessor as webpack 4 is no longer supported
2025-06-26 23:02:16 -04:00
Bill Glesias a08bb7b33c breaking: release version 4.0.0 of @cypress/webpack-batteries-included-preprocessor.
BREAKING CHANGE: release a major version of @cypress/webpack-batteries-included-preprocessor as webpack 4 is no longer supported and built-ins are removed
2025-06-26 23:02:16 -04:00