Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare 9 release #685

Merged
merged 3 commits into from
Feb 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions MIGRATION.MD
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
## Jest builder
1. jest-preset-angular version has been updated to 8. If you have any custom Jest configuration, make sure it matches the preset [version](https://github.com/thymikee/jest-preset-angular/releases/tag/v8.0.0).

2. If you're using Ivy (enabled by default in version 9) make sure you run `ngcc` in a `postinstall` hook. For more details refer to [this](https://github.com/just-jeb/angular-builders/issues/679#issuecomment-587525674) issue.

# Migration from version 7 to version 8

## Custom webpack builder
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

The purpose of this repository is to consolidate all the community builders for Angular build facade.

## The latest version of all the builders require Angular CLI 8 and incompatible with Angular CLI 7
## The latest version of all the builders require Angular CLI 9

## [Documentation for version 7](https://github.com/just-jeb/angular-builders/tree/7.x.x)

## [Migration guide from version 7 to version 8](./MIGRATION.MD)
## [Documentation for version 8](https://github.com/just-jeb/angular-builders/tree/8.x.x)

## [Migration guide](./MIGRATION.MD)

# Builders

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"clean": "npx lerna clean"
},
"devDependencies": {
"@angular/compiler": "^9.0.0-rc.5",
"@angular/compiler-cli": "^9.0.0-rc.5",
"@angular/compiler": "^9.0.0",
"@angular/compiler-cli": "^9.0.0",
"@commitlint/cli": "^8.3.3",
"@commitlint/config-conventional": "^8.3.3",
"@types/jest": "^25.1.0",
Expand Down
26 changes: 13 additions & 13 deletions packages/custom-webpack/examples/full-cycle-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~9.0.0-rc.5",
"@angular/common": "~9.0.0-rc.5",
"@angular/compiler": "~9.0.0-rc.5",
"@angular/core": "~9.0.0-rc.5",
"@angular/forms": "~9.0.0-rc.5",
"@angular/platform-browser": "~9.0.0-rc.5",
"@angular/platform-browser-dynamic": "~9.0.0-rc.5",
"@angular/router": "~9.0.0-rc.5",
"@angular/animations": "^9.0.0",
"@angular/common": "^9.0.0",
"@angular/compiler": "^9.0.0",
"@angular/core": "^9.0.0",
"@angular/forms": "^9.0.0",
"@angular/platform-browser": "^9.0.0",
"@angular/platform-browser-dynamic": "^9.0.0",
"@angular/router": "^9.0.0",
"rxjs": "~6.5.2",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-builders/custom-webpack": "latest",
"@angular-devkit/build-angular": "~0.900.0-rc.5",
"@angular/cli": "^9.0.0-rc.5",
"@angular/compiler-cli": "~9.0.0-rc.5",
"@angular/language-service": "~9.0.0-rc.5",
"@angular-devkit/build-angular": "^0.900.0",
"@angular/cli": "^9.0.0",
"@angular/compiler-cli": "^9.0.0",
"@angular/language-service": "^9.0.0",
"@types/jasmine": "~3.3.13",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
Expand All @@ -44,6 +44,6 @@
"protractor": "^5.4.2",
"ts-node": "~8.1.1",
"tslint": "~5.16.0",
"typescript": "~3.6.4"
"typescript": "~3.7.5"
}
}
26 changes: 13 additions & 13 deletions packages/custom-webpack/examples/sanity-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~9.0.0-rc.5",
"@angular/common": "~9.0.0-rc.5",
"@angular/compiler": "~9.0.0-rc.5",
"@angular/core": "~9.0.0-rc.5",
"@angular/forms": "~9.0.0-rc.5",
"@angular/platform-browser": "~9.0.0-rc.5",
"@angular/platform-browser-dynamic": "~9.0.0-rc.5",
"@angular/router": "~9.0.0-rc.5",
"@angular/animations": "^9.0.0",
"@angular/common": "^9.0.0",
"@angular/compiler": "^9.0.0",
"@angular/core": "^9.0.0",
"@angular/forms": "^9.0.0",
"@angular/platform-browser": "^9.0.0",
"@angular/platform-browser-dynamic": "^9.0.0",
"@angular/router": "^9.0.0",
"rxjs": "~6.5.2",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-builders/custom-webpack": "latest",
"@angular-devkit/build-angular": "~0.900.0-rc.5",
"@angular/cli": "^9.0.0-rc.5",
"@angular/compiler-cli": "~9.0.0-rc.5",
"@angular/language-service": "~9.0.0-rc.5",
"@angular-devkit/build-angular": "^0.900.0",
"@angular/cli": "^9.0.0",
"@angular/compiler-cli": "^9.0.0",
"@angular/language-service": "^9.0.0",
"@types/jasmine": "~3.3.13",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
Expand All @@ -43,6 +43,6 @@
"protractor": "^5.4.2",
"ts-node": "~8.2.0",
"tslint": "~5.16.0",
"typescript": "~3.6.4"
"typescript": "~3.7.5"
}
}
6 changes: 3 additions & 3 deletions packages/custom-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
},
"builders": "builders.json",
"dependencies": {
"@angular-devkit/architect": "^0.900.0-rc.2",
"@angular-devkit/build-angular": "^0.900.0-rc.2",
"@angular-devkit/core": "^9.0.0-rc.2",
"@angular-devkit/architect": "^0.900.0",
"@angular-devkit/build-angular": "^0.900.0",
"@angular-devkit/core": "^9.0.0",
"lodash": "^4.17.10",
"ts-node": "^8.5.2",
"webpack-merge": "^4.2.1"
Expand Down
4 changes: 4 additions & 0 deletions packages/jest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ The builder comes to provide zero configuration setup for Jest while keeping the
```
- Run the tests: `ng test`

## Ivy compatibility

Ivy compiler is enabled by default in version 9 so if you use it, make sure you run `ngcc` in a `postinstall` hook. For more details refer to [this](https://github.com/just-jeb/angular-builders/issues/679#issuecomment-587525674) issue.

## Multi-projects workspace support

The builder supports multi-project workspaces out of the box, the only thing required is editing _tsconfig.spec.json_ in the relevant project directory as described [above](#updating-typescript-configurations).
Expand Down
28 changes: 14 additions & 14 deletions packages/jest/examples/multiple-apps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~9.0.0-rc.5",
"@angular/common": "~9.0.0-rc.5",
"@angular/compiler": "~9.0.0-rc.5",
"@angular/core": "~9.0.0-rc.5",
"@angular/forms": "~9.0.0-rc.5",
"@angular/platform-browser": "~9.0.0-rc.5",
"@angular/platform-browser-dynamic": "~9.0.0-rc.5",
"@angular/router": "~9.0.0-rc.5",
"@angular/animations": "^9.0.0",
"@angular/common": "^9.0.0",
"@angular/compiler": "^9.0.0",
"@angular/core": "^9.0.0",
"@angular/forms": "^9.0.0",
"@angular/platform-browser": "^9.0.0",
"@angular/platform-browser-dynamic": "^9.0.0",
"@angular/router": "^9.0.0",
"rxjs": "~6.5.2",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-builders/jest": "latest",
"@angular-devkit/build-angular": "~0.900.0-rc.5",
"@angular-devkit/build-ng-packagr": "~0.900.0-rc.5",
"@angular/cli": "^9.0.0-rc.5",
"@angular/compiler-cli": "~9.0.0-rc.5",
"@angular/language-service": "~9.0.0-rc.5",
"@angular-devkit/build-angular": "^0.900.0",
"@angular-devkit/build-ng-packagr": "^0.900.0",
"@angular/cli": "^9.0.0",
"@angular/compiler-cli": "^9.0.0",
"@angular/language-service": "^9.0.0",
"@types/jasmine": "~3.3.13",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
Expand All @@ -41,6 +41,6 @@
"protractor": "^5.4.2",
"ts-node": "~8.2.0",
"tslint": "~5.16.0",
"typescript": "~3.6.4"
"typescript": "~3.7.5"
}
}
26 changes: 13 additions & 13 deletions packages/jest/examples/simple-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~9.0.0-rc.5",
"@angular/common": "~9.0.0-rc.5",
"@angular/compiler": "~9.0.0-rc.5",
"@angular/core": "~9.0.0-rc.5",
"@angular/forms": "~9.0.0-rc.5",
"@angular/platform-browser": "~9.0.0-rc.5",
"@angular/platform-browser-dynamic": "~9.0.0-rc.5",
"@angular/router": "~9.0.0-rc.5",
"@angular/animations": "^9.0.0",
"@angular/common": "^9.0.0",
"@angular/compiler": "^9.0.0",
"@angular/core": "^9.0.0",
"@angular/forms": "^9.0.0",
"@angular/platform-browser": "^9.0.0",
"@angular/platform-browser-dynamic": "^9.0.0",
"@angular/router": "^9.0.0",
"rxjs": "~6.5.2",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-builders/jest": "latest",
"@angular-devkit/build-angular": "~0.900.0-rc.5",
"@angular/cli": "^9.0.0-rc.5",
"@angular/compiler-cli": "~9.0.0-rc.5",
"@angular/language-service": "~9.0.0-rc.5",
"@angular-devkit/build-angular": "^0.900.0",
"@angular/cli": "^9.0.0",
"@angular/compiler-cli": "^9.0.0",
"@angular/language-service": "^9.0.0",
"@types/jasmine": "~3.3.13",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
Expand All @@ -40,6 +40,6 @@
"protractor": "^5.4.2",
"ts-node": "~8.2.0",
"tslint": "~5.16.0",
"typescript": "~3.6.4"
"typescript": "~3.7.5"
}
}
4 changes: 2 additions & 2 deletions packages/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"ci": "./scripts/ci.sh"
},
"dependencies": {
"@angular-devkit/architect": "^0.900.0-rc.2",
"@angular-devkit/core": "^9.0.0-rc.2",
"@angular-devkit/architect": "^0.900.0",
"@angular-devkit/core": "^9.0.0",
"jest-preset-angular": "^8.0.0",
"lodash": "^4.17.10"
},
Expand Down
24 changes: 12 additions & 12 deletions packages/timestamp/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~9.0.0-rc.5",
"@angular/common": "~9.0.0-rc.5",
"@angular/compiler": "~9.0.0-rc.5",
"@angular/core": "~9.0.0-rc.5",
"@angular/forms": "~9.0.0-rc.5",
"@angular/platform-browser": "~9.0.0-rc.5",
"@angular/platform-browser-dynamic": "~9.0.0-rc.5",
"@angular/router": "~9.0.0-rc.5",
"@angular/animations": "^9.0.0",
"@angular/common": "^9.0.0",
"@angular/compiler": "^9.0.0",
"@angular/core": "^9.0.0",
"@angular/forms": "^9.0.0",
"@angular/platform-browser": "^9.0.0",
"@angular/platform-browser-dynamic": "^9.0.0",
"@angular/router": "^9.0.0",
"rxjs": "~6.5.2",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-builders/timestamp": "latest",
"@angular-devkit/build-angular": "~0.900.0-rc.5",
"@angular/cli": "^9.0.0-rc.5",
"@angular/compiler-cli": "~9.0.0-rc.5",
"@angular/language-service": "~9.0.0-rc.5",
"@angular-devkit/build-angular": "^0.900.0",
"@angular/cli": "^9.0.0",
"@angular/compiler-cli": "^9.0.0",
"@angular/language-service": "^9.0.0",
"@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^13.1.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/timestamp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"@types/dateformat": "^3.0.0"
},
"dependencies": {
"@angular-devkit/architect": "^0.900.0-rc.2",
"@angular-devkit/core": "^9.0.0-rc.2",
"@angular-devkit/architect": "^0.900.0",
"@angular-devkit/core": "^9.0.0",
"dateformat": "^3.0.3"
}
}