@golemio/fcd 1.1.11-dev.950502850 → 1.2.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 (1) hide show
  1. package/package.json +6 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/fcd",
3
- "version": "1.1.11-dev.950502850",
3
+ "version": "1.2.0",
4
4
  "description": "Golemio Floating Car Data Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -10,10 +10,9 @@
10
10
  "build-watch": "run-s 'build -- --watch --preserveWatchOutput'",
11
11
  "pretest": "golemio mdb reset --postgres && golemio mdb up --postgres && golemio import-db-data --postgres",
12
12
  "test": "cross-env NODE_ENV=test mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r tsconfig-paths/register -r dotenv/config --file 'test/setup.ts' 'test/**/*.test.ts'",
13
- "apidocs": "cross-env NODE_ENV=test ts-node -r tsconfig-paths/register -r dotenv/config test/api-docs/index.ts",
14
- "apidocs-test": "run-s \"apidocs -- input,output\"",
15
- "apidocs-test-input": "run-s \"apidocs -- input\"",
16
- "apidocs-test-output": "run-s \"apidocs -- output\"",
13
+ "apidocs-test": "npm run apidocs-test-input && npm run apidocs-test-output",
14
+ "apidocs-test-input": "cross-env NODE_ENV=test golemio swagger api-test --oas docs/openapi-input.yaml --script test/api-docs/input-gateway/server.js",
15
+ "apidocs-test-output": "cross-env NODE_ENV=test golemio swagger api-test --oas docs/openapi-output.yaml --script test/api-docs/output-gateway/server.js --config test/api-docs/output-gateway/portman-config.json",
17
16
  "test-debug": "run-s 'test -- --inspect-brk=9230'",
18
17
  "code-coverage": "nyc run-s 'test -- -r source-map-support/register'",
19
18
  "generate-docs": "typedoc --out docs/typedoc src",
@@ -38,8 +37,8 @@
38
37
  "@apideck/portman": "^1.14.2",
39
38
  "@commitlint/cli": "^11.0.0",
40
39
  "@commitlint/config-conventional": "^11.0.0",
41
- "@golemio/cli": "1.4.4",
42
- "@golemio/core": "1.8.6",
40
+ "@golemio/cli": "1.5.0",
41
+ "@golemio/core": "1.8.10",
43
42
  "@golemio/db-common": "1.1.1",
44
43
  "@golemio/eslint-config": "1.1.1",
45
44
  "@golemio/traffic-common": "0.1.3",