Skip to content

Commit

Permalink
Merge pull request #176 from code-hike/main
Browse files Browse the repository at this point in the history
Merge main
  • Loading branch information
pomber authored May 10, 2022
2 parents 9b3a67b + 4097e7c commit 16fc256
Show file tree
Hide file tree
Showing 13 changed files with 78 additions and 20 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# v0.5.0 (Tue May 10 2022)

#### 🚀 Enhancement

- `@code-hike/mdx`
- Copy button component [#172](https://github.com/code-hike/codehike/pull/172) ([@pomber](https://github.com/pomber))
- Remove target from code links [#169](https://github.com/code-hike/codehike/pull/169) ([@pomber](https://github.com/pomber))

#### 🐛 Bug Fix

- Contentlayer example [#170](https://github.com/code-hike/codehike/pull/170) ([@pomber](https://github.com/pomber))
- `@code-hike/mdx`
- Better props support for mdx [#174](https://github.com/code-hike/codehike/pull/174) ([@pomber](https://github.com/pomber))
- Fix react 18 strict mode [#173](https://github.com/code-hike/codehike/pull/173) ([@pomber](https://github.com/pomber))
- v0.4.0 [#167](https://github.com/code-hike/codehike/pull/167) ([@pomber](https://github.com/pomber))

#### Authors: 1

- Rodrigo Pombo ([@pomber](https://github.com/pomber))

---

# v0.4.0 (Thu Apr 28 2022)

#### 🚀 Enhancement
Expand Down
4 changes: 2 additions & 2 deletions examples/bundle-test/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "bundle-test",
"private": true,
"version": "0.4.0",
"version": "0.5.0",
"scripts": {
"dev": "next",
"build": "next build"
},
"dependencies": {
"@code-hike/mdx": "^0.4.0",
"@code-hike/mdx": "^0.5.0",
"@mdx-js/loader": "^2.0.0",
"@next/mdx": "^12.1.0",
"next": "^12.1.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/contentlayer/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "codehike-contentlayer",
"version": "0.1.0",
"version": "0.5.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "INIT_CWD=$PWD next build",
"start": "next start"
},
"dependencies": {
"@code-hike/mdx": "^0.4.0",
"@code-hike/mdx": "^0.5.0",
"@types/node": "^17.0.30",
"contentlayer": "latest",
"next": "^12.1.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/docusaurus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codehike-docusaurus",
"version": "0.4.0",
"version": "0.5.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
Expand All @@ -14,7 +14,7 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@code-hike/mdx": "^0.4.0",
"@code-hike/mdx": "^0.5.0",
"@docusaurus/core": "2.0.0-beta.18",
"@docusaurus/preset-classic": "2.0.0-beta.18",
"@mdx-js/react": "^2.1.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/mdx-bundler/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "codehike-mdx-bundler",
"private": true,
"version": "0.4.0",
"version": "0.5.0",
"scripts": {
"dev": "next",
"build": "next build"
},
"dependencies": {
"@code-hike/mdx": "^0.4.0",
"@code-hike/mdx": "^0.5.0",
"esbuild": "^0.14.23",
"mdx-bundler": "^8.0.1",
"next": "^12.1.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/next-mdx-remote/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "codehike-next-mdx-remote",
"private": true,
"version": "0.4.0",
"version": "0.5.0",
"dependencies": {
"@code-hike/mdx": "^0.4.0",
"@code-hike/mdx": "^0.5.0",
"next": "^12.1.0",
"next-mdx-remote": "^4.0.0",
"react": "^17.0.2",
Expand Down
4 changes: 2 additions & 2 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "codehike-nextjs",
"private": true,
"version": "0.4.0",
"version": "0.5.0",
"scripts": {
"dev": "next",
"build": "next build"
},
"dependencies": {
"@code-hike/mdx": "^0.4.0",
"@code-hike/mdx": "^0.5.0",
"@mdx-js/loader": "^2.0.0",
"@next/mdx": "^12.1.0",
"next": "^12.1.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/nextra/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "codehike-nextra",
"private": true,
"version": "0.4.0",
"version": "0.5.0",
"scripts": {
"build": "next build"
},
"dependencies": {
"@code-hike/mdx": "^0.4.0",
"@code-hike/mdx": "^0.5.0",
"next": "^12.1.0",
"nextra": "^1.1.0",
"nextra-theme-docs": "^1.2.6",
Expand Down
4 changes: 2 additions & 2 deletions examples/remix/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "codehike-remix",
"private": true,
"version": "0.4.0",
"version": "0.5.0",
"sideEffects": false,
"scripts": {
"build": "cross-env NODE_ENV=production remix build",
Expand All @@ -10,7 +10,7 @@
"start": "cross-env NODE_ENV=production remix-serve build"
},
"dependencies": {
"@code-hike/mdx": "^0.4.0",
"@code-hike/mdx": "^0.5.0",
"@remix-run/react": "^1.2.2",
"@remix-run/serve": "^1.2.2",
"cross-env": "^7.0.3",
Expand Down
4 changes: 2 additions & 2 deletions examples/vite/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "codehike-vite",
"private": true,
"version": "0.4.0",
"version": "0.5.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@code-hike/mdx": "^0.4.0",
"@code-hike/mdx": "^0.5.0",
"@mdx-js/rollup": "^2.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2"
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.4.0",
"version": "0.5.0",
"npmClient": "yarn",
"packages": [
"packages/*"
Expand Down
36 changes: 36 additions & 0 deletions packages/mdx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
# v0.5.0 (Tue May 10 2022)

#### 🚀 Enhancement

- Copy button component [#172](https://github.com/code-hike/codehike/pull/172) ([@pomber](https://github.com/pomber))
- Remove target from code links [#169](https://github.com/code-hike/codehike/pull/169) ([@pomber](https://github.com/pomber))

#### 🐛 Bug Fix

- Better props support for mdx [#174](https://github.com/code-hike/codehike/pull/174) ([@pomber](https://github.com/pomber))
- Fix parent config ([@pomber](https://github.com/pomber))
- Fix wrong text ([@pomber](https://github.com/pomber))
- Support more props in CH.Code ([@pomber](https://github.com/pomber))
- Remove config placeholder ([@pomber](https://github.com/pomber))
- Rename transform files ([@pomber](https://github.com/pomber))
- Remark refactor ([@pomber](https://github.com/pomber))
- Change plugin folder ([@pomber](https://github.com/pomber))
- Fix react 18 strict mode [#173](https://github.com/code-hike/codehike/pull/173) ([@pomber](https://github.com/pomber))
- Fix react 18 strict mode ([@pomber](https://github.com/pomber))
- Add withClass annotation ([@pomber](https://github.com/pomber))
- Add copy button to config ([@pomber](https://github.com/pomber))
- Add codeblock button ([@pomber](https://github.com/pomber))
- Fix button color ([@pomber](https://github.com/pomber))
- Add themes test ([@pomber](https://github.com/pomber))
- Add copy feedback ([@pomber](https://github.com/pomber))
- Add button to south panel ([@pomber](https://github.com/pomber))
- Copy button component ([@pomber](https://github.com/pomber))
- Remove target from code links ([@pomber](https://github.com/pomber))
- v0.4.0 [#167](https://github.com/code-hike/codehike/pull/167) ([@pomber](https://github.com/pomber))

#### Authors: 1

- Rodrigo Pombo ([@pomber](https://github.com/pomber))

---

# v0.4.0 (Thu Apr 28 2022)

#### 🚀 Enhancement
Expand Down
2 changes: 1 addition & 1 deletion packages/mdx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@code-hike/mdx",
"version": "0.4.0",
"version": "0.5.0",
"files": [
"dist"
],
Expand Down

0 comments on commit 16fc256

Please sign in to comment.