Skip to content

Commit

Permalink
Merge pull request #19 from primer/changeset-release/main
Browse files Browse the repository at this point in the history
Release tracking
  • Loading branch information
rezrah authored Jan 27, 2025
2 parents bacb303 + 61e8cc5 commit 064df06
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 32 deletions.
29 changes: 0 additions & 29 deletions .changeset/olive-donuts-work.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/site/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# doctocat-nextjs-site

## 0.0.5

### Patch Changes

- Updated dependencies [[`bfe68b1`](https://github.com/primer/doctocat-nextjs/commit/bfe68b14e8e3b4383ea41dcbf47373df8a130567)]:
- @primer/doctocat-nextjs@0.1.0

## 0.0.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/site/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "doctocat-nextjs-site",
"version": "0.0.4",
"version": "0.0.5",
"private": true,
"description": "Documentation theme",
"type": "module",
Expand All @@ -21,7 +21,7 @@
},
"homepage": "https://github.com/primer/doctocat-nextjs#readme",
"dependencies": {
"@primer/doctocat-nextjs": "^0.0.4",
"@primer/doctocat-nextjs": "^0.1.0",
"@primer/octicons-react": "19.14.0",
"eslint-config-next": "15.1.6",
"next": "15.1.6",
Expand Down
30 changes: 30 additions & 0 deletions packages/theme/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# @primer/doctocat-nextjs

## 0.1.0

### Minor Changes

- [#18](https://github.com/primer/doctocat-nextjs/pull/18) [`bfe68b1`](https://github.com/primer/doctocat-nextjs/commit/bfe68b14e8e3b4383ea41dcbf47373df8a130567) Thanks [@rezrah](https://github.com/rezrah)! - 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({

+ }),
+ }

```

## 0.0.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@primer/doctocat-nextjs",
"version": "0.0.4",
"version": "0.1.0",
"description": "A Next.js theme for building Primer documentation sites",
"main": "index.js",
"type": "module",
Expand Down

0 comments on commit 064df06

Please sign in to comment.