My personal website
- Move to TypeScript
- Move gatsby files to TS, at least gatsby-node, hopefully gatsby-config
- Rename other files to ts/tsx
- Add types in code
- Add blog description
- Show 'last updated' status on posts
- Add tags to post
- Allow to search by tag
- Use most frequent tags in description of blog, e.g. "I write about many things, including tag1, tag2, and tag3."
- Add resume
- Try yarn 2
- Tried it, got stuck referencing the dependencies in
gatsby-config
forgatsby-plugin-codegen
to pull out GraphQL fragements.
- Tried it, got stuck referencing the dependencies in
- Robots.txt
- When exporting the cabin from Adobe XD, need to delete the
width
andheight
attributes from the top level XML tag.
-
Got
Cannot read property 'buildError' of undefined
from
gatsby-plugin-graphql-codegen
whiledocumentPaths
included the root directory. Specifically the offending path was./**/*.{ts,tsx,js,jsx}
.Was also getting this error with GraphQL Code Generator and it seemed to be for the same reason. After updating the document paths for that tool I started running into a new error
Identifier `getIterator` already defined
and gave up.
-
Had to pin
remark-mdx
, see here
- Use magic comment as described here to ensure a template string is picked up by code generator