subspaces.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /**
  2. * This configuration file manages the experimental "subspaces" feature for Rush,
  3. * which allows multiple PNPM lockfiles to be used in a single Rush workspace.
  4. * For full documentation, please see https://rushjs.io
  5. */
  6. {
  7. "$schema": "https://developer.microsoft.com/json-schemas/rush/v5/subspaces.schema.json",
  8. /**
  9. * Set this flag to "true" to enable usage of subspaces.
  10. */
  11. "subspacesEnabled": false,
  12. /**
  13. * (DEPRECATED) This is a temporary workaround for migrating from an earlier prototype
  14. * of this feature: https://github.com/microsoft/rushstack/pull/3481
  15. * It allows subspaces with only one project to store their config files in the project folder.
  16. */
  17. "splitWorkspaceCompatibility": false,
  18. /**
  19. * When a command such as "rush update" is invoked without the "--subspace" or "--to"
  20. * parameters, Rush will install all subspaces. In a huge monorepo with numerous subspaces,
  21. * this would be extremely slow. Set "preventSelectingAllSubspaces" to true to avoid this
  22. * mistake by always requiring selection parameters for commands such as "rush update".
  23. */
  24. "preventSelectingAllSubspaces": false,
  25. /**
  26. * The list of subspace names, which should be lowercase alphanumeric words separated by
  27. * hyphens, for example "my-subspace". The corresponding config files will have paths
  28. * such as "common/config/subspaces/my-subspace/package-lock.yaml".
  29. */
  30. "subspaceNames": []
  31. }