Skip to content

Commit 9355b47

Browse files
authored
Merge pull request #308 from code-hike/workspace-nohoist
Use @code-hike/lighter
2 parents b6cfd2b + 6cc554b commit 9355b47

File tree

119 files changed

+3781
-4985
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+3781
-4985
lines changed

.gitpod.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@
33
# and commit this file to your remote git repository to share the goodness with others.
44

55
tasks:
6-
- init: yarn install && yarn run build
7-
command: yarn run dev
8-
9-
6+
- init: yarn install
7+
command: yarn run build

examples/astro/.gitignore

-20
This file was deleted.

examples/astro/.npmrc

-2
This file was deleted.

examples/astro/README.md

-49
This file was deleted.

examples/astro/astro.config.mjs

-16
This file was deleted.

examples/astro/package.json

-21
This file was deleted.

examples/astro/public/favicon.svg

-13
This file was deleted.

examples/astro/src/components/Card.astro

-76
This file was deleted.

examples/astro/src/env.d.ts

-1
This file was deleted.

examples/astro/src/layouts/Layout.astro

-60
This file was deleted.

examples/astro/src/pages/index.astro

-81
This file was deleted.

examples/astro/tsconfig.json

-3
This file was deleted.

examples/browser/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>Code Hike in the browser</title>
55
<link
66
rel="stylesheet"
7-
href="https://esm.sh/@code-hike/mdx@0.5.2-next.2/dist/index.css"
7+
href="https://esm.sh/@code-hike/mdx@0.8.0--canary.308.cf940c7.0/dist/index.css"
88
/>
99
</head>
1010
<body>
@@ -16,9 +16,9 @@
1616
import { evaluate } from "https://esm.sh/@mdx-js/mdx?bundle"
1717
import * as runtime from "https://esm.sh/react/jsx-runtime.js"
1818

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

2323
const mdx = `# Test
2424

examples/bundle-test/.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
node_modules
22
.next
3+
4+
5+
# Contentlayer
6+
.contentlayer

0 commit comments

Comments
 (0)