Skip to content

Commit df3b8a3

Browse files
authored
Feature/new yarn schema (reyesoft#11)
* firt commit with new structure * basic files back * some spaces removed * some spaces removed * some files updated * start fixed * yarn example buld done * bump release * test fixed * eslint added for codacy * all .js files indentated * test.js fixed * test.js fixed
1 parent 404df51 commit df3b8a3

File tree

96 files changed

+5627
-16972
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+5627
-16972
lines changed

Diff for: .angular-cli.json

+16-6
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
},
66
"apps": [
77
{
8-
"root": "src",
9-
"outDir": "dist",
8+
"root": "demo",
9+
"outDir": "demo-dist",
1010
"assets": [
1111
"assets",
1212
"favicon.ico"
@@ -17,7 +17,7 @@
1717
"test": "test.ts",
1818
"tsconfig": "tsconfig.app.json",
1919
"testTsconfig": "tsconfig.spec.json",
20-
"prefix": "",
20+
"prefix": "bc",
2121
"styles": [],
2222
"scripts": [],
2323
"environmentSource": "environments/environment.ts",
@@ -34,8 +34,13 @@
3434
},
3535
"lint": [
3636
{
37-
"project": "tsconfig.json",
38-
"exclude": "**/node_modules/**"
37+
"project": "demo/tsconfig.app.json"
38+
},
39+
{
40+
"project": "demo/tsconfig.spec.json"
41+
},
42+
{
43+
"project": "e2e/tsconfig.e2e.json"
3944
}
4045
],
4146
"test": {
@@ -45,6 +50,11 @@
4550
},
4651
"defaults": {
4752
"styleExt": "css",
48-
"component": {}
53+
"component": {
54+
"inlineStyle": true,
55+
"inlineTemplate": true,
56+
"flat": true,
57+
"spec": false
58+
}
4959
}
5060
}

Diff for: .editorconfig

+8-4
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ root = true
55

66
# Unix-style newlines with a newline ending every file
77
[*]
8-
end_of_line = lf
9-
10-
# 2 space indentation
11-
[**.*]
8+
charset = utf-8
129
indent_style = space
1310
indent_size = 4
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
end_of_line = lf
14+
15+
[*.md]
16+
max_line_length = off
17+
trim_trailing_whitespace = false

Diff for: .eslintrc

+38-38
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
{
2-
"env": {
3-
"es6": true,
4-
"browser": true,
5-
"jasmine": true
6-
},
7-
"rules": {
8-
"block-scoped-var": 2,
9-
"no-eval": 2,
10-
"no-eq-null": 2,
11-
"no-case-declarations": 2,
12-
"no-alert": 1,
13-
"no-multi-spaces": 1,
14-
"no-multi-str": 1,
15-
"no-undef": 0,
16-
"indent": ["error", 4, { "SwitchCase": 1 }],
17-
"no-unused-vars": 1,
18-
"quotes": [2, "single"],
2+
"env": {
3+
"es6": true,
4+
"browser": true,
5+
"jasmine": true
6+
},
7+
"rules": {
8+
"block-scoped-var": 2,
9+
"no-eval": 2,
10+
"no-eq-null": 2,
11+
"no-case-declarations": 2,
12+
"no-alert": 1,
13+
"no-multi-spaces": 1,
14+
"no-multi-str": 1,
15+
"no-undef": 0,
16+
"indent": ["error", 4, { "SwitchCase": 1 }],
17+
"no-unused-vars": 1,
18+
"quotes": [2, "single"],
1919

20-
"angular/on-watch": 0,
20+
"angular/on-watch": 0,
2121

22-
"strict": "off",
22+
"strict": "off",
2323

24-
"no-shadow-restricted-names": 2,
24+
"no-shadow-restricted-names": 2,
2525

26-
"array-bracket-spacing": 1,
27-
"camelcase": [1, {properties: "never"}],
28-
"comma-style": 1,
29-
"comma-spacing": 1
30-
},
31-
"parserOptions": {
32-
"sourceType": "module",
33-
"ecmaFeatures": {
34-
"jsx": true,
35-
"experimentalObjectRestSpread": true
36-
}
37-
},
38-
"globals": {
39-
"require": true,
40-
"angular": true,
41-
"module": true,
42-
"inject": true
26+
"array-bracket-spacing": 1,
27+
"camelcase": [1, {properties: "never"}],
28+
"comma-style": 1,
29+
"comma-spacing": 1
30+
},
31+
"parserOptions": {
32+
"sourceType": "module",
33+
"ecmaFeatures": {
34+
"jsx": true,
35+
"experimentalObjectRestSpread": true
36+
}
37+
},
38+
"globals": {
39+
"require": true,
40+
"angular": true,
41+
"module": true,
42+
"inject": true
43+
}
4344
}
44-
}

Diff for: .gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/compiled
2-
/build
2+
/dist
3+
/demo-dist
34
/release
45

56
# See http://help.github.com/ignore-files/ for more about ignoring files.
@@ -34,6 +35,7 @@
3435
/coverage
3536
/libpeerconnection.log
3637
npm-debug.log
38+
yarn-error.log
3739
testem.log
3840
/typings
3941

Diff for: .nyc_output/ad05bf248921aa47c6277037591bb3b5.json

+1
Large diffs are not rendered by default.

Diff for: .nyc_output/b56b8552af23ccdbfd5820b69e5cea00.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

Diff for: LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 Reyesoft <[email protected]>
3+
Copyright (c) 2017 Reyesoft <[email protected]>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)