@nx/plugin 19.0.4 → 19.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/plugin",
3
- "version": "19.0.4",
3
+ "version": "19.0.6",
4
4
  "private": false,
5
5
  "description": "This plugin is used to create Nx plugins! It contains generators for generating common plugin features like generators, executors, migrations and more.",
6
6
  "repository": {
@@ -13,7 +13,7 @@
13
13
  "Nx",
14
14
  "CLI"
15
15
  ],
16
- "main": "./index.js",
16
+ "main": "./index",
17
17
  "types": "./index.d.ts",
18
18
  "author": "Nrwl",
19
19
  "license": "MIT",
@@ -29,11 +29,11 @@
29
29
  "dependencies": {
30
30
  "fs-extra": "^11.1.0",
31
31
  "tslib": "^2.3.0",
32
- "@nx/devkit": "19.0.4",
33
- "@nx/jest": "19.0.4",
34
- "@nx/js": "19.0.4",
35
- "@nx/eslint": "19.0.4",
36
- "@nrwl/nx-plugin": "19.0.4"
32
+ "@nx/devkit": "19.0.6",
33
+ "@nx/jest": "19.0.6",
34
+ "@nx/js": "19.0.6",
35
+ "@nx/eslint": "19.0.6",
36
+ "@nrwl/nx-plugin": "19.0.6"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public"
@@ -117,7 +117,7 @@ function updateMigrationsJsonForPlugin(tree, collectionPath) {
117
117
  }
118
118
  exports.default = updateCliPropsForPlugins;
119
119
  function deleteCliPropFromSchemaFile(collectionPath, entry, tree) {
120
- if (!entry.schema) {
120
+ if (typeof entry === 'string' || !entry.schema) {
121
121
  return;
122
122
  }
123
123
  const schemaPath = (0, devkit_1.joinPathFragments)((0, path_1.dirname)(collectionPath), entry.schema);