Skip to content

feat!: migrate to MUI v6 #514

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
merged 11 commits into from
Sep 15, 2024
Merged

feat!: migrate to MUI v6 #514

merged 11 commits into from
Sep 15, 2024

Conversation

pionxzh
Copy link
Collaborator

@pionxzh pionxzh commented Sep 15, 2024

closes #511

Changes

  • Migrate from yarn to pnpm
  • Migrate MUI from V5 to V6

Notice

Pigment CSS is currently in the early alpha stage, and we don't support it. You might be able to use it in your app, but I haven't tested it.

Copy link

netlify bot commented Sep 15, 2024

Deploy Preview for any-viewer ready!

Name Link
🔨 Latest commit cc5f556
🔍 Latest deploy log https://app.netlify.com/sites/any-viewer/deploys/66e703299eee0b0008cde7a1
😎 Deploy Preview https://deploy-preview-514--any-viewer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

socket-security bot commented Sep 15, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@commitlint/cli@19.5.0 Transitive: environment, eval, filesystem, shell, unsafe +100 6.26 MB bycedric, escapedcat, marionebl, ...1 more
npm/@commitlint/config-conventional@19.5.0 Transitive: filesystem +8 141 kB bycedric, escapedcat, marionebl, ...1 more
npm/@emotion/react@11.13.3 Transitive: environment, filesystem, unsafe +69 11.3 MB emotion-release-bot
npm/@mui/material@6.1.0 Transitive: environment +26 11.5 MB aarongarciah, atomiks, brijeshb42, ...8 more
npm/@swc/core@1.7.26 environment, filesystem, shell +2 308 kB kdy1
npm/@swc/helpers@0.5.13 None +1 317 kB kdy1, kwonoj
npm/@testing-library/dom@10.4.0 environment Transitive: eval +29 3.77 MB testing-library-bot
npm/@testing-library/react@16.0.1 environment +2 606 kB testing-library-bot
npm/@types/node@20.16.5 None +1 2.26 MB types
npm/@types/react@18.3.5 None +2 1.69 MB types
npm/@typescript-eslint/eslint-plugin@8.5.0 Transitive: environment, filesystem +37 8.06 MB bradzacher, jameshenry
npm/@typescript-eslint/parser@8.5.0 Transitive: environment, filesystem +30 3.36 MB bradzacher, jameshenry
npm/@vitest/coverage-v8@2.1.1 Transitive: environment, filesystem, shell +64 10.7 MB antfu, oreanno, patak, ...1 more
npm/eslint-plugin-n@17.10.2 filesystem Transitive: environment, unsafe +16 2.94 MB weiran.zsd
npm/eslint-plugin-promise@7.1.0 None 0 77.7 kB eslint-community-bot
npm/eslint-plugin-react@7.36.1 Transitive: environment, eval, filesystem +106 6.12 MB ljharb, yannickcr
npm/eslint-plugin-unused-imports@4.1.4 unsafe 0 15 kB antfu
npm/expect-type@0.20.0 None 0 109 kB mmkale
npm/husky@9.1.6 environment, filesystem, shell 0 4.03 kB typicode
npm/lint-staged@15.2.10 Transitive: environment, filesystem, shell +54 2.24 MB okonet
npm/nextra-theme-docs@2.13.3 Transitive: environment, eval +24 5.41 MB quietshu
npm/nextra@2.13.3 environment Transitive: eval, filesystem, network, shell, unsafe +300 78.1 MB quietshu
npm/rollup@4.21.3 None +1 2.3 MB eventualbuddha, lukastaegert, rich_harris, ...2 more
npm/typescript@5.6.2 None 0 22.4 MB typescript-bot
npm/vite@5.4.5 Transitive: environment, filesystem, network, shell +5 3.77 MB antfu, patak, soda, ...2 more
npm/vitest@2.1.1 Transitive: environment, filesystem, shell, unsafe +32 4.04 MB antfu, oreanno, patak, ...1 more

