@batijs/cli 0.0.246 → 0.0.248
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/index.js +5 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -111,6 +111,10 @@ async function transformFileAfterExec(filepath, fileContent) {
|
|
|
111
111
|
return fileContent;
|
|
112
112
|
case ".json":
|
|
113
113
|
return JSON.stringify(fileContent, null, 2);
|
|
114
|
+
case ".yml":
|
|
115
|
+
case ".yaml":
|
|
116
|
+
if (typeof fileContent === "string") return fileContent;
|
|
117
|
+
return fileContent.toString();
|
|
114
118
|
}
|
|
115
119
|
}
|
|
116
120
|
throw new Error(`Unsupported file extension ${parsed.base} (${filepath})`);
|
|
@@ -1591,7 +1595,7 @@ var createDefaultQueryTester = function(query, options) {
|
|
|
1591
1595
|
// package.json
|
|
1592
1596
|
var package_default = {
|
|
1593
1597
|
name: "@batijs/cli",
|
|
1594
|
-
version: "0.0.
|
|
1598
|
+
version: "0.0.248",
|
|
1595
1599
|
type: "module",
|
|
1596
1600
|
scripts: {
|
|
1597
1601
|
"check-types": "tsc --noEmit",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@batijs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.248",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"description": "Next-gen scaffolder. Get started with fully-functional apps, and choose any tool you want",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"typescript": "^5.5.4",
|
|
21
21
|
"unplugin-purge-polyfills": "^0.0.4",
|
|
22
22
|
"vite": "^5.4.2",
|
|
23
|
-
"@batijs/
|
|
24
|
-
"@batijs/
|
|
23
|
+
"@batijs/compile": "0.0.248",
|
|
24
|
+
"@batijs/build": "0.0.248"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@batijs/
|
|
28
|
-
"@batijs/
|
|
27
|
+
"@batijs/features": "0.0.248",
|
|
28
|
+
"@batijs/core": "0.0.248"
|
|
29
29
|
},
|
|
30
30
|
"bin": "./dist/index.js",
|
|
31
31
|
"exports": {
|