Skip to content

Commit

Permalink
feat: Require angular 13 (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
scttcper authored Nov 10, 2021
1 parent ada3601 commit 351932f
Show file tree
Hide file tree
Showing 8 changed files with 13,897 additions and 17,554 deletions.
19 changes: 10 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
version: 2.1
orbs:
browser-tools: circleci/browser-tools@1.1.0
node: circleci/node@4
browser-tools: circleci/browser-tools@1
codecov: codecov/codecov@3
jobs:
test:
docker:
Expand All @@ -10,21 +12,18 @@ jobs:
steps:
- browser-tools/install-chrome
- checkout
- run:
name: npm-install
command: npm ci
- node/install-packages
- run:
name: test
command: npm run test:ci
- run:
name: lint
command: npm run lint
- run:
name: codecov
command: bash <(curl -s https://codecov.io/bash)
- codecov/upload
release:
docker:
- image: cimg/node:current
executor:
name: node/default
tag: 'current'
steps:
- checkout
- run: npm ci
Expand All @@ -42,5 +41,7 @@ workflows:
branches:
only:
- master
context:
- npm
requires:
- test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
!.vscode/extensions.json

# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ Latest version available for each version of Angular
| 6.0.3 | 8.x |
| 8.0.1 | 9.x |
| 9.1.0 | 10.x 11.x |
| current | >= 12.x |
| 10.0.1 | 12.x |
| current | >= 13.x |

## Use

Expand Down
21 changes: 0 additions & 21 deletions build.ts

This file was deleted.

10 changes: 5 additions & 5 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ module.exports = function (config) {
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage-istanbul-reporter'),
require('@angular-devkit/build-angular/plugins/karma')
require('@angular-devkit/build-angular/plugins/karma'),
],
client: {
clearContext: false // leave Jasmine Spec Runner output visible in browser
clearContext: false, // leave Jasmine Spec Runner output visible in browser
},
coverageIstanbulReporter: {
dir: require('path').join(__dirname, './coverage/zzz'),
reports: ['html', 'lcovonly', 'text-summary'],
fixWebpackSourcePaths: true
fixWebpackSourcePaths: true,
},
reporters: ['progress', 'kjhtml'],
reporters: ['coverage-istanbul', 'progress', 'kjhtml'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
Expand All @@ -33,6 +33,6 @@ module.exports = function (config) {
},
},
singleRun: false,
restartOnFileChange: true
restartOnFileChange: true,
});
};
Loading

0 comments on commit 351932f

Please sign in to comment.