Skip to content

Commit

Permalink
Add @typescript/analyze-trace to devDependencies
Browse files Browse the repository at this point in the history
- Add `@typescript/analyze-trace` to measure TS performance bottlenecks.
  • Loading branch information
aryaemami59 committed Nov 13, 2023
1 parent c6dab42 commit 5b30a5a
Show file tree
Hide file tree
Showing 3 changed files with 505 additions and 444 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ typescript_test/common.js
flow_test/should_fail/flow-typed/index.js.flow
flow_test/should_pass/flow-typed/index.js.flow
reselect-builds/

trace

typesversions
.cache
Expand All @@ -24,4 +24,4 @@ typesversions
!.yarn/sdks
!.yarn/versions
.pnp.*
*.tgz
*.tgz
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"test": "node --expose-gc ./node_modules/vitest/dist/cli-wrapper.js run",
"test:cov": "vitest run --coverage",
"type-check": "vitest --run typecheck",
"test:typescript": "tsc --noEmit -p typescript_test/tsconfig.json"
"test:typescript": "tsc --noEmit -p typescript_test/tsconfig.json --generateTrace trace && npx @typescript/analyze-trace trace && rimraf trace"
},
"keywords": [
"react",
Expand All @@ -55,6 +55,7 @@
"@typescript-eslint/eslint-plugin": "5.1.0",
"@typescript-eslint/eslint-plugin-tslint": "5.1.0",
"@typescript-eslint/parser": "5.1.0",
"@typescript/analyze-trace": "^0.10.1",
"eslint": "^8.0.1",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-typescript": "0.14.0",
Expand Down
Loading

0 comments on commit 5b30a5a

Please sign in to comment.