Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: cleanup #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
102 changes: 0 additions & 102 deletions .docs/Readme.hbs

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/documentationjs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Deploy documentation.js on GitHub pages

on:
workflow_dispatch:
release:
types: [published]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build documentation
uses: zakodium/documentationjs-action@v1
- name: Deploy to GitHub pages
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
token: ${{ secrets.BOT_TOKEN }}
branch: gh-pages
folder: docs
clean: true
15 changes: 15 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Node.js CI

on:
push:
branches:
- master
pull_request:

jobs:
nodejs:
# Documentation: https://github.com/zakodium/workflows#nodejs-ci
uses: zakodium/workflows/.github/workflows/nodejs.yml@nodejs-v1
with:
node-version-matrix: "[12, 14, 16]"
npm-test-command: "npm run test-mocha"
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Release

on:
push:
branches:
- master

jobs:
release:
# Documentation: https://github.com/zakodium/workflows#release
uses: zakodium/workflows/.github/workflows/release.yml@release-v1
with:
npm: true
secrets:
github-token: ${{ secrets.BOT_TOKEN }}
npm-token: ${{ secrets.NPM_BOT_TOKEN }}
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"arrowParens": "always",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all"
}
32 changes: 12 additions & 20 deletions History.md → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,38 @@
# Changelog

<a name="0.2.1"></a>
## [0.2.1](https://github.com/mljs/libsvm/compare/v0.2.0...v0.2.1) (2018-05-24)

## [0.2.1](https://github.com/mljs/libsvm/compare/v0.2.0...v0.2.1) (2018-05-24)

### Bug Fixes

* use prepare instead of preinstall for git submodule installation ([d61f5f8](https://github.com/mljs/libsvm/commit/d61f5f8))


- use prepare instead of preinstall for git submodule installation ([d61f5f8](https://github.com/mljs/libsvm/commit/d61f5f8))

<a name="0.2.0"></a>
# [0.2.0](https://github.com/mljs/libsvm/compare/v0.1.3...v0.2.0) (2018-04-04)


# [0.2.0](https://github.com/mljs/libsvm/compare/v0.1.3...v0.2.0) (2018-04-04)

<a name="0.1.3"></a>
## [0.1.3](https://github.com/mljs/libsvm/compare/v0.1.2...v0.1.3) (2017-12-12)


## [0.1.3](https://github.com/mljs/libsvm/compare/v0.1.2...v0.1.3) (2017-12-12)

<a name="0.1.2"></a>
## [0.1.2](https://github.com/mljs/libsvm/compare/v0.1.1...v0.1.2) (2017-07-25)


## [0.1.2](https://github.com/mljs/libsvm/compare/v0.1.1...v0.1.2) (2017-07-25)

<a name="0.1.1"></a>
## [0.1.1](https://github.com/mljs/libsvm/compare/v0.1.0...v0.1.1) (2017-07-06)


## [0.1.1](https://github.com/mljs/libsvm/compare/v0.1.0...v0.1.1) (2017-07-06)

<a name="0.1.0"></a>
# 0.1.0 (2017-06-02)

# 0.1.0 (2017-06-02)

### Bug Fixes

* this binding in canvas click callback ([870f4b6](https://github.com/mljs/libsvm/commit/870f4b6))

- this binding in canvas click callback ([870f4b6](https://github.com/mljs/libsvm/commit/870f4b6))

### Features

* add crossValidation ([1799a64](https://github.com/mljs/libsvm/commit/1799a64))
* serialize and deserialize model ([fcf1dc3](https://github.com/mljs/libsvm/commit/fcf1dc3))



- add crossValidation ([1799a64](https://github.com/mljs/libsvm/commit/1799a64))
- serialize and deserialize model ([fcf1dc3](https://github.com/mljs/libsvm/commit/fcf1dc3))
Loading