Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/broken/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerModule } from "@lastui/rocker/platform";
import registerModule from "@lastui/rocker/register";

import Crashing from "./components/Crashing";
import Fallback from "./components/Fallback";
Expand Down
2 changes: 1 addition & 1 deletion modules/failing-saga-boundary/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerModule } from "@lastui/rocker/platform";
import registerModule from "@lastui/rocker/register";

import saga from "./saga";

Expand Down
2 changes: 2 additions & 0 deletions modules/layout/src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ const Layout = () => {

const refreshContext = React.useCallback(() => dispatch(actions.refresh()), [dispatch]);

console.log('X');

return (
<div className="container is-fluid">
<section className="section is-small">
Expand Down
2 changes: 1 addition & 1 deletion modules/layout/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerModule } from "@lastui/rocker/platform";
import registerModule from "@lastui/rocker/register";

import Layout from "./components/Layout";

Expand Down
2 changes: 1 addition & 1 deletion modules/localisation/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerModule } from "@lastui/rocker/platform";
import registerModule from "@lastui/rocker/register";

import Localised from "./components/Localised";

Expand Down
2 changes: 1 addition & 1 deletion modules/routing/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerModule } from "@lastui/rocker/platform";
import registerModule from "@lastui/rocker/register";

import Routing from "./components/Routing";

Expand Down
2 changes: 1 addition & 1 deletion modules/self-state-ioc/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerModule } from "@lastui/rocker/platform";
import registerModule from "@lastui/rocker/register";

import Probe from "./components/Probe";
import reducers from "./reducer";
Expand Down
2 changes: 1 addition & 1 deletion modules/simple/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerModule } from "@lastui/rocker/platform";
import registerModule from "@lastui/rocker/register";

import Simple from "./components/Simple";
import middleware from "./middleware";
Expand Down
2 changes: 1 addition & 1 deletion modules/subrouting/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerModule } from "@lastui/rocker/platform";
import registerModule from "@lastui/rocker/register";

import SubRouting from "./components/SubRouting";

Expand Down
2 changes: 1 addition & 1 deletion modules/trivial/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { registerModule } from "@lastui/rocker/platform";
import registerModule from "@lastui/rocker/register";

const component = () => <span>Trivial</span>

Expand Down
3,858 changes: 2,907 additions & 951 deletions package-lock.json

Large diffs are not rendered by default.

17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,22 @@
"url": "https://github.com/lastui/examples/issues"
},
"scripts": {
"build": "npm run build:spa && npm run build:modules",
"build:modules": "rocker build",
"build:spa": "cd spa && npm run build",
"postinstall": "npm run install:spa && npm run install:server",
"install:server": "npm --prefix=server i",
"install:spa": "npm --prefix=spa i",
"build": "rocker build",
"postinstall": "npm --prefix=server i",
"lint": "rocker lint",
"serve": "cd server && npm start",
"start": "rocker start",
"test": "npm run test:spa && npm run test:modules",
"test:modules": "ls -d -- modules/* | xargs -r -I {} bash -c 'rocker --cwd={} test'",
"test:spa": "cd spa && npm test",
"upgrade": "rocker upgrade && rocker upgrade --cwd=spa"
"upgrade": "rocker upgrade"
},
"devDependencies": {
"@lastui/dependencies": "1.5.6",
"@lastui/rocker": "0.20.25",
"@lastui/dependencies": "1.5.7",
"@lastui/rocker": "0.20.33",
"bulma": "1.0.0"
},
"dependencies": {
"webpack-merge": "^6.0.1"
}
}
Loading