@tramvai/module-server 1.93.1 → 1.94.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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +11 -11
package/README.md CHANGED
@@ -178,10 +178,10 @@ Module uses loggers with identifiers: `server`, `server:static`, `server:webapp`
178
178
 
179
179
  ### Specify server port
180
180
 
181
- By default server starts at `3000` port. You can change this value by specifying environment variable `PORT`:
181
+ By default server starts at `3000` port. You have next options to override this value depending on your environment:
182
182
 
183
- - in dev environment it can be done by adding env `PORT` to file `env.development.json` e.g. `PORT: "8080"`
184
- - it can be specified explicitly as an environment variable `PORT` e.g. `PORT=8080`
183
+ - **in dev environment** port in fully controlled by `@tramvai/cli` and should be specified by [`-p` option](references/cli/start.md#-p---port)
184
+ - **in prod environment** it can be specified explicitly as an environment variable `PORT` e.g. `PORT=8080`
185
185
 
186
186
  ## Exportable tokens
187
187
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-server",
3
- "version": "1.93.1",
3
+ "version": "1.94.0",
4
4
  "description": "",
5
5
  "browser": "lib/browser.js",
6
6
  "main": "lib/server.js",
@@ -23,11 +23,11 @@
23
23
  "@tinkoff/monkeypatch": "1.3.3",
24
24
  "@tinkoff/terminus": "0.0.1",
25
25
  "@tinkoff/url": "0.7.37",
26
- "@tramvai/module-cache-warmup": "1.93.1",
27
- "@tramvai/module-metrics": "1.93.1",
28
- "@tramvai/papi": "1.93.1",
29
- "@tramvai/tokens-server": "1.93.1",
30
- "@tramvai/tokens-server-private": "1.93.1",
26
+ "@tramvai/module-cache-warmup": "1.94.0",
27
+ "@tramvai/module-metrics": "1.94.0",
28
+ "@tramvai/papi": "1.94.0",
29
+ "@tramvai/tokens-server": "1.94.0",
30
+ "@tramvai/tokens-server-private": "1.94.0",
31
31
  "compression": "^1.7.4",
32
32
  "express": "^4.17.1",
33
33
  "fastify": "^3.27.4",
@@ -40,11 +40,11 @@
40
40
  "peerDependencies": {
41
41
  "@tinkoff/dippy": "0.7.39",
42
42
  "@tinkoff/utils": "^2.1.2",
43
- "@tramvai/cli": "1.93.1",
44
- "@tramvai/core": "1.93.1",
45
- "@tramvai/module-common": "1.93.1",
46
- "@tramvai/module-environment": "1.93.1",
47
- "@tramvai/tokens-common": "1.93.1",
43
+ "@tramvai/cli": "1.94.0",
44
+ "@tramvai/core": "1.94.0",
45
+ "@tramvai/module-common": "1.94.0",
46
+ "@tramvai/module-environment": "1.94.0",
47
+ "@tramvai/tokens-common": "1.94.0",
48
48
  "tslib": "^2.0.3"
49
49
  },
50
50
  "devDependencies": {