Skip to content

Commit

Permalink
Merge pull request #176 from icflorescu/next
Browse files Browse the repository at this point in the history
Release 7.14.2
  • Loading branch information
icflorescu authored Nov 26, 2024
2 parents 9354b8b + 51e9e3e commit 130ce65
Show file tree
Hide file tree
Showing 9 changed files with 949 additions and 898 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.8'
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 ContextMenu component.
Minor versions that are not listed in the changelog are minor bug fixes and small internal improvements or refactorings.

## 7.14.2 (2024-10-26)

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

## 7.12.2 (2024-09-04)

- Update dev dependencies to ensure compatibility with Mantine 7.12.2
Expand Down
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,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 { 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 { MetadataRoute } from 'next';
import { ROUTES, WEBSITE_LINK } from './config';

export const dynamic = 'force-static';

export default function sitemap(): MetadataRoute.Sitemap {
return [
{
Expand Down
3 changes: 1 addition & 2 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' });
const { name: PACKAGE_NAME, version: PACKAGE_VERSION } = require('./package.json');

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

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

return withPWA(config);
return config;
};
41 changes: 20 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mantine-contextmenu",
"version": "7.12.2",
"version": "7.14.2",
"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",
"keywords": [
"ui",
Expand Down Expand Up @@ -72,38 +72,37 @@
"format": "prettier --write ."
},
"devDependencies": {
"@ducanh2912/next-pwa": "^10.2.8",
"@mantine/code-highlight": "^7.12.2",
"@mantine/core": "^7.12.2",
"@mantine/hooks": "^7.12.2",
"@mantine/notifications": "^7.12.2",
"@tabler/icons-react": "^3.14.0",
"@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",
"@mantine/code-highlight": "^7.14.2",
"@mantine/core": "^7.14.2",
"@mantine/hooks": "^7.14.2",
"@mantine/notifications": "^7.14.2",
"@tabler/icons-react": "^3.22.0",
"@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",
"eslint": "^8",
"eslint-config-next": "^14.2.7",
"eslint-config-next": "^15.0.3",
"eslint-config-prettier": "^9.1.0",
"lodash": "^4.17.21",
"next": "^14.2.7",
"postcss": "^8.4.44",
"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",
"webpack": "^5.96.1"
},
"peerDependencies": {
"@mantine/core": ">=7.12",
Expand Down
Loading

0 comments on commit 130ce65

Please sign in to comment.