Skip to content

Commit 28d3a62

Browse files
authored
Merge pull request #69 from code-hike/smooth-code
Extract smooth-code package
2 parents 2246098 + 675a9e6 commit 28d3a62

File tree

12 files changed

+57
-357
lines changed

12 files changed

+57
-357
lines changed

packages/mini-editor/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@
1818
},
1919
"dependencies": {
2020
"@code-hike/classer": "^0.3.0-next.0",
21-
"@code-hike/code-diff": "^0.3.0-next.0",
2221
"@code-hike/mini-frame": "^0.3.0-next.0",
2322
"@code-hike/mini-terminal": "^0.3.0-next.0",
24-
"@code-hike/smooth-lines": "^0.3.0-next.0",
23+
"@code-hike/smooth-code": "^0.3.0-next.0",
2524
"use-spring": "^0.2.3"
2625
},
2726
"peerDependencies": {

packages/mini-editor/src/code-tween.tsx

Lines changed: 0 additions & 352 deletions
This file was deleted.

packages/mini-editor/src/mini-editor-hike.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react"
22
import { MiniEditorTween } from "./mini-editor-tween"
33
import { EditorStep } from "./use-snapshots"
4-
import { CodeProps } from "./code"
4+
import { CodeProps } from "@code-hike/smooth-code"
55
import { EditorFrameProps } from "./editor-frame"
66

77
export { MiniEditorHike, MiniEditorHikeProps, EditorStep }

packages/mini-editor/src/mini-editor-spring.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from "react"
22
import { useSpring } from "use-spring"
33
import { MiniEditorTween } from "./mini-editor-tween"
44
import { EditorStep, StepFile } from "./use-snapshots"
5-
import { CodeProps } from "./code"
5+
import { CodeProps } from "@code-hike/smooth-code"
66
import { EditorFrameProps } from "./editor-frame"
77

88
export { MiniEditor, MiniEditorProps }

packages/mini-editor/src/mini-editor-tween.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
getPanelStyles,
66
OutputPanel,
77
} from "./editor-frame"
8-
import { Code, CodeProps } from "./code"
8+
import { Code, CodeProps } from "@code-hike/smooth-code"
99
import {
1010
EditorStep,
1111
StepFile,

0 commit comments

Comments
 (0)