[REF] reorganize file structure

in order to separate compiler/ and runtime/ code
This commit is contained in:
Géry Debongnie
2022-05-26 23:45:40 +02:00
committed by Sam Degueldre
parent e4b810c027
commit 22a79cdedd
68 changed files with 100 additions and 91 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { mount, patch } from "../../src/blockdom";
import { mount, patch } from "../../src/runtime/blockdom";
import { makeTestFixture, renderToBdom, renderToString, snapshotEverything } from "../helpers";
snapshotEverything();
+4 -4
View File
@@ -1,8 +1,8 @@
import { TemplateSet } from "../../src/app/template_set";
import { mount } from "../../src/blockdom";
import { TemplateSet } from "../../src/runtime/template_set";
import { mount } from "../../src/runtime/blockdom";
import { makeTestFixture, renderToBdom, renderToString, snapshotEverything } from "../helpers";
import { markup } from "../../src/utils";
import { STATUS } from "../../src/component/status";
import { markup } from "../../src/runtime/utils";
import { STATUS } from "../../src/runtime/status";
snapshotEverything();
// -----------------------------------------------------------------------------
+1 -1
View File
@@ -1,5 +1,5 @@
import { renderToString, renderToBdom, snapshotEverything, makeTestFixture } from "../helpers";
import { mount } from "../../src/blockdom";
import { mount } from "../../src/runtime/blockdom";
import { mount as mountComponent, Component, xml } from "../../src/index";
// NB: check the snapshots to see where the SVG namespaces are added
+1 -1
View File
@@ -1,4 +1,4 @@
import { mount } from "../../src/blockdom";
import { mount } from "../../src/runtime/blockdom";
import {
makeTestFixture,
renderToBdom,
+1 -1
View File
@@ -5,7 +5,7 @@ import {
TestContext,
makeTestFixture,
} from "../helpers";
import { mount, patch } from "../../src/blockdom";
import { mount, patch } from "../../src/runtime/blockdom";
snapshotEverything();
+1 -1
View File
@@ -1,5 +1,5 @@
// import { mountBlock } from "../../src/blockdom/block";
import { mount } from "../../src/blockdom";
import { mount } from "../../src/runtime/blockdom";
import { makeTestFixture, renderToBdom, renderToString, snapshotEverything } from "../helpers";
snapshotEverything();
+1 -1
View File
@@ -1,5 +1,5 @@
import { renderToString, renderToBdom, snapshotEverything, makeTestFixture } from "../helpers";
import { mount, patch } from "../../src/blockdom/index";
import { mount, patch } from "../../src/runtime/blockdom/index";
snapshotEverything();
+3 -3
View File
@@ -5,9 +5,9 @@ import {
TestContext,
makeTestFixture,
} from "../helpers";
import { mount, patch } from "../../src/blockdom";
import { createBlock } from "../../src/blockdom/index";
import { markup } from "../../src/utils";
import { mount, patch } from "../../src/runtime/blockdom";
import { createBlock } from "../../src/runtime/blockdom/index";
import { markup } from "../../src/runtime/utils";
snapshotEverything();
+2 -2
View File
@@ -1,5 +1,5 @@
import { TemplateSet } from "../../src/app/template_set";
import { mount } from "../../src/blockdom";
import { TemplateSet } from "../../src/runtime/template_set";
import { mount } from "../../src/runtime/blockdom";
import { renderToBdom, snapshotEverything } from "../helpers";
snapshotEverything();
+1 -1
View File
@@ -1,4 +1,4 @@
import { mount, patch } from "../../src/blockdom";
import { mount, patch } from "../../src/runtime/blockdom";
import { makeTestFixture, renderToBdom, renderToString, snapshotEverything } from "../helpers";
snapshotEverything();
+1 -1
View File
@@ -1,4 +1,4 @@
import { TemplateSet } from "../../src/app/template_set";
import { TemplateSet } from "../../src/runtime/template_set";
import { renderToString, snapshotTemplate, TestContext } from "../helpers";
// -----------------------------------------------------------------------------