Skip to content

Commit cef0385

Browse files
committed
fix(*): fix demo build output dir, add missing dependency for gh-pages, add extrab badge - version
1 parent 49e47fd commit cef0385

4 files changed

Lines changed: 70 additions & 18 deletions

File tree

.angular-cli.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,32 @@
55
},
66
"apps": [
77
{
8-
"root": "src",
8+
"root": "src/demo",
99
"outDir": "dist-demo",
1010
"assets": [
1111
"assets",
1212
"favicon.ico"
1313
],
14-
"index": "demo/index.html",
15-
"main": "demo/main.ts",
16-
"polyfills": "demo/polyfills.ts",
17-
"test": "../test/test.ts",
18-
"tsconfig": "demo/tsconfig.app.json",
19-
"testTsconfig": "../test/tsconfig.spec.json",
14+
"index": "index.html",
15+
"main": "main.ts",
16+
"polyfills": "polyfills.ts",
17+
"test": "../../test/test.ts",
18+
"tsconfig": "tsconfig.app.json",
19+
"testTsconfig": "../../test/tsconfig.spec.json",
2020
"prefix": "app",
2121
"styles": [
22-
"../node_modules/alertifyjs/build/css/alertify.css",
23-
"../node_modules/alertifyjs/build/css/themes/default.css",
24-
"../node_modules/font-awesome/css/font-awesome.min.css",
25-
"styles.css"
22+
"../../node_modules/alertifyjs/build/css/alertify.css",
23+
"../../node_modules/alertifyjs/build/css/themes/default.css",
24+
"../../node_modules/font-awesome/css/font-awesome.min.css",
25+
"../styles.css"
2626
],
2727
"scripts": [
28-
"../node_modules/alertifyjs/build/alertify.js"
28+
"../../node_modules/alertifyjs/build/alertify.js"
2929
],
30-
"environmentSource": "demo/environments/environment.ts",
30+
"environmentSource": "environments/environment.ts",
3131
"environments": {
32-
"dev": "demo/environments/environment.ts",
33-
"prod": "demo/environments/environment.prod.ts"
32+
"dev": "environments/environment.ts",
33+
"prod": "environments/environment.prod.ts"
3434
}
3535
}
3636
],

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# :herb: ng2-tree
22

