Skip to content

Commit

Permalink
Merge pull request #99 from TurkServer/decaffeinate
Browse files Browse the repository at this point in the history
The sensation of decaffeination
  • Loading branch information
mizzao authored Nov 5, 2019
2 parents 34899ad + 4523bfc commit 8e7e63b
Show file tree
Hide file tree
Showing 80 changed files with 8,736 additions and 6,442 deletions.
1 change: 1 addition & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
printWidth: 100
23 changes: 14 additions & 9 deletions Contributing.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
## Code

Initial parts of this codebase were written in Coffeescript. However, any
updates and refactoring should be done in ES6, which implements many useful
functions from Coffeescript but allows more people to read the code and
contribute.
Generally, follow AirBnb's [Javascript style guide](https://github.com/airbnb/javascript).

More information to come.
This repo is written in ES6 with a `.prettierrc` to auto-format code.

Initial parts of this codebase were written in Coffeescript. However, ES6
implements many useful functions from Coffeescript while allowing more people to
read the code and contribute. We [decaffeinated] the repo and in the future may
convert fully to TypeScript.

[decaffeinated]: https://github.com/TurkServer/turkserver-meteor/pull/99

TODO: set up format or lint hooks with something like AirBnb's [Javascript style
guide](https://github.com/airbnb/javascript).

## Testing

Expand All @@ -20,11 +24,12 @@ Then run the tests:

```
cd turkserver
meteor test-packages ./
meteor --release METEOR.VERSION test-packages ./
```

Where you should replace `METEOR.VERSION` with the `api.versionsFrom` specified in `package.json`.
If you checked out the repository into an existing Meteor app, you can run `meteor test-packages turkserver` from your app instead.

Browse to `http://localhost:3000` to run the tests.

You don't have to run the tests yourself; this project is set up for continuous integration on [Travis CI](https://travis-ci.org/TurkServer/turkserver-meteor), which runs these tests on each commit.
You don't have to run the tests yourself; this project is set up for continuous integration on [Travis CI](https://travis-ci.org/TurkServer/turkserver-meteor), which runs these tests on each commit.
2 changes: 2 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## vNEXT

- Convert all Coffeescript to ES6 and support up to Meteor 1.4.

## v0.5.0

- First release on Atmosphere (Meteor's package system).
Loading

0 comments on commit 8e7e63b

Please sign in to comment.