Skip to content

Commit 7deaf63

Browse files
author
Gaillard
committed
new project organisation using cli + rxjs 6 dep + component prefix + revert devicePixelRatio
1 parent d6f4d5b commit 7deaf63

79 files changed

Lines changed: 13400 additions & 19964 deletions

File tree

Some content is hidden

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

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

.gitignore

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,39 @@
1-
$ cat .gitignore
2-
/node_modules
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
34
/dist
4-
/documentation
5+
/tmp
6+
/out-tsc
7+
8+
# dependencies
9+
/node_modules
10+
11+
# IDEs and editors
12+
/.idea
13+
.project
14+
.classpath
15+
.c9/
16+
*.launch
17+
.settings/
18+
*.sublime-workspace
19+
20+
# IDE - VSCode
21+
.vscode/*
22+
!.vscode/settings.json
23+
!.vscode/tasks.json
24+
!.vscode/launch.json
25+
!.vscode/extensions.json
26+
27+
# misc
28+
/.sass-cache
29+
/connect.lock
530
/coverage
31+
/libpeerconnection.log
32+
npm-debug.log
33+
yarn-error.log
34+
testem.log
35+
/typings
636

7-
*.log
8-
*.tgz
37+
# System Files
38+
.DS_Store
39+
Thumbs.db

.travis.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11

2+
<a name="1.0.0"></a>
3+
# 1.0.0 (2018-11-10)
4+
5+
* **Project organization:** Now follow `@angular/cli` library management way which is awesome: [Library status update 📢](https://github.com/bertrandg/angular-split/issues/122).
6+
* **Dependencies:** `angular@^7` and `rxjs@^6` with pipe method (`rxjs-compat` not needed anymore).
7+
* **Breaking changes:** Prefix `as-` added to component/directive to follow best practises: `<as-split>` & `<as-split-area>`.
8+
* **:** Revert change about `devicePixelRatio` added in `1.0.0-rc.3` because it was causing bad behavior on mobile [#85](https://github.com/bertrandg/angular-split/issues/85), need to investigate more to resolve [#81](https://github.com/bertrandg/angular-split/issues/81).
9+
10+
211
<a name="1.0.0-rc.3"></a>
312
# 1.0.0-rc.3 (2018-01-31)
413

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
# angular-split
2-
Angular UI library used to split views and to allow dragging to resize the split areas using CSS flexbox layout.
3-
4-
[![npm version](https://badge.fury.io/js/angular-split.svg)](https://badge.fury.io/js/angular-split)
1+
# angular-split [![npm version](https://badge.fury.io/js/angular-split.svg)](https://badge.fury.io/js/angular-split)
2+
Lightweight Angular UI library to split views and allow dragging to resize areas using CSS flexbox layout.
53

64
Documentation and examples:
75
[https://bertrandg.github.io/angular-split/](https://bertrandg.github.io/angular-split/)
8-
9-
**Warning:**
10-
Versions `[email protected]` needs `@angular/*@5.x`.
11-
Documentation for [versions 0.2.x](https://bertrandg.github.io/angular-split/old_0.2.x/)

angular-split.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

angular.json

Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"angular-split-app": {
7+
"root": "",
8+
"sourceRoot": "src",
9+
"projectType": "application",
10+
"prefix": "app",
11+
"schematics": {
12+
"@schematics/angular:component": {
13+
"styleext": "scss"
14+
}
15+
},
16+
"architect": {
17+
"build": {
18+
"builder": "@angular-devkit/build-angular:browser",
19+
"options": {
20+
"outputPath": "dist/angular-split-app",
21+
"index": "src/index.html",
22+
"main": "src/main.ts",
23+
"polyfills": "src/polyfills.ts",
24+
"tsConfig": "src/tsconfig.app.json",
25+
"assets": [
26+
"src/favicon.ico",
27+
"src/assets"
28+
],
29+
"styles": [
30+
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
31+
"src/styles.scss"
32+
],
33+
"scripts": []
34+
},
35+
"configurations": {
36+
"production": {
37+
"fileReplacements": [
38+
{
39+
"replace": "src/environments/environment.ts",
40+
"with": "src/environments/environment.prod.ts"
41+
}
42+
],
43+
"optimization": true,
44+
"outputHashing": "all",
45+
"sourceMap": false,
46+
"extractCss": true,
47+
"namedChunks": false,
48+
"aot": true,
49+
"extractLicenses": true,
50+
"vendorChunk": false,
51+
"buildOptimizer": true,
52+
"budgets": [
53+
{
54+
"type": "initial",
55+
"maximumWarning": "2mb",
56+
"maximumError": "5mb"
57+
}
58+
]
59+
}
60+
}
61+
},
62+
"serve": {
63+
"builder": "@angular-devkit/build-angular:dev-server",
64+
"options": {
65+
"browserTarget": "angular-split-app:build"
66+
},
67+
"configurations": {
68+
"production": {
69+
"browserTarget": "angular-split-app:build:production"
70+
}
71+
}
72+
},
73+
"extract-i18n": {
74+
"builder": "@angular-devkit/build-angular:extract-i18n",
75+
"options": {
76+
"browserTarget": "angular-split-app:build"
77+
}
78+
},
79+
"test": {
80+
"builder": "@angular-devkit/build-angular:karma",
81+
"options": {
82+
"main": "src/test.ts",
83+
"polyfills": "src/polyfills.ts",
84+
"tsConfig": "src/tsconfig.spec.json",
85+
"karmaConfig": "src/karma.conf.js",
86+
"styles": [
87+
"src/styles.scss"
88+
],
89+
"scripts": [],
90+
"assets": [
91+
"src/favicon.ico",
92+
"src/assets"
93+
]
94+
}
95+
},
96+
"lint": {
97+
"builder": "@angular-devkit/build-angular:tslint",
98+
"options": {
99+
"tsConfig": [
100+
"src/tsconfig.app.json",
101+
"src/tsconfig.spec.json"
102+
],
103+
"exclude": [
104+
"**/node_modules/**"
105+
]
106+
}
107+
}
108+
}
109+
},
110+
"angular-split-app-e2e": {
111+
"root": "e2e/",
112+
"projectType": "application",
113+
"prefix": "",
114+
"architect": {
115+
"e2e": {
116+
"builder": "@angular-devkit/build-angular:protractor",
117+
"options": {
118+
"protractorConfig": "e2e/protractor.conf.js",
119+
"devServerTarget": "angular-split-app:serve"
120+
},
121+
"configurations": {
122+
"production": {
123+
"devServerTarget": "angular-split-app:serve:production"
124+
}
125+
}
126+
},
127+
"lint": {
128+
"builder": "@angular-devkit/build-angular:tslint",
129+
"options": {
130+
"tsConfig": "e2e/tsconfig.e2e.json",
131+
"exclude": [
132+
"**/node_modules/**"
133+
]
134+
}
135+
}
136+
}
137+
},
138+
"angular-split": {
139+
"root": "projects/angular-split",
140+
"sourceRoot": "projects/angular-split/src",
141+
"projectType": "library",
142+
"prefix": "as",
143+
"architect": {
144+
"build": {
145+
"builder": "@angular-devkit/build-ng-packagr:build",
146+
"options": {
147+
"tsConfig": "projects/angular-split/tsconfig.lib.json",
148+
"project": "projects/angular-split/ng-package.json"
149+
}
150+
},
151+
"test": {
152+
"builder": "@angular-devkit/build-angular:karma",
153+
"options": {
154+
"main": "projects/angular-split/src/test.ts",
155+
"tsConfig": "projects/angular-split/tsconfig.spec.json",
156+
"karmaConfig": "projects/angular-split/karma.conf.js"
157+
}
158+
},
159+
"lint": {
160+
"builder": "@angular-devkit/build-angular:tslint",
161+
"options": {
162+
"tsConfig": [
163+
"projects/angular-split/tsconfig.lib.json",
164+
"projects/angular-split/tsconfig.spec.json"
165+
],
166+
"exclude": [
167+
"**/node_modules/**"
168+
]
169+
}
170+
}
171+
}
172+
}
173+
},
174+
"defaultProject": "angular-split-app"
175+
}

build.js

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)