vovk-rust 0.0.1-draft.52 → 0.0.1-draft.53

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk-rust",
3
- "version": "0.0.1-draft.52",
3
+ "version": "0.0.1-draft.53",
4
4
  "description": "Vovk.ts Rust client",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -13,7 +13,7 @@
13
13
  "unit:rs": "RUST_BACKTRACE=full cargo test --manifest-path ./test_rust/Cargo.toml -- --show-output",
14
14
  "unit:ts": "npm run pre-test && node --experimental-strip-types --test --test-concurrency=1 test_ts/*.mts",
15
15
  "generate": "npm run generate --prefix ../../test -- --config=../packages/vovk-rust/vovk.config.test.mjs",
16
- "test": "npm run unit:ts && concurrently 'sleep 20 && npm run unit:rs' 'npm run generate && npm run build --prefix ../../test && npm run start --prefix ../../test' --kill-others --success first"
16
+ "test": "npm run unit:ts && PORT=3210 concurrently 'sleep 20 && npm run unit:rs' 'npm run generate && npm run build --prefix ../../test && npm run start --prefix ../../test' --kill-others --success first"
17
17
  },
18
18
  "main": "./index.js",
19
19
  "type": "module",
@@ -2,19 +2,21 @@
2
2
  /** @type {import('vovk').VovkConfig} */
3
3
  const vovkConfig = {
4
4
  logLevel: 'debug',
5
- origin: `http://localhost:${process.env.PORT}`,
5
+ generatorConfig: { origin: `http://localhost:${process.env.PORT}` },
6
6
  clientTemplateDefs: {
7
7
  rs: {
8
8
  extends: 'rs',
9
9
  composedClient: {
10
10
  outDir: '../packages/vovk-rust/generated_rust_client',
11
+ },
12
+ generatorConfig: {
11
13
  package: {
12
14
  name: 'generated_rust_client',
13
15
  version: '0.1.0',
14
16
  license: 'MIT',
15
17
  description: 'Vovk Rust Client',
16
18
  },
17
- },
19
+ }
18
20
  },
19
21
  },
20
22
  composedClient: {