Skip to content

Commit 668de18

Browse files
authored
chore: bump angular from 12.x to 13 (#6)
1 parent 68992aa commit 668de18

File tree

6 files changed

+54
-44
lines changed

6 files changed

+54
-44
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 11 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.16.1
1+
14.16.1

lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ng-github-button",
3-
"version": "12.0.0",
3+
"version": "13.0.0",
44
"description": "Unofficial GitHub buttons in Angular.",
55
"author": "cipchk <[email protected]>",
66
"license": "MIT",

package.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ng-github-button",
3-
"version": "12.0.0",
3+
"version": "13.0.0",
44
"description": "Unofficial GitHub buttons in Angular.",
55
"keywords": [
66
"angular",
@@ -32,41 +32,41 @@
3232
"release": "npm run build && cd publish && npm publish --access public"
3333
},
3434
"dependencies": {
35-
"@angular/animations": "~12.0.2",
36-
"@angular/common": "~12.0.2",
37-
"@angular/compiler": "~12.0.2",
38-
"@angular/core": "~12.0.2",
39-
"@angular/forms": "~12.0.2",
40-
"@angular/platform-browser": "~12.0.2",
41-
"@angular/platform-browser-dynamic": "~12.0.2",
42-
"@angular/router": "~12.0.2",
43-
"rxjs": "~6.6.0",
44-
"tslib": "^2.1.0",
35+
"@angular/animations": "~13.1.1",
36+
"@angular/common": "~13.1.1",
37+
"@angular/compiler": "~13.1.1",
38+
"@angular/core": "~13.1.1",
39+
"@angular/forms": "~13.1.1",
40+
"@angular/platform-browser": "~13.1.1",
41+
"@angular/platform-browser-dynamic": "~13.1.1",
42+
"@angular/router": "~13.1.1",
43+
"rxjs": "~7.4.0",
44+
"tslib": "^2.3.1",
4545
"zone.js": "~0.11.4"
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",
70-
"ngx-highlight-js": "^12.0.0"
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",
70+
"ngx-highlight-js": "^13.0.0"
7171
}
7272
}

tsconfig.json

Lines changed: 6 additions & 1 deletion
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
"ng-github-button": ["lib/index"]
2227
}

0 commit comments

Comments
 (0)