Skip to content

Commit

Permalink
setup publishing automation
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh committed Feb 25, 2021
1 parent d682255 commit 43a00aa
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 23 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# @defichain/jellyfish

[![codecov](https://codecov.io/gh/DeFiCh/jellyfish/branch/main/graph/badge.svg?token=IYL9K0WROA)](https://codecov.io/gh/DeFiCh/jellyfish)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FDeFiCh%2Fjellyfish.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FDeFiCh%2Fjellyfish?ref=badge_shield)
[![MIT License](https://img.shields.io/github/license/DeFiCh/jellyfish)](https://github.com/DeFiCh/jellyfish/releases)
[![npm](https://img.shields.io/npm/v/@defichain/jellyfish)](https://www.npmjs.com/package/@defichain/jellyfish)

A collection of TypeScript/JavaScript tools and library for DeFiChain to enable decentralized finance on Bitcoin.

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.0.4",
"version": "0.0.0",
"packages": [
"packages/*"
]
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"scripts": {
"lerna:build": "lerna run build",
"lerna:pack": "lerna run pack",
"lerna:version": "lerna version $1 --yes --no-push",
"lerna:publish:next": "lerna publish from-package --dist-tag next --canary --yes",
"lerna:publish:latest": "lerna publish from-package --yes",
"lerna:version": "lerna version $1 --yes --no-push --no-git-tag-version",
"lerna:publish:next": "lerna run publish:next",
"lerna:publish:latest": "lerna run publish:latest",
"format": "prettier --write **/*.ts",
"format:fail": "prettier --check **/*.ts",
"lint": "eslint --fix **/*.ts",
Expand Down
6 changes: 4 additions & 2 deletions packages/jellyfish-core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": false,
"name": "@defichain/jellyfish-core",
"version": "0.0.4",
"version": "0.0.0",
"description": "A collection of JavaScript tools and library for DeFiChain to enable decentralized finance on Bitcoin",
"keywords": [
"DeFiChain",
Expand All @@ -27,7 +27,9 @@
],
"scripts": {
"build": "tsc",
"pack": "npm pack"
"pack": "npm pack",
"publish:next": "npm publish --tag next",
"publish:latest": "npm publish --tag latest"
},
"devDependencies": {
"typescript": "^4.2.2"
Expand Down
8 changes: 5 additions & 3 deletions packages/jellyfish-rpc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": false,
"name": "@defichain/jellyfish-rpc",
"version": "0.0.4",
"version": "0.0.0",
"description": "A collection of JavaScript tools and library for DeFiChain to enable decentralized finance on Bitcoin",
"keywords": [
"DeFiChain",
Expand All @@ -27,10 +27,12 @@
],
"scripts": {
"build": "tsc",
"pack": "npm pack"
"pack": "npm pack",
"publish:next": "npm publish --tag next",
"publish:latest": "npm publish --tag latest"
},
"dependencies": {
"@defichain/jellyfish-core": "^0.0.4"
"@defichain/jellyfish-core": "0.0.0"
},
"devDependencies": {
"typescript": "^4.2.2"
Expand Down
10 changes: 6 additions & 4 deletions packages/jellyfish/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": false,
"name": "@defichain/jellyfish",
"version": "0.0.4",
"version": "0.0.0",
"description": "A collection of JavaScript tools and library for DeFiChain to enable decentralized finance on Bitcoin",
"keywords": [
"DeFiChain",
Expand Down Expand Up @@ -46,11 +46,13 @@
},
"scripts": {
"build": "parcel build src/jellyfish.ts",
"pack": "npm pack"
"pack": "npm pack",
"publish:next": "npm publish --tag next",
"publish:latest": "npm publish --tag latest"
},
"dependencies": {
"@defichain/jellyfish-core": "^0.0.4",
"@defichain/jellyfish-rpc": "^0.0.4"
"@defichain/jellyfish-core": "0.0.0",
"@defichain/jellyfish-rpc": "0.0.0"
},
"devDependencies": {
"@parcel/transformer-typescript-types": "2.0.0-beta.1",
Expand Down

0 comments on commit 43a00aa

Please sign in to comment.