Skip to content

Commit 130ce65

Browse files
authored
Merge pull request #176 from icflorescu/next
Release 7.14.2
2 parents 9354b8b + 51e9e3e commit 130ce65

File tree

9 files changed

+949
-898
lines changed

9 files changed

+949
-898
lines changed

.github/workflows/publish-and-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup Node.js
3030
uses: actions/setup-node@v4
3131
with:
32-
node-version: '22.8'
32+
node-version: '22.11'
3333
cache: yarn
3434
- name: Restore cache
3535
uses: actions/cache@v4

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
The following is a list of notable changes to the Mantine ContextMenu component.
44
Minor versions that are not listed in the changelog are minor bug fixes and small internal improvements or refactorings.
55

6+
## 7.14.2 (2024-10-26)
7+
8+
- Update dev dependencies to ensure compatibility with Mantine 7.14.2 and Next.js 15
9+
- Minor docs app updates to ensure compatibility with Next.js 15
10+
- Update build workflow Node.js version
11+
612
## 7.12.2 (2024-09-04)
713

814
- Update dev dependencies to ensure compatibility with Mantine 7.12.2

app/layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const metadata: Metadata = {
2222

2323
export default function RootLayout({ children }: { children: React.ReactNode }) {
2424
return (
25-
<html lang="en">
25+
<html lang="en" suppressHydrationWarning>
2626
<head>
2727
<ColorSchemeScript defaultColorScheme="auto" />
2828
</head>

app/manifest.webmanifest/route.ts

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import { PRODUCT_DESCRIPTION, PRODUCT_NAME } from '~/app/config';
77
* (@see https://github.com/vercel/next.js/issues/56687)
88
*/
99

10+
export const dynamic = 'force-static';
11+
1012
const data: MetadataRoute.Manifest = {
1113
name: PRODUCT_NAME,
1214
short_name: PRODUCT_NAME,

app/robots.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { MetadataRoute } from 'next';
22
import { WEBSITE_LINK } from './config';
33

4+
export const dynamic = 'force-static';
5+
46
export default function robots(): MetadataRoute.Robots {
57
return {
68
rules: {

app/sitemap.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { MetadataRoute } from 'next';
22
import { ROUTES, WEBSITE_LINK } from './config';
33

4+
export const dynamic = 'force-static';
5+
46
export default function sitemap(): MetadataRoute.Sitemap {
57
return [
68
{

next.config.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* eslint-disable @typescript-eslint/no-var-requires */
2-
const withPWA = require('@ducanh2912/next-pwa').default({ dest: 'public' });
32
const { name: PACKAGE_NAME, version: PACKAGE_VERSION } = require('./package.json');
43

54
module.exports = async () => {
@@ -34,5 +33,5 @@ module.exports = async () => {
3433

3534
if (process.env.GITHUB_PAGES) config.basePath = '/mantine-contextmenu';
3635

37-
return withPWA(config);
36+
return config;
3837
};

package.json

+20-21
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mantine-contextmenu",
3-
"version": "7.12.2",
3+
"version": "7.14.2",
44
"description": "Craft your applications for productivity and meet your users’ expectations by enhancing your Mantine-based UIs with a desktop-grade, lightweight yet fully-featured, dark-theme aware context-menu component, built by the creator of Mantine DataTable",
55
"keywords": [
66
"ui",
@@ -72,38 +72,37 @@
7272
"format": "prettier --write ."
7373
},
7474
"devDependencies": {
75-
"@ducanh2912/next-pwa": "^10.2.8",
76-
"@mantine/code-highlight": "^7.12.2",
77-
"@mantine/core": "^7.12.2",
78-
"@mantine/hooks": "^7.12.2",
79-
"@mantine/notifications": "^7.12.2",
80-
"@tabler/icons-react": "^3.14.0",
81-
"@types/lodash": "^4.17.7",
82-
"@types/node": "^22.5.3",
83-
"@types/react": "^18.3.5",
84-
"@types/react-dom": "^18.3.0",
85-
"@typescript-eslint/eslint-plugin": "^8.4.0",
86-
"@typescript-eslint/parser": "^8.4.0",
75+
"@mantine/code-highlight": "^7.14.2",
76+
"@mantine/core": "^7.14.2",
77+
"@mantine/hooks": "^7.14.2",
78+
"@mantine/notifications": "^7.14.2",
79+
"@tabler/icons-react": "^3.22.0",
80+
"@types/lodash": "^4.17.13",
81+
"@types/node": "^22.10.0",
82+
"@types/react": "^18.3.12",
83+
"@types/react-dom": "^18.3.1",
84+
"@typescript-eslint/eslint-plugin": "^8.16.0",
85+
"@typescript-eslint/parser": "^8.16.0",
8786
"clsx": "^2.1.1",
88-
"cssnano": "^7.0.5",
87+
"cssnano": "^7.0.6",
8988
"eslint": "^8",
90-
"eslint-config-next": "^14.2.7",
89+
"eslint-config-next": "^15.0.3",
9190
"eslint-config-prettier": "^9.1.0",
9291
"lodash": "^4.17.21",
93-
"next": "^14.2.7",
94-
"postcss": "^8.4.44",
92+
"next": "^15.0.3",
93+
"postcss": "^8.4.49",
9594
"postcss-cli": "^11.0.0",
9695
"postcss-import": "^16.1.0",
9796
"postcss-preset-mantine": "^1.17.0",
9897
"postcss-simple-vars": "^7.0.1",
99-
"prettier": "^3.3.3",
98+
"prettier": "^3.4.0",
10099
"react": "^18.3.1",
101100
"react-dom": "^18.3.1",
102101
"sharp": "^0.33.5",
103102
"swr": "^2.2.5",
104-
"tsup": "^8.2.4",
105-
"typescript": "^5.5.4",
106-
"webpack": "^5.94.0"
103+
"tsup": "^8.3.5",
104+
"typescript": "^5.7.2",
105+
"webpack": "^5.96.1"
107106
},
108107
"peerDependencies": {
109108
"@mantine/core": ">=7.12",

0 commit comments

Comments
 (0)