Skip to content

Commit 2022da6

Browse files
committed
chore: update package version
1 parent 49f5904 commit 2022da6

9 files changed

Lines changed: 109 additions & 102 deletions

File tree

e2e/src/app.po.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export class AppPage {
77
}
88

99
getParagraphText(): any {
10-
return element(by.css('app-root > mat-sidenav-container > mat-sidenav-content > app-sidenav-content > mat-toolbar > span')).getText();
10+
return element(by.css('main-root > mat-sidenav-container > mat-sidenav-content > main-sidenav-content > mat-toolbar > span')).getText();
1111
}
1212
}

package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@
101101
"stylelint": "stylelint",
102102
"lint:css": "stylelint --config src/.stylelintrc/app.json",
103103
"lint:scss": "stylelint --syntax scss --config src/.stylelintrc/app.json",
104-
"lint:css:all": "yarn run lint:css \"**/*.css\"",
105-
"lint:scss:all": "yarn run lint:scss \"**/*.scss\"",
104+
"lint:css:all": "yarn run lint:css \"src/**/*.css\"",
105+
"lint:scss:all": "yarn run lint:scss \"src/**/*.scss\"",
106106
"ng": "ng",
107107
"precommit": "lint-staged",
108108
"start": "ng serve",
@@ -114,17 +114,17 @@
114114
"ci:e2e": "CHROME_BIN=chromium-browser DISPLAY=:99.0 ng e2e"
115115
},
116116
"dependencies": {
117-
"@angular/animations": "6.0.6",
118-
"@angular/cdk": "6.3.0",
119-
"@angular/common": "6.0.6",
120-
"@angular/compiler": "6.0.6",
121-
"@angular/core": "6.0.6",
122-
"@angular/forms": "6.0.6",
123-
"@angular/http": "6.0.6",
124-
"@angular/material": "6.3.0",
125-
"@angular/platform-browser": "6.0.6",
126-
"@angular/platform-browser-dynamic": "6.0.6",
127-
"@angular/router": "6.0.6",
117+
"@angular/animations": "6.0.7",
118+
"@angular/cdk": "6.3.1",
119+
"@angular/common": "6.0.7",
120+
"@angular/compiler": "6.0.7",
121+
"@angular/core": "6.0.7",
122+
"@angular/forms": "6.0.7",
123+
"@angular/http": "6.0.7",
124+
"@angular/material": "6.3.1",
125+
"@angular/platform-browser": "6.0.7",
126+
"@angular/platform-browser-dynamic": "6.0.7",
127+
"@angular/router": "6.0.7",
128128
"core-js": "2.5.7",
129129
"rxjs": "6.2.1",
130130
"stylelint": "9.3.0",
@@ -134,20 +134,20 @@
134134
"devDependencies": {
135135
"@angular-devkit/build-angular": "0.6.8",
136136
"@angular/cli": "6.0.8",
137-
"@angular/compiler-cli": "6.0.6",
138-
"@angular/language-service": "6.0.6",
137+
"@angular/compiler-cli": "6.0.7",
138+
"@angular/language-service": "6.0.7",
139139
"@commitlint/cli": "7.0.0",
140140
"@commitlint/config-conventional": "7.0.1",
141141
"@commitlint/config-lerna-scopes": "7.0.0",
142142
"@compodoc/compodoc": "1.1.3",
143-
"@semantic-release/changelog": "2.0.2",
144-
"@semantic-release/git": "5.0.0",
145-
"@semantic-release/github": "4.2.17",
143+
"@semantic-release/changelog": "2.1.1",
144+
"@semantic-release/git": "6.0.0",
145+
"@semantic-release/github": "4.2.18",
146146
"@types/jasmine": "2.8.8",
147147
"@types/jasminewd2": "2.0.3",
148-
"@types/node": "10.3.5",
149-
"codelyzer": "4.4.1",
150-
"coveralls": "3.0.1",
148+
"@types/node": "10.5.1",
149+
"codelyzer": "4.4.2",
150+
"coveralls": "3.0.2",
151151
"husky": "0.14.3",
152152
"jasmine-core": "3.1.0",
153153
"jasmine-spec-reporter": "4.2.1",
@@ -162,4 +162,4 @@
162162
"tslint": "5.10.0",
163163
"typescript": "2.7.2"
164164
}
165-
}
165+
}

