Skip to content

Commit 49cdad7

Browse files
authored
chore: bump angular from 12.x to 13 (#110)
1 parent ee57833 commit 49cdad7

File tree

7 files changed

+57
-47
lines changed

7 files changed

+57
-47
lines changed

.github/workflows/ci.yml

+15-11
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,27 @@ jobs:
99
- name: checkout
1010
uses: actions/checkout@master
1111

12-
- name: install
13-
run: npm install
12+
- uses: borales/[email protected]
13+
with:
14+
cmd: install
1415

1516
- name: run
1617
run: |
17-
npm run build
18+
yarn run build
1819
1920
test:
2021
runs-on: ubuntu-latest
2122
steps:
2223
- name: checkout
2324
uses: actions/checkout@master
2425

25-
- name: install
26-
run: npm install
26+
- uses: borales/[email protected]
27+
with:
28+
cmd: install
2729

2830
- name: run
2931
run: |
30-
npm run test
32+
yarn run test
3133
cat ./coverage/lcov.info | ./node_modules/.bin/codecov
3234
env:
3335
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
@@ -38,21 +40,23 @@ jobs:
3840
- name: checkout
3941
uses: actions/checkout@master
4042

41-
- name: install
42-
run: npm install
43+
- uses: borales/[email protected]
44+
with:
45+
cmd: install
4346

4447
- name: run
4548
run: |
46-
npm run lint
49+
yarn run lint
4750
4851
site:
4952
runs-on: ubuntu-latest
5053
steps:
5154
- name: checkout
5255
uses: actions/checkout@master
5356

54-
- name: install
55-
run: npm install
57+
- uses: borales/[email protected]
58+
with:
59+
cmd: install
5660

5761
- name: build
5862
run: |

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
/out-tsc
77
/publish
88
/yarn.lock
9+
/.angular/cache
910

1011
# dependencies
1112
/node_modules

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.16.1
1+
14.16.1

lib/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-countdown",
3-
"version": "12.0.1",
3+
"version": "13.0.0",
44
"description": "Simple, easy and performance countdown for angular",
55
"keywords": [
66
"ngx-countdown",

lib/tsconfig.lib.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"**/*.ts"
1414
],
1515
"angularCompilerOptions": {
16-
"enableIvy": false,
16+
"enableIvy": true,
1717
"compilationMode": "partial"
1818
}
1919
}

package.json

+32-32
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-countdown",
3-
"version": "12.0.1",
3+
"version": "13.0.0",
44
"description": "Simple, easy and performance countdown for angular",
55
"keywords": [
66
"ngx-countdown",
@@ -29,43 +29,43 @@
2929
"release": "npm run build && cd publish && npm publish --access public"
3030
},
3131
"dependencies": {
32-
"@angular/animations": "~12.0.2",
33-
"@angular/common": "~12.0.2",
34-
"@angular/compiler": "~12.0.2",
35-
"@angular/core": "~12.0.2",
36-
"@angular/forms": "~12.0.2",
37-
"@angular/platform-browser": "~12.0.2",
38-
"@angular/platform-browser-dynamic": "~12.0.2",
39-
"@angular/router": "~12.0.2",
40-
"rxjs": "~6.6.0",
41-
"tslib": "^2.1.0",
32+
"@angular/animations": "~13.1.1",
33+
"@angular/common": "~13.1.1",
34+
"@angular/compiler": "~13.1.1",
35+
"@angular/core": "~13.1.1",
36+
"@angular/forms": "~13.1.1",
37+
"@angular/platform-browser": "~13.1.1",
38+
"@angular/platform-browser-dynamic": "~13.1.1",
39+
"@angular/router": "~13.1.1",
40+
"rxjs": "~7.4.0",
41+
"tslib": "^2.3.1",
4242
"zone.js": "~0.11.4",
43-
"bootstrap": "^5.0.1",
44-
"ngx-highlight-js": "^12.0.0",
45-
"date-fns": "^2.21.3"
43+
"bootstrap": "^5.1.3",
44+
"ngx-highlight-js": "^13.0.0",
45+
"date-fns": "^2.27.0"
4646
},
4747
"devDependencies": {
48-
"@angular-devkit/build-angular": "~12.0.2",
49-
"@angular/cli": "~12.0.2",
50-
"@angular/compiler-cli": "~12.0.2",
51-
"@types/jasmine": "~3.6.0",
48+
"@angular-devkit/build-angular": "~13.1.2",
49+
"@angular/cli": "~13.1.2",
50+
"@angular/compiler-cli": "~13.1.0",
51+
"@types/jasmine": "~3.10.0",
5252
"@types/node": "^12.11.1",
53-
"jasmine-core": "~3.7.0",
53+
"jasmine-core": "~3.10.0",
5454
"karma": "~6.3.0",
5555
"karma-chrome-launcher": "~3.1.0",
56-
"karma-coverage": "~2.0.3",
56+
"karma-coverage": "~2.1.0",
5757
"karma-jasmine": "~4.0.0",
58-
"karma-jasmine-html-reporter": "^1.5.0",
59-
"typescript": "~4.2.3",
60-
"@angular-eslint/builder": "12.0.0",
61-
"@angular-eslint/eslint-plugin": "12.0.0",
62-
"@angular-eslint/eslint-plugin-template": "12.0.0",
63-
"@angular-eslint/schematics": "12.0.0",
64-
"@angular-eslint/template-parser": "12.0.0",
65-
"@typescript-eslint/eslint-plugin": "4.23.0",
66-
"@typescript-eslint/parser": "4.23.0",
67-
"codecov": "^3.8.1",
68-
"eslint": "^7.26.0",
69-
"ng-packagr": "^12.0.2"
58+
"karma-jasmine-html-reporter": "~1.7.0",
59+
"typescript": "~4.5.2",
60+
"@angular-eslint/builder": "^13.0.1",
61+
"@angular-eslint/eslint-plugin": "^13.0.1",
62+
"@angular-eslint/eslint-plugin-template": "^13.0.1",
63+
"@angular-eslint/schematics": "^13.0.1",
64+
"@angular-eslint/template-parser": "^13.0.1",
65+
"@typescript-eslint/eslint-plugin": "^5.8.1",
66+
"@typescript-eslint/parser": "^5.8.1",
67+
"codecov": "^3.8.3",
68+
"eslint": "^8.5.0",
69+
"ng-packagr": "^13.1.2"
7070
}
7171
}

tsconfig.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
"outDir": "./dist/out-tsc",
77
"forceConsistentCasingInFileNames": true,
88
"strict": true,
9+
"noImplicitOverride": true,
10+
"noPropertyAccessFromIndexSignature": true,
911
"noImplicitReturns": true,
1012
"noFallthroughCasesInSwitch": true,
1113
"sourceMap": true,
@@ -16,7 +18,10 @@
1618
"importHelpers": true,
1719
"target": "es2017",
1820
"module": "es2020",
19-
"lib": ["es2018", "dom"],
21+
"lib": [
22+
"es2020",
23+
"dom"
24+
],
2025
"paths": {
2126
"ngx-countdown": ["lib/src/index"]
2227
}

0 commit comments

Comments
 (0)