Skip to content

Signatures

addProjectConfiguration(tree: Tree, projectName: string, projectConfiguration: ProjectConfiguration, standalone: boolean): void

Adds project configuration to the Nx workspace.

Parameters

  • tree: Tree - the file system tree
  • projectName: string - unique name. Often directories are part of the name (e.g., mydir-mylib)
  • projectConfiguration: ProjectConfiguration - project configuration
  • standalone: boolean - whether the project is configured in workspace.json or not