Minimialist version of Next.js. Not intended for external consumption.
- 
Build the package:
yarn build - 
In the frontend folder:
yarn add ../next.js(assuming the repos are siblings, otherwise use the path to your localnext.jsrepo) - 
Repeat the process if you make any changes to next.js
 
Having issues with the frontend reporting multiple versions of react?
- Rename 
node_modules(e.g.node_modules2) - 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
- 
Access Permissions: Ensure you have the rights to publish to
@healthline/next.json npm. - 
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
 - 
Build the Project:
yarn build
Ensure the build output is correct. Check
.npmignoreandpackage.jsonfilesconfiguration. - 
Login to npm (if not already logged in):
npm login
 - 
Publish:
npm publish
 - 
Verify the package on the npm page.
 - 
Commit & Push Commit & Push Open a PR to merge version change into master