@ms-cloudpack/package-utilities 0.1.7 → 0.2.0
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/CHANGELOG.json +22 -1
- package/CHANGELOG.md +11 -2
- package/lib/createResolveMap.d.ts +5 -8
- package/lib/createResolveMap.js +55 -106
- package/lib/createResolveMap.js.map +1 -1
- package/lib/findPackagePath.d.ts +1 -0
- package/lib/findPackagePath.js +14 -0
- package/lib/findPackagePath.js.map +1 -0
- package/lib/resolveImportFromPackagePath.d.ts +1 -1
- package/lib/resolveImportFromPackagePath.js +1 -1
- package/package.json +2 -2
- package/lib/tsdoc-metadata.json +0 -11
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,28 @@
|
|
|
2
2
|
"name": "@ms-cloudpack/package-utilities",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Fri, 20 May 2022 04:25:53 GMT",
|
|
6
|
+
"tag": "@ms-cloudpack/package-utilities_v0.2.0",
|
|
7
|
+
"version": "0.2.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "dzearing@microsoft.com",
|
|
12
|
+
"package": "@ms-cloudpack/package-utilities",
|
|
13
|
+
"commit": "b39bb143fc53e622c39f9e9fd349f71c9ebadd77",
|
|
14
|
+
"comment": "Updating createResolveMap logic."
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@ms-cloudpack/package-utilities",
|
|
19
|
+
"comment": "Bump @ms-cloudpack/path-utilities to v0.2.0",
|
|
20
|
+
"commit": "b39bb143fc53e622c39f9e9fd349f71c9ebadd77"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"date": "Thu, 19 May 2022 21:04:02 GMT",
|
|
6
27
|
"tag": "@ms-cloudpack/package-utilities_v0.1.7",
|
|
7
28
|
"version": "0.1.7",
|
|
8
29
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
# Change Log - @ms-cloudpack/package-utilities
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 20 May 2022 04:25:53 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.2.0
|
|
8
|
+
|
|
9
|
+
Fri, 20 May 2022 04:25:53 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Updating createResolveMap logic. (dzearing@microsoft.com)
|
|
14
|
+
- Bump @ms-cloudpack/path-utilities to v0.2.0
|
|
15
|
+
|
|
7
16
|
## 0.1.7
|
|
8
17
|
|
|
9
|
-
Thu, 19 May 2022 21:
|
|
18
|
+
Thu, 19 May 2022 21:04:02 GMT
|
|
10
19
|
|
|
11
20
|
### Patches
|
|
12
21
|
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
export declare type PackageNameVersion = `${string}@${string}`;
|
|
2
2
|
export declare type ResolveMapEntry = {
|
|
3
|
+
name: string;
|
|
3
4
|
version: string;
|
|
4
5
|
path: string;
|
|
5
|
-
entry: string;
|
|
6
6
|
scopedVersions?: {
|
|
7
|
-
[
|
|
7
|
+
[packageId: PackageNameVersion]: PackageNameVersion;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
export declare type ResolveMap = {
|
|
11
|
-
[
|
|
11
|
+
[packageId: PackageNameVersion | string]: ResolveMapEntry;
|
|
12
12
|
};
|
|
13
13
|
export declare function createResolveMap(options: {
|
|
14
14
|
appPath: string;
|
|
15
15
|
additionalPaths?: string[];
|
|
16
|
-
}): Promise<
|
|
17
|
-
resolveMap: ResolveMap;
|
|
18
|
-
stats: InstalledPackagesResult['stats'];
|
|
19
|
-
}>;
|
|
16
|
+
}): Promise<ResolveMap>;
|
package/lib/createResolveMap.js
CHANGED
|
@@ -1,116 +1,65 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
// import path from 'path';
|
|
4
|
-
import { resolveImportFromPackagePath } from './resolveImportFromPackagePath.js';
|
|
5
|
-
/*
|
|
6
|
-
For each package:
|
|
7
|
-
|
|
8
|
-
1. Resolve the version required from the lockfile.
|
|
9
|
-
2. Determine what version is installed.
|
|
10
|
-
3. If version required was not found, default to the version installed.
|
|
11
|
-
4. If no lockfile version is installed, get metadata and use the latest.
|
|
12
|
-
5. If there is no installed version, or the version installed does not
|
|
13
|
-
satisfy the required version, install the version required.
|
|
14
|
-
|
|
15
|
-
Repeat this process for each *unique* version resolved.
|
|
16
|
-
|
|
17
|
-
{
|
|
18
|
-
react: {
|
|
19
|
-
'7.1.0': { path: '...', requiredBy: [ { name: 'foo', version: '1.1.1' }, { name: 'bar'}],
|
|
20
|
-
'6.9.0': [ { name: 'baz' } ]
|
|
21
|
-
},
|
|
22
|
-
etc...
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
This should be enough to know which dependencies have dupes.
|
|
26
|
-
|
|
27
|
-
Then, optimize the resolve map to top-level the most common/latest versions. This map will provide
|
|
28
|
-
physical paths for resolving dependencies, where each key in the package object represents the scope.
|
|
29
|
-
This is useful because at esbuild resolve time, we can quickly identify which package the import source
|
|
30
|
-
is coming from, and quickly look up the package resolution by:
|
|
31
|
-
|
|
32
|
-
`const packageDetails = resolveMap[requestPackage][sourcePackage] || resolveMap[requestPackage].default`
|
|
33
|
-
|
|
34
|
-
{
|
|
35
|
-
react: {
|
|
36
|
-
version: string;
|
|
37
|
-
path: '/tmp/react/7.1.0',
|
|
38
|
-
entry: './lib/index.js'
|
|
39
|
-
|
|
40
|
-
scopedVersions: {
|
|
41
|
-
baz: { // when bar imports 'react', resolve to this other location.
|
|
42
|
-
path: '/tmp/react/6.9.0'
|
|
43
|
-
entry: './lib/index.js'
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
etc: ...
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
By optimizing the default to be the most common package, we can reduce the scope entries.
|
|
51
|
-
|
|
52
|
-
Note that when we have dupes, this will keep them intact and will not try to optimize. It could be that
|
|
53
|
-
holding back one package could dedupe. In the example above, perhaps "foo" and "bar" packages could be
|
|
54
|
-
downgraded to a build which accepts 6.9.0. But it could also introduce other dupes.
|
|
55
|
-
*/
|
|
1
|
+
import { getPackageDefinition } from './getPackageDefinition.js';
|
|
2
|
+
import { findPackagePath } from './findPackagePath.js';
|
|
56
3
|
export async function createResolveMap(options) {
|
|
57
4
|
const { appPath, additionalPaths = [] } = options;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
const
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
5
|
+
const visitedPaths = new Set([appPath, ...additionalPaths]);
|
|
6
|
+
const pathsToVisit = [appPath, ...additionalPaths];
|
|
7
|
+
const relationships = {};
|
|
8
|
+
const allEntries = {};
|
|
9
|
+
while (pathsToVisit.length) {
|
|
10
|
+
const packagePath = pathsToVisit.shift();
|
|
11
|
+
if (packagePath) {
|
|
12
|
+
const definition = await getPackageDefinition(packagePath, true);
|
|
13
|
+
if (definition) {
|
|
14
|
+
const packageId = `${definition.name}@${definition.version}`;
|
|
15
|
+
allEntries[packageId] = createMapEntry(definition, packagePath);
|
|
16
|
+
for (const depName of Object.keys(definition?.dependencies || {})) {
|
|
17
|
+
const dependencyPath = findPackagePath(depName, packagePath);
|
|
18
|
+
const dependencyDefinition = await getPackageDefinition(dependencyPath, true);
|
|
19
|
+
if (dependencyDefinition) {
|
|
20
|
+
const depVersionList = (relationships[dependencyDefinition.name] =
|
|
21
|
+
relationships[dependencyDefinition.name] || {});
|
|
22
|
+
const relationshipList = (depVersionList[dependencyDefinition.version] =
|
|
23
|
+
depVersionList[dependencyDefinition.version] || []);
|
|
24
|
+
relationshipList.push(packageId);
|
|
25
|
+
if (!visitedPaths.has(dependencyPath)) {
|
|
26
|
+
visitedPaths.add(dependencyPath);
|
|
27
|
+
pathsToVisit.push(dependencyPath);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
// Now we have all entries and relationships. Iterate through the relationships to build
|
|
35
|
+
// The final resolve map.
|
|
74
36
|
const resolveMap = {};
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
const versions = Object.keys(installedPackages[packageName]).sort((a, b) => installedPackages[packageName][a].requiredBy?.length > installedPackages[packageName][b].requiredBy.length
|
|
79
|
-
? -1
|
|
80
|
-
: 1);
|
|
81
|
-
// Default to the most used version to dedupe. All other versions scope to specifics.
|
|
82
|
-
const defaultVersionEntry = installedPackages[packageName][versions[0]];
|
|
83
|
-
// Define the default resolved version for the package.
|
|
84
|
-
const depResolveEntry = (resolveMap[packageName] = {
|
|
85
|
-
version: versions[0],
|
|
86
|
-
path: defaultVersionEntry.path,
|
|
87
|
-
entry: await resolveImportFromPackagePath(defaultVersionEntry.path, '', {
|
|
88
|
-
preferSource: false,
|
|
89
|
-
}),
|
|
37
|
+
for (const [name, versions] of Object.entries(relationships)) {
|
|
38
|
+
const [dominantVersion, ...otherVersions] = Object.keys(versions).sort((a, b) => {
|
|
39
|
+
return versions[a].length < versions[b].length ? 1 : -1;
|
|
90
40
|
});
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
const
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
entry: await resolveImportFromPackagePath(scopedPackage.path, '', {
|
|
102
|
-
preferSource: false,
|
|
103
|
-
}),
|
|
104
|
-
};
|
|
41
|
+
const dominantId = `${name}@${dominantVersion}`;
|
|
42
|
+
const entry = (resolveMap[name] = resolveMap[dominantId] = allEntries[dominantId]);
|
|
43
|
+
if (otherVersions?.length) {
|
|
44
|
+
entry.scopedVersions = {};
|
|
45
|
+
for (const otherVersion of otherVersions) {
|
|
46
|
+
const scopedId = `${name}@${otherVersion}`;
|
|
47
|
+
const dependents = relationships[name][otherVersion];
|
|
48
|
+
resolveMap[scopedId] = allEntries[scopedId];
|
|
49
|
+
for (const dependentId of dependents) {
|
|
50
|
+
entry.scopedVersions[dependentId] = scopedId;
|
|
105
51
|
}
|
|
106
52
|
}
|
|
107
53
|
}
|
|
108
54
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
55
|
+
return resolveMap;
|
|
56
|
+
}
|
|
57
|
+
function createMapEntry(packageDefinition, packagePath) {
|
|
58
|
+
const { name, version } = packageDefinition;
|
|
59
|
+
return {
|
|
60
|
+
name,
|
|
61
|
+
version,
|
|
62
|
+
path: packagePath,
|
|
63
|
+
};
|
|
115
64
|
}
|
|
116
65
|
//# sourceMappingURL=createResolveMap.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createResolveMap.js","sourceRoot":"","sources":["../src/createResolveMap.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createResolveMap.js","sourceRoot":"","sources":["../src/createResolveMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAA0B,MAAM,2BAA2B,CAAC;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAiBvD,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,OAAwD;IAC7F,MAAM,EAAE,OAAO,EAAE,eAAe,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;IAClD,MAAM,YAAY,GAAG,IAAI,GAAG,CAAS,CAAC,OAAO,EAAE,GAAG,eAAe,CAAC,CAAC,CA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KACF;IAED,OAAO,UAAU,CAAC;AACpB,CAAC;AAED,SAAS,cAAc,CAAC,iBAAoC,EAAE,WAAmB;IAC/E,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,iBAAiB,CAAC;IAE5C,OAAO;QACL,IAAI;QACJ,OAAO;QACP,IAAI,EAAE,WAAW;KAClB,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function findPackagePath(dependencyName: string, cwd: string): string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import path from 'path';
|
|
2
|
+
import fs from 'fs';
|
|
3
|
+
export function findPackagePath(dependencyName, cwd) {
|
|
4
|
+
let packagePath = cwd;
|
|
5
|
+
while (path.dirname(packagePath) !== packagePath) {
|
|
6
|
+
const resolvedPath = path.join(packagePath, 'node_modules', dependencyName);
|
|
7
|
+
if (fs.existsSync(path.join(resolvedPath, 'package.json'))) {
|
|
8
|
+
return fs.realpathSync(resolvedPath);
|
|
9
|
+
}
|
|
10
|
+
packagePath = path.dirname(packagePath);
|
|
11
|
+
}
|
|
12
|
+
throw new Error(`Could not resolve "${dependencyName}" from "${cwd}"`);
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=findPackagePath.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"findPackagePath.js","sourceRoot":"","sources":["../src/findPackagePath.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,MAAM,IAAI,CAAC;AAEpB,MAAM,UAAU,eAAe,CAAC,cAAsB,EAAE,GAAW;IACjE,IAAI,WAAW,GAAG,GAAG,CAAC;IAEtB,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,WAAW,EAAE;QAChD,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,cAAc,EAAE,cAAc,CAAC,CAAC;QAE5E,IAAI,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC,EAAE;YAC1D,OAAO,EAAE,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;SACtC;QAED,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;KACzC;IAED,MAAM,IAAI,KAAK,CAAC,sBAAsB,cAAc,WAAW,GAAG,GAAG,CAAC,CAAC;AACzE,CAAC"}
|
|
@@ -15,7 +15,7 @@ export interface ResolveImportFromPackageOptions {
|
|
|
15
15
|
*/
|
|
16
16
|
export declare function resolveImportFromPackagePath(packagePath: string, requestedPath?: string, options?: ResolveImportFromPackageOptions): Promise<string>;
|
|
17
17
|
/**
|
|
18
|
-
* Resolves a requested import path from a package located at the given path. Gives
|
|
18
|
+
* Resolves a requested import path from a package located at the given path. Gives precedence
|
|
19
19
|
* to browser/esm options. This may change in a future iteration.
|
|
20
20
|
*/
|
|
21
21
|
export declare function resolveImportFromPackage(packagePath: string, packageDefinition: PackageDefinition, importPath?: string, options?: ResolveImportFromPackageOptions): Promise<string>;
|
|
@@ -16,7 +16,7 @@ export async function resolveImportFromPackagePath(packagePath, requestedPath =
|
|
|
16
16
|
return resolveImportFromPackage(packagePath, packageDefinition, requestedPath, options);
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* Resolves a requested import path from a package located at the given path. Gives
|
|
19
|
+
* Resolves a requested import path from a package located at the given path. Gives precedence
|
|
20
20
|
* to browser/esm options. This may change in a future iteration.
|
|
21
21
|
*/
|
|
22
22
|
export async function resolveImportFromPackage(packagePath, packageDefinition, importPath = '', options = {}) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ms-cloudpack/package-utilities",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Utilities for resolving/parsing packages and their imports.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@babel/parser": "^7.16.12",
|
|
17
17
|
"@babel/traverse": "^7.16.10",
|
|
18
|
-
"@ms-cloudpack/path-utilities": "^0.
|
|
18
|
+
"@ms-cloudpack/path-utilities": "^0.2.0",
|
|
19
19
|
"resolve": "^1.22.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
package/lib/tsdoc-metadata.json
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
-
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
-
{
|
|
4
|
-
"tsdocVersion": "0.12",
|
|
5
|
-
"toolPackages": [
|
|
6
|
-
{
|
|
7
|
-
"packageName": "@microsoft/api-extractor",
|
|
8
|
-
"packageVersion": "7.24.0"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|