scripts/ci/3_before_script.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
COMMANDS_TO_RUN+=('echo 3_before_script.sh ...')
2-
COMMANDS_TO_RUN+=('yarn run lint')
32
COMMANDS_TO_RUN+=('yarn run build')

scripts/ci/4_script.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
COMMANDS_TO_RUN+=('echo 4_script.sh ...')
22
COMMANDS_TO_RUN+=('echo run tests')
33
COMMANDS_TO_RUN+=('yarn run ci:e2e')
4-
COMMANDS_TO_RUN+=('yarn run ci:test')
5-
6-
COMMANDS_TO_RUN+=('echo Generate coverage info and deploy it to coveralls.io')
7-
COMMANDS_TO_RUN+=('cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js')
8-
9-
COMMANDS_TO_RUN+=('echo Copy ci files for prevent errors when deploying')
10-
COMMANDS_TO_RUN+=('cp .travis.yml ./dist')
11-
COMMANDS_TO_RUN+=('cp -r .circleci ./dist')
4+
COMMANDS_TO_RUN+=('yarn run ci:test')

scripts/ci/5_deploy.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
COMMANDS_TO_RUN+=('echo 5_deploy.sh ...')
2+
3+
COMMANDS_TO_RUN+=('echo Generate coverage info and deploy it to coveralls.io')
4+
COMMANDS_TO_RUN+=('cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js')
5+
6+
COMMANDS_TO_RUN+=('echo Copy ci files for prevent errors when deploying')
7+
COMMANDS_TO_RUN+=('cp .travis.yml ./dist')
8+
COMMANDS_TO_RUN+=('cp -r .circleci ./dist')
9+
210
COMMANDS_TO_RUN+=('npx semantic-release --branch $BRANCH')
11+
312
COMMANDS_TO_RUN+=('git remote add github https://github.com/$GITHUB_REPO_OWNER/$GITHUB_REPO_NAME.git')
413
COMMANDS_TO_RUN+=('git pull github $BRANCH')
514
COMMANDS_TO_RUN+=('yarn run compodoc')
15+
616
COMMANDS_TO_RUN+=('bash scripts/bash_runner.sh scripts/gitlab_sync.sh')
717
COMMANDS_TO_RUN+=('bash scripts/bash_runner.sh scripts/docker_hub.sh')

src/app/app.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { LayoutModule } from '@angular/cdk/layout';
2+
import { HttpClientModule } from '@angular/common/http';
23
import { NgModule } from '@angular/core';
34
import { BrowserModule } from '@angular/platform-browser';
45
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
@@ -12,7 +13,7 @@ const bootstrap = [AppComponent];
1213

1314
const declarations = [AppComponent];
1415

15-
const imports = [BrowserAnimationsModule, BrowserModule, CoreModule, LayoutModule, MainModule];
16+
const imports = [BrowserAnimationsModule, BrowserModule, CoreModule, HttpClientModule, LayoutModule, MainModule];
1617

1718
@NgModule({
1819
bootstrap,

src/app/main/main.module.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
import { LayoutModule } from '@angular/cdk/layout';
2-
import { HttpClientModule } from '@angular/common/http';
1+
import { CommonModule } from '@angular/common';
32
import { NgModule } from '@angular/core';
43
import { MatDividerModule, MatIconModule, MatListModule, MatSidenavModule, MatToolbarModule } from '@angular/material';
5-
import { BrowserModule } from '@angular/platform-browser';
6-
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
7-
8-
import { CoreModule } from '~/core/core.module';
94

105
import { components } from './components';
116
import { containers } from './containers';
@@ -16,7 +11,7 @@ const declarations = [...components, ...containers, ...pages];
1611

1712
export const vendorImports = [MatDividerModule, MatIconModule, MatListModule, MatSidenavModule, MatToolbarModule];
1813

19-
const imports = [MainRoutingModule, BrowserAnimationsModule, BrowserModule, CoreModule, HttpClientModule, LayoutModule, ...vendorImports];
14+
const imports = [CommonModule, MainRoutingModule, ...vendorImports];
2015

2116
const _exports = [MainRootComponent];
2217

src/tslint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
"no-empty-interface": true,
120120
"no-eval": true,
121121
"no-for-in-array": true,
122-
"no-floating-promises": true,
122+
"no-floating-promises": false,
123123
"no-inferrable-types": [
124124
true,
125125
"ignore-params"

0 commit comments

Comments
 (0)