Skip to content

Commit

Permalink
Merge branch 'blog'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikezaby committed Mar 24, 2024
2 parents 62d0d77 + d5a7280 commit 3f0cdd2
Show file tree
Hide file tree
Showing 11 changed files with 893 additions and 6 deletions.
26 changes: 26 additions & 0 deletions gray-matter.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
declare module "gray-matter" {
namespace grayMatter {
interface GrayMatterFile<T = any> {

Check failure on line 3 in gray-matter.d.ts

View workflow job for this annotation

GitHub Actions / lint

'T' is defined but never used

Check failure on line 3 in gray-matter.d.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type
content: string;
data: {
[key: string]: any;

Check failure on line 6 in gray-matter.d.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type
};
excerpt: string;
isEmpty: boolean;
orig: Uint8Array;
}
}

function grayMatter<T = any>(

Check failure on line 14 in gray-matter.d.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type
str: string,
options?: {
excerpt?: boolean | function;
excerpt_separator?: string;
engines?: any;

Check failure on line 19 in gray-matter.d.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type
language?: string;
delimiters?: string | string[];
},
): grayMatter.GrayMatterFile<T>;

export = grayMatter;
}
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,22 @@
"@radix-ui/react-slot": "^1.0.2",
"@reactflow/node-resizer": "^2.2.9",
"@reduxjs/toolkit": "^2.2.0",
"@tailwindcss/typography": "^0.5.10",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"firebase": "^10.8.1",
"gray-matter": "^4.0.3",
"lodash": "^4.17.21",
"lucide-react": "^0.334.0",
"next": "^14.1.0",
"next-themes": "^0.2.1",
"prismjs": "^1.29.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^9.1.0",
"reactflow": "^11.10.3",
"remark": "^15.0.1",
"remark-html": "^16.0.1",
"tailwind-merge": "^2.2.1",
"tailwindcss": "^3.4.1",
"tailwindcss-animate": "^1.0.7",
Expand All @@ -43,7 +48,9 @@
},
"devDependencies": {
"@types/lodash": "^4.14.186",
"@types/mdast": "^4.0.3",
"@types/node": "^16.7.13",
"@types/prismjs": "^1.26.3",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/uuid": "^8.3.4",
Expand Down
Loading

0 comments on commit 3f0cdd2

Please sign in to comment.