Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change source code to TypeScript #133

Merged
merged 20 commits into from
Jul 13, 2020
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
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
node: [10, 12]
runs-on: ${{ matrix.os }}
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.4.0
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
Expand All @@ -29,6 +33,8 @@ jobs:
run: node prepare-install.js
- name: Install Dependencies
run: yarn install
- name: Build
run: yarn build
- name: Run Tests
env:
BULL_REDIS_CONNECTION: ${{ secrets.BULL_REDIS_CONNECTION }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
dist
out
coverage
test/**/dist
test/**/actual.js
18 changes: 11 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
"version": "0.7.0",
"repository": "vercel/node-file-trace",
"license": "MIT",
"main": "./src/node-file-trace.js",
"types": "./node-file-trace.d.ts",
"main": "./out/node-file-trace.js",
"types": "./out/node-file-trace.d.ts",
"bin": {
"nft": "./src/cli.js"
"nft": "./out/cli.js"
},
"scripts": {
"build": "tsc",
"test": "jest --verbose",
"test-verbose": "jest --verbose --coverage --globals \"{\\\"coverage\\\":true}\"",
"codecov": "codecov",
"test-coverage": "jest --verbose --coverage --globals \"{\\\"coverage\\\":true}\" && codecov"
},
"files": [
"node-file-trace.d.ts",
"src/*"
"out"
],
"dependencies": {
"acorn": "^7.1.1",
Expand All @@ -26,7 +26,7 @@
"acorn-numeric-separator": "^0.3.0",
"acorn-static-class-features": "^0.2.1",
"bindings": "^1.4.0",
"estree-walker": "^0.6.0",
"estree-walker": "^0.6.1",
"glob": "^7.1.3",
"graceful-fs": "^4.1.15",
"micromatch": "^4.0.2",
Expand All @@ -44,6 +44,10 @@
"@google-cloud/firestore": "^2.2.3",
"@sentry/node": "^5.5.0",
"@tensorflow/tfjs-node": "^1.2.3",
"@types/bindings": "^1.3.0",
"@types/glob": "^7.1.2",
"@types/micromatch": "^4.0.1",
"@types/node": "^14.0.14",
"@zeit/ncc": "^0.17.0",
"analytics-node": "^3.4.0-beta.1",
"apollo-server-express": "^2.14.2",
Expand Down Expand Up @@ -112,7 +116,7 @@
"swig": "^1.4.2",
"tiny-json-http": "^7.1.2",
"twilio": "^3.33.0",
"typescript": "^3.5.2",
"typescript": "^3.9.6",
"uglify-js": "^3.6.0",
"vm2": "^3.8.2",
"vue": "^2.6.10",
Expand Down
Loading