Skip to content

Commit c9c2f49

Browse files
authored
Merge pull request feathersjs-ecosystem#440 from j2L4e/CI
typings CI testing
2 parents b4adf36 + af932dc commit c9c2f49

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ node_modules
3131

3232
dist/
3333
.idea/
34+
dtslint-build/

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
"release:major": "npm version major && npm publish",
1616
"changelog": "github_changelog_generator && git add CHANGELOG.md && git commit -am \"Updating changelog\"",
1717
"lint": "semistandard --fix",
18-
"lint:types": "dtslint types/",
18+
"lint:types": "mkdirp dtslint-build && cd dtslint-build && echo '{\"devDependencies\":{\"dtslint\":\"^0.3.0\"},\"scripts\":{\"dtslint\":\"dtslint ../types\"}}' > package.json && npm install && npm run dtslint",
1919
"mocha": "mocha --opts mocha.opts",
2020
"coverage": "istanbul cover node_modules/mocha/bin/_mocha -- --opts mocha.opts",
21-
"test": "npm run lint && npm run coverage"
21+
"test": "npm run lint && npm run lint:types && npm run coverage"
2222
},
2323
"semistandard": {
2424
"env": [
@@ -71,12 +71,12 @@
7171
"chai": "^4.1.2",
7272
"clone": "^2.1.1",
7373
"coveralls": "^3.0.0",
74-
"dtslint": "^0.3.0",
7574
"feathers-authentication-hooks": "^0.3.0",
7675
"feathers-memory": "^2.1.0",
7776
"feathers-tests-fake-app-users": "^1.0.0",
7877
"http-shutdown": "^1.2.0",
7978
"istanbul": "^1.1.0-alpha.1",
79+
"mkdirp": "^0.5.1",
8080
"mocha": "^5.0.1",
8181
"mongodb": "^3.1.0-beta4",
8282
"semistandard": "^12.0.0",

types/tests.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ actOnDefault(hook1, hook2, hook3, hook4);
8888
// $ExpectType Hook
8989
actOnDispatch(hook1, hook2, hook3, hook4);
9090

91-
9291
// $ExpectType Hook
9392
alterItems(rec => {
9493
delete rec.password;

0 commit comments

Comments
 (0)