Skip to content

Commit

Permalink
chore: bump angular 15 to 16 (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk authored Jun 4, 2023
1 parent e7e49b2 commit a7f394d
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 43 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: checkout
uses: actions/checkout@master

- uses: borales/actions-yarn@v3.0.0
- uses: borales/actions-yarn@v4
with:
cmd: install

Expand All @@ -23,7 +23,7 @@ jobs:
- name: checkout
uses: actions/checkout@master

- uses: borales/actions-yarn@v3.0.0
- uses: borales/actions-yarn@v4
with:
cmd: install

Expand All @@ -40,21 +40,21 @@ jobs:
- name: checkout
uses: actions/checkout@master

- uses: borales/actions-yarn@v3.0.0
- uses: borales/actions-yarn@v4
with:
cmd: install

- name: run
run: |
yarn run lint
- uses: borales/actions-yarn@v4
with:
cmd: lint

site:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master

- uses: borales/actions-yarn@v3.0.0
- uses: borales/actions-yarn@v4
with:
cmd: install

Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-countdown",
"version": "15.0.0",
"version": "16.0.0",
"description": "Simple, easy and performance countdown for angular",
"keywords": [
"ngx-countdown",
Expand Down
4 changes: 2 additions & 2 deletions lib/src/countdown.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class CountdownComponent implements OnInit, OnChanges, OnDestroy {
i: CountdownItem = {};
left = 0;

@Input()
@Input({ required: true })
set config(i: CountdownConfig) {
if (i.notify != null && !Array.isArray(i.notify) && i.notify > 0) {
i.notify = [i.notify];
Expand All @@ -56,7 +56,7 @@ export class CountdownComponent implements OnInit, OnChanges, OnDestroy {
get config(): CountdownConfig {
return this._config;
}
@Input() render!: TemplateRef<void>;
@Input() render!: TemplateRef<{ $implicit: CountdownItem }>;
@Output() readonly event = new EventEmitter<CountdownEvent>();

constructor(
Expand Down
58 changes: 29 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-countdown",
"version": "15.0.0",
"version": "16.0.0",
"description": "Simple, easy and performance countdown for angular",
"keywords": [
"ngx-countdown",
Expand Down Expand Up @@ -30,42 +30,42 @@
"release": "npm run build && cd publish && npm publish --access public"
},
"dependencies": {
"@angular/animations": "^15.0.0",
"@angular/common": "^15.0.0",
"@angular/compiler": "^15.0.0",
"@angular/core": "^15.0.0",
"@angular/forms": "^15.0.0",
"@angular/platform-browser": "^15.0.0",
"@angular/platform-browser-dynamic": "^15.0.0",
"@angular/router": "^15.0.0",
"rxjs": "~7.5.0",
"@angular/animations": "^16.0.0",
"@angular/common": "^16.0.0",
"@angular/compiler": "^16.0.0",
"@angular/core": "^16.0.0",
"@angular/forms": "^16.0.0",
"@angular/platform-browser": "^16.0.0",
"@angular/platform-browser-dynamic": "^16.0.0",
"@angular/router": "^16.0.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.12.0",
"bootstrap": "^5.2.3",
"ngx-highlight-js": "^15.0.0",
"date-fns": "^2.29.0"
"zone.js": "~0.13.0",
"bootstrap": "^5.3.0",
"ngx-highlight-js": "^16.0.0",
"date-fns": "^2.30.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^15.0.4",
"@angular/cli": "~15.0.4",
"@angular/compiler-cli": "^15.0.0",
"@angular-devkit/build-angular": "^16.0.3",
"@angular/cli": "~16.0.3",
"@angular/compiler-cli": "^16.0.0",
"@types/jasmine": "~4.3.0",
"jasmine-core": "~4.5.0",
"jasmine-core": "~4.6.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.1.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"typescript": "~4.8.2",
"@angular-eslint/builder": "^15.1.0",
"@angular-eslint/eslint-plugin": "^15.1.0",
"@angular-eslint/eslint-plugin-template": "^15.1.0",
"@angular-eslint/schematics": "^15.1.0",
"@angular-eslint/template-parser": "^15.1.0",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"typescript": "~5.0.2",
"@angular-eslint/builder": "^16.0.3",
"@angular-eslint/eslint-plugin": "^16.0.3",
"@angular-eslint/eslint-plugin-template": "^16.0.3",
"@angular-eslint/schematics": "^16.0.3",
"@angular-eslint/template-parser": "^16.0.3",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"codecov": "^3.8.3",
"eslint": "^8.31.0",
"ng-packagr": "^15.0.3"
"eslint": "^8.42.0",
"ng-packagr": "^16.0.1"
}
}
8 changes: 4 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
"moduleResolution": "node",
"importHelpers": true,
"target": "ES2022",
"module": "es2020",
"module": "ES2022",
"useDefineForClassFields": false,
"lib": [
"es2020",
"ES2022",
"dom"
],
"paths": {
"ngx-countdown": ["lib/src/index"]
},
"useDefineForClassFields": false
}
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
Expand Down

0 comments on commit a7f394d

Please sign in to comment.