-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from openmindlearning/justin/typescript-fixes
Yarn and Typescript fixes
- Loading branch information
Showing
7 changed files
with
16,903 additions
and
11,572 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
.yarn/patches/@types-testing-library__jest-dom-npm-5.14.3-0aa35d2c00.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> {} | ||
+ } | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
|
@@ -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", | ||
|
@@ -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.