Skip to content

Latest commit

 

History

99 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Organizational Intelligence System - Nx Workspace

This project has been successfully migrated to an Nx integrated workspace from a standalone Angular CLI project.

What Changed

Project Structure

  • Angular application moved from root to apps/organizational-intelligence-system/
  • Workspace now supports multiple applications and libraries
  • angular.json replaced with nx.json and apps/organizational-intelligence-system/project.json
  • tsconfig.json replaced with tsconfig.base.json for workspace-wide settings

New Capabilities

  • Nx CLI: Use nx commands instead of ng for better performance
  • Caching: Build and test results are cached automatically
  • Task Orchestration: Run tasks across multiple projects efficiently
  • Project Graph: Visualize dependencies with nx graph
  • Affected Commands: Only build/test what changed

Quick Start

# Install dependencies (if needed)
npm install

# Start development server
npm start
# or
npx nx serve organizational-intelligence-system

# Build for production
npm run build
# or
npx nx build organizational-intelligence-system

# Run tests
npm test
# or
npx nx test organizational-intelligence-system

Nx Commands

# Show all projects in workspace
npx nx show projects

# List installed plugins
npx nx list

# View project graph
npx nx graph

# Run a target for all projects
npx nx run-many -t build

# Run a target only for affected projects
npx nx affected -t test

# Generate a new component
npx nx g @nx/angular:component my-component --project=organizational-intelligence-system

# Generate a new library
npx nx g @nx/angular:library my-lib

Project Configuration

  • Workspace Config: nx.json - Global Nx settings and caching configuration
  • Project Config: apps/organizational-intelligence-system/project.json - Project-specific build, serve, and test targets
  • TypeScript: tsconfig.base.json - Base TypeScript configuration with path mappings

Benefits of Nx

  1. Faster Builds: Nx caches build outputs and only rebuilds what changed
  2. Monorepo Ready: Easy to add more applications and shared libraries
  3. Better DX: Enhanced CLI with better error messages and task visualization
  4. CI Optimization: Run only affected tests/builds in CI pipelines
  5. Code Generators: Scaffold new code with consistent patterns

Documentation

Migration Notes

This project was migrated using npx nx@latest init --integrated, which:

  • Installed Nx packages (nx, @nx/angular, @nx/workspace)
  • Created Nx configuration files
  • Moved the Angular app to apps/organizational-intelligence-system/
  • Updated package.json scripts to use Nx
  • Preserved all existing code and functionality

Releases

Packages

Contributors

Languages