refactor: http -> web

This commit is contained in:
cha0s 2022-03-19 16:27:13 -05:00
parent 426a09811c
commit 3f74238760
12 changed files with 15 additions and 15 deletions

View File

@ -41,14 +41,14 @@
port: 32352
'@flecks/docker': {}
'@flecks/governor': {}
'@flecks/http': {}
'@flecks/http/client':
'@flecks/web': {}
'@flecks/web/client':
up:
- '@flecks/socket'
- '@humus/universe'
- '@flecks/react'
- '...'
'@flecks/http/server':
'@flecks/web/server':
devPublic: 'humus.local.cha0s.io'
port: 32350
'request.route':
@ -84,7 +84,7 @@
- '@flecks/governor'
- '...'
- '@humus/universe'
- '@flecks/http'
- '@flecks/web'
- '@flecks/repl'
'@flecks/socket': {}
'@flecks/socket/server':

View File

@ -40,7 +40,6 @@
"@flecks/create-app": "^1.3.0",
"@flecks/db": "^1.3.0",
"@flecks/governor": "^1.3.0",
"@flecks/http": "^1.3.0",
"@flecks/react": "^1.3.0",
"@flecks/redis": "^1.3.0",
"@flecks/redux": "^1.3.0",
@ -48,6 +47,7 @@
"@flecks/server": "^1.3.0",
"@flecks/socket": "^1.3.0",
"@flecks/user": "^1.3.0",
"@flecks/web": "^1.3.0",
"@humus/combat": "^2.0.0",
"@humus/core": "^2.0.0",
"@humus/farm": "^2.0.0",

View File

@ -1,4 +1,4 @@
'@flecks/core': {}
'@flecks/fleck': {}
'@flecks/http': {}
'@flecks/react': {}
'@flecks/web': {}

View File

@ -37,6 +37,6 @@
},
"devDependencies": {
"@flecks/fleck": "^1.3.0",
"@flecks/http": "^1.3.0"
"@flecks/web": "^1.3.0"
}
}

View File

@ -1,4 +1,4 @@
'@flecks/core': {}
'@flecks/fleck': {}
'@flecks/http': {}
'@flecks/react': {}
'@flecks/web': {}

View File

@ -43,6 +43,6 @@
},
"devDependencies": {
"@flecks/fleck": "^1.3.0",
"@flecks/http": "^1.3.0"
"@flecks/web": "^1.3.0"
}
}

View File

@ -1,4 +1,4 @@
'@flecks/core': {}
'@flecks/fleck': {}
'@flecks/http': {}
'@flecks/react': {}
'@flecks/web': {}

View File

@ -48,6 +48,6 @@
},
"devDependencies": {
"@flecks/fleck": "^1.3.0",
"@flecks/http": "^1.3.0"
"@flecks/web": "^1.3.0"
}
}

View File

@ -1,4 +1,4 @@
'@flecks/core': {}
'@flecks/fleck': {}
'@flecks/http': {}
'@flecks/react': {}
'@flecks/web': {}

View File

@ -55,6 +55,6 @@
},
"devDependencies": {
"@flecks/fleck": "^1.3.0",
"@flecks/http": "^1.3.0"
"@flecks/web": "^1.3.0"
}
}

View File

@ -8,7 +8,7 @@ export default {
[Hooks]: {
'@humus/app.components': () => Universe,
'@humus/app.title': () => Title,
'@flecks/http/client.up': (flecks) => {
'@flecks/web/client.up': (flecks) => {
window.flecks = flecks;
const Synchronizer = Receiver(flecks);
const synchronizer = new Synchronizer();

View File

@ -36,7 +36,7 @@ export default {
throw new Error(`Couldn't run universe '${running}': ${error.stack}`);
}
},
'@flecks/http/server.request.socket': (flecks) => (req, res, next) => {
'@flecks/web/server.request.socket': (flecks) => (req, res, next) => {
if (req.url.startsWith('/resource')) {
req.url = req.url.slice('/resource'.length);
flecks.get('$humus/universe.resource-server')(req, res, next);