Skip to content

Commit 449d5c3

Browse files
committed
move idom-client-react into separate repo
1 parent 173795e commit 449d5c3

File tree

5 files changed

+18
-405
lines changed

5 files changed

+18
-405
lines changed

idom/client/app/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<body>
99
<div id="app"></div>
1010
<script type="module">
11-
import { mountLayoutWithWebSocket } from "./src/layout.js";
11+
import { mountLayoutWithWebSocket } from "idom-client-react";
1212

1313
const uri = document.location.hostname + ":" + document.location.port;
1414
const url = (uri + document.location.pathname).split("/").slice(0, -1);

idom/client/app/package-lock.json

Lines changed: 11 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

idom/client/app/package.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
{
2-
"name": "idom-client-react",
3-
"description": "A client for IDOM implemented in React",
4-
"version": "0.5.4",
2+
"name": "idom-react-app",
3+
"description": "A client application for IDOM implemented in React",
4+
"version": "0.1.0",
55
"author": "Ryan Morshead",
66
"license": "MIT",
77
"repository": {
88
"type": "git",
9-
"url": "https://github.com/rmorshea/idom"
9+
"url": "https://github.com/idom-team/idom"
1010
},
11-
"main": "src/layout.js",
12-
"files": [
13-
"src/**/*.js"
14-
],
1511
"scripts": {
1612
"build": "snowpack && snowpack build",
1713
"format": "prettier --write ./src",
@@ -22,12 +18,12 @@
2218
"snowpack": "2.12.1"
2319
},
2420
"dependencies": {
25-
"fast-json-patch": "^3.0.0-1",
26-
"htm": "^3.0.3",
21+
"idom-client-react": "^0.6.0",
2722
"react": "^16.13.1",
2823
"react-dom": "^16.13.1"
2924
},
3025
"snowpack": {
26+
"install": ["htm", "react", "react-dom", "idom-client-react"],
3127
"installOptions": {
3228
"polyfillNode": true
3329
}

idom/client/app/src/event-to-object.js

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

0 commit comments

Comments
 (0)