Skip to content

Commit

Permalink
refactor: replace to ts
Browse files Browse the repository at this point in the history
  • Loading branch information
fupengl authored and fupeng1 committed Jul 4, 2022
1 parent 57b84b5 commit bc1e7be
Show file tree
Hide file tree
Showing 18 changed files with 7,958 additions and 199 deletions.
3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

7 changes: 7 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
extends: 'eslint-config-egg/typescript',
rules: {
'@typescript-eslint/no-var-requires': 0,
'jsdoc/check-param-names': 0,
},
};
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ run/
.DS_Store
*.swp
.vscode

lib/
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
sudo: false
language: node_js
node_js:
- '8'
- '10'
- '14'
- '16'
install:
- npm i npminstall && npminstall
- npm i
script:
- npm run ci
after_script:
- npminstall codecov && codecov
- npm install codecov && codecov
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
environment:
matrix:
- nodejs_version: '8'
- nodejs_version: '10'
- nodejs_version: '14'
- nodejs_version: '16'

install:
- ps: Install-Product node $env:nodejs_version
- npm i npminstall && node_modules\.bin\npminstall
- npm i

test_script:
- node --version
Expand Down
67 changes: 0 additions & 67 deletions lib/client.js

This file was deleted.

50 changes: 0 additions & 50 deletions lib/index.js

This file was deleted.

Loading

0 comments on commit bc1e7be

Please sign in to comment.