Skip to content

Commit

Permalink
Merge pull request #1 from openmindlearning/justin/typescript-fixes
Browse files Browse the repository at this point in the history
Yarn and Typescript fixes
  • Loading branch information
Jpoliachik authored May 12, 2022
2 parents a13784b + 81e8261 commit f198ae4
Show file tree
Hide file tree
Showing 7 changed files with 16,903 additions and 11,572 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,12 @@ node_modules/
coverage
report.json
test_results.txt

.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
yarn-debug.log*
yarn-error.log*
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/index.d.ts b/index.d.ts
index bf5cafc4f65cc01844dac7b933b253505c47446b..cda24a2c9bdcac74311dbc02f7bfae4dd740e283 100755
--- a/index.d.ts
+++ b/index.d.ts
@@ -7,12 +7,11 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.8

-/// <reference types="jest" />
-
-import { TestingLibraryMatchers } from './matchers';
+import { TestingLibraryMatchers } from "./matchers";

declare global {
- namespace jest {
- interface Matchers<R = void, T = {}> extends TestingLibraryMatchers<typeof expect.stringContaining, R> {}
- }
+ namespace jest {
+ interface Matchers<R = void, T = {}>
+ extends TestingLibraryMatchers<typeof expect.stringContaining, R> {}
+ }
}
785 changes: 785 additions & 0 deletions .yarn/releases/yarn-3.2.0.cjs

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
yarnPath: .yarn/releases/yarn-3.2.0.cjs
nodeLinker: node-modules

defaultSemverRangePrefix: ""
17 changes: 12 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"test": "vitest run",
"test:watch": "vitest --watchAll",
"test:coverage": "vitest run --coverage",
"test:ci": "vitest run"
"test:ci": "vitest run",
"typescript": "tsc"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -45,11 +46,11 @@
"@testing-library/react": "12.1.3",
"@testing-library/user-event": "13.5.0",
"@types/dompurify": "2.3.3",
"@types/react": "17.0.33",
"@types/react-dom": "17.0.10",
"@types/react-linkify": "1.0.1",
"@types/react-portal": "^4.0.4",
"@types/uuid": "^8.3.4",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"@types/react-linkify": "1.0.1",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"@vanilla-extract/css": "1.7.0",
Expand Down Expand Up @@ -77,7 +78,13 @@
"react": "^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0",
"react-dom": "^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0"
},
"resolutions": {
"@types/react": "17.0.33",
"@types/react-dom": "17.0.10",
"@types/[email protected]": "patch:@types/testing-library__jest-dom@npm:5.14.3#.yarn/patches/@types-testing-library__jest-dom-npm-5.14.3-0aa35d2c00.patch"
},
"publishConfig": {
"@openmindlearning:registry": "https://npm.pkg.github.com"
}
},
"packageManager": "[email protected]"
}
Empty file.
27,638 changes: 16,071 additions & 11,567 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit f198ae4

Please sign in to comment.