workspace-tools 0.23.2 → 0.23.3
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 +16 -1
- package/CHANGELOG.md +10 -2
- package/lib/graph/index.d.ts +5 -0
- package/lib/graph/index.js +6 -2
- package/package.json +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,22 @@
|
|
|
2
2
|
"name": "workspace-tools",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Fri, 15 Jul 2022
|
|
5
|
+
"date": "Fri, 15 Jul 2022 07:09:46 GMT",
|
|
6
|
+
"tag": "workspace-tools_v0.23.3",
|
|
7
|
+
"version": "0.23.3",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "ken@gizzar.com",
|
|
12
|
+
"package": "workspace-tools",
|
|
13
|
+
"comment": "change the api to be restored to have getDependentMap (actually gets dependencies)",
|
|
14
|
+
"commit": "4228af963584e87f6ba028f6e66abf7c6ae30700"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Fri, 15 Jul 2022 05:05:48 GMT",
|
|
6
21
|
"tag": "workspace-tools_v0.23.2",
|
|
7
22
|
"version": "0.23.2",
|
|
8
23
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
# Change Log - workspace-tools
|
|
2
2
|
|
|
3
|
-
This log was last generated on Fri, 15 Jul 2022
|
|
3
|
+
This log was last generated on Fri, 15 Jul 2022 07:09:46 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.23.3
|
|
8
|
+
|
|
9
|
+
Fri, 15 Jul 2022 07:09:46 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- change the api to be restored to have getDependentMap (actually gets dependencies) (ken@gizzar.com)
|
|
14
|
+
|
|
7
15
|
## 0.23.2
|
|
8
16
|
|
|
9
|
-
Fri, 15 Jul 2022 05:05:
|
|
17
|
+
Fri, 15 Jul 2022 05:05:48 GMT
|
|
10
18
|
|
|
11
19
|
### Patches
|
|
12
20
|
|
package/lib/graph/index.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
export * from "./createPackageGraph";
|
|
2
2
|
import { PackageInfos } from "../types/PackageInfo";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated - use createDependencyMap() instead
|
|
5
|
+
*
|
|
6
|
+
* Gets a map that has the package name as key, and its dependencies as values
|
|
7
|
+
*/
|
|
3
8
|
export declare function getDependentMap(packages: PackageInfos): Map<string, Set<string>>;
|
package/lib/graph/index.js
CHANGED
|
@@ -13,8 +13,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
13
13
|
exports.getDependentMap = void 0;
|
|
14
14
|
__exportStar(require("./createPackageGraph"), exports);
|
|
15
15
|
const createDependencyMap_1 = require("./createDependencyMap");
|
|
16
|
-
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated - use createDependencyMap() instead
|
|
18
|
+
*
|
|
19
|
+
* Gets a map that has the package name as key, and its dependencies as values
|
|
20
|
+
*/
|
|
17
21
|
function getDependentMap(packages) {
|
|
18
|
-
return (0, createDependencyMap_1.createDependencyMap)(packages).
|
|
22
|
+
return (0, createDependencyMap_1.createDependencyMap)(packages).dependencies;
|
|
19
23
|
}
|
|
20
24
|
exports.getDependentMap = getDependentMap;
|