@twin.org/cli-core 0.0.2-next.18 → 0.0.2-next.20
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/dist/cjs/index.cjs +2 -0
- package/dist/esm/index.mjs +2 -0
- package/docs/changelog.md +38 -0
- package/package.json +14 -4
package/dist/cjs/index.cjs
CHANGED
|
@@ -635,6 +635,8 @@ class CLIParam {
|
|
|
635
635
|
static env(optionName, optionValue, allowEnvVar) {
|
|
636
636
|
if (allowEnvVar && optionValue?.startsWith("!")) {
|
|
637
637
|
const envValueName = optionValue.slice(1);
|
|
638
|
+
// This is reading from an env var so it really has no choice
|
|
639
|
+
// eslint-disable-next-line no-restricted-syntax
|
|
638
640
|
const envValue = process.env[envValueName];
|
|
639
641
|
if (core.Is.empty(envValue)) {
|
|
640
642
|
throw new core.GeneralError("commands", "commands.common.missingEnv", {
|
package/dist/esm/index.mjs
CHANGED
|
@@ -614,6 +614,8 @@ class CLIParam {
|
|
|
614
614
|
static env(optionName, optionValue, allowEnvVar) {
|
|
615
615
|
if (allowEnvVar && optionValue?.startsWith("!")) {
|
|
616
616
|
const envValueName = optionValue.slice(1);
|
|
617
|
+
// This is reading from an env var so it really has no choice
|
|
618
|
+
// eslint-disable-next-line no-restricted-syntax
|
|
617
619
|
const envValue = process.env[envValueName];
|
|
618
620
|
if (Is.empty(envValue)) {
|
|
619
621
|
throw new GeneralError("commands", "commands.common.missingEnv", {
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# @twin.org/cli-core - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.20](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.2-next.19...cli-core-v0.0.2-next.20) (2025-10-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **cli-core:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/core bumped from 0.0.2-next.19 to 0.0.2-next.20
|
|
16
|
+
* @twin.org/crypto bumped from 0.0.2-next.19 to 0.0.2-next.20
|
|
17
|
+
* @twin.org/nameof bumped from 0.0.2-next.19 to 0.0.2-next.20
|
|
18
|
+
* devDependencies
|
|
19
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.19 to 0.0.2-next.20
|
|
20
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.19 to 0.0.2-next.20
|
|
21
|
+
|
|
22
|
+
## [0.0.2-next.19](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.2-next.18...cli-core-v0.0.2-next.19) (2025-09-30)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Miscellaneous Chores
|
|
26
|
+
|
|
27
|
+
* **cli-core:** Synchronize repo versions
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Dependencies
|
|
31
|
+
|
|
32
|
+
* The following workspace dependencies were updated
|
|
33
|
+
* dependencies
|
|
34
|
+
* @twin.org/core bumped from 0.0.2-next.18 to 0.0.2-next.19
|
|
35
|
+
* @twin.org/crypto bumped from 0.0.2-next.18 to 0.0.2-next.19
|
|
36
|
+
* @twin.org/nameof bumped from 0.0.2-next.18 to 0.0.2-next.19
|
|
37
|
+
* devDependencies
|
|
38
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.18 to 0.0.2-next.19
|
|
39
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.18 to 0.0.2-next.19
|
|
40
|
+
|
|
3
41
|
## [0.0.2-next.18](https://github.com/twinfoundation/framework/compare/cli-core-v0.0.2-next.17...cli-core-v0.0.2-next.18) (2025-09-29)
|
|
4
42
|
|
|
5
43
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/cli-core",
|
|
3
|
-
"version": "0.0.2-next.
|
|
3
|
+
"version": "0.0.2-next.20",
|
|
4
4
|
"description": "Core classes for building a CLI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/core": "0.0.2-next.
|
|
18
|
-
"@twin.org/crypto": "0.0.2-next.
|
|
19
|
-
"@twin.org/nameof": "0.0.2-next.
|
|
17
|
+
"@twin.org/core": "0.0.2-next.20",
|
|
18
|
+
"@twin.org/crypto": "0.0.2-next.20",
|
|
19
|
+
"@twin.org/nameof": "0.0.2-next.20",
|
|
20
20
|
"chalk": "5.6.2",
|
|
21
21
|
"commander": "14.0.1",
|
|
22
22
|
"dotenv": "17.2.2"
|
|
@@ -37,5 +37,15 @@
|
|
|
37
37
|
"dist/types",
|
|
38
38
|
"locales",
|
|
39
39
|
"docs"
|
|
40
|
+
],
|
|
41
|
+
"keywords": [
|
|
42
|
+
"twin",
|
|
43
|
+
"trade",
|
|
44
|
+
"iota",
|
|
45
|
+
"framework",
|
|
46
|
+
"blockchain",
|
|
47
|
+
"core",
|
|
48
|
+
"foundation",
|
|
49
|
+
"utilities"
|
|
40
50
|
]
|
|
41
51
|
}
|