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

Update typescript compiler options #1311

Merged
merged 38 commits into from
Oct 7, 2021
Merged
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
33fd638
refactor: update typescript compiler options to be strict
notaphplover Apr 15, 2021
9003f1e
Merge branch 'master' of https://github.com/inversify/InversifyJS int…
notaphplover Apr 16, 2021
f221dfb
test: add more specific type to match onActivation callback
notaphplover Apr 16, 2021
0a62966
test: update inversify.tests to compile
notaphplover Apr 16, 2021
811e1be
Merge branch 'master' of https://github.com/inversify/InversifyJS int…
notaphplover Apr 18, 2021
29e5261
merge upstream master
May 1, 2021
f3c7db0
test
May 1, 2021
829ad1a
remove test
May 1, 2021
27dd042
Merge remote-tracking branch 'origin' into update-typescript-compiler…
PodaruDragos Jun 15, 2021
a9c2dba
Merge branch 'master' into update-typescript-compiler-options
PodaruDragos Aug 23, 2021
56c9602
Merge remote-tracking branch 'origin' into update-typescript-compiler…
PodaruDragos Aug 25, 2021
22137a6
fix merging issues
PodaruDragos Aug 25, 2021
3aa77de
add 2 spaces to all files
PodaruDragos Aug 25, 2021
7dc199f
copy tests from master and reaplace to be compatible with this branch
PodaruDragos Aug 26, 2021
32d6ae9
removed old packages
PodaruDragos Aug 26, 2021
653bc06
replace metadata any
PodaruDragos Aug 27, 2021
6d807a6
fix all issues
PodaruDragos Aug 27, 2021
9440be2
try fix performance
PodaruDragos Aug 27, 2021
349b78b
revert
PodaruDragos Aug 27, 2021
1700da2
Add node typings to root tsconfig.json
jakehamtexas Aug 27, 2021
c881d3e
Add performance from perf_hooks for those tests which require it.
jakehamtexas Aug 27, 2021
2895c1f
Merge pull request #1374 from jakehamtexas/fix/node-typings-in-perfor…
PodaruDragos Sep 1, 2021
94bd0a6
address some feedback
PodaruDragos Sep 1, 2021
a457f0f
change metadata value to unknown
PodaruDragos Sep 1, 2021
4f92647
remove any from generic
PodaruDragos Sep 1, 2021
742d916
replace Function type with NewableFunction
PodaruDragos Sep 2, 2021
562243c
replace most of any's
PodaruDragos Sep 2, 2021
dce1ed1
remove casts to number
PodaruDragos Sep 2, 2021
92b3146
review changes
tonyhallett Sep 2, 2021
abfc67b
feedback
PodaruDragos Sep 3, 2021
e1548f1
change to unknown for the last 2 MD files
PodaruDragos Sep 3, 2021
1040464
review
tonyhallett Sep 3, 2021
5908432
update md for FactoryCreator and introduce helper types
tonyhallett Sep 3, 2021
ee0a249
trailing whitespace
tonyhallett Sep 3, 2021
56aa549
tony's feedback
PodaruDragos Sep 8, 2021
e37f845
remove more any's
PodaruDragos Sep 10, 2021
9a32133
Merge branch 'master' into update-typescript-compiler-options
dcavanagh Sep 28, 2021
552b8cf
Merge branch 'master' into update-typescript-compiler-options
dcavanagh Oct 7, 2021
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
96 changes: 48 additions & 48 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Mocha Tests",
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--require",
"reflect-metadata",
"--timeout",
"999999",
"--colors",
"${workspaceRoot}/test/**/*.test.ts"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"protocol": "inspector"
},
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceRoot}/lib/inversify.js",
"outFiles": [
"${workspaceRoot}/out/**/*.js"
]
},
{
"name": "GulpTester",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/gulp/bin/gulp.js",
"stopOnEntry": false,
"args": [],
"cwd": "${workspaceRoot}",
"runtimeArgs": [
"--nolazy"
],
"console": "internalConsole",
}
]
}
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Mocha Tests",
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--require",
"reflect-metadata",
"--timeout",
"999999",
"--colors",
"${workspaceRoot}/test/**/*.test.ts"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"protocol": "inspector"
},
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceRoot}/lib/inversify.js",
"outFiles": [
"${workspaceRoot}/out/**/*.js"
]
},
{
"name": "GulpTester",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/gulp/bin/gulp.js",
"stopOnEntry": false,
"args": [],
"cwd": "${workspaceRoot}",
"runtimeArgs": [
"--nolazy"
],
"console": "internalConsole",
}
]
}
42 changes: 21 additions & 21 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
// "src/**/*.js": true,
"test/**/*.js": true,
// "**/*.js.map": true,
// "**/es": true,
// "**/lib": true,
// "**/amd": true,
// "**/dts": true,
// "**/temp": true,
// "**/coverage": true,
// "**/dist": true,
// "**/docs": true,
"type_definitions/**/*.js": true
},
"tslint.alwaysShowRuleFailuresAsWarnings": true,
"tslint.autoFixOnSave": true,
"typescript.tsdk": "./node_modules/typescript/lib",
"vsicons.presets.angular": false
}
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
// "src/**/*.js": true,
"test/**/*.js": true,
// "**/*.js.map": true,
// "**/es": true,
// "**/lib": true,
// "**/amd": true,
// "**/dts": true,
// "**/temp": true,
// "**/coverage": true,
// "**/dist": true,
// "**/docs": true,
"type_definitions/**/*.js": true
},
"tslint.alwaysShowRuleFailuresAsWarnings": true,
"tslint.autoFixOnSave": true,
"typescript.tsdk": "./node_modules/typescript/lib",
"vsicons.presets.angular": false
}
Loading