Skip to content

Commit

Permalink
Update NPM packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Ján Naništa committed Apr 24, 2021
1 parent 099629b commit 28865df
Show file tree
Hide file tree
Showing 8 changed files with 4,411 additions and 4,423 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm test
3,636 changes: 1,862 additions & 1,774 deletions examples/yarn.lock

Large diffs are not rendered by default.

17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@
},
"homepage": "https://github.com/janjakubnanista/ts-type-checked#readme",
"devDependencies": {
"@rollup/plugin-node-resolve": "^8.1.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@types/node": "^14.0.18",
"@typescript-eslint/eslint-plugin": "^3.6.0",
"@typescript-eslint/parser": "^3.6.0",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"@wessberg/rollup-plugin-ts": "^1.2.27",
"eslint": "^7.4.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-sort-imports-es6-autofix": "^0.5.0",
"husky": "^4.2.5",
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
"husky": "^6.0.0",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"rollup": "^2.20.0",
"rollup-plugin-copy": "^3.3.0",
"typescript": "^3.9.6"
"typescript": "^4.2.4"
},
"husky": {
"hooks": {
Expand All @@ -46,5 +46,8 @@
"*.{js,ts}(x)?": [
"eslint --fix"
]
},
"scripts": {
"prepare": "husky install"
}
}
2 changes: 1 addition & 1 deletion src/transformer/typeDescriptor/typeDescriptorGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const createTypeDescriptorGenerator = (program: ts.Program, logger: Logge
if (assert.isNever(type)) return { _type: 'never' };

// For the checks below we need access to the TypeNode for this type
const typeNode = typeChecker.typeToTypeNode(type, scope);
const typeNode = typeChecker.typeToTypeNode(type, scope, undefined);
const typeName = typeChecker.typeToString(type, scope);

// True
Expand Down
10 changes: 5 additions & 5 deletions test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
"devDependencies": {
"@types/jest": "^26.0.4",
"@types/node": "^14.0.18",
"@types/react": "^16.9.41",
"fast-check": "^1.25.1",
"@types/react": "^17.0.3",
"fast-check": "^2.14.0",
"jest": "^26.1.0",
"react": "^16.13.1",
"react": "^17.0.2",
"semver": "^7.3.2",
"ts-jest": "^26.1.1",
"ts-node": "^8.10.2",
"ts-node": "^9.1.1",
"tslib": "^2.0.0",
"ttypescript": "^1.5.10",
"typescript": "^3.9.6"
"typescript": "^4.2.4"
},
"workspaces": [
"setups/*"
Expand Down
1,976 changes: 1,006 additions & 970 deletions test/yarn.lock

Large diffs are not rendered by default.

3,188 changes: 1,522 additions & 1,666 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 28865df

Please sign in to comment.