Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use @code-hike/lighter #308

Merged
merged 35 commits into from
Jan 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
0ef3704
Remove deps
pomber Dec 14, 2022
a4ce185
Remove mdx-bundler build
pomber Dec 14, 2022
38a1caa
Use lighter
pomber Dec 16, 2022
d5a4a6c
Lighter v0.0.4
pomber Dec 17, 2022
b8d06f6
Exclude lighter from bundle
pomber Dec 17, 2022
e25fafb
React 18 and Next 13
pomber Dec 17, 2022
ff6a04d
Fix ch-test
pomber Dec 17, 2022
cc62796
Fix ch-test again
pomber Dec 17, 2022
3cb4713
Nextra 2.0
pomber Dec 23, 2022
3a1754f
Remove ch from nextra for now
pomber Dec 23, 2022
352282d
Fix nextra
pomber Dec 24, 2022
a546c24
Update astro
pomber Jan 5, 2023
79c63d7
Update lighter
pomber Jan 6, 2023
2d9fc9a
Fix docusaurus
pomber Jan 9, 2023
9867b58
Remove astro example
pomber Jan 10, 2023
f871ac0
Use lighter v0.1.6
pomber Jan 10, 2023
cf940c7
Update lighter
pomber Jan 12, 2023
6396f87
Update contentlayer example
pomber Jan 13, 2023
d75e182
Update content-layer typescript
pomber Jan 13, 2023
c008ec1
Smaller docusaurus example
pomber Jan 13, 2023
9897bb5
Add stackblitz link to docusaurus example
pomber Jan 13, 2023
3082c51
Update gatsby example
pomber Jan 13, 2023
a8e7e46
Fix gatsby ssr
pomber Jan 13, 2023
120d082
Update mdx-bundler
pomber Jan 13, 2023
3e88371
Update mdx-bundler links
pomber Jan 13, 2023
8cf5162
Add spotlight post
pomber Jan 15, 2023
4fd5437
Update next-mdx-remote
pomber Jan 15, 2023
a845c20
Add home links to mdx-bundler
pomber Jan 15, 2023
4247bb9
Improve nextra example
pomber Jan 15, 2023
341cc00
Update nextra version
pomber Jan 15, 2023
746f79c
Update remix
pomber Jan 15, 2023
458b4d8
Update vite example
pomber Jan 15, 2023
6bc684f
Update vite version
pomber Jan 15, 2023
4931c64
Pin ch-test next version
pomber Jan 15, 2023
6cc554b
Use lighter v0.2
pomber Jan 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
# and commit this file to your remote git repository to share the goodness with others.

tasks:
- init: yarn install && yarn run build
command: yarn run dev


- init: yarn install
command: yarn run build
20 changes: 0 additions & 20 deletions examples/astro/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions examples/astro/.npmrc

This file was deleted.

49 changes: 0 additions & 49 deletions examples/astro/README.md

This file was deleted.

16 changes: 0 additions & 16 deletions examples/astro/astro.config.mjs

This file was deleted.

21 changes: 0 additions & 21 deletions examples/astro/package.json

This file was deleted.

13 changes: 0 additions & 13 deletions examples/astro/public/favicon.svg

This file was deleted.

76 changes: 0 additions & 76 deletions examples/astro/src/components/Card.astro

This file was deleted.

1 change: 0 additions & 1 deletion examples/astro/src/env.d.ts

This file was deleted.

60 changes: 0 additions & 60 deletions examples/astro/src/layouts/Layout.astro

This file was deleted.

81 changes: 0 additions & 81 deletions examples/astro/src/pages/index.astro

This file was deleted.

3 changes: 0 additions & 3 deletions examples/astro/tsconfig.json

This file was deleted.

6 changes: 3 additions & 3 deletions examples/browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Code Hike in the browser</title>
<link
rel="stylesheet"
href="https://esm.sh/@code-hike/mdx@0.5.2-next.2/dist/index.css"
href="https://esm.sh/@code-hike/mdx@0.8.0--canary.308.cf940c7.0/dist/index.css"
/>
</head>
<body>
Expand All @@ -16,9 +16,9 @@
import { evaluate } from "https://esm.sh/@mdx-js/mdx?bundle"
import * as runtime from "https://esm.sh/react/jsx-runtime.js"

import { remarkCodeHike } from "https://esm.sh/@code-hike/[email protected]/dist/index.browser.mjs?bundle"
import { CH } from "https://esm.sh/@code-hike/[email protected]/components"
import theme from "https://esm.sh/[email protected]/themes/dracula.json" assert { type: "json" }
import { remarkCodeHike } from "https://esm.sh/@code-hike/[email protected]/dist/index.browser.mjs"
import { CH } from "https://esm.sh/@code-hike/[email protected]/components"

const mdx = `# Test

Expand Down
4 changes: 4 additions & 0 deletions examples/bundle-test/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
node_modules
.next


# Contentlayer
.contentlayer
Loading