@ms-cloudpack/common-types 0.24.14 → 0.24.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/LinkedPath.d.ts +10 -0
- package/lib/LinkedPath.d.ts.map +1 -1
- package/lib/LinkedPath.js.map +1 -1
- package/package.json +1 -1
package/lib/LinkedPath.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import type { SerializablePackageDefinitionsCache } from './PackageDefinitionsCache.js';
|
|
2
|
+
import type { SerializablePackageHashesCache } from './PackageHashesCache.js';
|
|
3
|
+
import type { ResolveMap } from './ResolveMap.js';
|
|
1
4
|
/**
|
|
2
5
|
* Represents a path linked to the resolve map.
|
|
3
6
|
*/
|
|
@@ -25,5 +28,12 @@ export interface LinkedPath {
|
|
|
25
28
|
ignoreResolutions?: boolean;
|
|
26
29
|
/** The strategy to use when resolving linked packages. Defaults to "dedupe". */
|
|
27
30
|
resolveStrategy?: 'dedupe' | 'duplicate';
|
|
31
|
+
/** Data to send over when linking across different machines. */
|
|
32
|
+
remote?: {
|
|
33
|
+
resolveMap: ResolveMap;
|
|
34
|
+
hostUrl: string;
|
|
35
|
+
packages: SerializablePackageDefinitionsCache;
|
|
36
|
+
packageHashes: SerializablePackageHashesCache;
|
|
37
|
+
};
|
|
28
38
|
}
|
|
29
39
|
//# sourceMappingURL=LinkedPath.d.ts.map
|
package/lib/LinkedPath.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkedPath.d.ts","sourceRoot":"","sources":["../src/LinkedPath.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAE3B;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,gFAAgF;IAChF,eAAe,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"LinkedPath.d.ts","sourceRoot":"","sources":["../src/LinkedPath.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AACxF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAE3B;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,gFAAgF;IAChF,eAAe,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;IAEzC,gEAAgE;IAChE,MAAM,CAAC,EAAE;QACP,UAAU,EAAE,UAAU,CAAC;QACvB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,mCAAmC,CAAC;QAC9C,aAAa,EAAE,8BAA8B,CAAC;KAC/C,CAAC;CACH"}
|
package/lib/LinkedPath.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkedPath.js","sourceRoot":"","sources":["../src/LinkedPath.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Represents a path linked to the resolve map.\n */\nexport interface LinkedPath {\n /**\n * Path to where the link originates.\n */\n path: string;\n\n /**\n * Optional git root to limit package resolution discovery.\n * Used for testing only.\n */\n rootPath?: string;\n\n /**\n * If true, transitive internal packages will be linked rather than only the matched packages.\n */\n includeAll?: boolean;\n\n /**\n * Package matches to ignore when linking.\n */\n ignoredPackages?: string[];\n\n /**\n * If true, ignores resolutions from the host repo definition to the linked packages.\n */\n ignoreResolutions?: boolean;\n\n /** The strategy to use when resolving linked packages. Defaults to \"dedupe\". */\n resolveStrategy?: 'dedupe' | 'duplicate';\n}\n"]}
|
|
1
|
+
{"version":3,"file":"LinkedPath.js","sourceRoot":"","sources":["../src/LinkedPath.ts"],"names":[],"mappings":"","sourcesContent":["import type { SerializablePackageDefinitionsCache } from './PackageDefinitionsCache.js';\nimport type { SerializablePackageHashesCache } from './PackageHashesCache.js';\nimport type { ResolveMap } from './ResolveMap.js';\n\n/**\n * Represents a path linked to the resolve map.\n */\nexport interface LinkedPath {\n /**\n * Path to where the link originates.\n */\n path: string;\n\n /**\n * Optional git root to limit package resolution discovery.\n * Used for testing only.\n */\n rootPath?: string;\n\n /**\n * If true, transitive internal packages will be linked rather than only the matched packages.\n */\n includeAll?: boolean;\n\n /**\n * Package matches to ignore when linking.\n */\n ignoredPackages?: string[];\n\n /**\n * If true, ignores resolutions from the host repo definition to the linked packages.\n */\n ignoreResolutions?: boolean;\n\n /** The strategy to use when resolving linked packages. Defaults to \"dedupe\". */\n resolveStrategy?: 'dedupe' | 'duplicate';\n\n /** Data to send over when linking across different machines. */\n remote?: {\n resolveMap: ResolveMap;\n hostUrl: string;\n packages: SerializablePackageDefinitionsCache;\n packageHashes: SerializablePackageHashesCache;\n };\n}\n"]}
|