Skip to content

Commit

Permalink
refactor(angular): drop support for angular < 13
Browse files Browse the repository at this point in the history
According to the Angular LTS plan, Angular 12
support ends in Nov 2022. A lot of code exists
to support Angular < 13 which increases the
maintenance effort and decreases the
contribution DX of framework/angular.

BREAKING CHANGE: Dropped support for Angular 12
  • Loading branch information
kroeder committed Oct 5, 2022
1 parent 01064b7 commit c16bb70
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 749 deletions.
22 changes: 11 additions & 11 deletions code/frameworks/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,17 @@
"webpack": "5"
},
"peerDependencies": {
"@angular-devkit/architect": ">=0.8.9",
"@angular-devkit/build-angular": ">=0.8.9 || >= 12.0.0",
"@angular-devkit/core": "^0.6.1 || >=7.0.0",
"@angular/cli": ">=6.0.0",
"@angular/common": ">=6.0.0",
"@angular/compiler": ">=6.0.0",
"@angular/compiler-cli": ">=6.0.0",
"@angular/core": ">=6.0.0",
"@angular/forms": ">=6.0.0",
"@angular/platform-browser": ">=6.0.0",
"@angular/platform-browser-dynamic": ">=6.0.0",
"@angular-devkit/architect": ">=0.1300.0",
"@angular-devkit/build-angular": ">=13.0.0",
"@angular-devkit/core": ">=13.0.0",
"@angular/cli": ">=13.0.0",
"@angular/common": ">=13.0.0",
"@angular/compiler": ">=13.0.0",
"@angular/compiler-cli": ">=13.0.0",
"@angular/core": ">=13.0.0",
"@angular/forms": ">=13.0.0",
"@angular/platform-browser": ">=13.0.0",
"@angular/platform-browser-dynamic": ">=13.0.0",
"@babel/core": "*",
"@nrwl/workspace": "14.6.1",
"rxjs": "^6.0.0 || ^7.4.0",
Expand Down
1 change: 0 additions & 1 deletion code/frameworks/angular/src/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { PresetProperty } from '@storybook/core-common';
import { StorybookConfig } from './types';

export const addons: PresetProperty<'addons', StorybookConfig> = [
require.resolve('./server/framework-preset-angular'),
require.resolve('./server/framework-preset-angular-cli'),
require.resolve('./server/framework-preset-angular-ivy'),
require.resolve('./server/framework-preset-angular-docs'),
Expand Down

This file was deleted.

42 changes: 0 additions & 42 deletions code/frameworks/angular/src/server/__tests__/ts_config.test.ts

This file was deleted.

This file was deleted.

85 changes: 0 additions & 85 deletions code/frameworks/angular/src/server/angular-cli-webpack-12.2.x.js

This file was deleted.

148 changes: 0 additions & 148 deletions code/frameworks/angular/src/server/angular-cli-webpack-older.ts

This file was deleted.

Loading

0 comments on commit c16bb70

Please sign in to comment.