@rsdk/cli.common 5.4.0-next.4 → 5.4.0-next.6
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 +10 -0
- package/dist/rsdk-json.parser.js +5 -2
- package/dist/rsdk-json.parser.js.map +1 -1
- package/package.json +7 -7
- package/src/rsdk-json.parser.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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
|
+
## [5.4.0-next.6](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.5...v5.4.0-next.6) (2024-11-28)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* bump versions ([079d251](https://github.com/R-Vision/rsdk/commit/079d251965bdcb6d280f9162d898f776618f9e69))
|
|
11
|
+
|
|
12
|
+
## [5.4.0-next.5](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.4...v5.4.0-next.5) (2024-11-28)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @rsdk/cli.common
|
|
15
|
+
|
|
6
16
|
## [5.4.0-next.4](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.3...v5.4.0-next.4) (2024-11-27)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @rsdk/cli.common
|
package/dist/rsdk-json.parser.js
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.RsdkJsonParser = void 0;
|
|
4
7
|
const promises_1 = require("node:fs/promises");
|
|
5
|
-
const node_path_1 = require("node:path");
|
|
8
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
6
9
|
class RsdkJsonParser {
|
|
7
10
|
path;
|
|
8
11
|
constructor(path = 'autodoc/rsdk.json') {
|
|
9
12
|
this.path = path;
|
|
10
13
|
}
|
|
11
14
|
async parseRsdkJson() {
|
|
12
|
-
const pathToRsdkJson =
|
|
15
|
+
const pathToRsdkJson = node_path_1.default.resolve(this.path);
|
|
13
16
|
const rsdkJson = JSON.parse(await (0, promises_1.readFile)(pathToRsdkJson, 'utf8'));
|
|
14
17
|
return rsdkJson;
|
|
15
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rsdk-json.parser.js","sourceRoot":"","sources":["../src/rsdk-json.parser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rsdk-json.parser.js","sourceRoot":"","sources":["../src/rsdk-json.parser.ts"],"names":[],"mappings":";;;;;;AAAA,+CAA4C;AAC5C,0DAA6B;AAI7B,MAAa,cAAc;IACJ;IAArB,YAAqB,OAAe,mBAAmB;QAAlC,SAAI,GAAJ,IAAI,CAA8B;IAAG,CAAC;IAE3D,KAAK,CAAC,aAAa;QACjB,MAAM,cAAc,GAAG,mBAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/C,MAAM,QAAQ,GAAa,IAAI,CAAC,KAAK,CACnC,MAAM,IAAA,mBAAQ,EAAC,cAAc,EAAE,MAAM,CAAC,CACvC,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF;AAXD,wCAWC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdk/cli.common",
|
|
3
|
-
"version": "5.4.0-next.
|
|
3
|
+
"version": "5.4.0-next.6",
|
|
4
4
|
"description": "Shared types and helpers for build work with cli",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -15,18 +15,18 @@
|
|
|
15
15
|
],
|
|
16
16
|
"license": "Apache License 2.0",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@rsdk/common": "5.4.0-next.
|
|
19
|
-
"@rsdk/logging": "5.4.0-next.
|
|
20
|
-
"@sinclair/typebox": "^0.
|
|
21
|
-
"commander": "^12.
|
|
18
|
+
"@rsdk/common": "5.4.0-next.6",
|
|
19
|
+
"@rsdk/logging": "5.4.0-next.6",
|
|
20
|
+
"@sinclair/typebox": "^0.34.9",
|
|
21
|
+
"commander": "^12.1.0",
|
|
22
22
|
"dotenv": "^16.3.1",
|
|
23
23
|
"kafkajs": "^2.2.4",
|
|
24
24
|
"lodash": "^4.17.21",
|
|
25
|
-
"yaml": "^2.
|
|
25
|
+
"yaml": "^2.6.1"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@rsdk/core": "*",
|
|
29
29
|
"reflect-metadata": "^0.1.12 || ^0.2.0"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "acc1405be758b5ba4d2e8eda8d34b3c4f60a813f"
|
|
32
32
|
}
|
package/src/rsdk-json.parser.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { readFile } from 'node:fs/promises';
|
|
2
|
-
import
|
|
2
|
+
import path from 'node:path';
|
|
3
3
|
|
|
4
4
|
import type { RsdkJson } from './types';
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ export class RsdkJsonParser {
|
|
|
7
7
|
constructor(readonly path: string = 'autodoc/rsdk.json') {}
|
|
8
8
|
|
|
9
9
|
async parseRsdkJson(): Promise<RsdkJson> {
|
|
10
|
-
const pathToRsdkJson = resolve(this.path);
|
|
10
|
+
const pathToRsdkJson = path.resolve(this.path);
|
|
11
11
|
const rsdkJson: RsdkJson = JSON.parse(
|
|
12
12
|
await readFile(pathToRsdkJson, 'utf8'),
|
|
13
13
|
);
|