diff --git a/packages/angular/migrations.json b/packages/angular/migrations.json index 981a18f54d..1e272200e5 100644 --- a/packages/angular/migrations.json +++ b/packages/angular/migrations.json @@ -55,11 +55,6 @@ "version": "11.0.0-beta.13", "description": "Update builder configurations and dependencies", "factory": "./src/migrations/update-11-0-0/update-builders-config" - }, - "update-11-1-0": { - "version": "11.1.0-beta.0", - "description": "Update @angular-eslint dependencies to v1", - "factory": "./src/migrations/update-11-1-0/update-11-1-0" } }, "packageJsonUpdates": { diff --git a/packages/angular/src/migrations/update-11-1-0/update-11-1-0.spec.ts b/packages/angular/src/migrations/update-11-1-0/update-11-1-0.spec.ts deleted file mode 100644 index e32eca1e45..0000000000 --- a/packages/angular/src/migrations/update-11-1-0/update-11-1-0.spec.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Tree } from '@angular-devkit/schematics'; -import { readJsonInTree, updateJsonInTree } from '@nrwl/workspace'; -import { callRule, runMigration } from '../../utils/testing'; - -describe('update-11-1-0', () => { - let tree: Tree; - beforeEach(async () => { - tree = Tree.empty(); - tree = await callRule( - updateJsonInTree('package.json', () => ({ - devDependencies: { - '@angular-eslint/eslint-plugin': '~1.0.0', - '@angular-eslint/eslint-plugin-template': '~1.0.0', - '@angular-eslint/template-parser': '~1.0.0', - }, - })), - tree - ); - }); - it('should update @angular-eslint dependencies to v1', async () => { - const result = await runMigration('update-11-1-0', {}, tree); - - const packageJson = readJsonInTree(result, 'package.json'); - - expect(packageJson).toMatchInlineSnapshot(` - Object { - "devDependencies": Object { - "@angular-eslint/eslint-plugin": "~1.0.0", - "@angular-eslint/eslint-plugin-template": "~1.0.0", - "@angular-eslint/template-parser": "~1.0.0", - }, - } - `); - }); -}); diff --git a/packages/angular/src/migrations/update-11-1-0/update-11-1-0.ts b/packages/angular/src/migrations/update-11-1-0/update-11-1-0.ts deleted file mode 100644 index 074433753a..0000000000 --- a/packages/angular/src/migrations/update-11-1-0/update-11-1-0.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { chain } from '@angular-devkit/schematics'; -import { formatFiles, updatePackagesInPackageJson } from '@nrwl/workspace'; -import { join } from 'path'; - -export default function () { - return chain([ - updatePackagesInPackageJson( - join(__dirname, '../../../migrations.json'), - '11.1.0' - ), - formatFiles(), - ]); -}