profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/roddds/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Rodrigo Deodoro roddds @carta Oakland, CA http://deodoro.org Engineering manager for the ink design system @carta.

roddds/gallery 6

A photo gallery static generator

roddds/sushibot 5

Sushi-Go-Round bot

roddds/idler 4

Team Fortress 2 Idler

roddds/dark-numix 3

Darker theme based on the famous Numix theme

roddds/owned 3

Owned - Um Novo Jogador

renatonouman/alexander-machine 1

Illustration of Christopher Alexander's thought experiment described in "Notes on the synthesis of form. 🧠🎨

roddds/presentations 1

Archive of presentations

materlactea/selvagem 0

um pequeno passeio cosmogônico

startedmgdm/htmlq

started time in 17 days

pull request commentstyleguidist/react-docgen-typescript

Parse displayName for stateless components whose name dont match the file name

@jzempel can you provide:

  • The react-docgen-typescript configuration you're using
  • A minimal repro case or;
  • A failing test in this repo that passes when you revert f42ed3f

I ask because I wasn't able to get RDT to parse anything out of that file, on either 2.0.0 or 2.1.0. The repro steps I took:

~$ mkdir rdt-repro && cd rdt-repro
~/rdt-repro$ npm init -y
Wrote to /home/rodrigo/rdt-repro/package.json:

{
  "name": "rdt-repro",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "Rodrigo Deodoro",
  "license": "ISC"
}


~/rdt-repro$ npm install --save react-docgen-typescript@2.0.0 'typescript@>=4.3.x'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN rdt-repro@1.0.0 No description
npm WARN rdt-repro@1.0.0 No repository field.

+ react-docgen-typescript@2.0.0
+ typescript@4.3.5
added 2 packages from 1 contributor and audited 2 packages in 0.941s
found 0 vulnerabilities

~/rdt-repro$ wget https://raw.githubusercontent.com/zendeskgarden/react-components/main/packages/dropdowns/src/elements/Menu/Items/AddItem.tsx
--2021-08-16 17:21:12--  https://raw.githubusercontent.com/zendeskgarden/react-components/main/packages/dropdowns/src/elements/Menu/Items/AddItem.tsx
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.110.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1277 (1.2K) [text/plain]
Saving to: ‘AddItem.tsx’

AddItem.tsx                       100%[==========================================================>]   1.25K  --.-KB/s    in 0s      

2021-08-16 17:21:13 (73.4 MB/s) - ‘AddItem.tsx’ saved [1277/1277]

~/rdt-repro$ node -e 'console.log(require("react-docgen-typescript").parse("./AddItem.tsx"))'
[]

roddds

comment created time in a month

pull request commentstyleguidist/react-docgen-typescript

Parse displayName for stateless components whose name dont match the file name

@pvasek bumping this for visibility.

roddds

comment created time in 2 months

issue commentfacebook/jscodeshift

Version: 0.12.0. /usr/bin/env: ‘node\r’: No such file or directory

This is still an issue in 0.13.0.

gavinxgu

comment created time in 3 months