Adam Stone-Lord
4c11731ee1
chore: optimize task execution ( #27848 )
...
* Revert "chore: simplify build script (#27547 )"
This reverts commit 0a86ec686e .
* Revert "chore: upgrade lerna to 6, cache build step (#26913 )"
This reverts commit 9e60aeba8f .
* [run ci]
* chore: upgrade lerna to 6, cache build step (#26913 )
* chore: update build-npm-modules script
* chore: update build-npm-modules script
* chore: update build-npm-modules script
* chore: update build-npm-modules script
* chore: update lerna to 6
* [run ci]
* try caching build step
* we can't clean without building after
* add dependencies on scripts for npm packages
* update commands
* add config for data-context build step
* fix output configurations for npm packages, add gitignores
* revert changes to config and data-context build steps
* fix outputs
* run with cache
* fix outputs for cli
* actually fix outputs
* test with cache
---------
Co-authored-by: astone123 <adams@cypress.io >
* chore: simplify build script (#27547 )
* chore: simplify build script
* update CI workflows
* fix workflows
* empty commit because Percy weirdness
* chore: add driver, reporter, config as implicit dependencies for runner package (#27559 )
* run all workflows on branch
* chore: parallelize test-binary-against-recipes CI step (#27570 )
* chore: fix some easy circular dependencies in dep graph (#27612 )
* chore: remove gulp tasks from postinstall (#27616 )
* empty commit
* chore: minor improvements to node_modules_install (#27647 )
* chore: fix cypress:open and dev scripts
* run with cache [run ci]
* exclude mochaawesome assets from .yarnclean [run ci]
* bump cache again [run ci]
* run cached [run ci]
* chore: do not cache cli build step [run ci]
* update workflow command and docs for build-cli [run ci]
* fix commands that use scope [run ci]
* use different branch for publish repo [run ci]
* percy weirdness? [run ci]
* fix postbuild cli script [run ci]
* try to remove typescript from production binary [run ci]
* fix circular dependency [run ci]
* try removing ts from node_modules [run ci]
* remove typescript resolution [run ci]
* remove redundant target scripts
* update to lerna scoped commands
* remove unneeded yarn in lerna command
* try to fix Electron install in Windows workflow
---------
Co-authored-by: Jordan <jordan@jpdesigning.com >
Co-authored-by: Dave Kasper <dave.m.kasper@gmail.com >
2023-10-04 12:25:00 -05:00
semantic-release-bot
f900c59855
chore: release @cypress/webpack-dev-server-v3.6.1
...
[skip ci]
2023-09-07 16:37:19 -04:00
Bill Glesias
b85dd752f2
dependency: update to electron 25 and node 18 ( #27715 )
...
* feat: update to electron 25 and bump node dependencies. need to remove
custom docker image
* chore: update node versions to 18+ [run ci]
* chore: bump @types/node from v16 to v18 and bump the typescript supported CLI version from 3.9 to 4.4
* update mock-fs to 5.2.0 to fix BigInt issue (see https://github.com/tschaub/mock-fs/releases/tag/v5.1.4 ) [run ci]
* chore: update electron integrity check to pass create binary job
* chore: fix issues with achrinza/node-ipc not yet having node 18 engine support (only up to 17 by patching from 9.2.2 to 9.2.5 as seen in https://github.com/achrinza/node-ipc/pull/38 . vue/cli-service is not maintained and we should migrate these over to vue create at some point in the near future to get rid of these resolutions
* allow for TLSv1 tests to work with node 18 as the express server running node 18 with tlsv1 needs to allow legacy ciphers
* chore: update snyk workflows to use node 18
* chore: add changelog
* update timeout
* more cleanup during binary build
* bump cache and run ci. include ignore engines for rwa and get rid of
16.16 image references
* chore: update FF tests to 115 as serialization now works with errors and click events do not get fired on buttons being typed into
* chore: don't error when symlink already exists
* chore: fix serialization test for newer versions of firefox
* chore: fix CI config
* chore: fix chrome system tests to work with chrome 114. updates mostly caused by bugs in screen height in chrome. see https://bugs.chromium.org/p/chromium/issues/detail?id=1416398
* chore: test binary against vite update in RWA
* remove wait for RWA as it shouldnt be needed for vite. link example recipes update to node 18
chore: remove commented out code
* chore: print message when DISABLE_SNAPSHOT_REQUIRE is set
* chore: clean out unneeded dependencies always
* chore: remove trailing space
* fix: propagate click events for enter and typing on firefox 106 or later
* chore: fix changelog failures
* fix: correctly simulate click events for buttons on keyup and space type in Firefox versions greater than 91 and simulate click for buttons on enter in Firefox versions greater than or equal to 106
* chore: add documentation to type to clarify firefox synthetic events
* chore: update protocol snapshot as order or log messages seems to have changed
* update comments
* sort commandLogChanged events for protocol
* chore: remove PR ids from CRA and CER as the PRs are merged into develop
---------
Co-authored-by: Ryan Manuel <ryanm@cypress.io >
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com >
Co-authored-by: Matt Schile <mschile@cypress.io >
2023-09-07 15:26:09 -04:00
semantic-release-bot
617d7af328
chore: release @cypress/webpack-dev-server-v3.6.0
...
[skip ci]
2023-09-07 09:21:57 -04:00
Jordan
264a118e48
feat(webpack-dev-server): update the generated tsconfig path for angular CT ( #27723 )
...
* feat(webpack-dev-server): update the generated tsconfig path for angular CT
* update changelog
* build binary
* fix broken tests
2023-09-06 14:47:30 -04:00
semantic-release-bot
d7bd3a3f3e
chore: release @cypress/webpack-dev-server-v3.5.3
...
[skip ci]
2023-08-29 11:11:09 -04:00
Ryan Manuel
e684546d71
fix tests
2023-08-28 22:27:42 -05:00
Ryan Manuel
0a0eebd67d
Merge branch 'develop' into fix/config-port-overriding-devserver
2023-08-28 20:32:23 -05:00
Ryan Manuel
c30ce10e4c
fix cy in cy tests
2023-08-28 13:10:07 -05:00
Brian Mann
f82fdf026e
fix: allow cypress config.port to override devServer.port for proxying assets
2023-08-28 03:01:35 -04:00
Matt Henkes
e06334d289
Merge branch 'develop' into release/13.0.0
2023-08-18 10:39:40 -05:00
Adam Stone-Lord
24f1460692
chore: revert changes to build process ( #27584 )
...
* Revert "chore: remove Typescript dependency from app node_modules in binary (#27577 )"
This reverts commit 60d4c8356c .
* Revert "chore: simplify build script (#27547 )"
This reverts commit 0a86ec686e .
* Revert "chore: upgrade lerna to 6, cache build step (#26913 )"
This reverts commit 9e60aeba8f .
* build everything
* [run ci]
2023-08-18 10:05:29 -04:00
Lachlan Miller
87ce14a70f
breaking: relative resource requests in ct ( #27510 )
...
* fix: support ressources with relative paths
* fix: support ressources with relative paths - review changes
* try fixing contributor workflow
* try to fix regex
* try again
* try workflow again
* Revert changes to workflow
* exclude tests from contributor workflow
* Update cli/CHANGELOG.md
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com >
* Update packages/server/lib/controllers/iframes.ts
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com >
* fix terst
* use URLSearchParams
---------
Co-authored-by: Florian Riedel <low@fochlac.com >
Co-authored-by: Adam Stone-Lord <adams@cypress.io >
Co-authored-by: Jordan <jordan@jpdesigning.com >
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com >
2023-08-16 13:25:23 +10:00
Bill Glesias
fe6d3274f4
Merge branch 'develop' into chore/merge-develop-v13
2023-08-11 13:25:08 -04:00
Jordan
9e60aeba8f
chore: upgrade lerna to 6, cache build step ( #26913 )
...
* chore: update build-npm-modules script
* chore: update build-npm-modules script
* chore: update build-npm-modules script
* chore: update build-npm-modules script
* chore: update lerna to 6
* [run ci]
* try caching build step
* we can't clean without building after
* add dependencies on scripts for npm packages
* update commands
* add config for data-context build step
* fix output configurations for npm packages, add gitignores
* revert changes to config and data-context build steps
* fix outputs
* run with cache
* fix outputs for cli
* actually fix outputs
* test with cache
---------
Co-authored-by: astone123 <adams@cypress.io >
2023-08-10 11:12:38 -04:00
Bill Glesias
8102a09200
Merge branch 'develop' of https://github.com/cypress-io/cypress into merge-develop-into-13
2023-08-04 16:27:38 -04:00
semantic-release-bot
793a2ec09f
chore: release @cypress/webpack-dev-server-v3.5.2
...
[skip ci]
2023-08-04 01:26:53 -04:00
Lachlan Miller
53fd537a04
fix(cypress/webpack-dev-server): correct path for indexHtmlFile ( #27320 )
...
* fix: correct path for indexHtmlt
* changelog
2023-08-04 14:54:38 +10:00
Bill Glesias
68f8f99a9d
chore: update node types from v14 to v16 latest to be current (no 16.16.0 types exist). Fixes types issues with webpack upgrade. ( #27425 )
...
chore: bump the Typescript minimum version in the CLI from 3.4 to 3.9
2023-08-01 09:16:49 -04:00
Bill Glesias
5d1e07a7aa
chore: merge develop into release/13.0.0 ( #27336 )
...
Co-authored-by: Stokes Player <stokes@cypress.io >
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com >
Co-authored-by: Jordan <jordan@jpdesigning.com >
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net >
Co-authored-by: Matt Henkes <mjhenkes@gmail.com >
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com >
fix: Fix web worker creation within spec frame (#27313 )
fix: Handle privileged commands arg mutation (#27282 )
fix(webpack-dev-server): add typeRoots to generated tsconfig for angular (#27117 )
fix memory import (#27324 )
2023-07-19 11:20:06 -05:00
semantic-release-bot
1d6246b4e6
chore: release @cypress/webpack-dev-server-v3.5.1
...
[skip ci]
2023-07-17 21:37:08 -04:00
Jordan
376795f125
fix(webpack-dev-server): add typeRoots to generated tsconfig for angular ( #27117 )
...
* feat(webpack-dev-server): generate a local tsconfig file
* chore: remove comments
* chore: use relative paths
* test(webpack-dev-server): update tsconfig tests
* test(webpack-dev-server): update tsconfig tests
* test(webpack-dev-server): update tsconfig tests
* test(webpack-dev-server): upt outDir path
* chore: build binary
* Update npm/webpack-dev-server/src/helpers/angularHandler.ts
Co-authored-by: Stokes Player <stokes@cypress.io >
* fix(webpack-dev-server): use tmp but add typeRoots
* chore: update workflow to build binary
* remove redundant node_modules/types
* remove node_modules/types from assertions
---------
Co-authored-by: Stokes Player <stokes@cypress.io >
2023-07-17 21:01:47 -04:00
Bill Glesias
d68a3aa002
Merge branch 'develop' into chore/develop-into-release-13
2023-06-29 14:32:24 -04:00
renovate[bot]
6787693fa7
chore(deps): update dependency semver to ^7.5.3 🌟 ( #27151 )
...
* dependency(deps): update dependency semver to ^7.5.3 🌟
* changelog entry
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
2023-06-29 14:16:09 +10:00
Bill Glesias
59eded0923
Merge branch 'develop' of github.com:cypress-io/cypress into chore/develop-into-release-13
2023-06-26 13:13:31 -04:00
semantic-release-bot
505e8a00eb
chore: release @cypress/webpack-dev-server-v3.5.0
...
[skip ci]
2023-06-26 10:47:29 -04:00
Lachlan Miller
0055214bf1
feat: support Angular 16.1 ( #27106 )
...
* feat: support Angular 16.1
* feat: support Angular 16.1
* chore: update changelog
* chore: update naming
---------
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com >
Co-authored-by: jordanpowell88 <jordan@jpdesigning.com >
2023-06-22 09:44:41 +10:00
Matt Henkes
5f93282658
breaking: Remove deprecated nodeVersion configuration option ( #27059 )
...
* feat: breaking remove nodeVersion option
* changelog, ts fix
* Apply suggestions from code review
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com >
---------
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com >
2023-06-16 09:36:20 -05:00
Jordan
e2439b19b4
chore: add support for Angular 16 ( #26052 )
...
* feat(angular): add support for Angular 16
* chore: update angular 16 pre-release version
* feat: handle getStylesConfig returning a Promise in Angular 16 (#26559 )
* chore: remove next from deps to prepare for release
* remove .only, add angular-16 to webpack-dev-server e2e tests
---------
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com >
Co-authored-by: astone123 <adams@cypress.io >
2023-04-24 09:57:12 -04:00
semantic-release-bot
ae3e5e7129
chore: release @cypress/webpack-dev-server-v3.4.1
...
[skip ci]
2023-04-07 11:21:17 -04:00
Lachlan Miller
e8390f46cd
fix: correctly pass resolvedBaseUrl for Next.js 13.2.0+ ( #26399 )
...
* add test project
* styles
* pass resolvedBaseUrl
* make project more minimal
* build binaries
* changelog
* remove css
* pass supportedBrowsers to next webpack config
* handle case of missing getSupportedBrowsers function
* add default function
2023-04-06 13:09:25 +10:00
semantic-release-bot
98bdc39eff
chore: release @cypress/webpack-dev-server-v3.4.0
...
[skip ci]
2023-03-20 12:49:26 -04:00
Caleb Ukle
ea8173f6d9
feat: support custom workspaceRoot for angular CT ( #26030 )
...
* fix: support custom workspaceRoot for angular CT
* test(system-tests): wip nx system tests
* test: remove system-tests until we can test nx
---------
Co-authored-by: Jordan <jordan@jpdesigning.com >
2023-03-16 08:59:40 +10:00
semantic-release-bot
6532a866f1
chore: release @cypress/webpack-dev-server-v3.3.1
...
[skip ci]
2023-03-14 12:02:15 -04:00
Adam Stone-Lord
a9ab4c7527
fix(webpack-dev-server): Pass in jsconfig to get webpack config for Next.js >= 13.2.1 ( #26005 )
2023-03-06 10:31:47 -05:00
semantic-release-bot
1e8b22049c
chore: release @cypress/webpack-dev-server-v3.3.0
...
[skip ci]
2023-02-21 03:13:34 -05:00
Lachlan Miller
1d3aab9d70
feat: Public API for CT Framework Definitions ( #25780 )
...
* chore: rework component onboarding in launchpad (#25713 )
* chore: refactoring and types
* rework source of frameworks
* revert rename
* fix tests
* fix more tests
* types
* update code
* use same public API internally
* rename interfaces
* rename
* work on dev server api
* fix types
* fix test
* attempt to support getDevServerConfig
* tests
* add function to define framework [skip ci]
* rework a lot of types
* fix test
* update tests and types
* refactor
* revert changes
* lint
* fix test
* revert
* remove
* add "community" label [skip ci]
* refactor
* types
* lint
* fix bug
* update function name
* address feedback
* improve types with Pick
* refactor using type guard
* correct label
---------
Co-authored-by: Zachary Williams <ZachJW34@gmail.com >
* chore: typing error
* feat: scan for 3rd party ct plugins (#25749 )
* chore: refactoring and types
* rework source of frameworks
* revert rename
* fix tests
* fix more tests
* types
* update code
* use same public API internally
* rename interfaces
* rename
* work on dev server api
* fix types
* fix test
* attempt to support getDevServerConfig
* tests
* add function to define framework [skip ci]
* rework a lot of types
* fix test
* update tests and types
* refactor
* revert changes
* lint
* fix test
* revert
* remove
* add "community" label [skip ci]
* refactor
* types
* lint
* fix bug
* update function name
* address feedback
* feat: scan for 3rd party ct plugins
* add e2e test
* unit tests [run ci]
* tweak resolution
* rebase, address comments
* fix windows paths
* remove .gitignore
* fix test
---------
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
* lint config
* spacing
* try fix race cond
* fix import error
* build binary
* try update snapshot
* try using require
* support namespaced definitions (#25804 )
* remove category
* add icon prop
* support esm -> cjs compiled typescript
* fix test
* misc: add CTA footer to launchpad framework dropdown (#25831 )
* remove test project dependencies
* rebase
* windows
* windows again
* add changelog entry
* changelog
* revert workflow
* remove worklfow
---------
Co-authored-by: Zachary Williams <ZachJW34@gmail.com >
Co-authored-by: Adam Stone-Lord <adams@cypress.io >
2023-02-21 17:43:20 +10:00
semantic-release-bot
147c8f56a6
chore: release @cypress/webpack-dev-server-v3.2.4
...
[skip ci]
2023-02-20 10:14:30 -05:00
Adam Stone-Lord
87816de1b7
fix(webpack-dev-server): touch component-index during onSpecsChange to avoid writing to app file ( #25861 )
...
* testing: try disabling uTimesSync and see what happens
* build binaries [run ci]
* fix: touch component index file instead of browser.js
* build binaries [run ci]
* update test
* fix test
* add test for custom HTML file in config
* use existing component index in webpack-dev-server unit tests
---------
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
2023-02-20 16:09:19 +10:00
semantic-release-bot
5d5d075df2
chore: release @cypress/webpack-dev-server-v3.2.3
...
[skip ci]
2023-01-24 10:36:03 -05:00
Mike Plummer
fdd402fee2
fix: Extend mock logger used in angular bootstrap ( #25500 )
2023-01-19 16:01:16 -06:00
semantic-release-bot
736c599527
chore: release @cypress/webpack-dev-server-v3.2.2
...
[skip ci]
2023-01-03 11:53:22 -05:00
Manuel Abascal
c12a7e37c7
fix: change wording for spec creation ( #25271 )
...
Co-authored-by: Emily Rohrbough <emilyrohrbough@yahoo.com >
Closes undefined
2023-01-03 10:19:36 -06:00
semantic-release-bot
90b2c8d10f
chore: release @cypress/webpack-dev-server-v3.2.1
...
[skip ci]
2022-12-29 12:04:55 -05:00
Mike Plummer
dc7875064b
fix: Allow component tests with special characters in filepath ( #25299 )
2022-12-29 10:33:40 -06:00
Zach Bloomquist
ebf57a82e6
test: change some skipped tests to use retries ( #24124 )
...
Co-authored-by: Matt Henkes <mjhenkes@gmail.com >
2022-12-20 01:56:10 +00:00
semantic-release-bot
9c1318cb34
chore: release @cypress/webpack-dev-server-v3.2.0
...
[skip ci]
2022-12-19 14:39:27 -05:00
Adam Stone-Lord
166b69414c
feat: create from React component ( #25168 )
...
* feat: server logic for create from React component (#24881 )
Co-authored-by: Ryan Manuel <ryanm@cypress.io >
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
* fix: add default export detection (#24954 )
Co-authored-by: astone123 <adams@cypress.io >
* update cache
* update yarn.lock to fix builds
* fix: compilation with webpack preprocessor
* feat: create from React component UI (#24982 )
* feat: WIP server logic for create from React component
* feat: add more tests; error handling
* feat: WIP create from React UI
* feat: PR feedback [run CI]
* feat: try committing snapshot cache changes [run ci]
* feat: try re-generating snapshot [run ci]
* fix build
* regenerate cache on darwin
* update caches
* Revert "feat: try re-generating snapshot [run ci]"
This reverts commit d763e1f7a4 .
* fix typing error
* types
* fix test
* chore: try using react-docgen@6.0.0-alpha.3
* update test
* regen linux snapshot
* update snapshots for darwin
* re-gen linux snapshot
* yarn install
* update snapshots
* update snapshot metadata
* update snapshots due to babel deps changing slightly
* make react docgen a dep
* update tests
* revert
* snapshots again??
* revert
* update
* update
* try change snapshot
* change snap
* update snap
* feat: remove unnecessary ts-ignore
* feat: add more test cases
* feat: create CodegenActions; other minor refactors
* feat: continue UI work
* feat: ignore config and Cypress-related files
* feat: PR feedback
* update Vue component link
* merge in default export work
* consolidate graphql queries
* other misc feedback
* use network-only policy to fetch files; include cypress/ dir for code gen candidates; fix type error
* add basic e2e test
* fix app integration tests
* refactor and fix app component and webpack dev server tests
* add error state; fix unit tests [skip ci]
* simplify generator show logic [skip ci]
* more testing
* fix types
* style updates [skip ci]
* fix error state [skip ci]
* fix list padding [skip ci]
* use slots (#25079 )
* add more tests; fix unit tests
* fix types
* fix test describe
* add percy snapshots for new list
* update trouble rendering banner link [skip ci]
* use collapsible component
* use button for component list items
* fix tests
* build binaries
* revert changes to circle config
* remove eslintignore and extra loading div [skip ci] because we know it will fail
* revert changes to framework glob patterns [skip ci]
Co-authored-by: Ryan Manuel <ryanm@cypress.io >
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
* feat: pass parser options to allow parsing of tsx files (#25145 )
* fix create from component e2e test
* build binaries [run ci]
* fix component tests [run ci]
* regen windows snapshot
Co-authored-by: Ryan Manuel <ryanm@cypress.io >
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
Co-authored-by: Zachary Williams <ZachJW34@gmail.com >
2022-12-19 12:42:14 +10:00
Lachlan Miller
331c1dcc9c
chore: correctly resolve url sass bundle in Angular CT ( #25191 )
...
Co-authored-by: Zachary Williams <zachjw34@gmail.com >
2022-12-16 10:32:47 -06:00
semantic-release-bot
cd4bc74619
chore: release @cypress/webpack-dev-server-v3.1.2
...
[skip ci]
2022-12-16 10:43:36 -05:00