Skip to content

Commit da6f07f

Browse files
committed
Merge branch 'release/v0.1.2'
2 parents 10c1a02 + c482583 commit da6f07f

7 files changed

+1447
-285
lines changed

.circleci/config.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ jobs:
4848
name: Generate Coverage Report
4949
command: |
5050
./node_modules/.bin/nyc report --reporter=lcov
51-
- run:
52-
name: Report Coverage to Codacy
53-
command: |
54-
cat ./.coverage/lcov.info | ./node_modules/.bin/codacy-coverage --language typescript ;
51+
# - run:
52+
# name: Report Coverage to Codacy
53+
# command: |
54+
# cat ./.coverage/lcov.info | ./node_modules/.bin/codacy-coverage --language typescript ;
5555
- store_test_results:
5656
path: ./testData
5757
- store_artifacts:

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,4 @@ typings/
6464
.tags
6565
.tags_sorted_by_file
6666
*.sublime-workspace
67+
.npmrc

LICENSE

+674
Large diffs are not rendered by default.

index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as Typings from "@4th-law/typings"
1+
import * as Typings from "@4th-law/typings-public"
22

33
export default class ModalityTemplate extends Typings.Modality {
44
protected _baseType: string
@@ -24,6 +24,7 @@ export default class ModalityTemplate extends Typings.Modality {
2424
this._userCommand = {timestamp: 0, userCommand: [0], } as NModalities.IControlCommand
2525
}
2626

27+
// the translate function is used to convert control inputs into actuator commands
2728
public translate(controlCommand: NModalities.IControlCommand): NModalities.IActuatorCommand[] {
2829
const value = {timestamp: 0, routerID: "0", actuatorInput: [0], }
2930
const returnValue = [value] as NModalities.IActuatorCommand[]

modality_template.sublime-project

-8
This file was deleted.

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{
22
"name": "@4th-law/modality_template",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "A modality template",
55
"main": "index.ts",
66
"repository": "[email protected]:4th-law/modality_template.git",
77
"author": "Hazmatius <[email protected]>",
8-
"dependencies": {
9-
},
8+
"license": "GPL-3.0-only",
9+
"dependencies": {},
1010
"devDependencies": {
11-
"@4th-law/typings": "^0.4.1",
11+
"@4th-law/typings-public": "^0.1.2",
1212
"@types/chai": "^4.1.0",
13-
"@types/config": "^0.0.33",
14-
"@types/mocha": "^2.2.46",
13+
"@types/config": "^0.0.34",
14+
"@types/mocha": "^5.0.0",
1515
"@types/typescript": "^2.0.0",
1616
"chai": "^4.1.2",
1717
"codacy-coverage": "^2.0.3",
18-
"mocha": "^4.1.0",
18+
"mocha": "^5.0.5",
1919
"nyc": "^11.4.1",
2020
"publish": "^0.6.0",
21-
"ts-node": "^4.1.0",
21+
"ts-node": "^5.0.1",
2222
"typescript": "^2.6.2"
2323
},
2424
"scripts": {

0 commit comments

Comments
 (0)