Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.
Merged
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
7 changes: 2 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"presets": ["env"],
"plugins": [
"transform-class-properties",
"transform-runtime"
]
"presets": ["env", "stage-2"],
"plugins": ["transform-runtime"]
}
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: $COVERALLS_REPO_TOKEN
8 changes: 8 additions & 0 deletions .esdoc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
source: './src',
destination: './docs',
plugins: [
{ name: 'esdoc-standard-plugin' },
{ name: 'esdoc-ecmascript-proposal-plugin', option: { all: true } }
]
}
8 changes: 0 additions & 8 deletions .esdoc.json

This file was deleted.

6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
extends: './node_modules/kleros-scripts/.eslintrc.js',
rules: {
'unicorn/filename-case': 0
}
}
192 changes: 0 additions & 192 deletions .external-ecmascript.js

This file was deleted.

34 changes: 19 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules
# See https://help.github.com/ignore-files/ for more about ignoring files.

# Remove some common IDE working directories
.idea
.vscode
# Dependencies
/node_modules/

# Env configuration
.env
# Testing
/coverage/

# built js
lib
# Documentation
/docs/

# Files generated
package-lock.json
yarn-error.log
# Production
/lib/

# docs
docs
# Logs
/yarn-debug.log*
/yarn-error.log*

# Editors
/.vscode/
/.idea/*

# Misc
/.DS_Store
9 changes: 7 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Dependencies
/yarn.lock

# Configuration
.*
config.json
webpack.config.js
yarn.lock
docs

# Documentation
/docs/
18 changes: 10 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
language: node_js
node_js:
- "stable"
- v9.4.0
cache:
directories:
- node_modules
script:
- yarn build
- yarn test
- node_modules
yarn: true
addons:
apt:
sources:
- ubuntu-toolchain-r-test
install:
- yarn
- nohup yarn run testrpc &
install: yarn install --pure-lockfile
script:
- yarn run lint
- nohup yarn run ganache-cli &
- yarn test
- 'yarn run test:coveralls'
- yarn run build
notifications:
slack: kleros:Ub8n81EgKJ3iRrMDyWyQIVJp
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Change Log

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="0.0.61"></a>

## 0.0.61 (2018-02-27)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should be on 0.0.62 now

Copy link
Contributor Author

@epiqueras epiqueras Feb 27, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? Refactors don't bump versions, https://semver.org.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure but these changes weren't from 0.0.61 anyways right? Also changelogs are nice but I still think we are a little early since we really don't even have a stable v1 yet

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I'm pretty sure those changes were included in that release.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nvm i see whats going on


### Bug Fixes

* **getDeadlineForDispute:** fix wrong computation and return date object ([7ee05f5](https://github.com/kleros/kleros-api/commit/7ee05f5))
* skip broken test assertions ([f9480c0](https://github.com/kleros/kleros-api/commit/f9480c0))
* test suite ([98b777d](https://github.com/kleros/kleros-api/commit/98b777d))

### Features

* normalize token units ([d0d40f8](https://github.com/kleros/kleros-api/commit/d0d40f8))
* **disputes:** build voteCounters and PNKRepartitions from getters ([ba48e67](https://github.com/kleros/kleros-api/commit/ba48e67))
* **disputes:** change approach to getting netPNK and votesCounter ([366340f](https://github.com/kleros/kleros-api/commit/366340f))
* **disputes:** remove netPNK until events are fixed ([255bf03](https://github.com/kleros/kleros-api/commit/255bf03))
* **disputes:** return appealsRepartitioned ([1246968](https://github.com/kleros/kleros-api/commit/1246968))
* **disputes:** return deadline as epoch in ms instead of a date object ([90d4856](https://github.com/kleros/kleros-api/commit/90d4856))
* **disputes:** return dispute status ([32db45c](https://github.com/kleros/kleros-api/commit/32db45c))
Loading