@nrwl/tao
Advanced tools
Comparing version 8.7.1 to 8.8.0-beta.1
{ | ||
"name": "@nrwl/tao", | ||
"version": "8.7.1", | ||
"version": "8.8.0-beta.1", | ||
"description": "CLI for generating code and running commands", | ||
@@ -32,5 +32,5 @@ "repository": { | ||
"dependencies": { | ||
"@angular-devkit/schematics": "8.3.3", | ||
"@angular-devkit/core": "8.3.3", | ||
"@angular-devkit/architect": "0.803.3", | ||
"@angular-devkit/schematics": "8.3.14", | ||
"@angular-devkit/core": "8.3.14", | ||
"@angular-devkit/architect": "0.803.14", | ||
"inquirer": "^6.3.1", | ||
@@ -37,0 +37,0 @@ "minimist": "^1.2.0", |
@@ -11,3 +11,3 @@ <p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/nx-logo.png" width="450"></p> | ||
[![Join the chat at https://gitter.im/nrwl-nx/community](https://badges.gitter.im/nrwl-nx/community.svg)](https://gitter.im/nrwl-nx/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
[![Join us @nrwl/community on slack](https://img.shields.io/badge/slack-%40nrwl%2Fcommunity-brightgreen)](https://join.slack.com/t/nrwlcommunity/shared_invite/enQtNzMwMTQ2MjY0MDA1LWE4ZDZiYjM5ZjE0MWVjYmVmODM1MDEyZGU5NzA2YTM2MDM2ZDY3Yzg4YWU4MDI4YTcwZTM1ZWRjNzE5M2YzY2Y) | ||
[![Join us @nrwl/community on slack](https://img.shields.io/badge/slack-%40nrwl%2Fcommunity-brightgreen)](https://join.slack.com/t/nrwlcommunity/shared_invite/enQtNzU5MTE4OTQwOTk0LTgxY2E0ZWYzMWE0YzA5ZDA2MWM1NDVhNmI2ZWMyYmZhNWJiODk3MjkxZjY3MzU5ZjRmM2NmNWU1OTgyZmE4Mzc) | ||
@@ -18,13 +18,2 @@ </div> | ||
<p align="center"> | ||
<a href="https://hubs.ly/H0hWwWd0" target="_blank"> | ||
<img | ||
width="728" | ||
src="https://images.ctfassets.net/8eyogtwep6d2/4FZPkA6lK3IEwJFlmfB47/4b5fef4738d4b23c41007329fca37ad0/nrwl-connect-banner-with-shadow.png?w=1024" | ||
alt="Nrwl Connect platform"> | ||
</a> | ||
</p> | ||
<hr> | ||
# What is Nx? | ||
@@ -31,0 +20,0 @@ |
@@ -64,2 +64,10 @@ "use strict"; | ||
} | ||
if (!this.versions(targetPackage)) { | ||
return { | ||
[targetPackage]: { | ||
version: target.version, | ||
alwaysAddToPackageJson: !!target.alwaysAddToPackageJson | ||
} | ||
}; | ||
} | ||
let migrationsJson; | ||
@@ -66,0 +74,0 @@ try { |
@@ -16,3 +16,3 @@ "use strict"; | ||
const migrator = new migrate_1.Migrator({ | ||
versions: () => null, | ||
versions: () => '1.0', | ||
fetch: (p, v) => { | ||
@@ -322,2 +322,31 @@ throw new Error('cannot fetch'); | ||
})); | ||
it('should not throw when packages are missing', () => __awaiter(this, void 0, void 0, function* () { | ||
const migrator = new migrate_1.Migrator({ | ||
versions: p => (p === '@nrwl/nest' ? null : '1.0.0'), | ||
fetch: (p, v) => Promise.resolve({ | ||
version: '2.0.0', | ||
packageJsonUpdates: { one: { version: '2.0.0', packages: {} } } | ||
}), | ||
from: {}, | ||
to: {} | ||
}); | ||
yield migrator.updatePackageJson('@nrwl/workspace', '2.0.0'); | ||
})); | ||
it('should only fetch packages that are installed', () => __awaiter(this, void 0, void 0, function* () { | ||
const migrator = new migrate_1.Migrator({ | ||
versions: p => (p === '@nrwl/nest' ? null : '1.0.0'), | ||
fetch: (p, v) => { | ||
if (p === '@nrwl/nest') { | ||
throw new Error('Boom'); | ||
} | ||
return Promise.resolve({ | ||
version: '2.0.0', | ||
packageJsonUpdates: { one: { version: '2.0.0', packages: {} } } | ||
}); | ||
}, | ||
from: {}, | ||
to: {} | ||
}); | ||
yield migrator.updatePackageJson('@nrwl/workspace', '2.0.0'); | ||
})); | ||
}); | ||
@@ -324,0 +353,0 @@ describe('migrations', () => { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
86686
1804
1
195
+ Added@angular-devkit/architect@0.803.14(transitive)
+ Added@angular-devkit/core@8.3.14(transitive)
+ Added@angular-devkit/schematics@8.3.14(transitive)
- Removed@angular-devkit/architect@0.803.3(transitive)
- Removed@angular-devkit/core@8.3.3(transitive)
- Removed@angular-devkit/schematics@8.3.3(transitive)
Updated@angular-devkit/core@8.3.14