NES for Next.js 12.3.x

Installation and configuration guide for NES for Next.js 12.3.x

Minimum Requirements

Please review our Minimum Requirements to ensure a smooth installation. Then follow 3 easy steps:

  1. Update your package.json
  2. Create or update your .npmrc file
  3. Install & Run!

Detailed Instructions

Substitute the Next dependencies in your package.json with the following

package.json
{
  "dependencies": {
    "@next/bundle-analyzer": "npm:@neverendingsupport/next-bundle-analyzer@12.3.7-next-12.3.10",
    "@next/env": "npm:@neverendingsupport/nex-envt@12.3.7-next-12.3.10",
    "@next/mdx": "npm:@neverendingsupport/next-mdx@12.3.7-next-12.3.10",
    "@next/polyfill-module": "npm:@neverendingsupport/next-polyfill-module@12.3.7-next-12.3.10",
    "@next/polyfill-nomodule": "npm:@neverendingsupport/next-polyfill-nomodule@12.3.7-next-12.3.10",
    "@next/react-dev-overlay": "npm:@neverendingsupport/next-react-dev-overlay@12.3.7-next-12.3.10",
    "@next/react-refresh-utils": "npm:@neverendingsupport/next-react-refresh-utils@12.3.7-next-12.3.10",
    "next": "npm:@neverendingsupport/next@12.3.7-next-12.3.10",
    "react": "17.0.2",
    "react-dom": "17.0.2"
  },
  "devDependencies": {
    "eslint": "^8.0.0",
    "eslint-config-next": "npm:@neverendingsupport/eslint-config-next@12.3.7-next-12.3.10",
    "@next/eslint-plugin-next": "npm:@neverendingsupport/next-eslint-plugin-next@12.3.7-next-12.3.10",
    "typescript": "^4.4.4",
    "@types/node": "^16.11.6",
    "@types/react": "^17.0.33",
    "@types/react-dom": "^17.0.10"
  },
  "overrides": {
    "@next/bundle-analyzer": {".": "npm:@neverendingsupport/next-bundle-analyzer@12.3.7-next-12.3.10"},
    "@next/env": {".": "npm:@neverendingsupport/next-env@12.3.7-next-12.3.10"},
    "@next/eslint-plugin-next": {".": "npm:@neverendingsupport/next-eslint-plugin-next@12.3.7-next-12.3.10"},
    "@next/mdx": {".": "npm:@neverendingsupport/next-mdx@12.3.7-next-12.3.10"},
    "@next/polyfill-module": {".": "npm:@neverendingsupport/next-polyfill-module@12.3.7-next-12.3.10"},
    "@next/polyfill-nomodule": {".": "npm:@neverendingsupport/next-polyfill-nomodule@12.3.7-next-12.3.10"},
    "@next/react-dev-overlay": {".": "npm:@neverendingsupport/next-react-dev-overlay@12.3.7-next-12.3.10"},
    "@next/react-refresh-utils": {".": "npm:@neverendingsupport/next-react-refresh-utils@12.3.7-next-12.3.10"},
    "eslint-config-next": {".": "npm:@neverendingsupport/eslint-config-next@12.3.7-next-12.3.10"},
    "next": {".": "npm:@neverendingsupport/next@12.3.7-next-12.3.10" }
  }
}

Create an .npmrc file with the following

.npmrc
@neverendingsupport:registry=https://registry.nes.herodevs.com/npm/pkg/
//registry.nes.herodevs.com/npm/pkg/:_authToken=<NES_ACCESS_TOKEN>

Install your dependencies

/bin/sh
npm install

And just like that, you can run your integration tests against NES for Next.js!

Additional Information

Direct Download URLs

The direct download URLs for NES for Next.js are:

PackageURL
eslint-config-next
12.3.7-next-12.3.10
Download
@next/eslint-plugin-next
12.3.7-next-12.3.10
Download
next
12.3.7-next-12.3.10
Download
@next/bundle-analyzer
12.3.7-next-12.3.10
Download
@next/env
12.3.7-next-12.3.10
Download
@next/mdx
12.3.7-next-12.3.10
Download
@next/polyfill-module
12.3.7-next-12.3.10
Download
@next/polyfill-nomodule
12.3.7-next-12.3.10
Download
@next/react-dev-overlay
12.3.7-next-12.3.10
Download
@next/react-refresh-utils
12.3.7-next-12.3.10
Download