Skip to content

Commit 99f257d

Browse files
committed
merge master changes: event plugin / forRoot() / wording
2 parents 2ea1c6b + 0f65554 commit 99f257d

File tree

20 files changed

+337
-382
lines changed

20 files changed

+337
-382
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<a name="2.0.1"></a>
2+
# 2.0.1 (2018-12-21)
3+
4+
* **Module import:** Service now provided inside `AngularSplitModule.forRoot()` method instead of directly in module annotation. _Warning: Be sure to import module using `forRoot()` method otherwise it will not works anymore._
5+
* **Internal:** Now use an `EventManagerPlugin` instead of extending `EventManager` and use "as-split-undetected." template event prefix.
16

27
<a name="2.0.0"></a>
38
# 2.0.0 (2018-12-09)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# angular-split [![npm latest version](https://img.shields.io/npm/v/angular-split/latest.svg?style=flat-square)](https://www.npmjs.com/package/angular-split) [![NPM next version](https://img.shields.io/npm/v/angular-split/next.svg?style=flat-square)](https://www.npmjs.com/package/angular-split) [![Travis build](https://img.shields.io/travis/com/bertrandg/angular-split/master.svg?style=flat-square&label=Cypress+E2E+tests)](https://travis-ci.com/bertrandg/angular-split)
2-
Lightweight Angular UI library to split views and allow dragging to resize areas using CSS flexbox layout.
2+
Angular UI library to split views and allow dragging to resize areas using CSS flexbox layout.
33

44
Documentation and examples:
55
[https://bertrandg.github.io/angular-split/](https://bertrandg.github.io/angular-split/)

angular.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@
9696
"src_lazy_app/assets"
9797
],
9898
"styles": [
99-
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
10099
"src_lazy_app/styles.scss"
101100
],
102101
"scripts": []

cypress/support/splitUtils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export function moveGutter(gutters, num, x, y) {
99
.trigger('mouseup');
1010

1111
cy.document().trigger('mouseup', { force: true });
12+
cy.wait(10);
1213
}
1314

1415
//////////////////////////////////////////

package-lock.json

Lines changed: 178 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
"ng": "ng",
66
"start": "ng serve",
77
"lint": "ng lint",
8-
"app_build": "npm run lib_build && ng build --prod --base-href /angular-split/",
8+
"app_build": "npm run lib_build && ng build --prod --base-href /angular-split/ && ng build angular-split-app-lazy --prod --base-href /angular-split/lazy",
99
"app_analyze": "npm run lib_build && ng build --prod --stats-json && webpack-bundle-analyzer dist/angular-split-app/stats.json",
1010
"app_lazy_build": "npm run lib_build && ng build angular-split-app-lazy --prod --base-href /angular-split/lazy",
11-
"lib_build": "ng build angular-split",
11+
"lib_build": "ng build angular-split && npm run lib_copy_license && npm run lib_copy_readme",
12+
"lib_copy_license": "cpx .\\LICENSE .\\dist\\angular-split",
13+
"lib_copy_readme": "cpx .\\README.md .\\dist\\angular-split",
1214
"lib_tgz": "npm run lib_build && cd dist/angular-split && npm pack",
1315
"lib_pub_next": "npm run lib_build && npm publish --tag next ./dist/angular-split",
1416
"lib_pub_latest": "npm run lib_build && npm publish --tag latest ./dist/angular-split",
@@ -47,6 +49,7 @@
4749
"@types/node": "10.12.3",
4850
"codelyzer": "4.5.0",
4951
"concurrently": "4.0.1",
52+
"cpx": "1.5.0",
5053
"cypress": "3.1.1",
5154
"http-server": "0.11.1",
5255
"jasmine-core": "3.3.0",

0 commit comments

Comments
 (0)