-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from primer/rezrah/dep-upgrades-23-jan-25
Upgrade to Nexta v3 and other project dependency upgrades
- Loading branch information
Showing
27 changed files
with
18,020 additions
and
7,323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
'@primer/doctocat-nextjs': minor | ||
--- | ||
|
||
Upgraded internal framework to [Nextra v3](https://the-guild.dev/blog/nextra-3). | ||
|
||
To migrate Doctocat to this release, follow these steps: | ||
|
||
1. Install the latest version `npm i @primer/[email protected]` | ||
2. Rename your `next.config.js` to be `next.config.mjs`. Add `type="module"` to your `package.json` and update the file contents to match the following: | ||
|
||
```diff | ||
- const withDoctocat = require('@primer/doctocat-nextjs/doctocat.config.js') | ||
|
||
- module.exports = { | ||
- ...withDoctocat({ | ||
|
||
- }), | ||
- } | ||
|
||
+ import withDoctocat from '@primer/doctocat-nextjs/doctocat.config.js' | ||
|
||
+ export default { | ||
+ ...withDoctocat({ | ||
|
||
+ }), | ||
+ } | ||
|
||
``` |
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.next/ | ||
out/ | ||
out/ | ||
*.tsbuildinfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"eslint.options": { | ||
"configFile": ".eslintrc.cjs" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
// eslint-disable-next-line filenames/match-regex | ||
import {AppProps} from 'next/app' | ||
import type {AppProps} from 'next/app' | ||
import '@primer/doctocat-nextjs/css/global.css' | ||
|
||
function CustomApp({Component, pageProps}: AppProps) { | ||
export default function CustomApp({Component, pageProps}: AppProps) { | ||
return <Component {...pageProps} /> | ||
} | ||
|
||
export default CustomApp |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
const base = require('../../.eslintrc') | ||
const base = require('../../.eslintrc.cjs') | ||
|
||
module.exports = { | ||
...base, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"eslint.options": { | ||
"configFile": ".eslintrc.cjs" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 3 additions & 15 deletions
18
packages/theme/components/layout/index-cards/IndexCards.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.