@cabloy/cli 3.0.73 → 3.0.75
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 +3 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -546,12 +546,9 @@ class LocalHelper {
|
|
|
546
546
|
return file;
|
|
547
547
|
}
|
|
548
548
|
async invokeCli(args, options) {
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
cmd: 'tsx',
|
|
549
|
+
await this.processHelper.spawnExe({
|
|
550
|
+
cmd: 'node',
|
|
552
551
|
args: [this.parseBrandPath()].concat(args),
|
|
553
|
-
// cmd: 'node',
|
|
554
|
-
// args: ['--experimental-transform-types', getImportEsm(), this.parseBrandPath()].concat(args),
|
|
555
552
|
options
|
|
556
553
|
});
|
|
557
554
|
}
|
|
@@ -886,7 +883,7 @@ class LocalTemplate {
|
|
|
886
883
|
}
|
|
887
884
|
async applySnippets(targetDir, snippetsDir) {
|
|
888
885
|
// snippets
|
|
889
|
-
let files = await globby('*.{cjs,ts}', {
|
|
886
|
+
let files = await globby('*.{cjs,js,ts}', {
|
|
890
887
|
cwd: snippetsDir,
|
|
891
888
|
onlyFiles: true
|
|
892
889
|
});
|