diff --git a/package.json b/package.json index a33640e..778bdad 100644 --- a/package.json +++ b/package.json @@ -24,22 +24,24 @@ "license": "MIT", "dependencies": { "@auth0/auth0-spa-js": "^2.1.2", + "@emotion/react": "^11.11.4", + "@emotion/styled": "^11.11.5", + "@orfium/ictinus": "5.8.1", "axios": "^1.6.7", "axios-mock-adapter": "^1.22.0", "dayjs": "^1.11.10", "jwt-decode": "^3.1.2", "polished": "^4.2.2", + "react": "^18.1.0", + "react-dom": "^18.1.0", "react-error-boundary": "^3.1.4", "react-router-dom": "^5.3.1", - "zustand": "^4.0.0-rc.1" + "zustand": "4.5.4" }, "devDependencies": { "@amanda-mitchell/semantic-release-npm-multiple": "^3.5.0", "@commitlint/cli": "^16.2.4", "@commitlint/config-conventional": "^16.2.4", - "@emotion/react": "^11.11.4", - "@emotion/styled": "^11.11.5", - "@orfium/ictinus": "5.8.1", "@semantic-release/changelog": "^6.0.1", "@semantic-release/git": "^10.0.1", "@sentry/browser": "7.21.1", @@ -65,9 +67,6 @@ "lint-staged": "^12.4.1", "prettier": "^2.6.2", "prettier-plugin-organize-imports": "^3.2.2", - "react": "^18.1.0", - "react-dom": "^18.1.0", - "react-router-dom": "^5.3.1", "rimraf": "^3.0.2", "semantic-release": "^22.0.12", "ts-lib": "^0.0.5", diff --git a/vite.config.ts b/vite.config.ts index 052eb8e..bdf9eb7 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -32,6 +32,8 @@ const viteOnBuildSuccess = () => { const plugins = [ react({ babel: {}, + jsxImportSource: '@emotion/react', + jsxRuntime: 'classic', }), tsconfigPaths(), svgr(), diff --git a/yarn.lock b/yarn.lock index 9666c10..d3f3c87 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11059,16 +11059,7 @@ string-argv@^0.3.1, string-argv@~0.3.1: resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.2.tgz#2b6d0ef24b656274d957d54e0a4bbf6153dc02b6" integrity sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q== -"string-width-cjs@npm:string-width@^4.2.0": - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -11154,14 +11145,7 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -12203,7 +12187,7 @@ wordwrap@^1.0.0: resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -12221,15 +12205,6 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" @@ -12376,7 +12351,7 @@ z-schema@~5.0.2: optionalDependencies: commander "^10.0.0" -zustand@^4.0.0-rc.1: +zustand@4.5.4: version "4.5.4" resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.5.4.tgz#63abdd81edfb190bc61e0bbae045cc4d52158a05" integrity sha512-/BPMyLKJPtFEvVL0E9E9BTUM63MNyhPGlvxk1XjrfWTUlV+BR8jufjsovHzrtR6YNcBEcL7cMHovL1n9xHawEg==