All Projects → nrwl → Nx Examples

nrwl / Nx Examples

Example repo for nx workspace

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Nx Examples

Ts Monorepo
Template for setting up a TypeScript monorepo
Stars: ✭ 459 (+23.39%)
Mutual labels:  jest, monorepo
Sketchmine
Tools to validate, generate and analyse sketch files from web pages
Stars: ✭ 114 (-69.35%)
Mutual labels:  jest, monorepo
Opensource
Delivering delightful digital solutions. Open Source packages with combined ~85M/month downloads, semantically versioned following @conventional-commits. Fully powered by Jest, @Babel TypeScript, @Airbnb @ESLint + @Prettier, @YarnPKG + @Lerna independent versioning, GH @Actions & automated dep updates with @RenovateBot.
Stars: ✭ 459 (+23.39%)
Mutual labels:  jest, monorepo
Entria Fullstack
Monorepo Playground with GraphQL, React, React Native, Relay Modern, TypeScript and Jest
Stars: ✭ 434 (+16.67%)
Mutual labels:  jest, monorepo
ng-mono-repo-starter
Angular Mono Repo Starter
Stars: ✭ 79 (-78.76%)
Mutual labels:  jest, monorepo
Modern Monorepo Boilerplate
Modern Monorepo Boilerplate with Lerna, TypeScript, React/CRA, HMR, Jest, ESLint/TypeScript.
Stars: ✭ 127 (-65.86%)
Mutual labels:  jest, monorepo
Next Right Now
Flexible production-grade boilerplate with Next.js 10, Vercel and TypeScript. Includes multiple opt-in presets using Storybook, Airtable, GraphQL, Analytics, CSS-in-JS, Monitoring, End-to-end testing, Internationalization, CI/CD and SaaS B2B multi single-tenancy (monorepo) support
Stars: ✭ 671 (+80.38%)
Mutual labels:  jest, monorepo
react-component-library-lerna
Build your own React component library managed with lerna, presented with storybook and published in private npm registry.
Stars: ✭ 55 (-85.22%)
Mutual labels:  jest, monorepo
mock-spy-module-import
JavaScript import/require module testing do's and don'ts with Jest
Stars: ✭ 40 (-89.25%)
Mutual labels:  jest, monorepo
Lerna Yarn Workspaces Monorepo
🐉 A Monorepo with multiple packages and a shared build, test, and release process.
Stars: ✭ 201 (-45.97%)
Mutual labels:  jest, monorepo
tangerine-monorepo
A "fast" TypeScript-based Node.js monorepo setup powered by esbuild & turborepo
Stars: ✭ 191 (-48.66%)
Mutual labels:  jest, monorepo
monorepo-typescript-next-the-sane-way
A monorepo example using TypeScript and Next.js
Stars: ✭ 104 (-72.04%)
Mutual labels:  jest, monorepo
Jest Junit
A Jest reporter that creates compatible junit xml files
Stars: ✭ 307 (-17.47%)
Mutual labels:  jest
Jest Cucumber
Execute Gherkin scenarios in Jest
Stars: ✭ 347 (-6.72%)
Mutual labels:  jest
React Redux Boilerplate
Awesome React Redux Workflow Boilerplate with Webpack 4
Stars: ✭ 307 (-17.47%)
Mutual labels:  jest
Ebikes Lwc
Sample application for Lightning Web Components and Communities on Salesforce Platform. Part of the sample gallery. Retail use case. Get inspired and learn best practices.
Stars: ✭ 299 (-19.62%)
Mutual labels:  jest
Nod
Node.js module generator/boilerplate with Babel, Jest, Flow, Documentation and more
Stars: ✭ 355 (-4.57%)
Mutual labels:  jest
Redux Requests
Declarative AJAX requests and automatic network state management for single-page applications
Stars: ✭ 330 (-11.29%)
Mutual labels:  monorepo
Front End
Operation Code's website
Stars: ✭ 301 (-19.09%)
Mutual labels:  jest
React Bolt
⚡ The most simple & robust boilerplate for your React projects.
Stars: ✭ 298 (-19.89%)
Mutual labels:  jest

NxExample

This project was generated using Nx.

🔎 Nx is a set of Angular CLI power-ups for modern development.

Nx 5 Example

If you are looking for the Nx 5 Example, it is available on the nx-v5-example branch.

Quick Start & Documentation

Nx Documentation

30-minute video showing all Nx features

Interactive Tutorial

Adding capabilities to your workspace

Nx supports many plugins which add capabilities for developing different types of applications and different tools.

These capabilities include generating applications, libraries, .etc as well as the devtools to test, and build projects as well.

Below are some plugins which you can add to your workspace:

  • Angular
    • ng add @nrwl/angular
  • React
    • ng add @nrwl/react
  • Web (no framework frontends)
    • ng add @nrwl/web
  • Nest
    • ng add @nrwl/nest
  • Express
    • ng add @nrwl/express
  • Node
    • ng add @nrwl/node

Generate an application

Run ng g @nrwl/angular:app my-app to generate an application.

You can use any of the plugins above to generate applications as well.

When using Nx, you can create multiple applications and libraries in the same workspace.

Generate a library

Run ng g @nrwl/angular:lib my-lib to generate a library.

You can also use any of the plugins above to generate libraries as well.

Libraries are sharable across libraries and applications. They can be imported from @nx-example/mylib.

Development server

Run ng serve my-app for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng g component my-component --project=my-app to generate a new component.

Build

Run ng build my-app to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test my-app to execute the unit tests via Jest.

Run npm run affected:test to execute the unit tests affected by a change.

Running end-to-end tests

Run ng e2e my-app to execute the end-to-end tests via Cypress.

Run npm run affected:e2e to execute the end-to-end tests affected by a change.

Understand your workspace

Run npm run dep-graph to see a diagram of the dependencies of your projects.

Further help

Visit the Nx Documentation to learn more.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].