@spark-ui/cli-utils 17.2.3 → 17.2.4-beta.0

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.
@@ -0,0 +1,7 @@
1
+
2
+ 
3
+ > @spark-ui/cli-utils@10.6.1 build
4
+ > echo 'No build step for CLI'
5
+
6
+ No build step for CLI
7
+ â ™
@@ -0,0 +1,6 @@
1
+
2
+ 
3
+ > @spark-ui/cli-utils@10.6.1 lint
4
+ > eslint . --ext .ts,.tsx
5
+
6
+ 
package/bin/spark.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { program } from 'commander'
4
3
  import { createRequire } from 'module'
5
4
 
5
+ import { program } from 'commander'
6
+
6
7
  const require = createRequire(import.meta.url)
7
8
  const { version } = require('../package.json')
8
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-ui/cli-utils",
3
- "version": "17.2.3",
3
+ "version": "17.2.4-beta.0",
4
4
  "description": "Spark CLI utils",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -1,7 +1,7 @@
1
1
  import path from 'node:path'
2
+ import { fileURLToPath } from 'url'
2
3
 
3
4
  import fse from 'fs-extra'
4
- import { fileURLToPath } from 'url'
5
5
  import { afterAll, beforeEach, describe, expect, it } from 'vitest'
6
6
 
7
7
  import { TemplateGenerator } from '../src/generate/generators/TemplateGenerator.mjs'
package/test/utils/cmd.js CHANGED
@@ -5,11 +5,12 @@
5
5
  * @see https://gist.github.com/zorrodg/c349cf54a3f6d0a9ba62e0f4066f31cb
6
6
  */
7
7
 
8
- import concat from 'concat-stream'
9
- import spawn from 'cross-spawn'
10
8
  import { existsSync } from 'fs'
11
9
  import { constants } from 'os'
12
10
 
11
+ import concat from 'concat-stream'
12
+ import spawn from 'cross-spawn'
13
+
13
14
  const PATH = process.env.PATH
14
15
 
15
16
  /**