Giter Site home page Giter Site logo

deja-dev's Introduction

Déjà Dev ⌛

We've been here before, let's save some time shall we? An opinionated generator for web projects.

What ☝

An attempt to document the evolution of stacks I use on projects. Rather than my normal copy+paste+delete as required. This generator will scaffold out starting points for various stacks.

Built using the SAO framework.

Stacks ⚡

  • Front end
    • NextJS
    • Theme UI
  • API (coming soon)
  • Fullstack (coming soon)

Usage 🚀

npx sao theleebriggs/deja-dev -u my-project

TODO 💅

Templates

  • Common

    • LICENSE
    • .gitignore
    • .gitattributes
    • .editorconfig
    • .nvmrc
  • FE App

    • NextJS
    • Typescript
    • Styled-Components
    • ThemeUI
    • Linting (Stylelint?)
    • Prettier
    • .env files
    • react-testing-lib
    • Cypress
    • Storybook

License

MIT © theleebriggs

deja-dev's People

Contributors

theleebriggs avatar

Watchers

James Cloos avatar

Forkers

portablestudios

deja-dev's Issues

Engine management setup to prevent version bugs

Sometimes I lose time debugging errors caused by using the wrong package manager, for e.g. npm instead of yarn, or the wrong version of node or the package manager. For e.g. trying to run a new kind of command in an older version of yarn and it not working.

Could including something like this in the project setup help prevent these kind of problems?
https://docs.npmjs.com/files/package.json#engines

Or this:
A one-liner in the scripts of the root directory will make npm install explode if you try to use it.

"preinstall": "node -e \"if (process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('Use yarn for installing: https://yarnpkg.com/en/docs/install')\""

Or this:
This looks like it checks that you used yarn in a postinstall hook, but maybe not a great solution? https://github.com/alexanderwallin/use-yarn-instead

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.