Skip to content

Some things missing that I find useful #13

@dominikwilkowski

Description

@dominikwilkowski

Just opinions...

  • .editorconfig
    now please don't shoot me but if we include prettier we should add the editorconfig with the same default settings as the default settings of prettier

  • prettier config and .prettierignore
    leave empty but give people a space where they can put things in

  • npm scripts for prettier and prettier tests
    "format": "prettier --write \"**/*.{js,md,mdx,json}\"",
    "test:format": "prettier --list-different \"**/*.{js,md,mdx,json}\"",

  • cypress integration
    cause I think it's hard and would add a lot of value

  • stuff like yarn start [component]
    "start": "/bin/sh -c 'cd components/${1:-$0} && yarn start'",

Nice to have

  • a create component via a npm script eg yarn create [component] that takes a bunch of files from the .template/ folder and fills in some bits
  • a helpers/ folder with ... helper scripts
  • many packages test scripts
    "dep:test": "manypkg check && preconstruct build || preconstruct dev",
    "dep:fix": "manypkg fix",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions