@rsdk/cli.core 5.4.0-next.0 → 5.4.0-next.10
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 +54 -0
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/index.ts +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,10 +3,64 @@
|
|
|
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.10](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.9...v5.4.0-next.10) (2024-12-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rsdk/cli.core
|
|
9
|
+
|
|
10
|
+
## [5.4.0-next.9](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.8...v5.4.0-next.9) (2024-12-02)
|
|
11
|
+
|
|
12
|
+
## [5.3.1-rc.1](https://github.com/R-Vision/rsdk/compare/v5.3.1-rc.0...v5.3.1-rc.1) (2024-11-28)
|
|
13
|
+
|
|
14
|
+
## [5.3.1-rc.0](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.6...v5.3.1-rc.0) (2024-11-28)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @rsdk/cli.core
|
|
17
|
+
|
|
18
|
+
## [5.4.0-next.8](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.7...v5.4.0-next.8) (2024-11-28)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @rsdk/cli.core
|
|
21
|
+
|
|
22
|
+
## [5.4.0-next.7](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.6...v5.4.0-next.7) (2024-11-28)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @rsdk/cli.core
|
|
25
|
+
|
|
26
|
+
## [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)
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* bump versions ([079d251](https://github.com/R-Vision/rsdk/commit/079d251965bdcb6d280f9162d898f776618f9e69))
|
|
31
|
+
|
|
32
|
+
## [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)
|
|
33
|
+
|
|
34
|
+
**Note:** Version bump only for package @rsdk/cli.core
|
|
35
|
+
|
|
36
|
+
## [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)
|
|
37
|
+
|
|
38
|
+
**Note:** Version bump only for package @rsdk/cli.core
|
|
39
|
+
|
|
40
|
+
## [5.4.0-next.3](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.2...v5.4.0-next.3) (2024-11-25)
|
|
41
|
+
|
|
42
|
+
**Note:** Version bump only for package @rsdk/cli.core
|
|
43
|
+
|
|
44
|
+
## [5.4.0-next.2](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.1...v5.4.0-next.2) (2024-11-25)
|
|
45
|
+
|
|
46
|
+
**Note:** Version bump only for package @rsdk/cli.core
|
|
47
|
+
|
|
48
|
+
## [5.4.0-next.1](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.0...v5.4.0-next.1) (2024-11-08)
|
|
49
|
+
|
|
50
|
+
**Note:** Version bump only for package @rsdk/cli.core
|
|
51
|
+
|
|
6
52
|
## [5.4.0-next.0](https://github.com/R-Vision/rsdk/compare/v5.3.0...v5.4.0-next.0) (2024-11-08)
|
|
7
53
|
|
|
8
54
|
**Note:** Version bump only for package @rsdk/cli.core
|
|
9
55
|
|
|
56
|
+
## [5.3.1-rc.1](https://github.com/R-Vision/rsdk/compare/v5.3.1-rc.0...v5.3.1-rc.1) (2024-11-28)
|
|
57
|
+
|
|
58
|
+
**Note:** Version bump only for package @rsdk/cli.core
|
|
59
|
+
|
|
60
|
+
## [5.3.1-rc.0](https://github.com/R-Vision/rsdk/compare/v5.3.0...v5.3.1-rc.0) (2024-11-28)
|
|
61
|
+
|
|
62
|
+
**Note:** Version bump only for package @rsdk/cli.core
|
|
63
|
+
|
|
10
64
|
## [5.3.0](https://github.com/R-Vision/rsdk/compare/v5.3.0-next.4...v5.3.0) (2024-11-08)
|
|
11
65
|
|
|
12
66
|
**Note:** Version bump only for package @rsdk/cli.core
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
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.execute = void 0;
|
|
4
|
-
const node_path_1 = require("node:path");
|
|
7
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
5
8
|
require("./reconfigure-logger");
|
|
6
9
|
const cli_1 = require("./cli");
|
|
7
10
|
// TODO: сделать более понятным, переиспользуемым, консистентным и контролируем
|
|
8
11
|
process.env.RSDK_CLI_MODE = 'true';
|
|
9
12
|
const getCliPackageName = () => {
|
|
10
13
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
11
|
-
return require(
|
|
14
|
+
return require(node_path_1.default.join(node_path_1.default.dirname(require.main.filename), 'package.json')).name;
|
|
12
15
|
};
|
|
13
16
|
const execute = async (opts) => {
|
|
14
17
|
const cliPackageName = opts?.scope ?? getCliPackageName();
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AACA,0DAA6B;AAE7B,gCAA8B;AAE9B,+BAA4B;AAE5B,+EAA+E;AAC/E,OAAO,CAAC,GAAG,CAAC,aAAa,GAAG,MAAM,CAAC;AACnC,MAAM,iBAAiB,GAAG,GAAW,EAAE;IACrC,8DAA8D;IAC9D,OAAO,OAAO,CACZ,mBAAI,CAAC,IAAI,CAAC,mBAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAK,CAAC,QAAQ,CAAC,EAAE,cAAc,CAAC,CAChE,CAAC,IAAI,CAAC;AACT,CAAC,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,IAI7B,EAAiB,EAAE;IAClB,MAAM,cAAc,GAAG,IAAI,EAAE,KAAK,IAAI,iBAAiB,EAAE,CAAC;IAE1D,OAAO,CAAC,KAAK,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACtD,MAAM,IAAI,SAAG,CAAC,EAAE,GAAG,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAClE,CAAC,CAAC;AATW,QAAA,OAAO,WASlB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdk/cli.core",
|
|
3
|
-
"version": "5.4.0-next.
|
|
3
|
+
"version": "5.4.0-next.10",
|
|
4
4
|
"description": "entry package to cli functions",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
],
|
|
13
13
|
"license": "Apache License 2.0",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@rsdk/cli.common": "5.4.0-next.
|
|
16
|
-
"@rsdk/logging": "5.4.0-next.
|
|
17
|
-
"commander": "^12.
|
|
15
|
+
"@rsdk/cli.common": "5.4.0-next.10",
|
|
16
|
+
"@rsdk/logging": "5.4.0-next.10",
|
|
17
|
+
"commander": "^12.1.0"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@rsdk/cli.common": "*",
|
|
21
21
|
"@rsdk/logging": "*",
|
|
22
|
-
"commander": "^12.
|
|
22
|
+
"commander": "^12.1.0",
|
|
23
23
|
"reflect-metadata": "^0.1.12 || ^0.2.0"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "e069174778f5d22396099fddfe3b10c4f30b467d"
|
|
26
26
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RsdkCliCommand } from '@rsdk/cli.common';
|
|
2
|
-
import
|
|
2
|
+
import path from 'node:path';
|
|
3
3
|
|
|
4
4
|
import './reconfigure-logger';
|
|
5
5
|
|
|
@@ -9,7 +9,9 @@ import { Cli } from './cli';
|
|
|
9
9
|
process.env.RSDK_CLI_MODE = 'true';
|
|
10
10
|
const getCliPackageName = (): string => {
|
|
11
11
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
12
|
-
return require(
|
|
12
|
+
return require(
|
|
13
|
+
path.join(path.dirname(require.main!.filename), 'package.json'),
|
|
14
|
+
).name;
|
|
13
15
|
};
|
|
14
16
|
|
|
15
17
|
export const execute = async (opts?: {
|