Code Monkey home page Code Monkey logo

mateusf.com's Introduction

mateusf.com's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar mateusfg7 avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mateusf.com's Issues

Info Page

Create an info page with my Public GPG, social links, etc.

Bottom margin

Add a margin bottom to unordered lists

image

And on <hr> tag

image

ESLint couldn't find the plugin "eslint-plugin-n"

yarn run v1.22.19
$ eslint . --ext js,jsx,ts,tsx

Oops! Something went wrong! :(

ESLint: 8.29.0

ESLint couldn't find the plugin "eslint-plugin-n".

(The package "eslint-plugin-n" was not found when loaded as a Node module from the directory "/home/mateusfg7/Projects/mfg-b".)

It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

npm install eslint-plugin-n@latest --save-dev

The plugin "eslint-plugin-n" was referenced from the config file in ".eslintrc.json » eslint-config-standard".

If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.

error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Long in-line code not brake

In-line long code is not braking on post width limit

image

original text:

0x21fa2503c40eab0c53ef362c79b2b84e8cb9b46bb3c4db8cd981394461ce4a32515f17c0d7ed62bb52fdd2a1c09fe22973cefaed8fd98bdcb852a125ffacd4711b

Error: EISDIR: illegal operation on a directory, read

Error when execute yarn build:

> Build error occurred
Error: EISDIR: illegal operation on a directory, read
    at Object.readSync (fs.js:614:3)
    at tryReadSync (fs.js:383:20)
    at Object.readFileSync (fs.js:420:19)
    at /home/mateusfg7/www/mfg-b/.next/server/chunks/617.js:39:68
    at Array.map (<anonymous>)
    at getSortedKnowledgeData (/home/mateusfg7/www/mfg-b/.next/server/chunks/617.js:34:38)
    at getStaticPaths (/home/mateusfg7/www/mfg-b/.next/server/pages/category/[category].js:137:78)
    at buildStaticPaths (/home/mateusfg7/www/mfg-b/node_modules/next/dist/build/utils.js:472:37)
    at /home/mateusfg7/www/mfg-b/node_modules/next/dist/build/utils.js:615:125
    at processTicksAndRejections (internal/process/task_queues.js:95:5) {
  type: 'Error',
  errno: -21,
  syscall: 'read',
  code: 'EISDIR'
}

image

ESLint Config Error

Error with prettier-eslint configuration when run eslint check

Oops! Something went wrong! :(

ESLint: 7.32.0

Error: Cannot read config file: /home/mateusfg7/www/mfg-b/node_modules/eslint-config-prettier/@typescript-eslint.js
Error: "prettier/@typescript-eslint" has been merged into "prettier" in eslint-config-prettier 8.0.0. See: https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21
Referenced from: /home/mateusfg7/www/mfg-b/.eslintrc.json
    at Object.<anonymous> (/home/mateusfg7/www/mfg-b/node_modules/eslint-config-prettier/@typescript-eslint.js:1:69)
    at Module._compile (/home/mateusfg7/www/mfg-b/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12)
    at Module.require (internal/modules/cjs/loader.js:961:19)
    at module.exports (/home/mateusfg7/www/mfg-b/node_modules/import-fresh/index.js:32:59)
    at loadJSConfigFile (/home/mateusfg7/www/mfg-b/node_modules/@eslint/eslintrc/lib/config-array-factory.js:225:16)
    at loadConfigFile (/home/mateusfg7/www/mfg-b/node_modules/@eslint/eslintrc/lib/config-array-factory.js:309:20)
    at ConfigArrayFactory._loadConfigData (/home/mateusfg7/www/mfg-b/node_modules/@eslint/eslintrc/lib/config-array-factory.js:609:42)

Write a README

Increment the README.md with some project info, like technologies, a way to deploy your own page, and features about mardown rendering.

Type error: Property 'children' does not exist on type '{}'.

./src/components/Container.tsx:3:39
Type error: Property 'children' does not exist on type '{}'.

  1 | import React from 'react'
  2 | 
> 3 | export const Container: React.FC = ({ children }) => {
    |                                       ^
  4 |   return <div className="max-w-4xl p-5 m-auto">{children}</div>
  5 | }
  6 |

Error on PR #297

Save read state

Save read state on localStorage using the window scroll position as reference

Invalid <Link> with <a> child

Server Error

Error: Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.
Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
LinkComponent
node_modules/next/dist/client/link.js (252:22)
renderWithHooks
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (5658:16)
renderForwardRef
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (5842:18)
renderElement
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6005:11)
renderNodeDestructiveImpl
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6104:11)
renderNodeDestructive
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6076:14)
renderNode
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6259:12)
renderChildrenArray
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6211:7)
renderNodeDestructiveImpl
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6141:7)
renderNodeDestructive
file:/home/mateusfg7/Projects/mfg-b/node_modules/react-dom/cjs/react-dom-server.browser.development.js (6076:14)

image

New post generation error

The post generation script generates a post without divistion between tag and value in data field.

image

Dependabot

Config dependabot file, found on insights > Dependency Graph > Dependabot.

Icon

Create a icon for the page.

image

Expression not callable

yarn build

yarn run v1.22.5
$ next build
info  - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
Failed to compile.

./src/pages/post/[id].tsx:42:28
Type error: This expression is not callable.
Type 'typeof import("/home/mateusfg7/www/mfg-b/node_modules/unified/index")' has no call signatures.

40 |   const tags = postData.tags.split(',')
41 | 
> 42 |   const contentProcessor = unified()
|                            ^
43 |     .use(markdown)
44 |     .use(gfm)
45 |     .use(math)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

image

Post Metadata

