@caleuche/cli 0.5.1 → 0.5.3
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 +14 -0
- package/dist/batch.js +2 -4
- package/package.json +2 -2
- package/src/batch.ts +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @caleuche/cli
|
|
2
2
|
|
|
3
|
+
## 0.5.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 74be2c4: Fix bug with tagging variants
|
|
8
|
+
|
|
9
|
+
## 0.5.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 6a2095f: Add .sh support
|
|
14
|
+
- Updated dependencies [6a2095f]
|
|
15
|
+
- @caleuche/core@0.5.0
|
|
16
|
+
|
|
3
17
|
## 0.5.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/batch.js
CHANGED
|
@@ -97,12 +97,10 @@ function batchCompile(batchFile, options) {
|
|
|
97
97
|
if (!resolvedVariant) {
|
|
98
98
|
process.exit(1);
|
|
99
99
|
}
|
|
100
|
-
|
|
101
|
-
sample.tags = variant.tags;
|
|
102
|
-
}
|
|
100
|
+
sample.tags = variant.tags;
|
|
103
101
|
const effectiveOutputPath = path_1.default.join(options?.outputDir || workingDirectory, variant.output);
|
|
104
102
|
if (!(0, common_1.compileAndWriteOutput)(sample, resolvedVariant.properties, effectiveOutputPath, {
|
|
105
|
-
project:
|
|
103
|
+
project: sample.dependencies && sample.dependencies.length > 0,
|
|
106
104
|
})) {
|
|
107
105
|
console.error(`Sample: ${sampleDefinition.templatePath}, Variant: ${JSON.stringify(variant)}`);
|
|
108
106
|
process.exit(1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caleuche/cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"bin": {
|
|
6
6
|
"che": "dist/index.js"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"description": "Caleuche CLI",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@caleuche/core": "^0.
|
|
22
|
+
"@caleuche/core": "^0.5.0",
|
|
23
23
|
"commander": "^14.0.0",
|
|
24
24
|
"yaml": "^2.8.0"
|
|
25
25
|
},
|
package/src/batch.ts
CHANGED
|
@@ -128,9 +128,7 @@ export function batchCompile(
|
|
|
128
128
|
process.exit(1);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
|
|
132
|
-
sample.tags = variant.tags;
|
|
133
|
-
}
|
|
131
|
+
sample.tags = variant.tags;
|
|
134
132
|
|
|
135
133
|
const effectiveOutputPath = path.join(
|
|
136
134
|
options?.outputDir || workingDirectory,
|
|
@@ -143,7 +141,7 @@ export function batchCompile(
|
|
|
143
141
|
resolvedVariant.properties,
|
|
144
142
|
effectiveOutputPath,
|
|
145
143
|
{
|
|
146
|
-
project:
|
|
144
|
+
project: sample.dependencies && sample.dependencies.length > 0,
|
|
147
145
|
},
|
|
148
146
|
)
|
|
149
147
|
) {
|