Comparing version 0.3.6 to 0.3.7
@@ -15,3 +15,3 @@ const { Binary } = require("binary-install"); | ||
const name = "bos-cli"; | ||
const artifact_download_url = "https://github.com/FroVolod/bos-cli-rs/releases/download/v0.3.6"; | ||
const artifact_download_url = "https://github.com/bos-cli-rs/bos-cli-rs/releases/download/v0.3.7"; | ||
@@ -18,0 +18,0 @@ // These are injected by cargo-dist |
@@ -10,2 +10,11 @@ # Changelog | ||
## [0.3.7](https://github.com/bos-cli-rs/bos-cli-rs/compare/v0.3.6...v0.3.7) - 2023-12-19 | ||
### Added | ||
- New command to initialize a new BOS project ([#69](https://github.com/bos-cli-rs/bos-cli-rs/pull/69)) | ||
- Added self-update ([#67](https://github.com/bos-cli-rs/bos-cli-rs/pull/67)) | ||
### Fixed | ||
- Updated installation instructions ([#76](https://github.com/bos-cli-rs/bos-cli-rs/pull/76)) | ||
## [0.3.6](https://github.com/bos-cli-rs/bos-cli-rs/compare/v0.3.5...v0.3.6) - 2023-10-22 | ||
@@ -12,0 +21,0 @@ |
{ | ||
"name": "bos-cli", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"lockfileVersion": 3, | ||
@@ -9,3 +9,3 @@ "requires": true, | ||
"name": "bos-cli", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"license": "MIT OR Apache-2.0", | ||
@@ -12,0 +12,0 @@ "hasInstallScript": true, |
{ | ||
"name": "bos-cli", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"description": "Command line utility helps to develop widgets for near.social by allowing developers to use standard developer tools like their best code editor and standard tools for source code version control, and then deploy their widgets to SocialDB in one command.", | ||
"repository": "https://github.com/FroVolod/bos-cli-rs", | ||
"repository": "https://github.com/bos-cli-rs/bos-cli-rs", | ||
@@ -7,0 +7,0 @@ "contributors": ["FroVolod <frol_off@meta.ua>","frol <frolvlad@gmail.com>"], |
@@ -5,7 +5,16 @@ # BOS CLI | ||
Currently, only two groups of commands are implemented: | ||
<p> | ||
<img src="docs/media/new-project.svg" alt="" width="1200"> | ||
</p> | ||
## Command groups | ||
- `project` - Project management | ||
- `components` - Working with components (Download, Deploy, etc.) | ||
- `socialdb` - SocialDb management | ||
### project - Project management | ||
- `new` allows you to initialize, edit and then deploy a new component to your near.social account. | ||
### components - Working with components (Download, Deploy, etc.) | ||
@@ -45,28 +54,48 @@ | ||
### From Community Maintain Homebrew (Mac) | ||
You can find binary releases of `bos` CLI for your OS on the [Releases page](https://github.com/bos-cli-rs/bos-cli-rs/releases/). | ||
```bash | ||
brew tap empeje/bos-cli && brew install bos-cli | ||
### Install prebuilt binaries via shell script (macOS, Linux, WSL) | ||
```sh | ||
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/bos-cli-rs/bos-cli-rs/releases/latest/download/bos-cli-installer.sh | sh | ||
``` | ||
### From Binaries | ||
### Install prebuilt binaries via powershell script (Windows) | ||
The [release page](https://github.com/FroVolod/bos-cli-rs/releases) includes precompiled binaries for Linux, macOS and Windows. | ||
```sh | ||
irm https://github.com/bos-cli-rs/bos-cli-rs/releases/latest/download/bos-cli-installer.ps1 | iex | ||
``` | ||
### From Source | ||
### Run prebuilt binaries with npx (Node.js) | ||
With Rust's package manager cargo, you can install `bos` via: | ||
```sh | ||
npx bos-cli | ||
``` | ||
### Install prebuilt binaries into your npm project (Node.js) | ||
```sh | ||
npm install bos-cli | ||
``` | ||
cargo install --git https://github.com/FroVolod/bos-cli-rs | ||
``` | ||
#### Linux (Fedora) | ||
### Install from source code (Cargo) | ||
You will need to install these dependencies: | ||
Before getting to installation, make sure you have [Rust](https://rustup.rs) and system dependencies installed on your computer. | ||
To install system dependencies: | ||
* on Ubuntu Linux: `apt install pkg-config libudev-dev` | ||
* on Fedora Linux: `dnf install pkg-config libudev-devel` | ||
Once system dependencies and Rust are installed you can install the latest released `bos-cli` from sources by using the following command: | ||
```bash | ||
dnf install openssl-devel pkg-config perl libudev-devel | ||
cargo install bos-cli | ||
``` | ||
or, install the most recent version from git repository: | ||
```bash | ||
$ cargo install --git https://github.com/bos-cli-rs/bos-cli-rs | ||
``` | ||
### GitHub Actions | ||
@@ -106,3 +135,3 @@ | ||
deploy-mainnet: | ||
uses: FroVolod/bos-cli-rs/.github/workflows/deploy-mainnet.yml@master | ||
uses: bos-cli-rs/bos-cli-rs/.github/workflows/deploy-mainnet.yml@master | ||
with: | ||
@@ -109,0 +138,0 @@ deploy-account-address: <FILL> |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
28142
148