Skip to content
This repository was archived by the owner on Nov 3, 2024. It is now read-only.

Commit 7d97cf8

Browse files
release to 1.x (#42)
* merge from master * update cl + merge fixes
1 parent 50ae53f commit 7d97cf8

22 files changed

+948
-1034
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
root: true,
33
parserOptions: {
4-
project: "./tsconfig.json"
4+
project: ["./tsconfig.json", "./examples/tsconfig.json"]
55
},
66
plugins: [
77
"@typescript-eslint"

CHANGELOG.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,29 @@
1+
## [vNext](https://github.com/sketch7/ngx.ux/compare/1.5.2...2.0.0) (2020-x-x)
2+
3+
### Features
4+
5+
- **deps:** update dependencies to support Angular v10
6+
- **deps:** add dependency on `tslib: ^2.0.0`
7+
8+
### BREAKING CHANGES
9+
10+
- **command:** remove deprecated code
11+
- **command:** change `ssvCommand` and `ssvCommandRef` when using `CommandCreator` e.g. this syntax only `[ssvCommandRef]="{host: this, execute: removeHero$}` to require `host: this`.
12+
This was added due to a limitation (which previously was handled via hack and is not supported anymore). [See this issue](https://github.com/angular/angular/issues/8277).
13+
- **module:** rename module to `SsvCommandModule` from `CommandModule`
14+
15+
## [1.5.2](https://github.com/sketch7/ngx.ux/compare/1.5.1...1.5.2) (2020-10-30)
16+
17+
### Bug Fixes
18+
19+
- **command:** remove initial delay to disable on load
20+
121
## [1.5.1](https://github.com/sketch7/ngx.ux/compare/1.5.0...1.5.1) (2020-10-28)
222

323
### Bug Fixes
424

525
- **build:** down version several dev dependencies packages in order to support angular 8 (and possibly less)
6-
- **deps:** revert dependency on tslib `^1.10.0`
26+
- **deps:** revert dependency on `tslib: ^1.10.0`
727

828
## [1.5.0](https://github.com/sketch7/ngx.command/compare/1.4.1...1.5.0) (2020-10-25)
929

@@ -12,7 +32,7 @@
1232
_This version is focused for maintenance rather than features_
1333

1434
- **export:** export `CommandCreator` `ICommand`
15-
- **deps:** now depends on tslib `^1.10.0`
35+
- **deps:** now depends on `tslib: ^1.10.0`
1636

1737
### Refactor
1838

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ Get library via [npm]
2525
npm install @ssv/ngx.command
2626
```
2727

28+
Choose the version corresponding to your Angular version:
29+
30+
| Angular | library |
31+
| ---------------- | ------- |
32+
| 10 | 2.x+ |
33+
| 4 to 9 (non ivy) | 1.x+ |
34+
35+
2836
# Usage
2937

3038
## Register module

examples/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Ngx.Command
1+
# Examples
22

3-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.3.4.
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.2.0.
44

55
## Development server
66

@@ -24,4 +24,4 @@ Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protrac
2424

2525
## Further help
2626

27-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
27+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.

examples/angular.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@
6868
"serve": {
6969
"builder": "@angular-devkit/build-angular:dev-server",
7070
"options": {
71-
"browserTarget": "example-app:build"
71+
"browserTarget": "example-app:build",
72+
"port": 5201
7273
},
7374
"configurations": {
7475
"production": {

examples/package-lock.json

Lines changed: 58 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@
3333
"@types/node": "^12.11.1",
3434
"@types/jasmine": "~3.3.8",
3535
"@types/jasminewd2": "~2.0.3",
36-
"codelyzer": "^5.1.2",
37-
"jasmine-core": "~3.5.0",
36+
"codelyzer": "^6.0.1",
37+
"jasmine-core": "~3.6.0",
3838
"jasmine-spec-reporter": "~5.0.0",
3939
"karma": "~5.0.0",
4040
"karma-chrome-launcher": "~3.1.0",
4141
"karma-coverage-istanbul-reporter": "~3.0.2",
4242
"karma-jasmine": "~4.0.0",
4343
"karma-jasmine-html-reporter": "^1.5.0",
4444
"protractor": "~7.0.0",
45-
"ts-node": "~7.0.0",
45+
"ts-node": "~8.3.0",
4646
"tslint": "~6.1.0",
4747
"typescript": "~4.0.3"
4848
}

examples/projects/example-app/.browserslistrc

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22
# For additional information regarding the format and rule options, please see:
33
# https://github.com/browserslist/browserslist#queries
44

5+
# For the full list of supported browsers by the Angular framework, please see:
6+
# https://angular.io/guide/browser-support
7+
58
# You can see what browsers were selected by your queries by running:
69
# npx browserslist
710

8-
> 0.5%
9-
last 2 versions
11+
last 1 Chrome version
12+
last 1 Firefox version
13+
last 2 Edge major versions
14+
last 2 Safari major versions
15+
last 2 iOS major versions
1016
Firefox ESR
11-
not dead
12-
not IE 9-11 # For IE 9-11 support, remove 'not'.
17+
not IE 9-10 # Angular support for IE 9-10 has been deprecated and will be removed as of Angular v11. To opt-in, remove the 'not' prefix on this line.
18+
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.

examples/projects/example-app/e2e/src/app.po.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable */
12
import { browser, by, element } from "protractor";
23

34
export class AppPage {

examples/projects/example-app/src/app/app.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ import { Component } from "@angular/core";
66
styleUrls: ["./app.component.scss"]
77
})
88
export class AppComponent {
9+
910
title = "example-app";
11+
1012
}

0 commit comments

Comments
 (0)