Giter Site home page Giter Site logo

forgo-lazy-loader's Introduction

forgo-lazy-loader

A webpack loader that works with forgo-lazy to enable chunk preloading in SSR and SSG scenarios.

Commands

  • yarn build: Build the library and generate TS types.
  • yarn dev: Start Jest in watch mode.
  • yarn test: Single test pass.
  • yarn format: Format the code using prettier.

CI Workflow

Feature Branch PR

Create a feature branch off of the main branch, make your changes and use git cz to commit your changes. To get started with commitizen check out https://www.npmjs.com/package/commitizen.

Creating a PR will run lint, and test CI, along with attempting to publish a pre-release of your changes. A pre-release package will only be published if the following conditions are met:

  • Your PR updates the package.json version
  • Version is not already published
  • Your updated version matches {SEMVER}-pr.{PR_NUMBER}-{VERSION}

For example, 1.2.3-pr.23-0 would represent the first prerelease version of PR 12 that would attempt to be published by the CI pipeline. If the version already exists, publish will be skipped until the prerelease version has been updated again to 1.2.3-pr.23-1. Please note that a deployment will not occur if the PR number in your semver does not match your PR number.

Production Release

Merging your PR to main will not trigger a release, instead it will open or update a PR that contains relevant changelog updates since the last production release.

This PR acts as a queue of work that will be release in the next deployment, as well as manages bumping the semantic version to the appropriate new version based on the commit messages.

Once you are ready to release, just merge this auto-generated PR back to main and a release will be triggered for the new version number.

Beta Release

Simply bump the version on main to match {SEMVER}-beta.{VERSION} and it will automatically be tagged as a beta and deployed.

forgo-lazy-loader's People

Contributors

jacob-ebey avatar

Watchers

 avatar  avatar  avatar

Forkers

jeswin

forgo-lazy-loader's Issues

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.