🚮 Removed packages: npm/@ampproject/remapping@2.2.1, npm/@babel/compat-data@7.25.2, npm/@babel/generator@7.25.0, npm/@babel/helpers@7.25.0, npm/@babel/parser@7.25.3, npm/@babel/runtime@7.24.4, npm/@babel/traverse@7.25.3, npm/@babel/types@7.25.2, npm/@commitlint/cli@19.4.0, npm/@commitlint/config-angular-type-enum@19.1.0, npm/@commitlint/config-angular@19.3.0, npm/@commitlint/config-validator@19.0.3, npm/@commitlint/ensure@19.0.3, npm/@commitlint/execute-rule@19.0.0, npm/@commitlint/format@19.3.0, npm/@commitlint/is-ignored@19.2.2, npm/@commitlint/lint@19.2.2, npm/@commitlint/load@19.4.0, npm/@commitlint/message@19.0.0, npm/@commitlint/parse@19.0.3, npm/@commitlint/read@19.4.0, npm/@commitlint/resolve-extends@19.1.0, npm/@commitlint/rules@19.0.3, npm/@commitlint/to-lines@19.0.0, npm/@commitlint/top-level@19.0.0, npm/@commitlint/types@19.0.3, npm/@emotion/react@11.13.0, npm/@emotion/serialize@1.3.0, npm/@emotion/unitless@0.9.0, npm/@eslint-community/regexpp@4.10.0, npm/@gar/promisify@1.1.3, npm/@mui/core-downloads-tracker@5.16.7, npm/@mui/material@5.16.7, npm/@mui/private-theming@5.16.6, npm/@mui/styled-engine@5.16.6, npm/@mui/system@5.16.7, npm/@mui/types@7.2.15, npm/@mui/utils@5.16.6, npm/@npmcli/fs@2.1.2, npm/@npmcli/move-file@2.0.1, npm/@rollup/rollup-android-arm-eabi@4.21.0, npm/@rollup/rollup-android-arm64@4.21.0, npm/@rollup/rollup-darwin-arm64@4.21.0, npm/@rollup/rollup-darwin-x64@4.21.0, npm/@rollup/rollup-linux-arm-gnueabihf@4.21.0, npm/@rollup/rollup-linux-arm-musleabihf@4.21.0, npm/@rollup/rollup-linux-arm64-gnu@4.21.0, npm/@rollup/rollup-linux-arm64-musl@4.21.0, npm/@rollup/rollup-linux-powerpc64le-gnu@4.21.0, npm/@rollup/rollup-linux-riscv64-gnu@4.21.0, npm/@rollup/rollup-linux-s390x-gnu@4.21.0, npm/@rollup/rollup-linux-x64-gnu@4.21.0, npm/@rollup/rollup-linux-x64-musl@4.21.0, npm/@rollup/rollup-win32-arm64-msvc@4.21.0, npm/@rollup/rollup-win32-ia32-msvc@4.21.0, npm/@rollup/rollup-win32-x64-msvc@4.21.0, npm/@swc/core-darwin-arm64@1.7.14, npm/@swc/core-darwin-x64@1.7.14, npm/@swc/core-linux-arm-gnueabihf@1.7.14, npm/@swc/core-linux-arm64-gnu@1.7.14, npm/@swc/core-linux-arm64-musl@1.7.14, npm/@swc/core-linux-x64-gnu@1.7.14, npm/@swc/core-linux-x64-musl@1.7.14, npm/@swc/core-win32-arm64-msvc@1.7.14, npm/@swc/core-win32-ia32-msvc@1.7.14, npm/@swc/core-win32-x64-msvc@1.7.14, npm/@swc/core@1.7.14, npm/@swc/helpers@0.5.12, npm/@testing-library/dom@9.2.0, npm/@testing-library/react@14.2.2, npm/@tsconfig/node10@1.0.9, npm/@tsconfig/node16@1.0.3, npm/@types/aria-query@5.0.1, npm/@types/babel__traverse@7.20.5, npm/@types/istanbul-lib-coverage@2.0.4, npm/@types/json-schema@7.0.12, npm/@types/node@20.12.5, npm/@types/react-transition-group@4.4.10, npm/@types/react@18.3.3, npm/@types/semver@7.5.1, npm/@typescript-eslint/eslint-plugin@7.5.0, npm/@typescript-eslint/parser@8.2.0, npm/@typescript-eslint/scope-manager@7.5.0, npm/@typescript-eslint/type-utils@7.5.0, npm/@typescript-eslint/types@7.5.0, npm/@typescript-eslint/typescript-estree@7.5.0, npm/@typescript-eslint/utils@7.5.0, npm/@typescript-eslint/visitor-keys@7.5.0, npm/@vitest/coverage-v8@1.4.0, npm/@vitest/expect@1.4.0, npm/@vitest/runner@1.4.0, npm/@vitest/snapshot@1.4.0, npm/@vitest/spy@1.4.0, npm/@vitest/utils@1.4.0, npm/abbrev@1.1.1, npm/acorn-walk@8.3.2, npm/agentkeepalive@4.3.0, npm/aggregate-error@3.1.0, npm/ajv@8.12.0, npm/aproba@2.0.0, npm/are-we-there-yet@3.0.1, npm/aria-query@5.1.3, npm/array-union@2.1.0, npm/assertion-error@1.1.0, npm/builtins@5.0.1, npm/cacache@16.1.3, npm/chai@4.4.1, npm/check-error@1.0.3, npm/chownr@2.0.0, npm/clean-stack@2.2.0, npm/color-support@1.1.3, npm/console-control-strings@1.1.0, npm/cssstyle@4.0.1, npm/debug@4.3.6, npm/deep-eql@4.1.3, npm/deep-equal@2.2.0, npm/delegates@1.0.0, npm/depd@2.0.0, npm/diff-sequences@29.6.3, npm/dir-glob@3.0.1, npm/encoding@0.1.13, npm/err-code@2.0.3, npm/es-get-iterator@1.1.3, npm/escalade@3.1.1, npm/eslint-compat-utils@0.5.0, npm/eslint-plugin-es-x@7.6.0, npm/eslint-plugin-n@16.6.2, npm/eslint-plugin-promise@6.1.1, npm/eslint-plugin-react@7.35.0, npm/eslint-plugin-unused-imports@3.1.0, npm/eslint-rule-composer@0.3.0, npm/expect-type@0.19.0, npm/fast-glob@3.2.12, npm/fastq@1.15.0, npm/foreground-child@3.2.1, npm/fs-minipass@2.1.0, npm/gauge@4.0.4, npm/get-tsconfig@4.7.6, npm/glob@10.4.1, npm/globalthis@1.0.3, npm/globby@11.1.0, npm/has-unicode@2.0.1, npm/http-cache-semantics@4.1.1, npm/humanize-ms@1.2.1, npm/husky@9.1.4, npm/ignore@5.2.4, npm/import-meta-resolve@4.0.0, npm/indent-string@4.0.0, npm/infer-owner@1.0.4, npm/ip@2.0.1, npm/is-arguments@1.1.1, npm/is-core-module@2.13.1, npm/is-lambda@1.0.1, npm/is-map@2.0.2, npm/is-set@2.0.2, npm/is-weakmap@2.0.1, npm/is-weakset@2.0.2, npm/istanbul-lib-source-maps@5.0.4, npm/jackspeak@3.4.0, npm/jiti@1.21.0, npm/jsonc-parser@3.2.0, npm/jsx-ast-utils@3.3.3, npm/lint-staged@15.2.9, npm/local-pkg@0.5.0, npm/loupe@2.3.7, npm/lru-cache@6.0.0, npm/magicast@0.3.3, npm/make-fetch-happen@10.2.1, npm/minimatch@9.0.4, npm/minipass-collect@1.0.2, npm/minipass-fetch@2.1.2, npm/minipass-flush@1.0.5, npm/minipass-pipeline@1.2.4, npm/minipass-sized@1.0.3, npm/minizlib@2.1.2, npm/mkdirp@1.0.4, npm/mlly@1.6.1, npm/ms@2.1.2, npm/negotiator@0.6.3, npm/nextra-theme-docs@2.13.4, npm/nextra@2.13.4, npm/node-gyp@9.3.1, npm/nopt@6.0.0, npm/npm-run-path@5.1.0, npm/npmlog@6.0.2, npm/object-inspect@1.13.1, npm/object-is@1.1.5, npm/optionator@0.9.3, npm/p-map@4.0.0, npm/pathval@1.1.1, npm/picocolors@1.0.1, npm/pkg-types@1.0.3, npm/postcss@8.4.41, npm/promise-inflight@1.0.1, npm/promise-retry@2.0.1, npm/readable-stream@3.6.2, npm/reflect.getprototypeof@1.0.4, npm/retry@0.12.0, npm/rollup@4.21.0, npm/rrweb-cssom@0.6.0, npm/safe-buffer@5.2.1, npm/semver@7.6.0, npm/set-blocking@2.0.0, npm/smart-buffer@4.2.0, npm/socks-proxy-agent@7.0.0, npm/socks@2.7.1, npm/source-map-js@1.2.0, npm/ssri@9.0.1, npm/stop-iteration-iterator@1.0.0, npm/string-width-cjs@4.2.3, npm/string_decoder@1.3.0, npm/strip-ansi-cjs@6.0.1, npm/strip-literal@2.1.0, npm/tar@6.2.1, npm/test-exclude@6.0.0, npm/tinybench@2.6.0, npm/tinypool@0.8.3, npm/tinyspy@2.2.1, npm/ts-api-utils@1.0.1, npm/tslib@2.5.0, npm/type-detect@4.0.8, npm/typescript@5.5.4, npm/ufo@1.5.3, npm/undici-types@5.26.5, npm/unique-filename@2.0.1, npm/unique-slug@3.0.0, npm/util-deprecate@1.0.2, npm/v8-to-istanbul@9.2.0, npm/vite-node@1.4.0, npm/vite@5.4.1, npm/vitest@1.4.0, npm/which-builtin-type@1.1.3, npm/which-collection@1.0.1, npm/why-is-node-running@2.2.2, npm/wide-align@1.1.5, npm/wrap-ansi-cjs@7.0.0, npm/yallist@4.0.0, npm/yaml@2.5.0, npm/yargs@17.7.1, npm/yocto-queue@1.0.0

View full report↗︎

Copy link

codecov bot commented Sep 15, 2024

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 85.41%. Comparing base (476bf3c) to head (cc5f556).
Report is 12 commits behind head on main.

Files with missing lines Patch % Lines
src/components/DataKeyPair.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #514       +/-   ##
===========================================
+ Coverage   67.89%   85.41%   +17.52%     
===========================================
  Files          37       26       -11     
  Lines        3535     2715      -820     
  Branches      445      432       -13     
===========================================
- Hits         2400     2319       -81     
+ Misses       1122      394      -728     
+ Partials       13        2       -11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

bring back vitest v1 behavior and exclude docs
@pionxzh pionxzh merged commit 1f3f85f into TexteaInc:main Sep 15, 2024
12 checks passed
@pionxzh pionxzh deleted the mui-v6 branch September 15, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MUI v6 support
1 participant