Skip to content

Commit

Permalink
NewRelease
Browse files Browse the repository at this point in the history
  • Loading branch information
MinerGreggy committed Oct 27, 2021
0 parents commit e9d645c
Show file tree
Hide file tree
Showing 25 changed files with 3,245 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

github: MinerGreggy
custom: https://www.paypal.me/goofus05
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 99
versioning-strategy: increase
79 changes: 79 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@

name: Release-Build-Publish

on:
push

jobs:
build:
name: Build
strategy:
fail-fast: false
matrix:
node-version: [ 12.x ]
os: [ ubuntu-latest, macos-latest, windows-latest ]

runs-on: ${{ matrix.os }}
if: "contains(github.event.head_commit.message, 'NewRelease')"
steps:
- name: Checkout the repo
uses: actions/checkout@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: yarn install
run: yarn install
- name: Package release archive
run: yarn run package
- name: Save release archive
uses: actions/upload-artifact@v2
with:
name: release-archive-${{ matrix.os }}
path: build/*.zip

release-npm:
runs-on: ubuntu-latest
needs: build
if: "contains(github.event.head_commit.message, 'NewRelease')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12.x
registry-url: 'https://registry.npmjs.org'
- name: Publish To NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --access public

- uses: flood-io/is-published-on-npm@v1
id: is-published

- name: Upadate Release Tags
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.is-published.outputs.version }}
release_name: Release ${{ steps.is-published.outputs.version }}
draft: false
prerelease: false

- run: echo "Dashboard is at version ${{ steps.is-published.outputs.version }}"

- name: Download Files For Adding To The Release Assets
uses: actions/download-artifact@v2
- name: View Downloaded Content
run: ls -R

- name: Upload binaries to release
uses: AButler/upload-release-assets@v2.0
with:
files: 'release-archive-*/*.zip'
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ steps.is-published.outputs.version }}




66 changes: 66 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# next.js build output
.next

main.js

.idea

1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.github
105 changes: 105 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
1.12.5 / 2021-08-18
===================

* Removed the need for seperate api's and just use chia-api as its now overridable on Connection constructor and SERVICE() method

1.11.2 / 2021-07-28
===================

* Changed Over The Names To The New Forks And Updated Yarn And Versions

1.11.0 / 2021-07-28
===================

* Forked From Felix And Changed Names For Forks

1.10.0 / 2021-06-03
==================

* Add `https://us.chiadashboard.com` dashboard core url to first run wizard.
* Decrease stats update payload size for farmer, harvester and full nodes.

1.9.2 / 2021-05-23
==================

* Fix wallets without any keys present preventing satellite initialization.

1.9.1 / 2021-05-23
==================

* Fix wallet stats unavailable when the wallet was never logged into before.

1.9.0 / 2021-05-19
==================

* Add support for selecting the `chiaDashboardCoreUrl` config option in the first run wizard.
* Show the used `chiaDashboardCoreUrl` on startup.

1.8.0 / 2021-05-19
==================

* Add support for using any chia-dashboard-core via `chiaDashboardCoreUrl` config option.

1.7.0 / 2021-05-15
==================

* Add support for only counting unique balances in the wallet summary.
* Fix a problem that could result in increased RTs when a chain re-org happens within the last 20 SPs.

1.6.2 / 2021-05-14
==================

* Fix the daemon api connection not getting properly closed on exit.

1.6.1 / 2021-05-14
==================

* Fix custom config location validation in first run wizard.

1.6.0 / 2021-05-14
==================

* Use unified service names for stats reporting.
* Increase stats updating interval.

1.5.0 / 2021-05-12
==================

* Add support for reporting harvester response times for the farmer stats.
* Fix satellite initialization throwing unhandled errors when the chia node is slow to respond.
* Fix errors being thrown with full stack traces for some failed http requests.

1.4.0 / 2021-05-11
==================

* Add the satellite version to dashboard api requests.
* Add an info log on startup showing the loaded config location.
* Show a better error message when the api key is invalid.
* Reset the plotter stats on startup as well.

1.3.0 / 2021-05-06
==================

* Add support for basic gui plotter stats.
* Add support for excluding services via `excludedServices` config option.

1.2.0 / 2021-04-28
==================

* Do not require git anymore.
* Fix a bug where throwing an error failed.

1.1.1 / 2021-04-27
==================

* Add missing shebang line.

1.1.0 / 2021-04-25
==================

* Aggregate farming infos.

1.0.1 / 2021-04-24
==================

* Initial release.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM node:14-alpine

RUN apk update && apk add --no-cache bash
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install
COPY . .

ENTRYPOINT ["yarn"]
CMD ["start"]
Loading

0 comments on commit e9d645c

Please sign in to comment.