@cabloy/cli 3.0.7 → 3.0.9
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.
|
@@ -216,10 +216,6 @@ export class LocalTemplate {
|
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
async _loadSnippetInstance(snippetTemplatePath, fn) {
|
|
219
|
-
if (snippetTemplatePath.endsWith('.cjs')) {
|
|
220
|
-
const instance = this.helper.requireDynamic(snippetTemplatePath);
|
|
221
|
-
return await fn(instance);
|
|
222
|
-
}
|
|
223
219
|
return await this.helper.importDynamic(snippetTemplatePath, instance => {
|
|
224
220
|
return fn(instance.default);
|
|
225
221
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cabloy/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.9",
|
|
5
5
|
"description": "@cabloy/cli",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"semver": "^7.6.2",
|
|
44
44
|
"tmp": "^0.2.3",
|
|
45
45
|
"urllib": "^3.24.0",
|
|
46
|
-
"@cabloy/module-info": "^1.3.1",
|
|
47
46
|
"@cabloy/module-glob": "^5.2.0",
|
|
48
|
-
"@cabloy/
|
|
47
|
+
"@cabloy/module-info": "^1.3.1",
|
|
48
|
+
"@cabloy/process-helper": "^2.0.4",
|
|
49
49
|
"@cabloy/utils": "^1.0.6"
|
|
50
50
|
},
|
|
51
51
|
"gitHead": "2d40c063c115b230fdbc89f5a78b4412ebd0dfc9"
|