Comparing version 19.6.0-canary.20240731-341f295 to 19.6.0-canary.20240801-2111841
{ | ||
"name": "nx", | ||
"version": "19.6.0-canary.20240731-341f295", | ||
"version": "19.6.0-canary.20240801-2111841", | ||
"private": false, | ||
@@ -74,3 +74,3 @@ "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.", | ||
"ora": "5.3.0", | ||
"@nrwl/tao": "19.6.0-canary.20240731-341f295" | ||
"@nrwl/tao": "19.6.0-canary.20240801-2111841" | ||
}, | ||
@@ -90,12 +90,12 @@ "peerDependencies": { | ||
"optionalDependencies": { | ||
"@nx/nx-darwin-x64": "19.6.0-canary.20240731-341f295", | ||
"@nx/nx-darwin-arm64": "19.6.0-canary.20240731-341f295", | ||
"@nx/nx-linux-x64-gnu": "19.6.0-canary.20240731-341f295", | ||
"@nx/nx-linux-x64-musl": "19.6.0-canary.20240731-341f295", | ||
"@nx/nx-win32-x64-msvc": "19.6.0-canary.20240731-341f295", | ||
"@nx/nx-linux-arm64-gnu": "19.6.0-canary.20240731-341f295", | ||
"@nx/nx-linux-arm64-musl": "19.6.0-canary.20240731-341f295", | ||
"@nx/nx-linux-arm-gnueabihf": "19.6.0-canary.20240731-341f295", | ||
"@nx/nx-win32-arm64-msvc": "19.6.0-canary.20240731-341f295", | ||
"@nx/nx-freebsd-x64": "19.6.0-canary.20240731-341f295" | ||
"@nx/nx-darwin-x64": "19.6.0-canary.20240801-2111841", | ||
"@nx/nx-darwin-arm64": "19.6.0-canary.20240801-2111841", | ||
"@nx/nx-linux-x64-gnu": "19.6.0-canary.20240801-2111841", | ||
"@nx/nx-linux-x64-musl": "19.6.0-canary.20240801-2111841", | ||
"@nx/nx-win32-x64-msvc": "19.6.0-canary.20240801-2111841", | ||
"@nx/nx-linux-arm64-gnu": "19.6.0-canary.20240801-2111841", | ||
"@nx/nx-linux-arm64-musl": "19.6.0-canary.20240801-2111841", | ||
"@nx/nx-linux-arm-gnueabihf": "19.6.0-canary.20240801-2111841", | ||
"@nx/nx-win32-arm64-msvc": "19.6.0-canary.20240801-2111841", | ||
"@nx/nx-freebsd-x64": "19.6.0-canary.20240801-2111841" | ||
}, | ||
@@ -102,0 +102,0 @@ "nx-migrations": { |
@@ -118,4 +118,8 @@ { | ||
"anyOf": [ | ||
{ "required": ["projects"] }, | ||
{ "required": ["dependencies"] } | ||
{ | ||
"required": ["projects"] | ||
}, | ||
{ | ||
"required": ["dependencies"] | ||
} | ||
] | ||
@@ -142,2 +146,13 @@ } | ||
"description": "Whether this target can be run in parallel with other tasks" | ||
}, | ||
"metadata": { | ||
"type": "object", | ||
"description": "Metadata about the target", | ||
"properties": { | ||
"description": { | ||
"type": "string", | ||
"description": "A description of the target" | ||
} | ||
}, | ||
"additionalProperties": true | ||
} | ||
@@ -159,2 +174,13 @@ } | ||
}, | ||
"metadata": { | ||
"type": "object", | ||
"description": "Metadata about the project.", | ||
"properties": { | ||
"description": { | ||
"type": "string", | ||
"description": "A description of the project." | ||
} | ||
}, | ||
"additionalProperties": true | ||
}, | ||
"release": { | ||
@@ -211,3 +237,5 @@ "type": "object", | ||
"description": "The projects that the targets belong to.", | ||
"items": { "type": "string" } | ||
"items": { | ||
"type": "string" | ||
} | ||
} | ||
@@ -236,4 +264,8 @@ ] | ||
"anyOf": [ | ||
{ "required": ["projects"] }, | ||
{ "required": ["dependencies"] } | ||
{ | ||
"required": ["projects"] | ||
}, | ||
{ | ||
"required": ["dependencies"] | ||
} | ||
] | ||
@@ -270,3 +302,5 @@ } | ||
"type": "array", | ||
"items": { "type": "string" }, | ||
"items": { | ||
"type": "string" | ||
}, | ||
"description": "The list of external dependencies that our target depends on for `nx:run-commands` and community plugins." | ||
@@ -273,0 +307,0 @@ } |
@@ -913,3 +913,7 @@ "use strict"; | ||
}); | ||
logger_1.logger.info(`Running the following migrations:`); | ||
sortedMigrations.forEach((m) => logger_1.logger.info(`- ${m.package}: ${m.name} (${m.description})`)); | ||
logger_1.logger.info(`---------------------------------------------------------\n`); | ||
for (const m of sortedMigrations) { | ||
logger_1.logger.info(`Running migration ${m.package}: ${m.name}`); | ||
try { | ||
@@ -919,10 +923,12 @@ const { collection, collectionPath } = readMigrationCollection(m.package, root); | ||
const changes = await runNxMigration(root, collectionPath, collection, m.name); | ||
logger_1.logger.info(`Ran ${m.name} from ${m.package}`); | ||
logger_1.logger.info(` ${m.description}\n`); | ||
if (changes.length < 1) { | ||
logger_1.logger.info(`No changes were made\n`); | ||
migrationsWithNoChanges.push(m); | ||
// If no changes are made, continue on without printing anything | ||
continue; | ||
} | ||
logger_1.logger.info(`Ran ${m.name} from ${m.package}`); | ||
logger_1.logger.info(` ${m.description}\n`); | ||
logger_1.logger.info('Changes:'); | ||
(0, tree_1.printChanges)(changes, ' '); | ||
logger_1.logger.info(''); | ||
} | ||
@@ -932,10 +938,12 @@ else { | ||
const { madeChanges, loggingQueue } = await ngCliAdapter.runMigration(root, m.package, m.name, (0, project_graph_1.readProjectsConfigurationFromProjectGraph)(await (0, project_graph_1.createProjectGraphAsync)()).projects, isVerbose); | ||
logger_1.logger.info(`Ran ${m.name} from ${m.package}`); | ||
logger_1.logger.info(` ${m.description}\n`); | ||
if (!madeChanges) { | ||
logger_1.logger.info(`No changes were made\n`); | ||
migrationsWithNoChanges.push(m); | ||
// If no changes are made, continue on without printing anything | ||
continue; | ||
} | ||
logger_1.logger.info(`Ran ${m.name} from ${m.package}`); | ||
logger_1.logger.info(` ${m.description}\n`); | ||
logger_1.logger.info('Changes:'); | ||
loggingQueue.forEach((log) => logger_1.logger.info(' ' + log)); | ||
logger_1.logger.info(''); | ||
} | ||
@@ -942,0 +950,0 @@ if (shouldCreateCommits) { |
@@ -11,3 +11,5 @@ "use strict"; | ||
try { | ||
const gitRemote = (0, child_process_1.execSync)('git remote -v').toString(); | ||
const gitRemote = (0, child_process_1.execSync)('git remote -v', { | ||
stdio: 'pipe', | ||
}).toString(); | ||
// If there are no remotes, we default to github | ||
@@ -14,0 +16,0 @@ if (!gitRemote || gitRemote.length === 0) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7178826
49187
+ Added@nrwl/tao@19.6.0-canary.20240801-2111841(transitive)
+ Added@nx/nx-darwin-arm64@19.6.0-canary.20240801-2111841(transitive)
+ Added@nx/nx-darwin-x64@19.6.0-canary.20240801-2111841(transitive)
+ Added@nx/nx-freebsd-x64@19.6.0-canary.20240801-2111841(transitive)
+ Added@nx/nx-linux-arm-gnueabihf@19.6.0-canary.20240801-2111841(transitive)
+ Added@nx/nx-linux-arm64-gnu@19.6.0-canary.20240801-2111841(transitive)
+ Added@nx/nx-linux-arm64-musl@19.6.0-canary.20240801-2111841(transitive)
+ Added@nx/nx-linux-x64-gnu@19.6.0-canary.20240801-2111841(transitive)
+ Added@nx/nx-linux-x64-musl@19.6.0-canary.20240801-2111841(transitive)
+ Added@nx/nx-win32-arm64-msvc@19.6.0-canary.20240801-2111841(transitive)
+ Added@nx/nx-win32-x64-msvc@19.6.0-canary.20240801-2111841(transitive)
- Removed@nrwl/tao@19.6.0-canary.20240731-341f295(transitive)
- Removed@nx/nx-darwin-arm64@19.6.0-canary.20240731-341f295(transitive)
- Removed@nx/nx-darwin-x64@19.6.0-canary.20240731-341f295(transitive)
- Removed@nx/nx-freebsd-x64@19.6.0-canary.20240731-341f295(transitive)
- Removed@nx/nx-linux-arm-gnueabihf@19.6.0-canary.20240731-341f295(transitive)
- Removed@nx/nx-linux-arm64-gnu@19.6.0-canary.20240731-341f295(transitive)
- Removed@nx/nx-linux-arm64-musl@19.6.0-canary.20240731-341f295(transitive)
- Removed@nx/nx-linux-x64-gnu@19.6.0-canary.20240731-341f295(transitive)
- Removed@nx/nx-linux-x64-musl@19.6.0-canary.20240731-341f295(transitive)
- Removed@nx/nx-win32-arm64-msvc@19.6.0-canary.20240731-341f295(transitive)
- Removed@nx/nx-win32-x64-msvc@19.6.0-canary.20240731-341f295(transitive)