Skip to content

Commit 4d0da31

Browse files
Make default post install command bun x (#247)
1 parent d1260f3 commit 4d0da31

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

cmd/creinit/template/workflow/typescriptConfHTTP/package.json.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"main": "dist/main.js",
55
"private": true,
66
"scripts": {
7-
"postinstall": "bunx cre-setup"
7+
"postinstall": "bun x cre-setup"
88
},
99
"license": "UNLICENSED",
1010
"dependencies": {
11-
"@chainlink/cre-sdk": "^1.0.7",
11+
"@chainlink/cre-sdk": "^1.0.8",
1212
"zod": "3.25.76"
1313
},
1414
"devDependencies": {

cmd/creinit/template/workflow/typescriptPorExampleDev/package.json.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"main": "dist/main.js",
55
"private": true,
66
"scripts": {
7-
"postinstall": "bunx cre-setup"
7+
"postinstall": "bun x cre-setup"
88
},
99
"license": "UNLICENSED",
1010
"dependencies": {
11-
"@chainlink/cre-sdk": "^1.0.7",
11+
"@chainlink/cre-sdk": "^1.0.8",
1212
"viem": "2.34.0",
1313
"zod": "3.25.76"
1414
},

cmd/creinit/template/workflow/typescriptSimpleExample/package.json.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"main": "dist/main.js",
55
"private": true,
66
"scripts": {
7-
"postinstall": "bunx cre-setup"
7+
"postinstall": "bun x cre-setup"
88
},
99
"license": "UNLICENSED",
1010
"dependencies": {
11-
"@chainlink/cre-sdk": "^1.0.7"
11+
"@chainlink/cre-sdk": "^1.0.8"
1212
},
1313
"devDependencies": {
1414
"@types/bun": "1.2.21"

install/install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function Test-GoDependency {
7979
function Test-BunDependency {
8080
if (-not (Get-Command bun -ErrorAction SilentlyContinue)) {
8181
Write-Warning "'bun' is not installed."
82-
Write-Host " Bun $RequiredBunVersion or later is recommended to run TypeScript CRE workflows (e.g. 'postinstall: bunx cre-setup')."
82+
Write-Host " Bun $RequiredBunVersion or later is recommended to run TypeScript CRE workflows (e.g. 'postinstall: bun x cre-setup')."
8383
return
8484
}
8585

install/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ check_go_dependency() {
6767
fi
6868
}
6969

70-
# Check Bun dependency and version (for TypeScript workflows using 'bunx cre-setup').
70+
# Check Bun dependency and version (for TypeScript workflows using 'bun x cre-setup').
7171
check_bun_dependency() {
7272
if ! command -v bun >/dev/null 2>&1; then
7373
echo "Warning: 'bun' is not installed."
74-
echo " Bun $REQUIRED_BUN_VERSION or later is recommended to run TypeScript CRE workflows (e.g. 'postinstall: bunx cre-setup')."
74+
echo " Bun $REQUIRED_BUN_VERSION or later is recommended to run TypeScript CRE workflows (e.g. 'postinstall: bun x cre-setup')."
7575
return
7676
fi
7777

0 commit comments

Comments
 (0)