Commit Graph

225 Commits

Author SHA1 Message Date
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
Zachary Williams
7c361187e3 fix: use srcRoot for angular build context (#25090) 2022-12-16 09:13:10 -06:00
semantic-release-bot
8d048610dd chore: release @cypress/webpack-dev-server-v3.1.1
[skip ci]
2022-12-08 11:41:39 -05:00
Ryan Manuel
c540284f50 fix: add v8 snapshot usage to cypress in cypress testing (#24860) 2022-12-08 00:04:37 -06:00
Jordan
ed90b14d4f refactor: move linting to each lib to enable caching (#24424) 2022-11-17 17:31:19 +10:00
semantic-release-bot
cd234324d0 chore: release @cypress/webpack-dev-server-v3.1.0
[skip ci]
2022-11-10 17:02:35 -05:00
Zachary Williams
cc4244dd5d feat: add support for next 13 (#24396) 2022-11-10 09:46:29 -06:00
semantic-release-bot
07d26660f9 chore: release @cypress/webpack-dev-server-v3.0.1
[skip ci]
2022-11-08 17:12:39 -05:00
Zachary Williams
69f7dabc94 fix: revert dynamic import of webpack config file (#24598) 2022-11-08 12:21:53 -06:00
semantic-release-bot
097a574af1 chore: release @cypress/webpack-dev-server-v3.0.0
[skip ci]
2022-11-07 10:44:03 -05:00
Zachary Williams
f39eb1c19e fix: remove last mounted component upon subsequent mount calls (#24470)
BREAKING CHANGE: remove last mounted component upon subsequent mount calls of mount
2022-11-03 12:19:29 -05:00
Lachlan Miller
6c1cedf147 Merge branch 'develop' into release/11.0.0 2022-11-01 16:17:11 +10:00
semantic-release-bot
d1d9b3690f chore: release @cypress/webpack-dev-server-v2.5.0
[skip ci]
2022-10-31 21:49:54 -04:00
Ryan Manuel
b0c0eaa508 feat: introduce v8 snapshots to improve startup performance (#24295)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: Tyler Biethman <tbiethman@users.noreply.github.com>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
Co-authored-by: Mark Noonan <mark@cypress.io>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: Ben M <benm@cypress.io>
Co-authored-by: Zachary Williams <zachjw34@gmail.com>
Co-authored-by: astone123 <adams@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@yahoo.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Adam Stone <adams@cypress.io>
Co-authored-by: Blue F <blue@cypress.io>
Co-authored-by: GitStart <1501599+gitstart@users.noreply.github.com>
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
Co-authored-by: Jordan <jordan@jpdesigning.com>
Co-authored-by: Sam Goodger <turbo@tailz.dev>
Co-authored-by: Colum Ferry <cferry09@gmail.com>
Co-authored-by: Stokes Player <stokes@cypress.io>
Co-authored-by: Vilhelm Melkstam <vilhelm.melkstam@gmail.com>
Co-authored-by: amehta265 <65267668+amehta265@users.noreply.github.com>
2022-10-31 20:20:27 -05:00
Zachary Williams
feba489a9a fix: normalize vite config resolution (#24369)
BREAKING CHANGE: vite.config.js is no longer merged when devServer.viteConfig is provided
2022-10-26 15:04:53 -05:00
semantic-release-bot
74f19c1f11 chore: release @cypress/webpack-dev-server-v2.4.1
[skip ci]
2022-10-19 09:05:47 -04:00
GitStart
f73aef54b0 fix: clean up inconsistencies in UI between sentence case and title case (#23681)
Co-authored-by: Rachel <Raquel.rudermano@gmail.com>
Co-authored-by: Rachel <rachel@cypress.io>
2022-10-14 12:54:59 -07:00
semantic-release-bot
5f178edb67 chore: release @cypress/webpack-dev-server-v2.4.0
[skip ci]
2022-10-13 13:12:12 -04:00
Adam Stone
b7213c9bf0 chore: bump timeout for Angular webpack-dev-server tests (#24231) 2022-10-12 17:01:49 -04:00
semantic-release-bot
4e2abf35f8 chore: release @cypress/webpack-dev-server-v2.3.0
[skip ci]
2022-10-12 12:39:25 -04:00
semantic-release-bot
653a2266f5 chore: release @cypress/webpack-dev-server-v2.3.0
[skip ci]
2022-10-11 17:42:06 -04:00
semantic-release-bot
d0f13e93ef chore: release @cypress/webpack-dev-server-v2.3.0
[skip ci]
2022-10-11 09:32:49 -04:00
amehta265
5af6b27ed9 fix: CSS import in CT Support file is not working (#24117) 2022-10-07 11:24:54 -05:00
semantic-release-bot
3edd5be670 chore: release @cypress/webpack-dev-server-v2.3.0
[skip ci]
2022-10-06 14:11:22 -04:00
Mike Plummer
3e01474390 feat: Disable file watching in component tests in run mode (#24097) 2022-10-05 13:41:56 -05:00
semantic-release-bot
ce392544e3 chore: release @cypress/webpack-dev-server-v2.3.0
[skip ci]
2022-10-04 18:56:20 -04:00
Jordan
c18678381c fix(angular): set webpack base so angular assets load (#24106)
* fix(angular): set webpack base so angular assets load
2022-10-04 10:46:42 -04:00
semantic-release-bot
2898121b7f chore: release @cypress/webpack-dev-server-v2.3.0
[skip ci]
2022-10-03 21:23:42 -04:00
Colum Ferry
0976034225 fix(webpack-dev-server): handle polyfills array for upcoming angular 15 change (#24064)
Co-authored-by: Zachary Williams <zachjw34@gmail.com>
2022-10-03 15:49:13 -05:00