-
Notifications
You must be signed in to change notification settings - Fork 154
Upgrade-to-vite #119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
lucas-koehler
merged 35 commits into
eclipsesource:master
from
mayank1513:upgrade-to-vite
Jun 11, 2024
Merged
Upgrade-to-vite #119
Changes from 24 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
8392ec1
chore: remove deprecated extension recommendation
mayank1513 87dea3d
chore: Migrate to using vite
mayank1513 a224978
fix: Update dependencies
mayank1513 8cfc29a
Force dev and build port to 3000
mayank1513 0fcf5ea
Add vitest for unit testing
mayank1513 67d35cd
fix: vite build and vitest unite testing
mayank1513 57aa8c2
Update github workflow
mayank1513 3675703
remove pnpm-lock file
mayank1513 6599a83
fix: update package-lock
mayank1513 6682b4b
rename output directory to build
mayank1513 b66a078
chore: remove unnecessary dist from .gitignore
mayank1513 376aed4
chore: Move devDependencies under appropreate field in package.json
mayank1513 7fc1388
fix: Add jsdom as devDependency
mayank1513 f428ab2
fix: fix typo to exclude main.tsx from test coverage
mayank1513 46f7cf3
feat: Increase test coverage and clarify testing scope
mayank1513 ebc206c
Update lint config and fix lint issues
mayank1513 1127a52
refactor: refactor code for better readability and remove tech debt
mayank1513 3065bbb
refactor: split into smaller components
mayank1513 705386e
fix: add start-server-and-test as devDep to fic cypress:ci
mayank1513 91b4fbd
feat: Install and configure prettier for consistant formatting
mayank1513 a27a0cb
chore: Updated Kanban board
mayank1513 dab68e8
Fix the vite deprecatino warning
mayank1513 98af842
fix: cypress - migrate to latest specs
mayank1513 67e2cb3
rename "preview" script to "start"
mayank1513 3030adf
Build the app before running cypress:ci as vite preview does not buil…
mayank1513 8592a7c
Touchup
mayank1513 3168db5
fix: Fix cypress test issues
mayank1513 35d10db
Try updating selectors for MUI Autocomplete
mayank1513 39498d9
Try updating selectors for MUI Autocomplete
mayank1513 4edd211
Try updating selectors for MUI Autocomplete
mayank1513 13a7c33
fix: Fix cypress tests
mayank1513 1150ed9
Try equating to undefined
mayank1513 3786b3d
Update ci to run on merge to master and in pull requests
lucas-koehler 8650cc9
fix eslint error in cypress config
lucas-koehler fb31707
regenerate package-lock
lucas-koehler File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,18 @@ | ||
module.exports = { | ||
root: true, | ||
env: { browser: true, es2020: true }, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:react-hooks/recommended', | ||
], | ||
ignorePatterns: ['dist', '.eslintrc.cjs'], | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['react-refresh'], | ||
rules: { | ||
'react-refresh/only-export-components': [ | ||
'warn', | ||
{ allowConstantExport: true }, | ||
], | ||
}, | ||
} |
This file contains hidden or 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 hidden or 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 hidden or 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 @@ | ||
package-lock.json |
This file contains hidden or 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,7 @@ | ||
{ | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"arrowParens": "avoid", | ||
"jsxBracketSameLine": true, | ||
"bracketSameLine": true | ||
} |
This file contains hidden or 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,29 @@ | ||
{ | ||
"scope": "Workspace", | ||
"tasks": { | ||
"task-qOwN6wAbcOwvCa1jGY-Tj": { | ||
"id": "task-qOwN6wAbcOwvCa1jGY-Tj", | ||
"description": "fix/update cypress tests", | ||
"columnId": "column-todo" | ||
} | ||
}, | ||
"columns": [ | ||
{ | ||
"id": "column-todo", | ||
"title": "To do", | ||
"tasksIds": [ | ||
"task-qOwN6wAbcOwvCa1jGY-Tj" | ||
] | ||
}, | ||
{ | ||
"id": "column-doing", | ||
"title": "Doing", | ||
"tasksIds": [] | ||
}, | ||
{ | ||
"id": "column-done", | ||
"title": "Done", | ||
"tasksIds": [] | ||
} | ||
] | ||
} |
This file contains hidden or 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 hidden or 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,6 +1,7 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"prettier.jsxSingleQuote": true, | ||
"prettier.singleQuote": true | ||
} | ||
"editor.formatOnSave": true, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"prettier.jsxSingleQuote": true, | ||
"prettier.singleQuote": true, | ||
"mayank1513.trello-kanban.Workspace.filePath": ".tkb" | ||
mayank1513 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
} |
This file contains hidden or 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,11 @@ | ||
import { defineConfig } from 'cypress' | ||
|
||
export default defineConfig({ | ||
e2e: { | ||
// We've imported your old cypress plugins here. | ||
// You may want to clean this up later by importing these. | ||
setupNodeEvents(on, config) { | ||
return require('./cypress/plugins/index.js')(on, config) | ||
}, | ||
}, | ||
}) |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains hidden or 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,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>JSONForms React Starter</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.tsx"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.