Skip to content

Commit

Permalink
feat(package): upgrade to ng v2.3+ (valor-software#574)
Browse files Browse the repository at this point in the history
  • Loading branch information
valorkin authored Jan 17, 2017
1 parent f5b5dc3 commit 3cc6a99
Show file tree
Hide file tree
Showing 75 changed files with 3,848 additions and 3,256 deletions.
107 changes: 0 additions & 107 deletions .config/bundle-system.js

This file was deleted.

6 changes: 0 additions & 6 deletions .eslintrc.json

This file was deleted.

54 changes: 27 additions & 27 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
/node_modules
npm-debug.log
/bower_components

# type script artifacts
/typings
# IDEs and editors
/.idea
/.vscode
.project
.classpath
*.launch
.settings/

# WebStorm
.idea
.vscode
# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log

# ignore build and dist for now
/bundles
/demo-build
/dist
/coverage
/ts

# ignore incline compiling
/demo/**/*.js
/demo/**/*.d.ts
!/demo/custom-typings.d.ts
/demo/**/*.js.map
/components/**/*.js
/components/**/*.d.ts
/components/**/*.js.map
ng2-file-upload.js
ng2-file-upload.d.ts
ng2-file-upload.js.map
/temp
/demo/dist
/demo/temp
/logs

!/demo/components/file-upload/file-catcher.js
#System Files
.DS_Store
Thumbs.db


# AoT generated files
factories
/**/*.metadata.json
/**/*.ngfactory.ts
/demo/e2e/*.js
/demo/e2e/*.map
src/**/*.js
src/**/*.map
scripts/**/*.js
scripts/**/*.map
29 changes: 0 additions & 29 deletions .ng2-config.js

This file was deleted.

27 changes: 0 additions & 27 deletions .npmignore

This file was deleted.

14 changes: 9 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@ language: node_js
node_js:
- "6"

before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start

script:
- npm test
- npm run pretest
- npm run test-coverage

after_success:
- ./node_modules/.bin/codecov -f coverage/coverage-final.json
- ./node_modules/.bin/codecov

addons:
# sauce labs tunel connector (read more https://docs.travis-ci.com/user/sauce-connect/ )
sauce_connect: true
firefox: "42.0"
firefox: "latest"
apt:
sources:
- ubuntu-toolchain-r-test
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The MIT License (MIT)

Copyright (c) 2015 Dmitriy Shekhovtsov <[email protected]>
Copyright (c) 2015 Valor Software
Copyright (c) 2015-2017 Dmitriy Shekhovtsov <[email protected]>
Copyright (c) 2015-1017 Valor Software

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
57 changes: 57 additions & 0 deletions angular-cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"project": {
"name": "ng2-file-upload"
},
"apps": [
{
"root": "demo/src",
"outDir": "demo/dist",
"assets": [
"assets"
],
"index": "index.html",
"main": "main.ts",
"test": "../../scripts/test.ts",
"tsconfig": "tsconfig.json",
"prefix": "",
"mobile": false,
"styles": [
],
"scripts": [
],
"environments": {
"source": "environments/environment.ts",
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts"
}
}
],
"addons": [],
"packages": [],
"e2e": {
"protractor": {
"config": "protractor.conf.js"
}
},
"test": {
"karma": {
"config": "karma.conf.js"
}
},
"defaults": {
"styleExt": "css",
"prefixInterfaces": false,
"inline": {
"style": false,
"template": false
},
"spec": {
"class": false,
"component": true,
"directive": true,
"module": false,
"pipe": true,
"service": true
}
}
}
2 changes: 2 additions & 0 deletions demo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Created by .ignore support plugin (hsz.mobi)
src/api-doc.json
Loading

0 comments on commit 3cc6a99

Please sign in to comment.