bump package versions and fix related issues
This commit is contained in:
parent
ca7d2d87a0
commit
b9fef5ec21
4 changed files with 670 additions and 269 deletions
|
@ -2,7 +2,6 @@
|
||||||
"extends": [
|
"extends": [
|
||||||
"eslint:recommended",
|
"eslint:recommended",
|
||||||
"plugin:@typescript-eslint/recommended",
|
"plugin:@typescript-eslint/recommended",
|
||||||
"plugin:react/recommended",
|
|
||||||
"plugin:json/recommended",
|
"plugin:json/recommended",
|
||||||
"prettier"
|
"prettier"
|
||||||
],
|
],
|
||||||
|
|
|
@ -13,7 +13,11 @@ const elasticlunrIndex = elasticlunr(function () {
|
||||||
this.setRef("url" as never)
|
this.setRef("url" as never)
|
||||||
})
|
})
|
||||||
|
|
||||||
export function addDocument(doc: unknown) {
|
export function addDocument(doc: {
|
||||||
|
title?: unknown
|
||||||
|
body?: string
|
||||||
|
url?: string
|
||||||
|
}) {
|
||||||
elasticlunrIndex.addDoc(doc)
|
elasticlunrIndex.addDoc(doc)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
72
package.json
72
package.json
|
@ -7,76 +7,76 @@
|
||||||
"build": "yarn generate && react-scripts build"
|
"build": "yarn generate && react-scripts build"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"@types/react": "18.0.5"
|
"@types/react": "18.0.20"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-svg-core": "^6.1.1",
|
"@fortawesome/fontawesome-svg-core": "^6.2.0",
|
||||||
"@fortawesome/free-brands-svg-icons": "^6.1.1",
|
"@fortawesome/free-brands-svg-icons": "^6.2.0",
|
||||||
"@fortawesome/free-regular-svg-icons": "^6.1.1",
|
"@fortawesome/free-regular-svg-icons": "^6.2.0",
|
||||||
"@fortawesome/free-solid-svg-icons": "^6.1.1",
|
"@fortawesome/free-solid-svg-icons": "^6.2.0",
|
||||||
"@fortawesome/react-fontawesome": "^0.1.18",
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
||||||
"elasticlunr": "^0.9.5",
|
"elasticlunr": "^0.9.5",
|
||||||
"highlight.js": "^11.5.1",
|
"highlight.js": "^11.6.0",
|
||||||
"katex": "^0.15.3",
|
"katex": "^0.16.2",
|
||||||
"local-storage-fallback": "^4.1.2",
|
"local-storage-fallback": "^4.1.2",
|
||||||
"react": "^18.0.0",
|
"react": "^18.2.0",
|
||||||
"react-collapse": "^5.1.1",
|
"react-collapse": "^5.1.1",
|
||||||
"react-date-range": "^1.4.0",
|
"react-date-range": "^1.4.0",
|
||||||
"react-device-detect": "^2.2.2",
|
"react-device-detect": "^2.2.2",
|
||||||
"react-dnd": "^16.0.0",
|
"react-dnd": "^16.0.1",
|
||||||
"react-dnd-html5-backend": "^16.0.0",
|
"react-dnd-html5-backend": "^16.0.1",
|
||||||
"react-dom": "^18.0.0",
|
"react-dom": "^18.2.0",
|
||||||
"react-helmet-async": "^1.3.0",
|
"react-helmet-async": "^1.3.0",
|
||||||
"react-router-dom": "^6.3.0",
|
"react-router-dom": "^6.4.0",
|
||||||
"react-scripts": "^5.0.1",
|
"react-scripts": "^5.0.1",
|
||||||
"react-select": "^5.3.0",
|
"react-select": "^5.4.0",
|
||||||
"react-tooltip": "^4.2.21",
|
"react-tooltip": "^4.2.21",
|
||||||
"styled-components": "^5.3.5"
|
"styled-components": "^5.3.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/ejs": "^3.1.0",
|
"@types/ejs": "^3.1.1",
|
||||||
"@types/elasticlunr": "^0.9.4",
|
"@types/elasticlunr": "^0.9.5",
|
||||||
"@types/highlight.js": "^10.1.0",
|
"@types/highlight.js": "^10.1.0",
|
||||||
"@types/jsdom": "^16.2.14",
|
"@types/jsdom": "^20.0.0",
|
||||||
"@types/katex": "^0.14.0",
|
"@types/katex": "^0.14.0",
|
||||||
"@types/markdown-it": "^12.2.3",
|
"@types/markdown-it": "^12.2.3",
|
||||||
"@types/node": "^17.0.24",
|
"@types/node": "^18.7.18",
|
||||||
"@types/react": "^18.0.5",
|
"@types/react": "^18.0.20",
|
||||||
"@types/react-collapse": "^5.0.1",
|
"@types/react-collapse": "^5.0.1",
|
||||||
"@types/react-date-range": "^1.4.3",
|
"@types/react-date-range": "^1.4.4",
|
||||||
"@types/react-dom": "^18.0.1",
|
"@types/react-dom": "^18.0.6",
|
||||||
"@types/react-select": "^5.0.1",
|
"@types/react-select": "^5.0.1",
|
||||||
"@types/styled-components": "^5.1.25",
|
"@types/styled-components": "^5.1.26",
|
||||||
"@types/svgo": "^2.6.3",
|
"@types/svgo": "^2.6.4",
|
||||||
"@types/tinycolor2": "^1.4.3",
|
"@types/tinycolor2": "^1.4.3",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.19.0",
|
"@typescript-eslint/eslint-plugin": "^5.37.0",
|
||||||
"@typescript-eslint/parser": "^5.19.0",
|
"@typescript-eslint/parser": "^5.37.0",
|
||||||
"ejs": "^3.1.6",
|
"ejs": "^3.1.8",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "^8.5.0",
|
||||||
"eslint-plugin-json": "^3.1.0",
|
"eslint-plugin-json": "^3.1.0",
|
||||||
"eslint-plugin-react": "^7.29.4",
|
"eslint-plugin-react": "^7.31.8",
|
||||||
"gray-matter": "^4.0.3",
|
"gray-matter": "^4.0.3",
|
||||||
"jsdom": "^19.0.0",
|
"jsdom": "^20.0.0",
|
||||||
"jspdf": "^2.5.1",
|
"jspdf": "^2.5.1",
|
||||||
"markdown-it": "^12.3.2",
|
"markdown-it": "^13.0.1",
|
||||||
"markdown-it-anchor": "^8.6.2",
|
"markdown-it-anchor": "^8.6.5",
|
||||||
"markdown-it-attrs": "^4.1.3",
|
"markdown-it-attrs": "^4.1.4",
|
||||||
"markdown-it-footnote": "^3.0.3",
|
"markdown-it-footnote": "^3.0.3",
|
||||||
"markdown-it-highlight-lines": "^1.0.2",
|
"markdown-it-highlight-lines": "^1.0.2",
|
||||||
"markdown-it-mark": "^3.0.1",
|
"markdown-it-mark": "^3.0.1",
|
||||||
"markdown-it-sub": "^1.0.0",
|
"markdown-it-sub": "^1.0.0",
|
||||||
"markdown-it-sup": "^1.0.0",
|
"markdown-it-sup": "^1.0.0",
|
||||||
"markdown-it-task-checkbox": "^1.0.6",
|
"markdown-it-task-checkbox": "^1.0.6",
|
||||||
"markdown-it-texmath": "^0.9.7",
|
"markdown-it-texmath": "^1.0.0",
|
||||||
"markdown-toc": "^1.2.0",
|
"markdown-toc": "^1.2.0",
|
||||||
"prettier": "^2.6.2",
|
"prettier": "^2.7.1",
|
||||||
"read-time-estimate": "^0.0.3",
|
"read-time-estimate": "^0.0.3",
|
||||||
"simple-icons": "^6.19.0",
|
"simple-icons": "^7.11.0",
|
||||||
"svgo": "^2.8.0",
|
"svgo": "^2.8.0",
|
||||||
"tinycolor2": "^1.4.2",
|
"tinycolor2": "^1.4.2",
|
||||||
"ts-node": "^10.7.0",
|
"ts-node": "^10.9.1",
|
||||||
"tslint-config-prettier": "^1.18.0",
|
"tslint-config-prettier": "^1.18.0",
|
||||||
"typescript": "^4.6.3"
|
"typescript": "^4.8.3"
|
||||||
},
|
},
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
"production": [
|
"production": [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue