@tramvai/module-server 5.53.80 → 6.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +21 -21
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ createApp({
|
|
|
26
26
|
|
|
27
27
|
### Processing the users requests
|
|
28
28
|
|
|
29
|
-
`ServerModule` creates [
|
|
29
|
+
`ServerModule` creates [fastify.js](https://fastify.dev/) application, handles user requests, runs [commandLineRunner](concepts/command-line-runner.md), and sends responses to users with data, headers and status from `RESPONSE_MANAGER_TOKEN` token.
|
|
30
30
|
|
|
31
31
|
### Request proxying
|
|
32
32
|
|
|
@@ -42,7 +42,7 @@ To enable proxying, create a file `proxy.conf.js` or `proxy.conf.json` in the ro
|
|
|
42
42
|
const testStand = 'https://example.org';
|
|
43
43
|
|
|
44
44
|
module.exports = {
|
|
45
|
-
// The key is the path pattern for the `
|
|
45
|
+
// The key is the path pattern for the `fastify` to be passed to `app.use`
|
|
46
46
|
// value can be a string, in order to proxy all urls starting with `/login/`
|
|
47
47
|
'/login/': testStand,
|
|
48
48
|
// or can be a config object for [http-proxy](https://github.com/chimurai/http-proxy-middleware#http-proxy-options)
|
|
@@ -115,7 +115,7 @@ Module will not serve the newly added file on the filesystem, works only for all
|
|
|
115
115
|
|
|
116
116
|
### PAPI
|
|
117
117
|
|
|
118
|
-
Papi - API routes for the `tramvai` application. More information is available in [Papi](03-features/
|
|
118
|
+
Papi - API routes for the `tramvai` application. More information is available in [Papi](03-features/017-papi.md)
|
|
119
119
|
|
|
120
120
|
### Emulation of network/backends problems in the application
|
|
121
121
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-server",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.62.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"browser": "lib/browser.js",
|
|
6
6
|
"main": "lib/server.js",
|
|
@@ -26,32 +26,32 @@
|
|
|
26
26
|
"@fastify/formbody": "^7.4.0",
|
|
27
27
|
"@fastify/static": "^6.9.0",
|
|
28
28
|
"@loadable/server": "^5.15.0",
|
|
29
|
-
"@tinkoff/errors": "0.
|
|
30
|
-
"@tinkoff/monkeypatch": "
|
|
31
|
-
"@tinkoff/terminus": "0.
|
|
32
|
-
"@tinkoff/url": "0.
|
|
33
|
-
"@tramvai/module-cache-warmup": "
|
|
34
|
-
"@tramvai/module-metrics": "
|
|
35
|
-
"@tramvai/papi": "
|
|
36
|
-
"@tramvai/safe-strings": "0.
|
|
37
|
-
"@tramvai/tokens-router": "
|
|
38
|
-
"@tramvai/tokens-server": "
|
|
39
|
-
"@tramvai/tokens-server-private": "
|
|
29
|
+
"@tinkoff/errors": "0.7.1",
|
|
30
|
+
"@tinkoff/monkeypatch": "6.0.0",
|
|
31
|
+
"@tinkoff/terminus": "0.5.1",
|
|
32
|
+
"@tinkoff/url": "0.12.1",
|
|
33
|
+
"@tramvai/module-cache-warmup": "6.62.0",
|
|
34
|
+
"@tramvai/module-metrics": "6.62.0",
|
|
35
|
+
"@tramvai/papi": "6.62.0",
|
|
36
|
+
"@tramvai/safe-strings": "0.9.0",
|
|
37
|
+
"@tramvai/tokens-router": "6.62.0",
|
|
38
|
+
"@tramvai/tokens-server": "6.62.0",
|
|
39
|
+
"@tramvai/tokens-server-private": "6.62.0",
|
|
40
40
|
"afterframe": "^1.0.2",
|
|
41
41
|
"fastify": "^4.14.1",
|
|
42
42
|
"http-proxy-middleware": "^2.0.2"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@tinkoff/dippy": "0.
|
|
45
|
+
"@tinkoff/dippy": "0.12.3",
|
|
46
46
|
"@tinkoff/utils": "^2.1.2",
|
|
47
|
-
"@tramvai/cli": "
|
|
48
|
-
"@tramvai/core": "
|
|
49
|
-
"@tramvai/module-common": "
|
|
50
|
-
"@tramvai/module-environment": "
|
|
51
|
-
"@tramvai/react": "
|
|
52
|
-
"@tramvai/tokens-common": "
|
|
53
|
-
"@tramvai/tokens-core-private": "
|
|
54
|
-
"@tramvai/tokens-render": "
|
|
47
|
+
"@tramvai/cli": "6.62.0",
|
|
48
|
+
"@tramvai/core": "6.62.0",
|
|
49
|
+
"@tramvai/module-common": "6.62.0",
|
|
50
|
+
"@tramvai/module-environment": "6.62.0",
|
|
51
|
+
"@tramvai/react": "6.62.0",
|
|
52
|
+
"@tramvai/tokens-common": "6.62.0",
|
|
53
|
+
"@tramvai/tokens-core-private": "6.62.0",
|
|
54
|
+
"@tramvai/tokens-render": "6.62.0",
|
|
55
55
|
"react": ">=16.14.0",
|
|
56
56
|
"react-dom": ">=16.14.0",
|
|
57
57
|
"tslib": "^2.4.0"
|