Skip to content

Commit 6eb7165

Browse files
authored
Merge pull request #77 from code-hike/shiki
Use shiki
2 parents 198b0ef + efd8888 commit 6eb7165

File tree

159 files changed

+13842
-3136
lines changed

Some content is hidden

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

159 files changed

+13842
-3136
lines changed

.github/workflows/release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
yarn install --frozen-lockfile 2>&1 | grep -v '^[warning|info]'
3737
yarn build
3838
yarn release
39-
- name: Publish to Chromatic
40-
uses: chromaui/action@v1
41-
with:
42-
token: ${{ secrets.GITHUB_TOKEN }}
43-
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
44-
workingDir: packages/storybook
39+
# - name: Publish to Chromatic
40+
# uses: chromaui/action@v1
41+
# with:
42+
# token: ${{ secrets.GITHUB_TOKEN }}
43+
# projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
44+
# workingDir: packages/storybook

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
node_modules
22
.next
33
todo.md
4+
current.md
45
dist
56
yarn-error.log
67
.prettierignore
78
.env
89
.vscode
9-
storybook-static
10+
storybook-static
11+
packages/playground/out
12+
packages/starter

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
"watch-package": "lerna run --scope @*/mini-frame --include-dependencies --parallel x -- watch",
1313
"watch-all": "lerna run --parallel x -- watch",
1414
"storybook": "lerna run --scope storybook start --stream",
15+
"playground": "lerna run --scope @*/playground dev --stream",
1516
"docs": "lerna run build-docs --stream",
16-
"dev": "lerna run --scope react-website dev --stream",
17+
"build-playground": "lerna run --scope @*/playground build --stream",
1718
"release": "auto shipit"
1819
},
1920
"devDependencies": {

packages/classer/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
},
1313
"devDependencies": {
1414
"@code-hike/script": "0.0.1",
15-
"@types/react": "^16.9.38",
16-
"react": "^16.13.1"
15+
"@types/react": "^17.0.2",
16+
"react": "^17.0.2"
1717
},
1818
"peerDependencies": {
19-
"react": ">=16.8"
19+
"react": "^16.8.3 || ^17 || ^18"
2020
},
2121
"homepage": "https://codehike.org",
2222
"repository": "code-hike/codehike",

packages/code-diff/src/__snapshots__/index.test.ts.snap

-71
This file was deleted.

packages/code-diff/src/__snapshots__/tokenizer.test.ts.snap

-86
This file was deleted.

packages/code-diff/src/index.test.ts

-21
This file was deleted.

packages/code-diff/src/index.tsx

-89
This file was deleted.

packages/code-diff/src/tokenizer.test.ts

-21
This file was deleted.

0 commit comments

Comments
 (0)