@pota/next-template
v1.0.1
Published
## Setup ๐
Downloads
1
Readme
next-template
Setup ๐
You can create a new project using
create-pota
.
npm init pota -- --template next
or use the
next
combination, for the recommeded setup
npm init pota next
Standards ๐
This project follows the MediaMonks Frontend Coding Standards
Security ๐ฎโ
Ignore scripts
In order to mitigate NPM supply chain attacks by best effort the NPM ignore-scripts setting is enabled by default. This project comes with a preconfigured set of dependencies that are allowed to run installation scripts.
After running npm install
it is required to run npm run postinstall
to run required installation scripts from dependent packages.
When adding a new dependency that requires an installation script to run make sure to add that package to the project package.json
in the postinstall
property.
Important: After running
npm install
ornpm ci
always runnpm run postinstall
afterwards before running other scripts.
Learn More
- Pota Next Template - learn about the Next.js Pota template.
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.