From 22cff287c361afcfeecd90f6d12f1dda7c0fdcc5 Mon Sep 17 00:00:00 2001 From: Kevin Van Cott Date: Tue, 20 Feb 2024 10:36:58 -0600 Subject: [PATCH] upgrade back to mantine 7.5.3, but with esm types in package.json --- apps/mantine-react-table-docs/package.json | 10 +-- packages/mantine-react-table/package.json | 8 +- .../mantine-react-table/rollup.config.mjs | 2 +- pnpm-lock.yaml | 88 +++++++++---------- 4 files changed, 54 insertions(+), 54 deletions(-) diff --git a/apps/mantine-react-table-docs/package.json b/apps/mantine-react-table-docs/package.json index f228a2868..5df67f5b4 100644 --- a/apps/mantine-react-table-docs/package.json +++ b/apps/mantine-react-table-docs/package.json @@ -18,11 +18,11 @@ "@fortawesome/fontawesome-svg-core": "^6.5.1", "@fortawesome/free-solid-svg-icons": "^6.5.1", "@fortawesome/react-fontawesome": "^0.2.0", - "@mantine/code-highlight": "7.5.2", - "@mantine/core": "7.5.2", - "@mantine/dates": "7.5.2", - "@mantine/hooks": "7.5.2", - "@mantine/modals": "7.5.2", + "@mantine/code-highlight": "7.5.3", + "@mantine/core": "7.5.3", + "@mantine/dates": "7.5.3", + "@mantine/hooks": "7.5.3", + "@mantine/modals": "7.5.3", "@mdx-js/loader": "^3.0.1", "@mdx-js/react": "^3.0.1", "@next/mdx": "^14.1.0", diff --git a/packages/mantine-react-table/package.json b/packages/mantine-react-table/package.json index 60cc34209..80d45810e 100644 --- a/packages/mantine-react-table/package.json +++ b/packages/mantine-react-table/package.json @@ -28,7 +28,7 @@ ], "main": "dist/index.cjs", "module": "dist/index.esm.mjs", - "types": "dist/index.d.cts", + "types": "dist/index.esm.d.mts", "exports": { ".": { "import": { @@ -82,9 +82,9 @@ "@babel/core": "^7.23.9", "@babel/preset-react": "^7.23.3", "@faker-js/faker": "^8.4.1", - "@mantine/core": "7.5.2", - "@mantine/dates": "7.5.2", - "@mantine/hooks": "7.5.2", + "@mantine/core": "7.5.3", + "@mantine/dates": "7.5.3", + "@mantine/hooks": "7.5.3", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-typescript": "^11.1.6", diff --git a/packages/mantine-react-table/rollup.config.mjs b/packages/mantine-react-table/rollup.config.mjs index 1cc2d2fdd..cb6d831f9 100644 --- a/packages/mantine-react-table/rollup.config.mjs +++ b/packages/mantine-react-table/rollup.config.mjs @@ -48,7 +48,7 @@ export default [ { input: './dist/types/index.d.ts', output: [ - { file: `./${pkg.types}`, format: 'cjs' }, + { file: `./dist/index.d.cts`, format: 'cjs' }, { file: './dist/index.esm.d.mts', format: 'esm' }, ], plugins: [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d3bddf49e..f18606d71 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,20 +33,20 @@ importers: specifier: ^0.2.0 version: 0.2.0(@fortawesome/fontawesome-svg-core@6.5.1)(react@18.2.0) '@mantine/code-highlight': - specifier: 7.5.2 - version: 7.5.2(@mantine/core@7.5.2)(@mantine/hooks@7.5.2)(react-dom@18.2.0)(react@18.2.0) + specifier: 7.5.3 + version: 7.5.3(@mantine/core@7.5.3)(@mantine/hooks@7.5.3)(react-dom@18.2.0)(react@18.2.0) '@mantine/core': - specifier: 7.5.2 - version: 7.5.2(@mantine/hooks@7.5.2)(@types/react@18.2.57)(react-dom@18.2.0)(react@18.2.0) + specifier: 7.5.3 + version: 7.5.3(@mantine/hooks@7.5.3)(@types/react@18.2.57)(react-dom@18.2.0)(react@18.2.0) '@mantine/dates': - specifier: 7.5.2 - version: 7.5.2(@mantine/core@7.5.2)(@mantine/hooks@7.5.2)(dayjs@1.11.10)(react-dom@18.2.0)(react@18.2.0) + specifier: 7.5.3 + version: 7.5.3(@mantine/core@7.5.3)(@mantine/hooks@7.5.3)(dayjs@1.11.10)(react-dom@18.2.0)(react@18.2.0) '@mantine/hooks': - specifier: 7.5.2 - version: 7.5.2(react@18.2.0) + specifier: 7.5.3 + version: 7.5.3(react@18.2.0) '@mantine/modals': - specifier: 7.5.2 - version: 7.5.2(@mantine/core@7.5.2)(@mantine/hooks@7.5.2)(react-dom@18.2.0)(react@18.2.0) + specifier: 7.5.3 + version: 7.5.3(@mantine/core@7.5.3)(@mantine/hooks@7.5.3)(react-dom@18.2.0)(react@18.2.0) '@mdx-js/loader': specifier: ^3.0.1 version: 3.0.1(webpack@5.90.3) @@ -158,14 +158,14 @@ importers: specifier: ^8.4.1 version: 8.4.1 '@mantine/core': - specifier: 7.5.2 - version: 7.5.2(@mantine/hooks@7.5.2)(@types/react@18.2.57)(react-dom@18.2.0)(react@18.2.0) + specifier: 7.5.3 + version: 7.5.3(@mantine/hooks@7.5.3)(@types/react@18.2.57)(react-dom@18.2.0)(react@18.2.0) '@mantine/dates': - specifier: 7.5.2 - version: 7.5.2(@mantine/core@7.5.2)(@mantine/hooks@7.5.2)(dayjs@1.11.10)(react-dom@18.2.0)(react@18.2.0) + specifier: 7.5.3 + version: 7.5.3(@mantine/core@7.5.3)(@mantine/hooks@7.5.3)(dayjs@1.11.10)(react-dom@18.2.0)(react@18.2.0) '@mantine/hooks': - specifier: 7.5.2 - version: 7.5.2(react@18.2.0) + specifier: 7.5.3 + version: 7.5.3(react@18.2.0) '@rollup/plugin-babel': specifier: ^6.0.4 version: 6.0.4(@babel/core@7.23.9)(rollup@4.12.0) @@ -240,7 +240,7 @@ importers: version: 2.5.0(eslint@8.56.0)(typescript@5.3.3) mantine-contextmenu: specifier: ^7.5.0 - version: 7.5.0(@mantine/core@7.5.2)(@mantine/hooks@7.5.2)(clsx@2.1.0)(react@18.2.0) + version: 7.5.0(@mantine/core@7.5.3)(@mantine/hooks@7.5.3)(clsx@2.1.0)(react@18.2.0) postcss: specifier: ^8.4.35 version: 8.4.35 @@ -2546,31 +2546,31 @@ packages: resolution: {integrity: sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==} dev: true - /@mantine/code-highlight@7.5.2(@mantine/core@7.5.2)(@mantine/hooks@7.5.2)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-Sw8F4Cc/1Yx0GELNg0Z2WYoSr55EQqqo0tSMrqOFFvnmM1rezBBdsSKlIvKELc74UXkCAYucENvIKgKMdghHWA==} + /@mantine/code-highlight@7.5.3(@mantine/core@7.5.3)(@mantine/hooks@7.5.3)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-TLZSkVAfX3KH9XKjJl965KX6TjpMKtNzObjI6Uvo/J/5Rvqhe7xbhBPJDT7yhSD+wjnTMsEWEb68rmQa3M/cEA==} peerDependencies: - '@mantine/core': 7.5.2 - '@mantine/hooks': 7.5.2 + '@mantine/core': 7.5.3 + '@mantine/hooks': 7.5.3 react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@mantine/core': 7.5.2(@mantine/hooks@7.5.2)(@types/react@18.2.57)(react-dom@18.2.0)(react@18.2.0) - '@mantine/hooks': 7.5.2(react@18.2.0) + '@mantine/core': 7.5.3(@mantine/hooks@7.5.3)(@types/react@18.2.57)(react-dom@18.2.0)(react@18.2.0) + '@mantine/hooks': 7.5.3(react@18.2.0) clsx: 2.0.0 highlight.js: 11.9.0 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@mantine/core@7.5.2(@mantine/hooks@7.5.2)(@types/react@18.2.57)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-e58qTiLEp9qLxQ5JZlPNykJWBR+oi0q2J8JPKTjTJD+4UM58uh9oL4wuMEdUyBgiYGvDc/cVYF+rftMpuCt+KQ==} + /@mantine/core@7.5.3(@mantine/hooks@7.5.3)(@types/react@18.2.57)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-Wvv6DJXI+GX9mmKG5HITTh/24sCZ0RoYQHdTHh0tOfGnEy+RleyhA82UjnMsp0n2NjfCISBwbiKgfya6b2iaFw==} peerDependencies: - '@mantine/hooks': 7.5.2 + '@mantine/hooks': 7.5.3 react: ^18.2.0 react-dom: ^18.2.0 dependencies: '@floating-ui/react': 0.24.8(react-dom@18.2.0)(react@18.2.0) - '@mantine/hooks': 7.5.2(react@18.2.0) + '@mantine/hooks': 7.5.3(react@18.2.0) clsx: 2.0.0 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -2581,39 +2581,39 @@ packages: transitivePeerDependencies: - '@types/react' - /@mantine/dates@7.5.2(@mantine/core@7.5.2)(@mantine/hooks@7.5.2)(dayjs@1.11.10)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-fQN/5YXgXEr3rpyPq3TeiBIljCJWFo957DTFqLzkn/m0E2Qx5Sk+l6CjCTF9ShdPAuDaTkI9RKdE9NaV5JvcrQ==} + /@mantine/dates@7.5.3(@mantine/core@7.5.3)(@mantine/hooks@7.5.3)(dayjs@1.11.10)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-v6fFdW+7HAd7XsZFMJVMuFE2RHbQAVnsUNeP0/5h+H4qEj0soTmMvHPP8wXEed5v85r9CcEMGOGq1n6RFRpWHA==} peerDependencies: - '@mantine/core': 7.5.2 - '@mantine/hooks': 7.5.2 + '@mantine/core': 7.5.3 + '@mantine/hooks': 7.5.3 dayjs: '>=1.0.0' react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@mantine/core': 7.5.2(@mantine/hooks@7.5.2)(@types/react@18.2.57)(react-dom@18.2.0)(react@18.2.0) - '@mantine/hooks': 7.5.2(react@18.2.0) + '@mantine/core': 7.5.3(@mantine/hooks@7.5.3)(@types/react@18.2.57)(react-dom@18.2.0)(react@18.2.0) + '@mantine/hooks': 7.5.3(react@18.2.0) clsx: 2.0.0 dayjs: 1.11.10 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - /@mantine/hooks@7.5.2(react@18.2.0): - resolution: {integrity: sha512-4POujH5Xx84VB/xfM6EttDq725dqqL2DntoeMjHz3Ua94aK5Y0VSc1IwlETxCuF7yNV5/w/Z8kgeVVa5cDgrPg==} + /@mantine/hooks@7.5.3(react@18.2.0): + resolution: {integrity: sha512-mFI448mAs12v8FrgSVhytqlhTVrEjIfd/PqPEfwJu5YcZIq4YZdqpzJIUbANnRrFSvmoQpDb1PssdKx7Ds35hw==} peerDependencies: react: ^18.2.0 dependencies: react: 18.2.0 - /@mantine/modals@7.5.2(@mantine/core@7.5.2)(@mantine/hooks@7.5.2)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-QRdFZtaGvyE9/nYgnsyMPsWEy+o0vaTzD+Sle6c/CaZ4MPk0ok3Au8bd04LnSMmoinYgLeei9IsmP78UXO9kNA==} + /@mantine/modals@7.5.3(@mantine/core@7.5.3)(@mantine/hooks@7.5.3)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-SuPvv14nZmyBcNINqr9y2TLv9xIWXrRYeG8k7QCHM3mo2exW2IHP66Zx93AEpuKbgoDc78fcJcrTqv9C7dxUWQ==} peerDependencies: - '@mantine/core': 7.5.2 - '@mantine/hooks': 7.5.2 + '@mantine/core': 7.5.3 + '@mantine/hooks': 7.5.3 react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@mantine/core': 7.5.2(@mantine/hooks@7.5.2)(@types/react@18.2.57)(react-dom@18.2.0)(react@18.2.0) - '@mantine/hooks': 7.5.2(react@18.2.0) + '@mantine/core': 7.5.3(@mantine/hooks@7.5.3)(@types/react@18.2.57)(react-dom@18.2.0)(react@18.2.0) + '@mantine/hooks': 7.5.3(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false @@ -8803,7 +8803,7 @@ packages: tmpl: 1.0.5 dev: true - /mantine-contextmenu@7.5.0(@mantine/core@7.5.2)(@mantine/hooks@7.5.2)(clsx@2.1.0)(react@18.2.0): + /mantine-contextmenu@7.5.0(@mantine/core@7.5.3)(@mantine/hooks@7.5.3)(clsx@2.1.0)(react@18.2.0): resolution: {integrity: sha512-LWT+cWLfKlWm9iiGIfB1d+19NyM5tsZ3/RSCdGFr48OYUz++5A3aZ6VbBK4vyP670ECl/+aN3qIi+y6tjcWFTQ==} peerDependencies: '@mantine/core': '>=7' @@ -8811,8 +8811,8 @@ packages: clsx: '>=2' react: '>=18.2' dependencies: - '@mantine/core': 7.5.2(@mantine/hooks@7.5.2)(@types/react@18.2.57)(react-dom@18.2.0)(react@18.2.0) - '@mantine/hooks': 7.5.2(react@18.2.0) + '@mantine/core': 7.5.3(@mantine/hooks@7.5.3)(@types/react@18.2.57)(react-dom@18.2.0)(react@18.2.0) + '@mantine/hooks': 7.5.3(react@18.2.0) clsx: 2.1.0 react: 18.2.0 dev: true