Skip to content

Commit

Permalink
build: release 2.0.0-alpha.2 (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
aelesbao authored Sep 15, 2023
1 parent 5369781 commit 0e23865
Show file tree
Hide file tree
Showing 5 changed files with 403 additions and 12 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ jobs:
steps:
- uses: amannn/action-semantic-pull-request@v5
id: lint_pr_title
with:
# should be kept in sync with commitlint.config.js
scopes: |
core
new
accounts
config
contracts
rewards
plugins
ui
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
31 changes: 30 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,36 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 2.0.0-alpha (2023-08-29)
## 2.0.0-alpha.2 (2023-09-15)

### ⚠ BREAKING CHANGES

- **config:** Changed the config file path. To migrate from `v2.0.0-alpha.1` to
`v2.0.0-alpha.2`, users will have to rename the config folder from
`./.archway-cli` to `./.archway` and move the config file from
`archway-cli.json` to `.archway/config.json`.
- **accounts:** any accounts created using version `2.0.0-alpha.1` must
be recovered from the mnemonic using the command `archway accounts new
--recover {name}`.

### Added

- **config:** management of global config files in `~/.config/archway` (#221)
- **accounts:** store the private key on the keyring (#218)

### Fixed

- **contracts**: validate the schema of Rust's numeric types (#214)
- **contracts:** load templates for new projects from the `main` branch (#217)
- **config:** remove the `-cli` suffix from the config path (#215)
- **core:** add other aliases for version flag (#229)
- **core:** update all description texts (#232)

### Code Refactoring

- **accounts:** update the keyring storage workflow (#235)

## 2.0.0-alpha.1 (2023-08-29)

### ⚠ BREAKING CHANGES

Expand Down
17 changes: 16 additions & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
module.exports = {extends: ['@commitlint/config-conventional']};
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'scope-enum': [2, 'always', [
'core',
'new',
'accounts',
'config',
'contracts',
'rewards',
'plugins',
'ui'
]],
'scope-case': [2, 'always', 'kebab-case'],
},
};
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@archwayhq/cli",
"version": "2.0.0-alpha.1",
"version": "2.0.0-alpha.2",
"description": "Develop WASM smart contracts with the Archway Network's Developer CLI",
"homepage": "https://docs.archway.io",
"repository": "github:archway-network/archway-cli",
Expand Down Expand Up @@ -50,6 +50,8 @@
"README.md"
],
"scripts": {
"run:bin": "node ./bin/run",
"run:dev": "node ./bin/dev",
"build": "shx rm -rf dist && tsc -b && tsc-alias -p tsconfig.json",
"lint": "eslint . --ext .ts --config .eslintrc",
"postpack": "shx rm -f oclif.manifest.json",
Expand All @@ -59,7 +61,8 @@
"test:coverage": "nyc --reporter=text mocha --forbid-only \"test/**/*.test.ts\"",
"test:integration": "./test/integration/all.sh",
"version": "oclif readme && git add README.md",
"prepare": "husky install"
"prepare": "husky install",
"changelog": "conventional-changelog -p conventionalcommits"
},
"dependencies": {
"@archwayhq/arch3.js": "^0.4.0",
Expand Down Expand Up @@ -116,6 +119,7 @@
"@types/prompts": "^2.4.4",
"@types/semver": "^7.5.0",
"chai": "^4.3.7",
"conventional-changelog-cli": "^4.1.0",
"elliptic": "^6.5.4",
"eslint": "^7.32.0",
"eslint-config-oclif": "^4.0.0",
Expand Down
Loading

0 comments on commit 0e23865

Please sign in to comment.