-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Install vite related libraries and uninstall react-scripts * Update package.json scripts * Create vite config * Fix index.html * Get UI to run locally * Fix eslint * Fix cypress tests * Upgrade to Cypress 12 and fix component tests * Fix cypress e2e tests * Fix middleware * Remove commented code * Ignore sonarcloud errors - The gcloud libraries are not pinned to a version so we cannot use an integrity hash here - Fontawesome no longer supports SRI hashes * Clean up unused dependencies * Use localhost instead of 127.0.0.1 Also reenable linting on server start * Fix e2e test wait-on local server Work around wait-on 404 error Originally from: vitejs/vite#9520 (comment) * Try replacing wait-on * Update to from node 14->16 Fixes build issue with vite * Remove unnecessary --production flag vite builds production by default * Use default vite react plugin config * Try defining process * Try updating jsondiffpatch version * Remove unused packages * Update .node-version * Fix cypress.config.ts * Package clean-up
- Loading branch information
1 parent
7c334b7
commit 5157015
Showing
60 changed files
with
6,763 additions
and
20,423 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
12.22.12 | ||
16.20.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { devServer } from '@cypress/vite-dev-server'; | ||
import { defineConfig } from 'cypress'; | ||
import vitePreprocessor from 'cypress-vite'; | ||
import customViteConfig from './vite.config'; | ||
|
||
export default defineConfig({ | ||
component: { | ||
devServer(devServerConfig) { | ||
return devServer({ | ||
...devServerConfig, | ||
framework: 'react', | ||
viteConfig: customViteConfig, | ||
}); | ||
}, | ||
specPattern: 'src/**/*test.{js,jsx,ts,tsx}', | ||
supportFile: 'cypress/support/index.js', | ||
}, | ||
e2e: { | ||
setupNodeEvents(on) { | ||
on('file:preprocessor', vitePreprocessor()); | ||
}, | ||
specPattern: 'cypress/integration/**/*.{js,jsx,ts,tsx}', | ||
supportFile: 'cypress/support/index.js', | ||
}, | ||
projectId: 'e6ttjx', | ||
viewportWidth: 1920, | ||
viewportHeight: 1080, | ||
defaultCommandTimeout: 60000, | ||
requestTimeout: 120000, | ||
}); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.