mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-06 04:21:55 +00:00
chore: bump 3 major deps
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
"plugins": ["prettier"],
|
||||
"extends": ["next/core-web-vitals", "prettier"],
|
||||
"rules": {
|
||||
"prettier/prettier": "error"
|
||||
"prettier/prettier": "error",
|
||||
"@next/next/no-img-element": "off"
|
||||
}
|
||||
}
|
||||
|
||||
11129
package-lock.json
generated
11129
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -38,12 +38,12 @@
|
||||
"@types/lodash": "^4.14.182",
|
||||
"batteries-not-included": "^0.1.0",
|
||||
"classnames": "2.3.1",
|
||||
"copy-webpack-plugin": "^9.0.1",
|
||||
"copy-webpack-plugin": "^10.2.4",
|
||||
"date-fns": "^2.28.0",
|
||||
"dayjs": "^1.11.2",
|
||||
"disqus-react": "^1.1.3",
|
||||
"framer-motion": "^4.1.17",
|
||||
"gatsby-remark-embedder": "^5.0.0",
|
||||
"gatsby-remark-embedder": "^6.0.0",
|
||||
"github-slugger": "^1.4.0",
|
||||
"gray-matter": "4.0.3",
|
||||
"jest-environment-jsdom": "^28.1.0",
|
||||
@@ -61,7 +61,7 @@
|
||||
"rehype-react": "^7.1.1",
|
||||
"rehype-slug-custom-id": "^1.1.0",
|
||||
"rehype-stringify": "^9.0.3",
|
||||
"remark-behead": "^2.3.3",
|
||||
"remark-behead": "^3.0.0",
|
||||
"remark-gfm": "^3.0.1",
|
||||
"remark-parse": "^10.0.1",
|
||||
"remark-rehype": "^10.1.0",
|
||||
@@ -104,6 +104,7 @@
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"feed": "^4.2.2",
|
||||
"gatsby": "^4.13.1",
|
||||
"hast-util-heading-rank": "^2.1.0",
|
||||
"husky": "^7.0.4",
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
|
||||
14
src/types/modules/remark-behead.d.ts
vendored
Normal file
14
src/types/modules/remark-behead.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
declare module "remark-behead" {
|
||||
import type { Node } from "unist";
|
||||
import type { Root } from "mdast";
|
||||
import type { Plugin } from "unified";
|
||||
|
||||
export interface BeheadOptions {
|
||||
depth: number;
|
||||
after: number | string | Node;
|
||||
before: number | string | Node;
|
||||
between: [number | string | Node, number | string | Node];
|
||||
}
|
||||
declare const plugin: Plugin<[BeheadOptions?] | void[], Root, string>;
|
||||
export default plugin;
|
||||
}
|
||||
@@ -17,9 +17,8 @@ import { UserConfigSettings } from "shiki-twoslash";
|
||||
import { rehypeTabs, RehypeTabsProps } from "utils/markdown/plugins/tabs";
|
||||
import { PluggableList } from "unified";
|
||||
|
||||
// Optional now. Probably should move to an array that's passed or something
|
||||
// TODO: Create types
|
||||
const behead = require("remark-behead");
|
||||
import behead from "remark-behead";
|
||||
|
||||
interface markdownChainProps {
|
||||
remarkPlugins: PluggableList;
|
||||
|
||||
Reference in New Issue
Block a user