generated from graasp/graasp-repo
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use preview instead of dev server fix: force instrumentation when running in test mode
- Loading branch information
Showing
11 changed files
with
1,711 additions
and
1,231 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 |
---|---|---|
|
@@ -15,7 +15,9 @@ | |
"start": "yarn dev", | ||
"start:test": "vite --mode test", | ||
"build": "tsc && vite build", | ||
"build:test": "vite build --mode test", | ||
"preview": "vite preview", | ||
"preview:test": "vite preview --mode test", | ||
"lint": "eslint .", | ||
"type-check": "tsc --noEmit", | ||
"check": "yarn prettier:check && yarn lint && yarn type-check", | ||
|
@@ -24,25 +26,26 @@ | |
"hooks:uninstall": "husky uninstall", | ||
"hooks:install": "husky install", | ||
"cypress:open": "env-cmd -f ./.env.test cypress open", | ||
"test": "concurrently -k -s first \"yarn start:test\" \"yarn cypress:run\"", | ||
"cypress": "yarn test", | ||
"test": "yarn build:test && concurrently -k -s first \"yarn preview:test\" \"yarn cypress:run\"", | ||
"cypress:run": "env-cmd -f ./.env.test cypress run --browser chrome" | ||
}, | ||
"dependencies": { | ||
"@emotion/react": "11.11.1", | ||
"@emotion/styled": "11.11.0", | ||
"@graasp/chatbox": "2.0.0", | ||
"@graasp/query-client": "1.1.4", | ||
"@graasp/sdk": "1.1.1", | ||
"@graasp/translations": "1.15.0", | ||
"@graasp/ui": "3.2.1", | ||
"@mui/icons-material": "5.14.1", | ||
"@graasp/query-client": "1.3.2", | ||
"@graasp/sdk": "1.2.0", | ||
"@graasp/translations": "1.18.0", | ||
"@graasp/ui": "3.2.7", | ||
"@mui/icons-material": "5.14.3", | ||
"@mui/lab": "5.0.0-alpha.137", | ||
"@mui/material": "5.14.1", | ||
"@sentry/react": "7.61.0", | ||
"@sentry/tracing": "7.61.0", | ||
"@mui/material": "5.14.3", | ||
"@sentry/react": "7.61.1", | ||
"@sentry/tracing": "7.61.1", | ||
"clsx": "1.2.1", | ||
"i18next": "22.4.15", | ||
"immutable": "4.3.0", | ||
"immutable": "4.3.1", | ||
"lodash.truncate": "4.4.2", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
|
@@ -56,8 +59,8 @@ | |
}, | ||
"devDependencies": { | ||
"@commitlint/config-conventional": "17.6.7", | ||
"@cypress/code-coverage": "3.10.9", | ||
"@trivago/prettier-plugin-sort-imports": "4.1.1", | ||
"@cypress/code-coverage": "3.11.0", | ||
"@trivago/prettier-plugin-sort-imports": "4.2.0", | ||
"@types/lodash.truncate": "^4.4.7", | ||
"@types/node": "^18.13.0", | ||
"@types/qs": "6.9.7", | ||
|
@@ -66,30 +69,30 @@ | |
"@types/uuid": "9.0.2", | ||
"@typescript-eslint/eslint-plugin": "6.2.1", | ||
"@typescript-eslint/parser": "6.2.1", | ||
"@vitejs/plugin-react": "^4.0.0", | ||
"@vitejs/plugin-react": "^4.0.4", | ||
"commitlint": "17.6.7", | ||
"concurrently": "8.2.0", | ||
"cypress": "12.16.0", | ||
"cypress": "12.17.3", | ||
"cypress-iframe": "1.0.1", | ||
"cypress-vite": "1.4.2", | ||
"env-cmd": "10.1.0", | ||
"eslint": "^8.34.0", | ||
"eslint": "^8.46.0", | ||
"eslint-config-airbnb": "19.0.4", | ||
"eslint-config-prettier": "8.8.0", | ||
"eslint-config-prettier": "8.10.0", | ||
"eslint-import-resolver-typescript": "3.5.5", | ||
"eslint-plugin-import": "2.27.5", | ||
"eslint-plugin-import": "2.28.0", | ||
"eslint-plugin-jsx-a11y": "6.7.1", | ||
"eslint-plugin-react": "7.33.0", | ||
"eslint-plugin-react": "7.33.1", | ||
"eslint-plugin-react-hooks": "4.6.0", | ||
"http-status-codes": "2.2.0", | ||
"husky": "8.0.3", | ||
"path": "0.12.7", | ||
"prettier": "^2.8.4", | ||
"prettier": "3.0.1", | ||
"qs": "6.11.2", | ||
"rollup-plugin-visualizer": "5.9.2", | ||
"typescript": "^5.0.0", | ||
"vite": "^4.1.0", | ||
"vite-plugin-checker": "^0.6.0", | ||
"typescript": "^5.1.6", | ||
"vite": "^4.4.9", | ||
"vite-plugin-checker": "^0.6.1", | ||
"vite-plugin-istanbul": "4.1.0" | ||
}, | ||
"packageManager": "[email protected]" | ||
|
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
Oops, something went wrong.