Skip to content

Commit 3cc6a99

Browse files
authored
feat(package): upgrade to ng v2.3+ (#574)
1 parent f5b5dc3 commit 3cc6a99

75 files changed

Lines changed: 3848 additions & 3256 deletions

Some content is hidden

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

.config/bundle-system.js

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

.eslintrc.json

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

.gitignore

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
# Dependency directory
22
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
33
/node_modules
4-
npm-debug.log
4+
/bower_components
55

6-
# type script artifacts
7-
/typings
6+
# IDEs and editors
7+
/.idea
8+
/.vscode
9+
.project
10+
.classpath
11+
*.launch
12+
.settings/
813

9-
# WebStorm
10-
.idea
11-
.vscode
14+
# misc
15+
/.sass-cache
16+
/connect.lock
17+
/coverage
18+
/libpeerconnection.log
19+
npm-debug.log
1220

1321
# ignore build and dist for now
14-
/bundles
15-
/demo-build
1622
/dist
17-
/coverage
18-
/ts
19-
20-
# ignore incline compiling
21-
/demo/**/*.js
22-
/demo/**/*.d.ts
23-
!/demo/custom-typings.d.ts
24-
/demo/**/*.js.map
25-
/components/**/*.js
26-
/components/**/*.d.ts
27-
/components/**/*.js.map
28-
ng2-file-upload.js
29-
ng2-file-upload.d.ts
30-
ng2-file-upload.js.map
23+
/temp
24+
/demo/dist
25+
/demo/temp
3126
/logs
3227

33-
!/demo/components/file-upload/file-catcher.js
28+
#System Files
29+
.DS_Store
30+
Thumbs.db
31+
3432

35-
# AoT generated files
36-
factories
37-
/**/*.metadata.json
38-
/**/*.ngfactory.ts
33+
/demo/e2e/*.js
34+
/demo/e2e/*.map
35+
src/**/*.js
36+
src/**/*.map
37+
scripts/**/*.js
38+
scripts/**/*.map

.ng2-config.js

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

.npmignore

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

.travis.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,20 @@ language: node_js
22
node_js:
33
- "6"
44

5+
before_install:
6+
- export CHROME_BIN=chromium-browser
7+
- export DISPLAY=:99.0
8+
- sh -e /etc/init.d/xvfb start
9+
510
script:
6-
- npm test
11+
- npm run pretest
12+
- npm run test-coverage
713

814
after_success:
9-
- ./node_modules/.bin/codecov -f coverage/coverage-final.json
15+
- ./node_modules/.bin/codecov
1016

1117
addons:
12-
# sauce labs tunel connector (read more https://docs.travis-ci.com/user/sauce-connect/ )
13-
sauce_connect: true
14-
firefox: "42.0"
18+
firefox: "latest"
1519
apt:
1620
sources:
1721
- ubuntu-toolchain-r-test

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015 Dmitriy Shekhovtsov <valorkin@gmail.com>
4-
Copyright (c) 2015 Valor Software
3+
Copyright (c) 2015-2017 Dmitriy Shekhovtsov <valorkin@gmail.com>
4+
Copyright (c) 2015-1017 Valor Software
55

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

angular-cli.json

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"project": {
3+
"name": "ng2-file-upload"
4+
},
5+
"apps": [
6+
{
7+
"root": "demo/src",
8+
"outDir": "demo/dist",
9+
"assets": [
10+
"assets"
11+
],
12+
"index": "index.html",
13+
"main": "main.ts",
14+
"test": "../../scripts/test.ts",
15+
"tsconfig": "tsconfig.json",
16+
"prefix": "",
17+
"mobile": false,
18+
"styles": [
19+
],
20+
"scripts": [
21+
],
22+
"environments": {
23+
"source": "environments/environment.ts",
24+
"dev": "environments/environment.ts",
25+
"prod": "environments/environment.prod.ts"
26+
}
27+
}
28+
],
29+
"addons": [],
30+
"packages": [],
31+
"e2e": {
32+
"protractor": {
33+
"config": "protractor.conf.js"
34+
}
35+
},
36+
"test": {
37+
"karma": {
38+
"config": "karma.conf.js"
39+
}
40+
},
41+
"defaults": {
42+
"styleExt": "css",
43+
"prefixInterfaces": false,
44+
"inline": {
45+
"style": false,
46+
"template": false
47+
},
48+
"spec": {
49+
"class": false,
50+
"component": true,
51+
"directive": true,
52+
"module": false,
53+
"pipe": true,
54+
"service": true
55+
}
56+
}
57+
}

demo/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
src/api-doc.json

0 commit comments

Comments
 (0)