Skip to content

Commit 62b3aea

Browse files
committed
Pin @coana-tech/cli to exact version without tilde
Updated @coana-tech/cli from 14.12.51 to 14.12.88 and removed the tilde prefix from version specification in dlx.mts to pin to exact versions. Changes: - Remove tilde (~) prefix from coana version in dlx.mts - Update @coana-tech/cli to 14.12.88 (latest) - Update test expectations to match exact version format
1 parent 52112f2 commit 62b3aea

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"@babel/preset-typescript": "7.27.1",
9595
"@babel/runtime": "7.28.4",
9696
"@biomejs/biome": "2.2.4",
97-
"@coana-tech/cli": "14.12.51",
97+
"@coana-tech/cli": "14.12.88",
9898
"@cyclonedx/cdxgen": "11.7.0",
9999
"@dotenvx/dotenvx": "1.49.0",
100100
"@eslint/compat": "1.3.2",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils/dlx.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ export async function spawnCoanaDlx(
239239
const result = await spawnDlx(
240240
{
241241
name: '@coana-tech/cli',
242-
version: `~${constants.ENV.INLINED_SOCKET_CLI_COANA_TECH_CLI_VERSION}`,
242+
version: constants.ENV.INLINED_SOCKET_CLI_COANA_TECH_CLI_VERSION,
243243
},
244244
args,
245245
{

src/utils/dlx.test.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ describe('utils/dlx', () => {
8080
// Verify that --silent comes before dlx.
8181
expect(spawnArgs[0]).toBe('--silent')
8282
expect(spawnArgs[1]).toBe('dlx')
83-
expect(spawnArgs[2]).toBe('@coana-tech/cli@~1.0.0')
83+
expect(spawnArgs[2]).toBe('@coana-tech/cli@1.0.0')
8484
expect(spawnArgs[3]).toBe('run')
8585
expect(spawnArgs[4]).toBe('/some/path')
8686
})
@@ -139,7 +139,7 @@ describe('utils/dlx', () => {
139139
// For npm/npx, --yes comes first, then --silent.
140140
expect(spawnArgs[0]).toBe('--yes')
141141
expect(spawnArgs[1]).toBe('--silent')
142-
expect(spawnArgs[2]).toBe('@coana-tech/cli@~1.0.0')
142+
expect(spawnArgs[2]).toBe('@coana-tech/cli@1.0.0')
143143
expect(spawnArgs[3]).toBe('run')
144144
expect(spawnArgs[4]).toBe('/some/path')
145145
})

0 commit comments

Comments
 (0)