Skip to content

Commit 25ff4c8

Browse files
committed
chore: project config files cleanup
1 parent ceb5f23 commit 25ff4c8

File tree

12 files changed

+91
-113
lines changed

12 files changed

+91
-113
lines changed

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Editor configuration, see http://editorconfig.org
1+
# Editor configuration, see https://editorconfig.org
22
root = true
33

44
[*]
55
charset = utf-8
66
end_of_line = lf
7-
indent_size = 2
87
indent_style = space
8+
indent_size = 2
99
insert_final_newline = true
1010
trim_trailing_whitespace = true
1111

.gitignore

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,46 @@
1-
# Misc
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
# Only exists if Bazel was run
8+
/bazel-out
9+
10+
# dependencies
11+
/node_modules
212
# package-lock.json
313

4-
# Folders to ignore
5-
node_modules
6-
/coverage
14+
# profiling files
15+
chrome-profiler-events*.json
16+
speed-measure-plugin*.json
717

818
# IDEs and editors
919
/.idea
20+
.project
21+
.classpath
22+
.c9/
23+
*.launch
24+
.settings/
25+
*.sublime-workspace
1026

1127
# IDE - VSCode
1228
.vscode/*
1329
!.vscode/settings.json
1430
!.vscode/tasks.json
1531
!.vscode/launch.json
1632
!.vscode/extensions.json
33+
.history/*
34+
35+
# misc
36+
/.sass-cache
37+
/connect.lock
38+
/coverage
39+
/libpeerconnection.log
40+
npm-debug.log
41+
yarn-error.log
42+
testem.log
43+
/typings
1744

1845
# System Files
1946
.DS_Store

angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@
125125
}
126126
},
127127
"@coreui/angular": {
128+
"projectType": "library",
128129
"root": "projects/coreui/angular",
129130
"sourceRoot": "projects/coreui/angular/src",
130-
"projectType": "library",
131131
"prefix": "lib",
132132
"architect": {
133133
"build": {

browserslist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
last 2 versions
77
Firefox ESR
88
not dead
9+
IE 10-11
910
# IE 9-11

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
"scripts": {
1818
"ng": "ng",
1919
"postinstall": "ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points",
20-
"start": "ng serve",
2120
"build-lib": "ng build @coreui/angular --prod",
22-
"test": "ng test",
2321
"test-lib": "ng test @coreui/angular",
22+
"start": "ng serve",
23+
"test": "ng test",
2424
"lint": "ng lint",
2525
"e2e": "ng e2e",
2626
"publish": "cd dist/@coreui/angular/ && npm publish",

projects/coreui/angular/karma.conf.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ module.exports = function (config) {
1616
clearContext: false // leave Jasmine Spec Runner output visible in browser
1717
},
1818
coverageIstanbulReporter: {
19-
dir: require('path').join(__dirname, '../../../coverage'),
20-
reports: ['html', 'lcovonly'],
19+
dir: require('path').join(__dirname, '../../../coverage/coreui/angular'),
20+
reports: ['html', 'lcovonly', 'text-summary'],
2121
fixWebpackSourcePaths: true
2222
},
2323
reporters: ['progress', 'kjhtml'],
@@ -26,6 +26,7 @@ module.exports = function (config) {
2626
logLevel: config.LOG_INFO,
2727
autoWatch: true,
2828
browsers: ['Chrome'],
29-
singleRun: false
29+
singleRun: false,
30+
restartOnFileChange: true
3031
});
3132
};

projects/coreui/angular/src/test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
22

3-
import 'core-js/es7/reflect';
43
import 'zone.js/dist/zone';
54
import 'zone.js/dist/zone-testing';
65
import { getTestBed } from '@angular/core/testing';

projects/coreui/angular/tsconfig.lib.prod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
"angularCompilerOptions": {
44
"enableIvy": false
55
}
6-
}
6+
}

projects/coreui/angular/tsconfig.spec.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
]
99
},
1010
"files": [
11-
"src/test.ts",
12-
"../../../src/polyfills.ts"
11+
"src/test.ts"
1312
],
1413
"include": [
1514
"**/*.spec.ts",

projects/coreui/angular/tslint.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"extends": "../../../tslint.json",
33
"rules": {
44
"directive-selector": [
5-
true,
6-
"attribute",
7-
"app",
8-
"camelCase"
5+
true,
6+
"attribute",
7+
"app",
8+
"camelCase"
99
],
1010
"component-selector": [
11-
true,
12-
"element",
13-
"app",
14-
"kebab-case"
11+
true,
12+
"element",
13+
"app",
14+
"kebab-case"
1515
],
1616
"forin": false
1717
}

0 commit comments

Comments
 (0)