forked from praneshr/react-diff-viewer
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix several type issues and update packages
- Loading branch information
Showing
15 changed files
with
2,104 additions
and
1,665 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
This file was deleted.
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,14 @@ | ||
{ | ||
"formatter": { | ||
"indentStyle": "space", | ||
"indentWidth": 2 | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"a11y": { | ||
"useKeyWithClickEvents": "off" | ||
} | ||
} | ||
} | ||
} |
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
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 |
---|---|---|
|
@@ -19,6 +19,14 @@ | |
"Pranesh Ravi<[email protected]>", | ||
"Bart Riepe <[email protected]>" | ||
], | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./lib/cjs/src/index.d.ts", | ||
"import": "./lib/esm/src/index.js", | ||
"require": "./lib/cjs/src/index.js" | ||
} | ||
}, | ||
"main": "lib/cjs/src/index", | ||
"module": "lib/esm/src/index", | ||
"typings": "lib/cjs/src/index", | ||
|
@@ -28,43 +36,43 @@ | |
"publish:examples": "NODE_ENV=production pnpm run build:examples && gh-pages -d examples/dist -r $GITHUB_REPO_URL", | ||
"publish:examples:local": "NODE_ENV=production pnpm run build:examples && gh-pages -d examples/dist", | ||
"start:examples": "vite examples", | ||
"dev": "vite dev examples", | ||
"test": "vitest", | ||
"lint": "biome lint src/ test/", | ||
"lint:fix": "biome lint --apply-unsafe src/ test/", | ||
"prettier": "prettier --write ." | ||
"check": "biome check src/ test/", | ||
"check:fix": "biome check --write --unsafe src/ test/" | ||
}, | ||
"dependencies": { | ||
"@emotion/css": "^11.11.2", | ||
"classnames": "^2.3.2", | ||
"@emotion/css": "^11.13.5", | ||
"@emotion/react": "^11.14.0", | ||
"classnames": "^2.5.1", | ||
"diff": "^5.2.0", | ||
"memoize-one": "^6.0.0" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.5.3", | ||
"@biomejs/biome": "^1.9.4", | ||
"@semantic-release/changelog": "6.0.1", | ||
"@semantic-release/git": "10.0.1", | ||
"@testing-library/react": "^13.4.0", | ||
"@types/diff": "^5.0.6", | ||
"@types/memoize-one": "^5.1.2", | ||
"@types/node": "^20.11.17", | ||
"@types/react": "^18.2.55", | ||
"@types/react-dom": "^18.2.19", | ||
"@types/diff": "^5.2.3", | ||
"@types/node": "^20.17.16", | ||
"@types/react": "^18.3.18", | ||
"@types/react-dom": "^18.3.5", | ||
"gh-pages": "^5.0.0", | ||
"happy-dom": "^13.3.8", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"sass": "^1.70.0", | ||
"happy-dom": "^13.10.1", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"sass": "^1.83.4", | ||
"semantic-release": "^19.0.5", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.2.2", | ||
"vite": "^5.1.1", | ||
"vitest": "^1.2.2" | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.7.3", | ||
"vite": "^5.4.14", | ||
"vitest": "^3.0.4" | ||
}, | ||
"peerDependencies": { | ||
"react": "^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", | ||
"react-dom": "^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" | ||
}, | ||
"engines": { | ||
"node": ">= 8" | ||
"node": ">= 16" | ||
} | ||
} |
Oops, something went wrong.