Skip to content

healthline/next.js

 
 

Repository files navigation

HLM's fork of Next.js

Minimialist version of Next.js. Not intended for external consumption.

Base Documentation

How to Test Locally

  1. Build the package: yarn build

  2. In the frontend folder: yarn add ../next.js (assuming the repos are siblings, otherwise use the path to your local next.js repo)

  3. Repeat the process if you make any changes to next.js

Having issues with the frontend reporting multiple versions of react?

  1. Rename node_modules (e.g. node_modules2)
  2. Re-run yarn add ../next.js

Note: you'll have to change it back to node_modules if you want to rebuild it

Publishing to @healthline/next.js

Steps to Publish

  1. Access Permissions: Ensure you have the rights to publish to @healthline/next.js on npm.

  2. Update Version (using Semantic Versioning):

    npm version patch   # Bug fixes, minor changes
    npm version minor   # New features, no breaking changes
    npm version major   # Breaking changes
  3. Build the Project:

    yarn build

    Ensure the build output is correct. Check .npmignore and package.json files configuration.

  4. Login to npm (if not already logged in):

    npm login
  5. Publish:

    npm publish
  6. Verify the package on the npm page.

  7. Commit & Push Commit & Push Open a PR to merge version change into master

About

Framework for server-rendered React apps

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.9%
  • Shell 0.1%