Skip to content

Commit

Permalink
Update deps, docs website
Browse files Browse the repository at this point in the history
  • Loading branch information
icflorescu committed Nov 26, 2024
1 parent 8b705aa commit a9551fe
Show file tree
Hide file tree
Showing 10 changed files with 1,284 additions and 12,186 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22.6'
node-version: '22.11'
cache: yarn
- name: Restore cache
uses: actions/cache@v4
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
The following is a list of notable changes to the Mantine DataTable component.
Minor versions that are not listed in the changelog are bug fixes and small improvements.

## 7.14.2 (2024-10-26)

- Update dev dependencies to ensure compatibility with Mantine 7.14.2 and Next.js 15
- Update build workflow Node.js version
- Minor docs app fixes

## 7.12.4 (2024-09-04)

- Fix [#627](https://github.com/icflorescu/mantine-datatable/issues/627)
Expand Down
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const metadata: Metadata = {

export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<html lang="en" suppressHydrationWarning>
<head>
<ColorSchemeScript defaultColorScheme="auto" />
</head>
Expand Down
2 changes: 2 additions & 0 deletions app/manifest.webmanifest/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { PRODUCT_DESCRIPTION, PRODUCT_NAME } from '~/app/config';
* (@see https://github.com/vercel/next.js/issues/56687)
*/

export const dynamic = 'force-static';

const data: MetadataRoute.Manifest = {
name: PRODUCT_NAME,
short_name: PRODUCT_NAME,
Expand Down
2 changes: 2 additions & 0 deletions app/robots.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import type { MetadataRoute } from 'next';
import { WEBSITE_LINK } from './config';

export const dynamic = 'force-static';

export default function robots(): MetadataRoute.Robots {
return {
rules: {
Expand Down
2 changes: 2 additions & 0 deletions app/sitemap.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import type { MetadataRoute } from 'next';
import { ROUTES, WEBSITE_LINK } from './config';

export const dynamic = 'force-static';

export default function sitemap(): MetadataRoute.Sitemap {
return [
{
Expand Down
5 changes: 2 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const withPWA = require('@ducanh2912/next-pwa').default({ dest: 'public' });
/* eslint-disable @typescript-eslint/no-require-imports */
const { name: PACKAGE_NAME, version: PACKAGE_VERSION } = require('./package.json');

module.exports = async () => {
Expand Down Expand Up @@ -35,5 +34,5 @@ module.exports = async () => {

if (process.env.GITHUB_PAGES) config.basePath = '/mantine-datatable';

return withPWA(config);
return config;
};
58 changes: 28 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mantine-datatable",
"version": "7.12.4",
"version": "7.14.2",
"description": "The lightweight, dependency-free, dark-theme aware table component for your Mantine UI data-rich applications, featuring asynchronous data loading support, pagination, intuitive Gmail-style additive batch rows selection, column sorting, custom cell data rendering, row expansion, nesting, context menus, and much more",
"keywords": [
"mantine",
Expand Down Expand Up @@ -71,51 +71,49 @@
"format": "prettier --write ."
},
"devDependencies": {
"@docsearch/react": "^3.6.1",
"@ducanh2912/next-pwa": "^10.2.8",
"@faker-js/faker": "^8.4.1",
"@docsearch/react": "^3.8.0",
"@faker-js/faker": "^9.2.0",
"@formkit/auto-animate": "^0.8.2",
"@hello-pangea/dnd": "^16.6.0",
"@mantine/code-highlight": "^7.12.2",
"@mantine/core": "^7.12.2",
"@mantine/dates": "^7.12.2",
"@mantine/hooks": "^7.12.2",
"@mantine/modals": "^7.12.2",
"@mantine/notifications": "^7.12.2",
"@tabler/icons-react": "^3.14.0",
"@tanstack/react-query": "^5.54.1",
"@types/lodash": "^4.17.7",
"@types/node": "^22.5.3",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"@hello-pangea/dnd": "^17.0.0",
"@mantine/code-highlight": "^7.14.2",
"@mantine/core": "^7.14.2",
"@mantine/dates": "^7.14.2",
"@mantine/hooks": "^7.14.2",
"@mantine/modals": "^7.14.2",
"@mantine/notifications": "^7.14.2",
"@tabler/icons-react": "^3.22.0",
"@tanstack/react-query": "^5.61.3",
"@types/lodash": "^4.17.13",
"@types/node": "^22.10.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"clsx": "^2.1.1",
"cssnano": "^7.0.5",
"cssnano": "^7.0.6",
"dayjs": "^1.11.13",
"eslint": "^8",
"eslint-config-next": "^14.2.7",
"eslint-config-next": "^15.0.3",
"eslint-config-prettier": "^9.1.0",
"lodash": "^4.17.21",
"mantine-contextmenu": "^7.12.2",
"next": "^14.2.7",
"postcss": "^8.4.44",
"mantine-contextmenu": "^7.14.2",
"next": "^15.0.3",
"postcss": "^8.4.49",
"postcss-cli": "^11.0.0",
"postcss-import": "^16.1.0",
"postcss-preset-mantine": "^1.17.0",
"postcss-simple-vars": "^7.0.1",
"prettier": "^3.3.3",
"prettier": "^3.4.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sharp": "^0.33.5",
"swr": "^2.2.5",
"tsup": "^8.2.4",
"typescript": "^5.5.4",
"webpack": "^5.94.0"
"tsup": "^8.3.5",
"typescript": "^5.7.2"
},
"peerDependencies": {
"@mantine/core": ">=7.11",
"@mantine/hooks": ">=7.11",
"@mantine/core": ">=7.14",
"@mantine/hooks": ">=7.14",
"clsx": ">=2",
"react": ">=18.2"
}
Expand Down
Loading

0 comments on commit a9551fe

Please sign in to comment.