Skip to content
Florian Mettetal edited this page Jul 9, 2018 · 4 revisions

some description...

Idea

  • bury the internals like webpack, jest, scripts, into a tgr/ directory
  • some shell scripting that can manage updating the internals directory like CRA
  • generator for new react component directories
    • like TextInput/index.ts, ./TextInput.tsx, ./TextInput.scss
    • each file has some defaults written out that import the files
    • this saves at least a minute of boilerplating per component
    • a component can easily be flagged to generate a modification for gql, redux, css, no-css etc.
    • shell script that can do these upgrade paths
      • ts-module to [ts-react-module or ts-gql-endpoint]
      • ts-react-module to ts-react-app
      • [ts-react-app or ts-gql-endpoint] to tgr-fullstack
    • shell script for updating config
      • in nps npm.audit to toggle package-lock=true|false in .nvmrc
      • in nps open.web to use the right browser per OS.platform()
      • nodemon.json events per OS.platform()
  • three column layout
    • left: up to 2 row layout
      • menu, commands
      • stages & current stage output (when doing combined actions like an upgrade from ts-module to tgr-fullstack)
    • middle: htop
    • right: log

Clone this wiki locally