Skip to content

Commit

Permalink
Merge pull request #12 from abrisene/feature/typescript
Browse files Browse the repository at this point in the history
Feature/typescript
  • Loading branch information
abrisene authored Sep 7, 2021
2 parents ae02a0d + 2a14eeb commit 155fd95
Show file tree
Hide file tree
Showing 77 changed files with 26,484 additions and 5,651 deletions.
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dist/
lib/
node_modules/
docs/
wip/
bak/
examples/
3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

9 changes: 9 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "./node_modules/gts/",
"rules": {
"object-curly-spacing": [
"error",
"always"
]
}
}
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
### Node ###
# Compiled Distribution
dist/
lib/

# Work in Progress
wip/
bak/

# Logs
logs
*.log
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.github
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ignore examples:
examples
6 changes: 6 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
...require('gts/.prettierrc.json'),
bracketSpacing: true,
// "newline-per-chained-call": true,
printWidth: 120,
}
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sudo: false
language: node_js
node_js:
- "stable"
after_success: npm run coverage
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Change Log

<a name="2.0.0"></a>
# [2.0.0](https://github.com/abrisene/acausal/compare/v2.0.0...v1.0.7) (2021-09-05)


### Features

* Full conversion to Typescript.
* Rewrote Markov Chain class.
* Rewrote "Transition Matrix" class, now named "Distribution".
* Wrote "Random" class, which wraps `random-js`.
* Rewrote Unit Tests.
* Test Coverage at > 99%
* Removed file loading utilities - these should be a separate module, or written ad hoc as needed with implementations.
* Wrote new readme and quickstart guides for Markov Chains and Distributions.
* Integration with Travis-CI and Coveralls.

<a name="1.0.7"></a>
## [1.0.7](https://github.com/abrisene/acausal/compare/v1.0.7...v1.0.1) (2021-04-16)


### Features

* Minor bugfixes.
* Updated npm developer dependencies.
* Added utilities for file loading.
* Added Unit Tests.
* Test Coverage at 83%.

<a name="1.0.1"></a>
# [1.0.0]() (2018-09-03)

### Features

* Initial Commit
* Markov Chain class allows creation of Markov Chains.
* Transition Matrix class allows creation of distributions used by Markov States.
* Utilities for managing async and creating deep copies.
13 changes: 13 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 2018 David Robinson

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Loading

0 comments on commit 155fd95

Please sign in to comment.