@spark-ui/cli-utils 2.11.15 → 2.11.17

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.11.17](https://github.com/adevinta/spark/compare/@spark-ui/cli-utils@2.11.16...@spark-ui/cli-utils@2.11.17) (2023-09-05)
7
+
8
+ **Note:** Version bump only for package @spark-ui/cli-utils
9
+
10
+ ## [2.11.16](https://github.com/adevinta/spark/compare/@spark-ui/cli-utils@2.11.15...@spark-ui/cli-utils@2.11.16) (2023-08-31)
11
+
12
+ **Note:** Version bump only for package @spark-ui/cli-utils
13
+
6
14
  ## [2.11.15](https://github.com/adevinta/spark/compare/@spark-ui/cli-utils@2.11.14...@spark-ui/cli-utils@2.11.15) (2023-08-29)
7
15
 
8
16
  **Note:** Version bump only for package @spark-ui/cli-utils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-ui/cli-utils",
3
- "version": "2.11.15",
3
+ "version": "2.11.17",
4
4
  "description": "Spark CLI utils",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "@clack/prompts": "0.6.3",
30
30
  "camel-case": "4.1.2",
31
- "chalk": "5.2.0",
31
+ "chalk": "5.3.0",
32
32
  "commander": "10.0.1",
33
33
  "esbuild": "0.18.11",
34
34
  "fs-extra": "11.1.1",
@@ -38,5 +38,5 @@
38
38
  "devDependencies": {
39
39
  "@types/fs-extra": "11.0.1"
40
40
  },
41
- "gitHead": "0c0a05d34d4ade1b5e3ba458cc9865dedad5a1e3"
41
+ "gitHead": "692e9d74f75a028e9cc1c38f1e25fe252202527b"
42
42
  }
@@ -20,7 +20,7 @@ describe('CLI `spark generate` (component package)', () => {
20
20
  // WHEN we execute the `spark generate` command
21
21
  const response = await cliProcess.execute(
22
22
  ['generate'],
23
- [packageName, ENTER, packageType, ENTER, 'This is my foo component', ENTER],
23
+ [packageName, ENTER, packageType, ENTER, 'This is my foo component', ENTER]
24
24
  )
25
25
  const contextPath = TemplateGenerator.CONTEXTS[packageType] as string
26
26
  const packagePath = path.join(process.cwd(), 'packages', contextPath, packageName)
@@ -62,7 +62,7 @@ describe('CLI `spark generate` (component package)', () => {
62
62
 
63
63
  // THEN it throws an error and fails to create files for this package
64
64
  expect(response).toContain(
65
- 'Name name must contain letters and dash symbols only (ex: "my-package")',
65
+ 'Name name must contain letters and dash symbols only (ex: "my-package")'
66
66
  )
67
67
  expect(fse.pathExistsSync(packagePath)).toBe(false)
68
68
  })
package/test/utils/cmd.js CHANGED
@@ -34,7 +34,7 @@ function createProcess(processPath, args = [], env = null) {
34
34
  preventAutoStart: false,
35
35
  PATH, // This is needed in order to get all the binaries in your current terminal
36
36
  },
37
- env,
37
+ env
38
38
  ),
39
39
  stdio: [null, null, null, 'ipc'], // This enables interprocess communication (IPC)
40
40
  })
@@ -131,7 +131,7 @@ function executeWithInput(processPath, args, inputs, opts = {}) {
131
131
  }
132
132
 
133
133
  resolve(result.toString())
134
- }),
134
+ })
135
135
  )
136
136
  })
137
137