Giter VIP home page Giter VIP logo

starter-firebase-nextjs's Issues

Add pre-commit list & test hook

Tests should be run before commits are signed/pushed. Use Husky to test only staged/indexed files using git stash --keep-index.

Additionally, all files should be linted to maintain consistent code style.

Sync template instances with changes from this repository

Similar to how forked repositories work, update child clones/instances of this template repository with updated commits using git cherry-picking.

I have developed a separate tool for this, git-upstream-template, which should handle merging details and the overall interface.

git-upstream-template should be implemented to keep child clones/instances up-to-date/even with this repository.

Sort package.json keys using pre-commit hook/Husky

Because of how merging will be managed, it will be beneficial to have package.json sorted by key before every commit. This can be done with the sort-package-json package from npm. Adding this as a development dependency is a sufficient alternative to using npx. Husky should be used to sort keys before each commit made.

Projects without a staging environment fail on CI/CD

Due to lack of testing on projects without a staging environment setup, CI/CD tests fail when preview:staging is called. Tests should point to preview:production server when no Staging environment is setup.

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.