@nx/plugin 23.0.0-beta.23 → 23.0.0-beta.24
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": "23.0.0-beta.
|
|
3
|
+
"version": "23.0.0-beta.24",
|
|
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": {
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"tslib": "^2.3.0",
|
|
32
|
-
"@nx/devkit": "23.0.0-beta.
|
|
33
|
-
"@nx/jest": "23.0.0-beta.
|
|
34
|
-
"@nx/js": "23.0.0-beta.
|
|
35
|
-
"@nx/eslint": "23.0.0-beta.
|
|
32
|
+
"@nx/devkit": "23.0.0-beta.24",
|
|
33
|
+
"@nx/jest": "23.0.0-beta.24",
|
|
34
|
+
"@nx/js": "23.0.0-beta.24",
|
|
35
|
+
"@nx/eslint": "23.0.0-beta.24"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"nx": "23.0.0-beta.
|
|
38
|
+
"nx": "23.0.0-beta.24"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migration.d.ts","sourceRoot":"","sources":["../../../../../../packages/plugin/src/generators/migration/migration.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"migration.d.ts","sourceRoot":"","sources":["../../../../../../packages/plugin/src/generators/migration/migration.ts"],"names":[],"mappings":"AACA,OAAO,EAUL,KAAK,IAAI,EACV,MAAM,YAAY,CAAC;AAOpB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAqKvC,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,iBAuBlE;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -42,7 +42,9 @@ function updateMigrationsJson(host, options) {
|
|
|
42
42
|
const migrationsPath = (0, devkit_1.joinPathFragments)(options.projectRoot, configuredMigrationPath ?? 'migrations.json');
|
|
43
43
|
const migrations = host.exists(migrationsPath)
|
|
44
44
|
? (0, devkit_1.readJson)(host, migrationsPath)
|
|
45
|
-
: {
|
|
45
|
+
: {
|
|
46
|
+
$schema: `${(0, devkit_1.offsetFromRoot)((0, node_path_1.dirname)(migrationsPath))}node_modules/nx/schemas/migrations-schema.json`,
|
|
47
|
+
};
|
|
46
48
|
const generators = migrations.generators ?? {};
|
|
47
49
|
const dir = (0, paths_1.getArtifactMetadataDirectory)(host, options.project, options.directory, options.isTsSolutionSetup);
|
|
48
50
|
generators[options.name] = {
|
|
@@ -75,12 +75,6 @@
|
|
|
75
75
|
"type": "string",
|
|
76
76
|
"description": "A directory where the plugin E2E project is placed."
|
|
77
77
|
},
|
|
78
|
-
"standaloneConfig": {
|
|
79
|
-
"description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
|
|
80
|
-
"type": "boolean",
|
|
81
|
-
"default": true,
|
|
82
|
-
"x-deprecated": "Nx only supports standaloneConfig"
|
|
83
|
-
},
|
|
84
78
|
"setParserOptionsProject": {
|
|
85
79
|
"type": "boolean",
|
|
86
80
|
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|