@rsdk/testing 1.0.12 → 2.1.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/CHANGELOG.md CHANGED
@@ -3,6 +3,49 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.1.0](https://github.com/R-Vision/rsdk/compare/v2.0.0...v2.1.0) (2023-06-06)
7
+
8
+ **Note:** Version bump only for package @rsdk/testing
9
+
10
+ # [2.0.0](https://github.com/R-Vision/rsdk/compare/v1.0.12...v2.0.0) (2023-06-06)
11
+
12
+ ### Draft
13
+
14
+ * Pfm 303 static to meta migration ([#45](https://github.com/R-Vision/rsdk/issues/45)) ([d98e303](https://github.com/R-Vision/rsdk/commit/d98e3032f9b10446b478427d841b9209ed68fa2d))
15
+
16
+ ### BREAKING CHANGES
17
+
18
+ * GrpcClientModule removed
19
+ new way for declaration with `GrpcServers.define()` and `@InjectGrpcClient`
20
+
21
+ * fix: rework interaction with metadata and generating modules from metadata
22
+
23
+ * refactor: destructring added
24
+
25
+ * docs: added docs for autodoc pre-commit hook
26
+
27
+ * chore: spell fix
28
+
29
+ * chore: some improves declaration
30
+
31
+ * chore: laconic naming for constants
32
+
33
+ * chore: remove useless
34
+
35
+ * chore: move file to suitable place
36
+
37
+ * chore: remove useless imports
38
+
39
+ * chore!: remove boostrap tasks from Makefile
40
+
41
+ * chore: rework test tasks
42
+
43
+ * feat: grpc client plugin useless
44
+
45
+ * chore: verbosed naming
46
+
47
+ * docs: improve verbosity
48
+
6
49
  ## 1.0.12 (2023-05-23)
7
50
 
8
51
  ### Bug Fixes
@@ -29,7 +29,7 @@ class PlatformTest {
29
29
  const context = this.context;
30
30
  const resultMetadata = {
31
31
  ...metadata,
32
- imports: [context.root, ...(metadata.imports ?? [])],
32
+ imports: [context.getRoot(), ...(metadata.imports ?? [])],
33
33
  };
34
34
  /**
35
35
  * Создаём `testingModule` стандартными средствами nestjs
@@ -1 +1 @@
1
- {"version":3,"file":"platform-test.js","sourceRoot":"","sources":["../src/platform-test.ts"],"names":[],"mappings":";;;AAGA,6CAAuC;AAIvC,qCAA6C;AAE7C,uEAAkE;AAiDlE,MAAa,YAAY;IACc;IAArC,YAAqC,OAAwB;QAAxB,YAAO,GAAP,OAAO,CAAiB;IAAG,CAAC;IAEjE;;;;;OAKG;IACH,MAAM,CAAC,MAAM,CAAC,OAA+B;QAC3C,MAAM,OAAO,GAAG,IAAI,sBAAe,CAAC,OAAO,CAAC,CAAC;QAE7C,OAAO,IAAI,YAAY,CAAC,OAAO,CAAC,CAAC;IACnC,CAAC;IAED;;;;;OAKG;IACH,mBAAmB,CAAC,QAAwB;QAC1C,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC7B,MAAM,cAAc,GAAG;YACrB,GAAG,QAAQ;YACX,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,QAAQ,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;SACrD,CAAC;QACF;;WAEG;QACH,MAAM,aAAa,GAAG,cAAI,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC;QAE/D;;WAEG;QACH,MAAM,eAAe,GAAG,aAAa,CAAC,OAAO,CAAC;QAE9C,MAAM,CAAC,cAAc,CAAC,aAAa,EAAE,SAAS,EAAE;YAC9C,KAAK,EAAE,KAAK,WACV,GAAG,IAAiD;gBAEpD,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,eAAe,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;gBAElE,OAAO,IAAI,+CAAqB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;YACtD,CAAC;SACF,CAAC,CAAC;QACH,MAAM,CAAC,cAAc,CAAC,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE;YACnD,KAAK,EAAE,eAAe,CAAC,IAAI;YAC3B,QAAQ,EAAE,KAAK;SAChB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Ae,CAAC,IAAI;YAC3B,QAAQ,EAAE,KAAK;SAChB,CAAC,CAAC;QACH,OAAO,aAAwD,CAAC;IAClE,CAAC;CACF;AApDD,oCAoDC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdk/testing",
3
- "version": "1.0.12",
3
+ "version": "2.1.0",
4
4
  "license": "Apache License 2.0",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {
@@ -10,7 +10,7 @@
10
10
  "@nestjs/common": "^9.0.0",
11
11
  "@nestjs/core": "^9.0.0",
12
12
  "@nestjs/testing": "^9.0.0",
13
- "@rsdk/core": "^1.0.12"
13
+ "@rsdk/core": "^2.1.0"
14
14
  },
15
- "gitHead": "e2741fe798655b87946330f8db0705e0f7ba2fb2"
15
+ "gitHead": "b98d43696f973cf6e21c6299bdddae9b1d8b8d4d"
16
16
  }
@@ -81,7 +81,7 @@ export class PlatformTest {
81
81
  const context = this.context;
82
82
  const resultMetadata = {
83
83
  ...metadata,
84
- imports: [context.root, ...(metadata.imports ?? [])],
84
+ imports: [context.getRoot(), ...(metadata.imports ?? [])],
85
85
  };
86
86
  /**
87
87
  * Создаём `testingModule` стандартными средствами nestjs