Add <head> with post metadada for each post, on src/knowledge/[id].tsx.

List Style

Fix list cascade style, with children indicator.

bug example
image

react-native is the father, the rest is a children.

Add post state

Add a field on post header to indicate the actual state: Published, Draft or Planned.

Link Index

Add a page contain a index of all the pages.

For new readers or crawlers, like archive.org

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency @tailwindcss/forms to v0.5.7
  • chore(deps): update dependency @types/mdx to v2.0.10
  • chore(deps): update dependency @types/remark-hint to v1.0.6
  • chore(deps): update dependency @types/semver to v7.5.5
  • chore(deps): update dependency prettier-plugin-tailwindcss to v0.5.7
  • chore(deps): update dependency vercel to v32.5.3
  • fix(deps): update dependency @phosphor-icons/react to v2.0.14
  • fix(deps): update dependency kbar to v0.1.0-beta.44
  • fix(deps): update dependency react-parallax-tilt to v1.7.174
  • chore(deps): update commitlint monorepo to v18.4.1 (@commitlint/cli, @commitlint/config-conventional)
  • chore(deps): update dependency prettier to v3.1.0
  • fix(deps): update dependency react-icons to v4.12.0
  • fix(deps): update dependency rehype-autolink-headings to v7.1.0
  • 🔐 Create all rate-limited PRs at once 🔐

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
.gitpod.Dockerfile
github-actions
.github/workflows/ci_pull-request.yml
.github/workflows/ci_push-dev.yml
.github/workflows/ci_push-main.yml
.github/workflows/lint.yml
  • actions/checkout v4
  • actions/setup-node v4
.github/workflows/pagespeed-metrics.yml
.github/workflows/release.yml
  • actions/checkout v4
  • actions/setup-node v4
  • actions/checkout v4
  • actions/setup-node v4
  • actions/checkout v4
  • mikepenz/action-gh-release v1
  • ubuntu 22.04
.github/workflows/sync-dev-branch.yml
  • actions/checkout v4
.github/workflows/sync-main-branch.yml
  • actions/checkout v4
npm
package.json
  • @giscus/react ^2.3.0
  • @headlessui/react ^1.7.15
  • @phosphor-icons/react ^2.0.8
  • @radix-ui/react-accordion ^1.1.1
  • @radix-ui/react-dialog ^1.0.3
  • contentlayer 0.3.4
  • date-fns 2.30.0
  • feed ^4.2.2
  • github-slugger ^2.0.0
  • katex ^0.16.8
  • kbar 0.1.0-beta.43
  • next 14.0.0
  • next-contentlayer 0.3.4
  • next-themes ^0.2.1
  • react 18.2.0
  • react-dom 18.2.0
  • react-error-boundary ^4.0.11
  • react-icons 4.11.0
  • react-parallax-tilt ^1.7.154
  • react-simple-typewriter ^5.0.1
  • reading-time ^1.5.0
  • rehype-autolink-headings ^7.0.0
  • rehype-katex 7.0.0
  • rehype-pretty-code 0.9.11
  • rehype-shift-heading ^2.0.0
  • rehype-slug 6.0.0
  • rehype-stringify ^9.0.3
  • rehype-toc 3.0.2
  • remark-breaks ^4.0.0
  • remark-gfm 3.0.1
  • remark-hint ^1.0.10
  • remark-math 5.1.1
  • remark-parse ^10.0.2
  • remark-rehype ^11.0.0
  • sharp ^0.32.5
  • shiki ^0.14.0
  • tailwindcss-animated ^1.0.1
  • unified ^10.1.2
  • unist-util-visit ^5.0.0
  • @clack/prompts ^0.7.0
  • @commitlint/cli ^18.0.0
  • @commitlint/config-conventional ^18.0.0
  • @tailwindcss/forms ^0.5.3
  • @types/mdx ^2.0.3
  • @types/node 20.8.10
  • @types/react 18.2.35
  • @types/remark-hint ^1.0.1
  • @types/semver ^7.5.0
  • autoprefixer ^10.4.13
  • esbuild ^0.19.0
  • eslint 8.53.0
  • eslint-config-next 14.0.0
  • eslint-config-prettier ^9.0.0
  • eslint-plugin-prettier 5.0.1
  • husky ^8.0.1
  • picocolors ^1.0.0
  • postcss ^8.4.19
  • prettier ^3.0.0
  • prettier-plugin-tailwindcss ^0.5.0
  • semver ^7.5.1
  • simple-git ^3.18.0
  • tailwindcss ^3.3.3
  • tsx ^3.12.7
  • typescript 5.2.2
  • vercel ^32.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

Tradução Projetos Pessoais

Verificado que em seu portifolio, em duas de suas amostragens de projetos, está em inglês enquanto as outras estão em Português.

Para a padronização das suas amostragens, corrija e traduza os dois projetos abaixo para português:

Tradução 1

2022-12-22 19 27 39 mateusf vercel app 8cae36d5e7d6

Tradução 2

2022-12-22 19 27 53 mateusf vercel app 3d53d9a75b00

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: renovate.json
Error type: Invalid JSON (parsing failed)
Message: Syntax error: expecting String near },

Top button

Add a button to got to the top of post

  const handleScrollToTop = () => {
    window.scrollTo({
      top: 0,
      behavior: 'smooth',
    });
  };

Ignore ESLint during builds

To use ESLint, additional required package(s) must be installed.

Please install eslint-config-next by running:

yarn add --dev eslint-config-next

If you do not want to run ESLint during builds, disable it in next.config.js. See https://nextjs.org/docs/api-reference/next.config.js/ignoring-eslint.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.