Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Remove experimental config for appDir and @next/font #328

Merged
merged 9 commits into from
Jun 20, 2023
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