-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
[WIP] Next Major Release #39
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dist/ |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,23 +10,22 @@ | |
"type": "opencollective", | ||
"url": "https://opencollective.com/unified" | ||
}, | ||
"type": "module", | ||
"main": "dist/index.js", | ||
"module": "dist/react-remark.esm.js", | ||
"typings": "dist/index.d.ts", | ||
"sideEffects": false, | ||
"files": [ | ||
"dist", | ||
"src" | ||
], | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=12" | ||
}, | ||
"scripts": { | ||
"start": "tsdx watch", | ||
"build": "tsdx build", | ||
"test": "tsdx test", | ||
"lint": "tsdx lint", | ||
"prepare": "tsdx build", | ||
"build": "tsc && type-coverage", | ||
"test": "node --loader ts-node/esm ./test/index.test.ts", | ||
"lint": "eslint .", | ||
"prepare": "npm run build", | ||
"postinstall": "husky install", | ||
"prepublishOnly": "pinst --disable", | ||
"postpublish": "pinst --enable", | ||
|
@@ -37,10 +36,10 @@ | |
"react": ">=16.8" | ||
}, | ||
"dependencies": { | ||
"rehype-react": "^6.0.0", | ||
"remark-parse": "^9.0.0", | ||
"remark-rehype": "^8.0.0", | ||
"unified": "^9.0.0" | ||
"rehype-react": "^7.0.0", | ||
"remark-parse": "^10.0.0", | ||
"remark-rehype": "^9.0.0", | ||
"unified": "^10.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.0.0", | ||
|
@@ -51,19 +50,33 @@ | |
"@testing-library/react-hooks": "^7.0.0", | ||
"@types/react": "^17.0.0", | ||
"@types/react-dom": "^17.0.0", | ||
"@typescript-eslint/eslint-plugin": "^4.0.0", | ||
"eslint": "^7.0.0", | ||
"eslint-config-prettier": "^8.0.0", | ||
"eslint-plugin-prettier": "^3.0.0", | ||
"husky": "^7.0.0", | ||
"katex": "^0.13.0", | ||
"pinst": "^2.0.0", | ||
"prettier": "^2.0.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not v3? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because this PR came before v3 was released 🙂 |
||
"react": "^17.0.0", | ||
"react-dom": "^17.0.0", | ||
"react-test-renderer": "^17.0.0", | ||
"rehype-katex": "^5.0.0", | ||
"rehype-raw": "^5.0.0", | ||
"rehype-sanitize": "^4.0.0", | ||
"remark-gfm": "^1.0.0", | ||
"remark-math": "^4.0.0", | ||
"tsdx": "^0.14.0", | ||
"typescript": "^3.0.0" | ||
"rehype-katex": "^6.0.0", | ||
"rehype-raw": "^6.0.0", | ||
"rehype-sanitize": "^5.0.0", | ||
"remark-gfm": "^2.0.0", | ||
"remark-math": "^5.0.0", | ||
"ts-node": "^10.0.0", | ||
"type-coverage": "^2.0.0", | ||
"typescript": "^4.0.0", | ||
"uvu": "^0.5.0" | ||
}, | ||
"eslintConfig": { | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:prettier/recommended" | ||
] | ||
}, | ||
"prettier": { | ||
"printWidth": 80, | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd recommend to use lite https://github.com/privatenumber/tsx over
ts-node
, types linting can be a seperate task viatsc
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, though neither will be needed in the end.
The goal is: