@rxap/plugin-utilities 16.1.0-dev.17 → 16.1.0-dev.19

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,44 @@
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.1.0-dev.19](https://gitlab.com/rxap/packages/compare/@rxap/plugin-utilities@1.1.0-dev.0...@rxap/plugin-utilities@16.1.0-dev.19) (2023-10-11)
7
+
8
+ ### Bug Fixes
9
+
10
+ - add licence file to publishable packages ([d7de1cb](https://gitlab.com/rxap/packages/commit/d7de1cb9db1bd1628f37084e3b0ffd1755aa75f6))
11
+ - change from commonjs to es2022 ([cf675a7](https://gitlab.com/rxap/packages/commit/cf675a7254de9ce4b269264df59794dd42fcbd8b))
12
+ - ensure deterministic package json file ([ff6a814](https://gitlab.com/rxap/packages/commit/ff6a814637954ff34f8de1b81b07dd3bf382be83))
13
+ - ensure new line ([68718c6](https://gitlab.com/rxap/packages/commit/68718c6aeefe25313434cdd9f3decebcc0674e00))
14
+ - ensure the project name is not included in the project tag list ([46d4479](https://gitlab.com/rxap/packages/commit/46d44798258ea1b20df9d4408b9c0809f55027b2))
15
+ - expose generators as schematics ([8a58d07](https://gitlab.com/rxap/packages/commit/8a58d07c2f1dcfff75e724a418d7c3bddb2d0bbc))
16
+ - generate readme with peer dependencies to install ([27c2cd7](https://gitlab.com/rxap/packages/commit/27c2cd7d98f0c8a499b8c30719f49d69e4970ae9))
17
+ - if project source root is not defined use the project joined with src ([dd09c0e](https://gitlab.com/rxap/packages/commit/dd09c0ec6d0f5bd5b9fc030108cdaf990b6ab5f2))
18
+ - introduce Is\*Project functions ([3c9f251](https://gitlab.com/rxap/packages/commit/3c9f251f1d7be46ca366171e79e86ef2764fa3b0))
19
+ - only include project with package.json file ([8dcf3a2](https://gitlab.com/rxap/packages/commit/8dcf3a2a576c782d64552e7d692bca2330f90894))
20
+ - peer dependency issue ([ee95415](https://gitlab.com/rxap/packages/commit/ee95415370d9ef2396916d6c25061a0df791034a))
21
+ - remove nx dependency ([b2b98b0](https://gitlab.com/rxap/packages/commit/b2b98b01438e9439f9743fb27629c7e96072df45))
22
+ - split GuessOutputPath function ([470b93a](https://gitlab.com/rxap/packages/commit/470b93a97a44b11435ff045c79896d712c9721a9))
23
+ - support output path guess from project root ([77e184f](https://gitlab.com/rxap/packages/commit/77e184fe8779c6efbc3e06cb3e71a8cf7c4f3e5f))
24
+ - throw error if project does not exists in project graph ([c33145e](https://gitlab.com/rxap/packages/commit/c33145e114f6ac3c64da1dd7baa7e7c517437a9c))
25
+ - use absolute path to access files ([063676e](https://gitlab.com/rxap/packages/commit/063676e3a1f6061c9f3284f79e6ca8091242c0c7))
26
+
27
+ ### Features
28
+
29
+ - add CleanupPackageJson function ([08ad46c](https://gitlab.com/rxap/packages/commit/08ad46c1fe249aa3ab2ad349e856a5331d5b5d3f))
30
+ - add GetAllPackageDependenciesForProject function ([4059619](https://gitlab.com/rxap/packages/commit/405961962d45c0643037524956134bf7abd6bda5))
31
+ - add project to package name mapping utilities ([09aa733](https://gitlab.com/rxap/packages/commit/09aa7335b0caf599b61a41cfa8cb899a41f3d34a))
32
+ - add ProjectSourceRoot files utility functions ([66b9649](https://gitlab.com/rxap/packages/commit/66b9649fdbd90dcc59a4f8bd206a54c810246290))
33
+
34
+ ### Reverts
35
+
36
+ - change from commonjs to es2022 ([50eca61](https://gitlab.com/rxap/packages/commit/50eca61e9a89388d1cfeefb8b1029b302b6f307e))
37
+
38
+ # [16.1.0-dev.18](https://gitlab.com/rxap/packages/compare/@rxap/plugin-utilities@16.1.0-dev.17...@rxap/plugin-utilities@16.1.0-dev.18) (2023-10-02)
39
+
40
+ ### Bug Fixes
41
+
42
+ - introduce Is\*Project functions ([0f4a53a](https://gitlab.com/rxap/packages/commit/0f4a53a2a68c7f854d819c005a30957d8b1cb3c6))
43
+
6
44
  # [16.1.0-dev.17](https://gitlab.com/rxap/packages/compare/@rxap/plugin-utilities@16.1.0-dev.16...@rxap/plugin-utilities@16.1.0-dev.17) (2023-10-02)
7
45
 
8
46
  ### Bug Fixes
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.5.0 @rxap/generator-utilities@^1.1.0-dev.15 @rxap/node-utilities@^1.1.0-dev.10 @rxap/workspace-utilities@^0.1.0-dev.17 tslib@2.6.2
20
+ yarn add @nx/devkit@^16.5.0 @rxap/generator-utilities@^1.1.0-dev.17 @rxap/node-utilities@^1.1.0-dev.13 @rxap/workspace-utilities@^0.1.0-dev.21 tslib@2.6.2
21
21
  ```
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "16.1.0-dev.17",
2
+ "version": "16.1.0-dev.19",
3
3
  "name": "@rxap/plugin-utilities",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "dependencies": {
@@ -10,11 +10,11 @@
10
10
  },
11
11
  "peerDependencies": {
12
12
  "@nx/devkit": "^16.5.0",
13
- "@rxap/generator-utilities": "^1.1.0-dev.15",
14
- "@rxap/node-utilities": "^1.1.0-dev.10",
15
- "@rxap/workspace-utilities": "^0.1.0-dev.17",
13
+ "@rxap/generator-utilities": "^1.1.0-dev.17",
14
+ "@rxap/node-utilities": "^1.1.0-dev.13",
15
+ "@rxap/workspace-utilities": "^0.1.0-dev.21",
16
16
  "tslib": "2.6.2",
17
- "@rxap/utilities": "16.0.0-dev.19"
17
+ "@rxap/utilities": "16.0.0-dev.22"
18
18
  },
19
19
  "author": {
20
20
  "name": "Merzough Münker",
@@ -36,15 +36,15 @@
36
36
  "packageGroup": [
37
37
  {
38
38
  "package": "@rxap/generator-utilities",
39
- "version": "1.1.0-dev.15"
39
+ "version": "1.1.0-dev.17"
40
40
  },
41
41
  {
42
42
  "package": "@rxap/node-utilities",
43
- "version": "1.1.0-dev.10"
43
+ "version": "1.1.0-dev.13"
44
44
  },
45
45
  {
46
46
  "package": "@rxap/workspace-utilities",
47
- "version": "0.1.0-dev.17"
47
+ "version": "0.1.0-dev.21"
48
48
  }
49
49
  ]
50
50
  },
@@ -58,7 +58,7 @@
58
58
  "directory": "packages/plugin/utilities"
59
59
  },
60
60
  "type": "commonjs",
61
- "gitHead": "8e0aa5a7d6843573e4ee3fc195eb1344e4f325ec",
61
+ "gitHead": "cc79abe8b76799cf9e91a91b92e8172b23a74b13",
62
62
  "main": "./src/index.js",
63
63
  "types": "./src/index.d.ts"
64
64
  }
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SkipNonGeneratorsProject = void 0;
4
4
  const generator_utilities_1 = require("@rxap/generator-utilities");
5
+ const workspace_utilities_1 = require("@rxap/workspace-utilities");
5
6
  const generators_1 = require("./generators");
6
7
  function SkipNonGeneratorsProject(tree, options, project, projectName) {
7
- var _a;
8
8
  if ((0, generator_utilities_1.SkipProject)(tree, options, project, projectName)) {
9
9
  return true;
10
10
  }
11
- if (!((_a = project.tags) === null || _a === void 0 ? void 0 : _a.includes('plugin'))) {
11
+ if (!(0, workspace_utilities_1.IsPluginProject)(project)) {
12
12
  return true;
13
13
  }
14
14
  if (!(0, generators_1.HasGenerators)(tree, project)) {
@@ -1 +1 @@
1
- {"version":3,"file":"skip-non-generators-project.js","sourceRoot":"","sources":["../../../../../../packages/plugin/utilities/src/lib/skip-non-generators-project.ts"],"names":[],"mappings":";;;AAIA,mEAGmC;AACnC,6CAA6C;AAE7C,SAAgB,wBAAwB,CACtC,IAAU,EACV,OAA2B,EAC3B,OAA6B,EAC7B,WAAmB;;IAEnB,IAAI,IAAA,iCAAW,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE;QACpD,OAAO,IAAI,CAAC;KACb;IACD,IAAI,CAAC,CAAA,MAAA,OAAO,CAAC,IAAI,0CAAE,QAAQ,CAAC,QAAQ,CAAC,CAAA,EAAE;QACrC,OAAO,IAAI,CAAC;KACb;IACD,IAAI,CAAC,IAAA,0BAAa,EAAC,IAAI,EAAE,OAAO,CAAC,EAAE;QACjC,OAAO,IAAI,CAAC;KACb;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAjBD,4DAiBC"}
1
+ {"version":3,"file":"skip-non-generators-project.js","sourceRoot":"","sources":["../../../../../../packages/plugin/utilities/src/lib/skip-non-generators-project.ts"],"names":[],"mappings":";;;AAIA,mEAGmC;AACnC,mEAA4D;AAC5D,6CAA6C;AAE7C,SAAgB,wBAAwB,CACtC,IAAU,EACV,OAA2B,EAC3B,OAA6B,EAC7B,WAAmB;IAEnB,IAAI,IAAA,iCAAW,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE;QACpD,OAAO,IAAI,CAAC;KACb;IACD,IAAI,CAAC,IAAA,qCAAe,EAAC,OAAO,CAAC,EAAE;QAC7B,OAAO,IAAI,CAAC;KACb;IACD,IAAI,CAAC,IAAA,0BAAa,EAAC,IAAI,EAAE,OAAO,CAAC,EAAE;QACjC,OAAO,IAAI,CAAC;KACb;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAjBD,4DAiBC"}