@rxap/plugin-utilities 16.4.0-dev.0 → 16.4.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.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [16.4.0](https://gitlab.com/rxap/packages/compare/@rxap/plugin-utilities@16.4.0-dev.1...@rxap/plugin-utilities@16.4.0) (2024-05-27)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rxap/plugin-utilities
|
|
9
|
+
|
|
10
|
+
# [16.4.0-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/plugin-utilities@16.4.0-dev.0...@rxap/plugin-utilities@16.4.0-dev.1) (2024-05-27)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **plugin-utilities:** change cache variables to nullable in project-package-name-mapping.ts ([5b1d168](https://gitlab.com/rxap/packages/commit/5b1d16837debeb7ba26eaa0d7a5533c05c6e3abd))
|
|
15
|
+
|
|
6
16
|
# [16.4.0-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/plugin-utilities@16.3.0...@rxap/plugin-utilities@16.4.0-dev.0) (2024-05-04)
|
|
7
17
|
|
|
8
18
|
### Features
|
package/README.md
CHANGED
|
@@ -17,5 +17,5 @@ yarn add @rxap/plugin-utilities
|
|
|
17
17
|
```
|
|
18
18
|
**Install peer dependencies:**
|
|
19
19
|
```bash
|
|
20
|
-
yarn add @nx/devkit@^16.10.0 @rxap/node-utilities@^1.2.0 @rxap/workspace-utilities@^16.
|
|
20
|
+
yarn add @nx/devkit@^16.10.0 @rxap/node-utilities@^1.2.0 @rxap/workspace-utilities@^16.3.0-dev.2 tslib@2.6.2
|
|
21
21
|
```
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "16.4.0
|
|
2
|
+
"version": "16.4.0",
|
|
3
3
|
"name": "@rxap/plugin-utilities",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"dependencies": {
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"peerDependencies": {
|
|
14
14
|
"@nx/devkit": "^16.10.0",
|
|
15
15
|
"@rxap/node-utilities": "^1.2.0",
|
|
16
|
-
"@rxap/workspace-utilities": "^16.
|
|
16
|
+
"@rxap/workspace-utilities": "^16.3.0-dev.2",
|
|
17
17
|
"tslib": "2.6.2",
|
|
18
|
-
"@rxap/utilities": "16.2.0
|
|
18
|
+
"@rxap/utilities": "16.2.0"
|
|
19
19
|
},
|
|
20
20
|
"author": {
|
|
21
21
|
"name": "Merzough Münker",
|
|
@@ -37,16 +37,20 @@
|
|
|
37
37
|
"nx-migrations": {
|
|
38
38
|
"packageGroup": [
|
|
39
39
|
{
|
|
40
|
-
"package": "@
|
|
41
|
-
"version": "
|
|
40
|
+
"package": "@nx/devkit",
|
|
41
|
+
"version": "16.10.0"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"package": "@rxap/node-utilities",
|
|
45
45
|
"version": "1.2.0"
|
|
46
46
|
},
|
|
47
|
+
{
|
|
48
|
+
"package": "@rxap/utilities",
|
|
49
|
+
"version": "16.2.0-dev.1"
|
|
50
|
+
},
|
|
47
51
|
{
|
|
48
52
|
"package": "@rxap/workspace-utilities",
|
|
49
|
-
"version": "16.
|
|
53
|
+
"version": "16.3.0-dev.2"
|
|
50
54
|
}
|
|
51
55
|
]
|
|
52
56
|
},
|
|
@@ -60,6 +64,6 @@
|
|
|
60
64
|
"directory": "packages/plugin/utilities"
|
|
61
65
|
},
|
|
62
66
|
"type": "commonjs",
|
|
63
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "a926b765ac01af68277730afc1cff704837f5ab0",
|
|
64
68
|
"main": "./src/index.js"
|
|
65
69
|
}
|
|
@@ -2,14 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HasProjectWithPackageName = exports.ProjectNameToPackageName = exports.PackageNameToProjectName = exports.LoadProjectToPackageMapping = void 0;
|
|
4
4
|
const fs_1 = require("fs");
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
let PACKAGE_NAME_TO_PROJECT_NAME_CACHE = null;
|
|
6
|
+
let PROJECT_NAME_TO_PACKAGE_NAME_CACHE = null;
|
|
7
7
|
function LoadProjectToPackageMapping(context) {
|
|
8
8
|
const { projectGraph } = context;
|
|
9
9
|
if (!projectGraph) {
|
|
10
10
|
throw new Error('The projectGraph is undefined. Ensure the projectGraph is passed into the executor context.');
|
|
11
11
|
}
|
|
12
12
|
const projectNames = Object.keys(projectGraph.nodes);
|
|
13
|
+
PACKAGE_NAME_TO_PROJECT_NAME_CACHE = {};
|
|
14
|
+
PROJECT_NAME_TO_PACKAGE_NAME_CACHE = {};
|
|
13
15
|
for (const projectName of projectNames) {
|
|
14
16
|
const project = projectGraph.nodes[projectName];
|
|
15
17
|
if (project.type !== 'lib') {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-package-name-mapping.js","sourceRoot":"","sources":["../../../../../../packages/plugin/utilities/src/lib/project-package-name-mapping.ts"],"names":[],"mappings":";;;AACA,2BAGY;AAEZ,
|
|
1
|
+
{"version":3,"file":"project-package-name-mapping.js","sourceRoot":"","sources":["../../../../../../packages/plugin/utilities/src/lib/project-package-name-mapping.ts"],"names":[],"mappings":";;;AACA,2BAGY;AAEZ,IAAI,kCAAkC,GAAkC,IAAI,CAAC;AAC7E,IAAI,kCAAkC,GAAkC,IAAI,CAAC;AAE7E,SAAgB,2BAA2B,CAAC,OAAwB;IAElE,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC;IAEjC,IAAI,CAAC,YAAY,EAAE;QACjB,MAAM,IAAI,KAAK,CAAC,6FAA6F,CAAC,CAAC;KAChH;I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