Skip to content

Commit

Permalink
refactor: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
opatiny authored and targos committed Jun 21, 2022
1 parent 4cba7a2 commit db27acc
Show file tree
Hide file tree
Showing 9 changed files with 2,446 additions and 436 deletions.
File renamed without changes.
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
39 changes: 7 additions & 32 deletions .github/workflows/nodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,13 @@ name: Node.js CI

on:
push:
branches: master
branches:
- master
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 12
- name: npm install and test
run: |
npm install
npm run eslint
env:
CI: true
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 13.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
run: |
npm install
npm run test-coverage
env:
CI: true
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]"
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 }}
51 changes: 16 additions & 35 deletions History.md → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,78 +1,59 @@
## [2.0.3](https://github.com/mljs/regression-multivariate-linear/compare/v2.0.2...v2.0.3) (2019-12-06)
# Changelog

## [2.0.3](https://github.com/mljs/regression-multivariate-linear/compare/v2.0.2...v2.0.3) (2019-12-06)

### Bug Fixes

* add weights to TS definition ([#16](https://github.com/mljs/regression-multivariate-linear/issues/16)) ([773df98](https://github.com/mljs/regression-multivariate-linear/commit/773df986b3c5530d0f3f0a1f8517dbdc050d1f04))


- add weights to TS definition ([#16](https://github.com/mljs/regression-multivariate-linear/issues/16)) ([773df98](https://github.com/mljs/regression-multivariate-linear/commit/773df986b3c5530d0f3f0a1f8517dbdc050d1f04))

## [2.0.2](https://github.com/mljs/regression-multivariate-linear/compare/v2.0.1...v2.0.2) (2019-06-22)


### Bug Fixes

* **ts:** correct TypeScript definitions ([f3346c4](https://github.com/mljs/regression-multivariate-linear/commit/f3346c4))
* change algorithm to fix bug with some datasets ([fc3e052](https://github.com/mljs/regression-multivariate-linear/commit/fc3e052))


- **ts:** correct TypeScript definitions ([f3346c4](https://github.com/mljs/regression-multivariate-linear/commit/f3346c4))
- change algorithm to fix bug with some datasets ([fc3e052](https://github.com/mljs/regression-multivariate-linear/commit/fc3e052))

## [2.0.1](https://github.com/mljs/regression-multivariate-linear/compare/v2.0.0...v2.0.1) (2019-06-02)


### Bug Fixes

* stop depending on BaseRegression ([#13](https://github.com/mljs/regression-multivariate-linear/issues/13)) ([8be20a4](https://github.com/mljs/regression-multivariate-linear/commit/8be20a4))


- stop depending on BaseRegression ([#13](https://github.com/mljs/regression-multivariate-linear/issues/13)) ([8be20a4](https://github.com/mljs/regression-multivariate-linear/commit/8be20a4))

# [2.0.0](https://github.com/mljs/regression-multivariate-linear/compare/v1.2.0...v2.0.0) (2019-05-01)


### Bug Fixes

* add missing fields to TS definitions ([43fdf75](https://github.com/mljs/regression-multivariate-linear/commit/43fdf75))
* include TS definitions in npm package ([4c49609](https://github.com/mljs/regression-multivariate-linear/commit/4c49609))

- add missing fields to TS definitions ([43fdf75](https://github.com/mljs/regression-multivariate-linear/commit/43fdf75))
- include TS definitions in npm package ([4c49609](https://github.com/mljs/regression-multivariate-linear/commit/4c49609))

### chore

* update ml-matrix to 6.0.0 ([4984850](https://github.com/mljs/regression-multivariate-linear/commit/4984850))

- update ml-matrix to 6.0.0 ([4984850](https://github.com/mljs/regression-multivariate-linear/commit/4984850))

### BREAKING CHANGES

* Node.js 6 is no longer supported.


- Node.js 6 is no longer supported.

<a name="1.2.0"></a>
# [1.2.0](https://github.com/mljs/regression-multivariate-linear/compare/v1.1.0...v1.2.0) (2018-05-11)

# [1.2.0](https://github.com/mljs/regression-multivariate-linear/compare/v1.1.0...v1.2.0) (2018-05-11)

### Features

* add option to make statistics calculations optional ([#5](https://github.com/mljs/regression-multivariate-linear/issues/5)) ([59726a0](https://github.com/mljs/regression-multivariate-linear/commit/59726a0))


- add option to make statistics calculations optional ([#5](https://github.com/mljs/regression-multivariate-linear/issues/5)) ([59726a0](https://github.com/mljs/regression-multivariate-linear/commit/59726a0))

<a name="1.1.0"></a>
# [1.1.0](https://github.com/mljs/regression-multivariate-linear/compare/v1.0.1...v1.1.0) (2018-02-16)

# [1.1.0](https://github.com/mljs/regression-multivariate-linear/compare/v1.0.1...v1.1.0) (2018-02-16)

### Features

* add stats around the calculated betas to be able to interpret them ([#2](https://github.com/mljs/regression-multivariate-linear/issues/2)) ([b2d395e](https://github.com/mljs/regression-multivariate-linear/commit/b2d395e))


- add stats around the calculated betas to be able to interpret them ([#2](https://github.com/mljs/regression-multivariate-linear/issues/2)) ([b2d395e](https://github.com/mljs/regression-multivariate-linear/commit/b2d395e))

<a name="1.0.1"></a>
## [1.0.1](https://github.com/mljs/regression-multivariate-linear/compare/v1.0.0...v1.0.1) (2017-07-21)


## [1.0.1](https://github.com/mljs/regression-multivariate-linear/compare/v1.0.0...v1.0.1) (2017-07-21)

<a name="1.0.0"></a>
# 1.0.0 (2017-06-28)



# 1.0.0 (2017-06-28)
24 changes: 10 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
"compile": "rollup -c",
"eslint": "eslint src data",
"eslint-fix": "npm run eslint -- --fix",
"prepublishOnly": "npm run compile",
"test": "npm run test-coverage && npm run eslint",
"test-only": "jest",
"test-coverage": "jest --coverage"
"prepack": "npm run compile",
"prettier": "prettier --check src",
"prettier-write": "prettier --write src",
"test": "npm run test-coverage && npm run eslint && npm run prettier",
"test-only": "jest --coverage"
},
"repository": {
"type": "git",
Expand All @@ -31,21 +32,16 @@
"url": "https://github.com/mljs/regression-multivariate-linear/issues"
},
"homepage": "https://github.com/mljs/regression-multivariate-linear#readme",
"jest": {
"testEnvironment": "node"
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.7.4",
"@babel/plugin-transform-modules-commonjs": "^7.18.2",
"eslint": "^8.18.0",
"eslint-config-cheminfo": "^8.0.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"jest": "^24.9.0",
"papaparse": "^5.1.0",
"jest": "^28.1.1",
"papaparse": "^5.3.2",
"prettier": "^2.7.1",
"rollup": "^1.27.8"
"rollup": "^2.75.7"
},
"dependencies": {
"ml-matrix": "^6.4.1"
"ml-matrix": "^6.10.1"
}
}
Loading

0 comments on commit db27acc

Please sign in to comment.