* 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>
* 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>
* 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
* 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>
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
* 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#26827Fixes#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>
* 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>
* 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
BREAKING CHANGE: release a major version of @cypress/webpack-batteries-included-preprocessor as webpack 4 is no longer supported and built-ins are removed