Skip to content

Commit

Permalink
remove docgen override, @next/font - now built in
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeKarow committed Mar 3, 2023
1 parent d5ceb84 commit 3bf1020
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 72 deletions.
2 changes: 1 addition & 1 deletion apps/app/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const nextConfig = {
swcMinify: true,
transpilePackages: ['@weareinreach/ui', '@weareinreach/db', '@weareinreach/auth', '@weareinreach/api'],
experimental: {
fontLoaders: [{ loader: '@next/font/google', options: { subsets: ['latin'] } }],
fontLoaders: [{ loader: 'next/font/google', options: { subsets: ['latin'] } }],
/**
* OutputFileTracingIgnores will be in a future version
* https://github.com/vercel/next.js/issues/42641#issuecomment-1320713368
Expand Down
1 change: 0 additions & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
"devDependencies": {
"@next/bundle-analyzer": "13.2.3",
"@next/font": "13.2.3",
"@types/eslint": "8.21.1",
"@types/node": "18.14.6",
"@types/react": "18.0.28",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
"overrides": {
"@floating-ui/react-dom-interactions": "npm:@floating-ui/react@^0.17.0",
"@npmcli/move-file": "npm:@npmcli/fs@^2.0.0",
"@storybook/react-docgen-typescript-plugin@1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0": "npm:react-docgen-typescript-plugin@^1.0.5",
"chokidar": ">=3.0.0",
"glob-parent@<5.1.2": ">=5.1.2",
"http-cache-semantics@<=4.1.0": "^4.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const config: StorybookConfig = {
),
// '@weareinreach/api': path.resolve(__dirname, '../../api'),
'next-i18next': 'react-i18next',
'@next/font': 'storybook-nextjs-font-loader',
// 'next/font': 'storybook-nextjs-font-loader',
},
roots: [path.resolve(__dirname, '../../../apps/app/public')],
fallback: {
Expand Down
1 change: 0 additions & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@
"@mantine/prism": "^5",
"@mantine/spotlight": "^5",
"@mantine/tiptap": "^5",
"@next/font": "^13",
"@tanstack/react-query": "4.24.10",
"@tiptap/extension-link": "^2.0.0-beta.209",
"@tiptap/react": "^2.0.0-beta.209",
Expand Down
86 changes: 19 additions & 67 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3bf1020

Please sign in to comment.