From 61e8cc5bca9c324240aa341676fcfab5412b3ed1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 27 Jan 2025 11:12:36 +0000 Subject: [PATCH] Version Packages --- .changeset/olive-donuts-work.md | 29 ----------------------------- packages/site/CHANGELOG.md | 7 +++++++ packages/site/package.json | 4 ++-- packages/theme/CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ packages/theme/package.json | 2 +- 5 files changed, 40 insertions(+), 32 deletions(-) delete mode 100644 .changeset/olive-donuts-work.md diff --git a/.changeset/olive-donuts-work.md b/.changeset/olive-donuts-work.md deleted file mode 100644 index 9aea328..0000000 --- a/.changeset/olive-donuts-work.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -'@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/doctocat-nextjs@0.1.0` -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({ - -+ }), -+ } - -``` diff --git a/packages/site/CHANGELOG.md b/packages/site/CHANGELOG.md index 8916662..4ccd4d4 100644 --- a/packages/site/CHANGELOG.md +++ b/packages/site/CHANGELOG.md @@ -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 diff --git a/packages/site/package.json b/packages/site/package.json index 5447cfb..c68f8cb 100644 --- a/packages/site/package.json +++ b/packages/site/package.json @@ -1,6 +1,6 @@ { "name": "doctocat-nextjs-site", - "version": "0.0.4", + "version": "0.0.5", "private": true, "description": "Documentation theme", "type": "module", @@ -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", diff --git a/packages/theme/CHANGELOG.md b/packages/theme/CHANGELOG.md index 3965ceb..1f30230 100644 --- a/packages/theme/CHANGELOG.md +++ b/packages/theme/CHANGELOG.md @@ -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/doctocat-nextjs@0.1.0` + 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 diff --git a/packages/theme/package.json b/packages/theme/package.json index da1eb65..8a8d57c 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -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",