Skip to content

Commit

Permalink
docs: Remove now obsolete experimental app dir config and @next/font …
Browse files Browse the repository at this point in the history
…dependency from examples & docs (#328 by @grzegorzpokorski) [skip ci]
  • Loading branch information
grzegorzpokorski committed Jun 20, 2023
1 parent c9c2070 commit 6540645
Show file tree
Hide file tree
Showing 9 changed files with 139 additions and 60 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.4.0
version: 8.6.0
- uses: actions/setup-node@v3
with:
node-version: 18.x
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.4.0
version: 8.6.0
- uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
Expand Down
3 changes: 0 additions & 3 deletions docs/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ const withNextra = require('nextra')({
});

module.exports = withNextra({
experimental: {
appDir: true
},
redirects: () => [
// Index pages
{
Expand Down
1 change: 0 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
},
"dependencies": {
"@heroicons/react": "^2.0.17",
"@next/font": "^13.1.6",
"@tailwindcss/typography": "^0.5.9",
"clsx": "^1.2.1",
"http-status-codes": "^2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Inter} from '@next/font/google';
import Analytics from 'components/Analytics';
import {AppProps} from 'next/app';
import {Inter} from 'next/font/google';
import {ReactNode} from 'react';
import 'nextra-theme-docs/style.css';
import '../styles.css';
Expand Down
3 changes: 0 additions & 3 deletions examples/example-next-13-next-auth/next.config.js

This file was deleted.

1 change: 0 additions & 1 deletion examples/example-next-13/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"start": "next start"
},
"dependencies": {
"@next/font": "^13.1.6",
"clsx": "^1.2.1",
"next": "^13.4.6",
"next-intl": "^2.14.3",
Expand Down
2 changes: 1 addition & 1 deletion examples/example-next-13/src/app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {Inter} from '@next/font/google';
import clsx from 'clsx';
import {Inter} from 'next/font/google';
import {notFound} from 'next/navigation';
import {createTranslator, NextIntlClientProvider} from 'next-intl';
import {ReactNode} from 'react';
Expand Down
Loading

3 comments on commit 6540645

@vercel
Copy link

@vercel vercel bot commented on 6540645 Jun 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-intl-docs – ./docs

next-intl-docs-git-main-next-intl.vercel.app
next-intl-docs-next-intl.vercel.app
next-intl-docs.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 6540645 Jun 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-intl-example-next-13 – ./examples/example-next-13

next-intl-example-next-13.vercel.app
next-intl-example-next-13-git-main-next-intl.vercel.app
next-intl-example-next-13-next-intl.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 6540645 Jun 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

example-next-13-next-auth – ./examples/example-next-13-next-auth

example-next-13-next-auth.vercel.app
example-next-13-next-auth-git-main-next-intl.vercel.app
example-next-13-next-auth-next-intl.vercel.app

Please sign in to comment.