@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.
Files changed (2) hide show
  1. package/dist/index.js +3 -6
  2. 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
- // tsx: spawnCmd, node: spawnExe
550
- await this.processHelper.spawnCmd({
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
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cabloy/cli",
3
3
  "type": "module",
4
- "version": "3.0.73",
4
+ "version": "3.0.75",
5
5
  "description": "@cabloy/cli",
6
6
  "publishConfig": {
7
7
  "access": "public"