Skip to content

Conversation

cexbrayat
Copy link
Member

@cexbrayat cexbrayat commented Nov 26, 2023

This PR is blocked for now because of:

The PR is on top of #386

The current strategy is to use type: module in the package.json file to avoid the CJS warning from Vite 5.
This forces us to:

The generated applications were failing out of the box, and went unnoticed as nightwatch is not built on CI.

I took inspiration from https://github.com/nightwatchjs/nightwatch-plugin-vue and https://github.com/nightwatchjs/create-nightwatch to make the setup a bit lighter and functional (we now let nightwatch start vite directly).

The pnpm test script should now work for every combination generated.
For Cypress with Typescript, we needed to add a `module` option to the root tsconfig (see cypress-io/cypress#24111).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant