Skip to content
This repository was archived by the owner on Sep 21, 2018. It is now read-only.

Commit 374321c

Browse files
avatsaevkrjordan
authored andcommitted
Upgraded angular-cli and karma config to @angular/cli (#109)
* upgraded angular-cli to @angular/cli, angular-cli is deprecated * upgraded karma config to use @angular/cli, all tests passed successfully * updated yarn lock, all tests green
1 parent 73a0a05 commit 374321c

File tree

4 files changed

+1049
-1318
lines changed

4 files changed

+1049
-1318
lines changed

angular-cli.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"project": {
3-
"version": "1.0.0-beta.26",
3+
"version": "1.0.0-beta.30",
44
"name": "example-app"
55
},
66
"apps": [

karma.conf.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
module.exports = function (config) {
55
config.set({
66
basePath: '',
7-
frameworks: ['jasmine', 'angular-cli'],
7+
frameworks: ['jasmine', '@angular/cli'],
88
plugins: [
99
require('karma-jasmine'),
1010
require('karma-chrome-launcher'),
1111
require('karma-remap-istanbul'),
12-
require('angular-cli/plugins/karma')
12+
require('@angular/cli/plugins/karma')
1313
],
1414
files: [
1515
{ pattern: './src/test.ts', watched: false }
1616
],
1717
preprocessors: {
18-
'./src/test.ts': ['angular-cli']
18+
'./src/test.ts': ['@angular/cli']
1919
},
2020
mime: {
2121
'text/x-typescript': ['ts','tsx']

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@angular/compiler-cli": "^2.3.1",
5656
"@types/jasmine": "2.5.38",
5757
"@types/node": "^6.0.42",
58-
"angular-cli": "1.0.0-beta.26",
58+
"@angular/cli": "1.0.0-beta.30",
5959
"codelyzer": "~2.0.0-beta.1",
6060
"jasmine-core": "2.5.2",
6161
"jasmine-spec-reporter": "2.5.0",

0 commit comments

Comments
 (0)