Skip to content

Commit

Permalink
Merge pull request code-hike#380 from code-hike/main
Browse files Browse the repository at this point in the history
Merge main
  • Loading branch information
pomber committed Jun 12, 2023
2 parents 716dc3d + 310bdbb commit 26564f8
Show file tree
Hide file tree
Showing 15 changed files with 76 additions and 24 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
# v0.9.0 (Mon Jun 12 2023)

#### 🚀 Enhancement

- `@code-hike/mdx`
- Refactor themes [#370](https://github.com/code-hike/codehike/pull/370) ([@pomber](https://github.com/pomber))

#### 🐛 Bug Fix

- `@code-hike/mdx`
- `from` annotation with line range [#376](https://github.com/code-hike/codehike/pull/376) ([@pomber](https://github.com/pomber))
- Fix dimensions when code starts hidden [#373](https://github.com/code-hike/codehike/pull/373) ([@pomber](https://github.com/pomber))
- Merge main [#365](https://github.com/code-hike/codehike/pull/365) ([@pomber](https://github.com/pomber))

#### Authors: 1

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

---

# v0.8.3 (Wed May 03 2023)

#### 🐛 Bug Fix
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.8.3",
"version": "0.9.0",
"scripts": {
"dev": "next",
"build": "next build"
},
"dependencies": {
"@code-hike/mdx": "^0.8.3",
"@code-hike/mdx": "^0.9.0",
"@mdx-js/loader": "^2.0.0",
"@next/mdx": "^13.0.7",
"next": "^13.0.7",
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.8.3",
"version": "0.9.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
},
"dependencies": {
"@code-hike/mdx": "^0.8.3",
"@code-hike/mdx": "^0.9.0",
"@types/node": "^17.0.30",
"contentlayer": "0.2.9",
"next": "13.1.2",
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.8.3",
"version": "0.9.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
Expand All @@ -14,7 +14,7 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@code-hike/mdx": "^0.8.3",
"@code-hike/mdx": "^0.9.0",
"@docusaurus/core": "2.2.0",
"@docusaurus/preset-classic": "2.2.0",
"@mdx-js/react": "^2.1.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/gatsby/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codehike-gatsby",
"version": "0.8.3",
"version": "0.9.0",
"private": true,
"scripts": {
"develop": "gatsby develop",
Expand All @@ -10,7 +10,7 @@
"clean": "gatsby clean"
},
"dependencies": {
"@code-hike/mdx": "^0.8.3",
"@code-hike/mdx": "^0.9.0",
"@mdx-js/react": "^2.1.3",
"gatsby": "^4.21.1",
"gatsby-plugin-mdx": "^4.0.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/mdx-bundler/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "codehike-mdx-bundler",
"private": true,
"version": "0.8.3",
"version": "0.9.0",
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
},
"dependencies": {
"@code-hike/mdx": "^0.8.3",
"@code-hike/mdx": "^0.9.0",
"esbuild": "^0.14.23",
"mdx-bundler": "^9.2.1",
"next": "13.1.2",
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,14 +1,14 @@
{
"name": "codehike-next-mdx-remote",
"private": true,
"version": "0.8.3",
"version": "0.9.0",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
},
"dependencies": {
"@code-hike/mdx": "^0.8.3",
"@code-hike/mdx": "^0.9.0",
"next": "^12.3.4",
"next-mdx-remote": "^4.2.0",
"react": "^18.1.0",
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.8.3",
"version": "0.9.0",
"scripts": {
"dev": "next",
"build": "next build"
},
"dependencies": {
"@code-hike/mdx": "^0.8.3",
"@code-hike/mdx": "^0.9.0",
"@mdx-js/loader": "2.2.1",
"@mdx-js/react": "^2.2.1",
"@next/mdx": "13.1.2",
Expand Down
4 changes: 2 additions & 2 deletions examples/nextra/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "codehike-nextra",
"private": true,
"version": "0.8.3",
"version": "0.9.0",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
},
"dependencies": {
"@code-hike/mdx": "^0.8.3",
"@code-hike/mdx": "^0.9.0",
"next": "13.3.4",
"nextra": "2.4.2",
"nextra-theme-docs": "2.4.2",
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.8.3",
"version": "0.9.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.8.3",
"@code-hike/mdx": "^0.9.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.8.3",
"version": "0.9.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@code-hike/mdx": "^0.8.3",
"@code-hike/mdx": "^0.9.0",
"@mdx-js/rollup": "2.2.1",
"react": "^18.1.0",
"react-dom": "^18.1.0"
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.8.3",
"version": "0.9.0",
"npmClient": "yarn",
"packages": [
"packages/*"
Expand Down
32 changes: 32 additions & 0 deletions packages/mdx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
# v0.9.0 (Mon Jun 12 2023)

#### 🚀 Enhancement

- Refactor themes [#370](https://github.com/code-hike/codehike/pull/370) ([@pomber](https://github.com/pomber))

#### 🐛 Bug Fix

- `from` annotation with line range [#376](https://github.com/code-hike/codehike/pull/376) ([@pomber](https://github.com/pomber))
- `from` annotation with line range ([@pomber](https://github.com/pomber))
- Fix dimensions when code starts hidden [#373](https://github.com/code-hike/codehike/pull/373) ([@pomber](https://github.com/pomber))
- Fix dimensions when code starts hidden ([@pomber](https://github.com/pomber))
- More robust style tag ([@pomber](https://github.com/pomber))
- Filter codeConfig properties ([@pomber](https://github.com/pomber))
- Remove import ([@pomber](https://github.com/pomber))
- Add missing data-ch-theme attributes ([@pomber](https://github.com/pomber))
- Fix config typescript ([@pomber](https://github.com/pomber))
- Remove shiki ([@pomber](https://github.com/pomber))
- Change theme vars prefix ([@pomber](https://github.com/pomber))
- Dont use theme variables in JS ([@pomber](https://github.com/pomber))
- Remove classer ([@pomber](https://github.com/pomber))
- Remove theme from client ([@pomber](https://github.com/pomber))
- Remove all uses of getColor ([@pomber](https://github.com/pomber))
- Remove theme from annotations ([@pomber](https://github.com/pomber))
- Merge main [#365](https://github.com/code-hike/codehike/pull/365) ([@pomber](https://github.com/pomber))

#### Authors: 1

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

---

# v0.8.3 (Wed May 03 2023)

#### 🐛 Bug Fix
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.8.3",
"version": "0.9.0",
"files": [
"dist",
"components.d.ts"
Expand Down
4 changes: 2 additions & 2 deletions playground/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "playground",
"private": true,
"version": "0.8.3",
"version": "0.9.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@code-hike/mdx": "^0.8.3",
"@code-hike/mdx": "^0.9.0",
"@mdx-js/mdx": "^2.1.1",
"@monaco-editor/react": "^4.4.5",
"lz-string": "^1.4.4",
Expand Down

0 comments on commit 26564f8

Please sign in to comment.