Home > @microsoft/rush-lib > Subspace
Subspace class
This represents the subspace configurations for a repository, based on the "subspaces.json" configuration file.
Signature:
export declare class Subspace
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Constructs a new instance of the |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| string |
Methods
Method | Modifiers | Description |
|---|---|---|
(BETA) Returns true if the specified project belongs to this subspace. | ||
(BETA) Gets the committed shrinkwrap file name for a specific variant. | ||
(BETA) Gets the settings from the common-versions.json config file. | ||
(BETA) Gets the full path to the common-versions.json config file for this subspace. Example (subspaces feature enabled): | ||
(BETA) Returns hash value of injected dependencies in related package.json. | ||
Computes a hash of the PNPM catalog definitions for this subspace. Returns undefined if no catalogs are defined. | ||
(BETA) Gets the full path to the pnpm-config.json config file for this subspace. Example (subspaces feature enabled): | ||
(BETA) Gets the absolute path for "pnpmfile.js" for a specific subspace. | ||
(BETA) Returns the parsed contents of the pnpm-config.json config file. | ||
(BETA) Returns the list of projects belonging to this subspace. | ||
(BETA) Gets the contents from the repo-state.json file. | ||
(BETA) Gets the path to the repo-state.json file. | ||
(BETA) Returns the full path of the folder containing this subspace's configuration files such as Example (subspaces feature enabled): | ||
(BETA) Returns the full path of the folder containing this subspace's configuration files such as Example (subspaces feature enabled): | ||
(BETA) The full path of the folder where the subspace's node_modules and other temporary files will be stored. Example (subspaces feature enabled): | ||
(BETA) Returns full path of the temporary shrinkwrap file for a specific subspace and returns the common workspace shrinkwrap if no subspaceName is provided. | ||
(BETA) The full path of a backup copy of tempShrinkwrapFilename. This backup copy is made before installation begins, and can be compared to determine how the package manager modified tempShrinkwrapFilename. | ||
(BETA) Returns the full path of the folder containing this subspace's variant-dependent configuration files such as Example (variants): | ||
(BETA) Gets the ensureConsistentVersions property from the common-versions.json config file, or from the rush.json file if it isn't defined in common-versions.json |