Skip to content

Commit

Permalink
release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Flaque committed Jul 3, 2024
1 parent 200a5b5 commit 7060aa9
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 27 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,4 @@ dist

# Finder (MacOS) folder config
.DS_Store
sf.zip
1 change: 1 addition & 0 deletions install.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ fi

# Download the 'sf' CLI binary from the specified URL.
echo "Downloading '${BINARY_NAME}' CLI binary..."
echo "curl -L -o \"${TMPDIR}/${BINARY_NAME}.zip\" \"${SF_BINARY_URL}\""
curl -L -o "${TMPDIR}/${BINARY_NAME}.zip" "${SF_BINARY_URL}"

# Extract the zip file in the temporary directory.
Expand Down
55 changes: 28 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
{
"dependencies": {
"commander": "^12.1.0",
"dotenv": "^16.4.5",
"ora": "^8.0.1"
},
"name": "@sfc/cli",
"bin": {
"sfc": "dist/cli.js"
},
"type": "module",
"module": "src/index.ts",
"scripts": {
"format": "biome format --write ./src",
"lint": "biome lint --write ./src",
"check": "biome check ./src",
"dev": "bun run src/index.ts",
"pack": "bun build src/index.ts --outfile dist/cli.js"
},
"devDependencies": {
"@biomejs/biome": "^1.8.2",
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"version": "0.0.0-pre.1720030576610"
}
"dependencies": {
"commander": "^12.1.0",
"dotenv": "^16.4.5",
"ora": "^8.0.1"
},
"name": "@sfc/cli",
"bin": {
"sfc": "dist/cli.js"
},
"type": "module",
"module": "src/index.ts",
"scripts": {
"format": "biome format --write ./src",
"lint": "biome lint --write ./src",
"check": "biome check ./src",
"dev": "bun run src/index.ts",
"pack": "bun build src/index.ts --outfile dist/cli.js",
"release": "bun run src/scripts/release.ts"
},
"devDependencies": {
"@biomejs/biome": "^1.8.2",
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"version": "0.0.0-pre.1720030576610"
}

0 comments on commit 7060aa9

Please sign in to comment.