3+
[![npm](https://img.shields.io/npm/v/ng2-tree.svg)](https://www.npmjs.com/package/ng2-tree)
34
[![Travis](https://img.shields.io/travis/valor-software/ng2-tree.svg?style=flat-square)](https://travis-ci.org/valor-software/ng2-tree)
45
[![Codecov](https://img.shields.io/codecov/c/github/valor-software/ng2-tree.svg?style=flat-square)](https://codecov.io/github/valor-software/ng2-tree)
56

@@ -112,7 +113,7 @@ class MyComponent {
112113
Voila! That's pretty much it - enjoy :blush:
113114

114115
## :eyes: Demo
115-
Feel free to examine the [demo](https://valor-software.github.io/ng2-tree) and its [sources](demo/) to find out how things are wired.
116+
Feel free to examine the [demo](https://valor-software.github.io/ng2-tree/index.html) and its [sources](src/demo) to find out how things are wired.
116117
Also there is [another demo built with Angular CLI](https://github.com/rychkog/ng2-tree-demo).
117118

118119
## :wrench: API

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"conventional-github-releaser": "1.1.11",
7676
"core-js": "2.4.1",
7777
"font-awesome": "4.7.0",
78+
"gh-pages": "1.0.0",
7879
"jasmine-core": "2.6.3",
7980
"jasmine-data-provider": "2.2.0",
8081
"jasmine-spec-reporter": "4.1.0",

yarn.lock

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,12 @@ async-foreach@^0.1.3:
378378
version "0.1.3"
379379
resolved "https://registry.yarnpkg.com/async-foreach/-/async-foreach-0.1.3.tgz#36121f845c0578172de419a97dbeb1d16ec34542"
380380

381+
async@2.1.4:
382+
version "2.1.4"
383+
resolved "https://registry.yarnpkg.com/async/-/async-2.1.4.tgz#2d2160c7788032e4dd6cbe2502f1f9a2c8f6cde4"
384+
dependencies:
385+
lodash "^4.14.0"
386+
381387
async@2.4.1, async@^2.1.2, async@^2.1.4, async@^2.1.5:
382388
version "2.4.1"
383389
resolved "https://registry.yarnpkg.com/async/-/async-2.4.1.tgz#62a56b279c98a11d0987096a01cc3eeb8eb7bbd7"
@@ -590,6 +596,10 @@ base64id@1.0.0:
590596
version "1.0.0"
591597
resolved "https://registry.yarnpkg.com/base64id/-/base64id-1.0.0.tgz#47688cb99bb6804f0e06d3e763b1c32e57d8e6b6"
592598

599+
base64url@^2.0.0:
600+
version "2.0.0"
601+
resolved "https://registry.yarnpkg.com/base64url/-/base64url-2.0.0.tgz#eac16e03ea1438eff9423d69baa36262ed1f70bb"
602+
593603
batch@0.6.1:
594604
version "0.6.1"
595605
resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16"
@@ -992,7 +1002,7 @@ combined-stream@^1.0.5, combined-stream@~1.0.5:
9921002
dependencies:
9931003
delayed-stream "~1.0.0"
9941004

995-
commander@2.9.x, commander@^2.9.0, commander@~2.9.0:
1005+
commander@2.9.0, commander@2.9.x, commander@^2.9.0, commander@~2.9.0:
9961006
version "2.9.0"
9971007
resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4"
9981008
dependencies:
@@ -2108,6 +2118,14 @@ fs-extra@^2.0.0:
21082118
graceful-fs "^4.1.2"
21092119
jsonfile "^2.1.0"
21102120

2121+
fs-extra@^3.0.1:
2122+
version "3.0.1"
2123+
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-3.0.1.tgz#3794f378c58b342ea7dbbb23095109c4b3b62291"
2124+
dependencies:
2125+
graceful-fs "^4.1.2"
2126+
jsonfile "^3.0.0"
2127+
universalify "^0.1.0"
2128+
21112129
fs-extra@~1.0.0:
21122130
version "1.0.0"
21132131
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-1.0.0.tgz#cd3ce5f7e7cb6145883fcae3191e9877f8587950"
@@ -2201,6 +2219,18 @@ getpass@^0.1.1:
22012219
dependencies:
22022220
assert-plus "^1.0.0"
22032221

2222+
gh-pages@1.0.0:
2223+
version "1.0.0"
2224+
resolved "https://registry.yarnpkg.com/gh-pages/-/gh-pages-1.0.0.tgz#4a46f4c25439f7a2b7e6835504d4a49e949f04ca"
2225+
dependencies:
2226+
async "2.1.4"
2227+
base64url "^2.0.0"
2228+
commander "2.9.0"
2229+
fs-extra "^3.0.1"
2230+
globby "^6.1.0"
2231+
graceful-fs "4.1.11"
2232+
rimraf "^2.5.4"
2233+
22042234
git-raw-commits@^1.2.0:
22052235
version "1.2.0"
22062236
resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-1.2.0.tgz#0f3a8bfd99ae0f2d8b9224d58892975e9a52d03c"
@@ -2301,6 +2331,16 @@ globby@^5.0.0:
23012331
pify "^2.0.0"
23022332
pinkie-promise "^2.0.0"
23032333

2334+
globby@^6.1.0:
2335+
version "6.1.0"
2336+
resolved "https://registry.yarnpkg.com/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c"
2337+
dependencies:
2338+
array-union "^1.0.1"
2339+
glob "^7.0.3"
2340+
object-assign "^4.0.1"
2341+
pify "^2.0.0"
2342+
pinkie-promise "^2.0.0"
2343+
23042344
globule@^1.0.0:
23052345
version "1.1.0"
23062346
resolved "https://registry.yarnpkg.com/globule/-/globule-1.1.0.tgz#c49352e4dc183d85893ee825385eb994bb6df45f"
@@ -2309,7 +2349,7 @@ globule@^1.0.0:
23092349
lodash "~4.16.4"
23102350
minimatch "~3.0.2"
23112351

2312-
graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9:
2352+
graceful-fs@4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9:
23132353
version "4.1.11"
23142354
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
23152355

@@ -3022,6 +3062,12 @@ jsonfile@^2.1.0:
30223062
optionalDependencies:
30233063
graceful-fs "^4.1.6"
30243064

3065+
jsonfile@^3.0.0:
3066+
version "3.0.0"
3067+
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-3.0.0.tgz#92e7c7444e5ffd5fa32e6a9ae8b85034df8347d0"
3068+
optionalDependencies:
3069+
graceful-fs "^4.1.6"
3070+
30253071
jsonify@~0.0.0:
30263072
version "0.0.0"
30273073
resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73"
@@ -5523,6 +5569,10 @@ uniqs@^2.0.0:
55235569
version "2.0.0"
55245570
resolved "https://registry.yarnpkg.com/uniqs/-/uniqs-2.0.0.tgz#ffede4b36b25290696e6e165d4a59edb998e6b02"
55255571

5572+
universalify@^0.1.0:
5573+
version "0.1.0"
5574+
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.0.tgz#9eb1c4651debcc670cc94f1a75762332bb967778"
5575+
55265576
unpipe@1.0.0, unpipe@~1.0.0:
55275577
version "1.0.0"
55285578
resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"

0 commit comments

Comments
 (0)