diff --git a/packages/docusaurus-template-openapi/template.json b/packages/docusaurus-template-openapi/template.json index ceeee73c..3ebca6ca 100644 --- a/packages/docusaurus-template-openapi/template.json +++ b/packages/docusaurus-template-openapi/template.json @@ -1,7 +1,7 @@ { "package": { "name": "demo", - "version": "0.6.1", + "version": "0.6.3", "private": true, "scripts": { "docusaurus": "docusaurus", @@ -16,7 +16,7 @@ }, "dependencies": { "@docusaurus/core": "^2.0.0", - "docusaurus-preset-openapi": "0.6.1", + "docusaurus-preset-openapi": "0.6.3", "@mdx-js/react": "^1.6.21", "clsx": "^1.1.1", "prism-react-renderer": "^1.2.1", diff --git a/scripts/README.md b/scripts/README.md index e3d03ece..2bbc9f7b 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -26,7 +26,13 @@ yarn release:version graduate 1.3.3-rc.5 -> 1.3.3 ``` -### 2. Update `CHANGELOG.md` +### 2. Update template version + +Update the template file, which will be used by `npx` and `yarn` to create a new template site. + +Go to `packages\docusaurus-template-openapi\template.json`, then update the version of the template and the relevant version of `docusaurus-preset-openapi` under the dependencies. + +### 3. Update `CHANGELOG.md` A partial changelog can be generated by running: