Skip to content

Commit 80863a8

Browse files
committed
[squashme] rebase changes again
1 parent cc2ae50 commit 80863a8

File tree

7 files changed

+6
-13
lines changed

7 files changed

+6
-13
lines changed

packages/web/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
"@docusaurus/tsconfig": "^3.4.0",
2323
"@docusaurus/types": "^3.4.0",
2424
"@ethdebug/format": "^0.1.0-0",
25-
"@ethdebug/materials": "^0.1.0-0",
26-
"@ethdebug/programs": "^0.1.0-0",
2725
"@fortawesome/fontawesome-svg-core": "^6.5.1",
2826
"@fortawesome/free-brands-svg-icons": "^6.5.1",
2927
"@fortawesome/free-solid-svg-icons": "^6.5.1",

packages/web/src/theme/ProgramExample/Opcodes.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import React, { useEffect, useState } from "react";
22
import { useProgramExampleContext } from "./ProgramExampleContext";
33

4-
import { Data } from "@ethdebug/materials";
5-
import { Program } from "@ethdebug/programs";
4+
import { Data, Program } from "@ethdebug/format";
65

76
import "./Opcodes.css";
87

packages/web/src/theme/ProgramExample/ProgramExampleContext.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React, { createContext, useContext, useState, useEffect } from "react";
22

3-
import { Program } from "@ethdebug/programs";
4-
import { Data, Materials } from "@ethdebug/materials";
3+
import { Data, Materials, Program } from "@ethdebug/format";
54
import { computeOffsets } from "./offsets";
65
import { type DynamicInstruction, resolveDynamicInstruction } from "./dynamic";
76

packages/web/src/theme/ProgramExample/SourceContents.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ import "./SourceContents.css";
1010
import type * as Shiki from "shiki/core";
1111
import { useProgramExampleContext } from "./ProgramExampleContext";
1212

13-
import { Materials } from "@ethdebug/materials";
14-
import { Program } from "@ethdebug/programs";
13+
import { Materials, Program } from "@ethdebug/format";
1514

1615
export function SourceContents(
1716
props: Omit<ShikiCodeBlockProps, "code" | "decorations">

packages/web/src/theme/ProgramExample/Variables.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import Admonition from "@theme/Admonition";
33
import Link from "@docusaurus/Link";
44
import { useProgramExampleContext } from "./ProgramExampleContext";
55

6+
import { Program } from "@ethdebug/format";
67
import { ShikiCodeBlock } from "@theme/ShikiCodeBlock";
7-
import { Program } from "@ethdebug/programs";
88

99
export function Variables(): JSX.Element {
1010
const { highlightedInstruction } = useProgramExampleContext();

packages/web/src/theme/ProgramExample/dynamic.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { Materials } from "@ethdebug/materials";
2-
import { Program } from "@ethdebug/programs";
1+
import { Program, Materials } from "@ethdebug/format";
32

43
export type DynamicInstruction =
54
& Omit<Program.Instruction, "context" | "operation">

packages/web/src/theme/ProgramExample/offsets.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { Data } from "@ethdebug/materials";
2-
import { Program } from "@ethdebug/programs";
1+
import { Data, Program } from "@ethdebug/format";
32

43
// define base generic instruction since other parts of this module
54
// allow dynamic contexts and such

0 commit comments

Comments
 (0)