JSPM

@nx/next

19.7.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 360864
  • Score
    100M100P100Q167709F
  • License MIT

The Next.js plugin for Nx contains executors and generators for managing Next.js applications and libraries within an Nx workspace. It provides: - Scaffolding for creating, building, serving, linting, and testing Next.js applications. - Integration with building, serving, and exporting a Next.js application. - Integration with React libraries within the workspace. When using Next.js in Nx, you get the out-of-the-box support for TypeScript, Playwright, Cypress, and Jest. No need to configure anything: watch mode, source maps, and typings just work.

Package Exports

  • @nx/next
  • @nx/next/babel
  • @nx/next/babel.js
  • @nx/next/index.js
  • @nx/next/plugins/with-less
  • @nx/next/plugins/with-less.js
  • @nx/next/plugins/with-nx
  • @nx/next/plugins/with-nx.js
  • @nx/next/plugins/with-stylus
  • @nx/next/plugins/with-stylus.js
  • @nx/next/src/generators/application/application
  • @nx/next/src/generators/application/application.js
  • @nx/next/src/generators/application/lib/add-e2e
  • @nx/next/src/generators/application/lib/add-e2e.js
  • @nx/next/src/generators/application/lib/add-jest
  • @nx/next/src/generators/application/lib/add-jest.js
  • @nx/next/src/generators/application/lib/add-linting
  • @nx/next/src/generators/application/lib/add-linting.js
  • @nx/next/src/generators/application/lib/create-application-files.helpers
  • @nx/next/src/generators/application/lib/create-application-files.helpers.js
  • @nx/next/src/generators/application/lib/show-possible-warnings
  • @nx/next/src/generators/application/lib/show-possible-warnings.js
  • @nx/next/src/generators/application/lib/update-cypress-tsconfig
  • @nx/next/src/generators/application/lib/update-cypress-tsconfig.js
  • @nx/next/src/generators/application/lib/update-jest-config
  • @nx/next/src/generators/application/lib/update-jest-config.js
  • @nx/next/src/utils/add-gitignore-entry
  • @nx/next/src/utils/add-gitignore-entry.js
  • @nx/next/src/utils/config
  • @nx/next/src/utils/config.js
  • @nx/next/src/utils/versions
  • @nx/next/src/utils/versions.js
  • @nx/next/tailwind
  • @nx/next/tailwind.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nx/next) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Nx - Smart Monorepos · Fast CI

CircleCI License NPM Version Semantic Release Commitizen friendly Join the chat at https://gitter.im/nrwl-nx/community Join us on the Official Nx Discord Server


Nx: Smart Monorepos · Fast CI

Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.

This package is a Next.js plugin for Nx.

Getting Started

Creating an Nx Workspace

Using npx

npx create-nx-workspace

Using npm init

npm init nx-workspace

Using yarn create

yarn create nx-workspace

Adding Nx to an Existing Repository

Run:

npx nx@latest init

Documentation & Resources

Nx - Smart Monorepos · Fast CI