Skip to content

Commit

Permalink
feat(date-time-picker): Angular 5 and bootstrap 4 component
Browse files Browse the repository at this point in the history
Initial version of angular 5 component

BREAKING CHANGE: Angular 1.x is no longer supported

Fixes #340, #350, and #390
  • Loading branch information
dalelotts committed Mar 2, 2018
1 parent 34666b9 commit ad9d467
Show file tree
Hide file tree
Showing 151 changed files with 26,364 additions and 6,155 deletions.
66 changes: 66 additions & 0 deletions .angular-cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "angular-bootstrap-datetimepicker"
},
"apps": [
{
"root": "src",
"outDir": "dist",
"assets": [
"assets",
"favicon.ico"
],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "dl",
"styles": [
"styles.scss"
],
"scripts": [],
"environmentSource": "environments/environment.ts",
"environments": {
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts"
}
}
],
"e2e": {
"protractor": {
"config": "./protractor.conf.js"
}
},
"lint": [
{
"project": "src/tsconfig.app.json",
"exclude": "**/node_modules/**"
},
{
"project": "src/tsconfig.spec.json",
"exclude": "**/node_modules/**"
},
{
"project": "e2e/tsconfig.e2e.json",
"exclude": "**/node_modules/**"
}
],
"test": {
"karma": {
"config": "./karma.conf.js"
},
"codeCoverage": {
"exclude": [
"**/specs/**"
]
}
},
"defaults": {
"styleExt": "scss",
"component": {
}
}
}
26 changes: 0 additions & 26 deletions .csscomb.json

This file was deleted.

13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
7 changes: 6 additions & 1 deletion .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Before submitting a new issue

Please have a look at [issues marked with the `type: faq` label](https://github.com/dalelotts/angular-bootstrap-datetimepicker/issues?utf8=%E2%9C%93&q=is%3Aissue%20label%3A%22type%3A%20faq%22%20).

### Is this a Support Question?
A support question starts with `how`, `why`, or some other statement indicating you are trying to understand how to use this directive.
A support question starts with `how`, `why`, or some other statement indicating you are trying to understand how to use this component.
For support questions, please use one of these channels:
Gitter: https://gitter.im/dalelotts/angular-bootstrap-datetimepicker
Stack Overflow: http://stackoverflow.com/search?q=angular-bootstrap-datetimepicker
Expand All @@ -9,6 +13,7 @@ Stack Overflow: http://stackoverflow.com/search?q=angular-bootstrap-datetimepick
**This repository's issues are reserved for feature requests and bug reports.**

### Bug Reports

**You MUST have a JSBin recreation of the defect or your issue will be CLOSED without explanation.**

**NB:** Search the existing issues (open and closed) to see if someone has already reported your bug. If so, vote with a 👍 reaction on the topmost description of the issue [(learn how)](https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments) and press the Subscribe button to receive updates when progress is made.
Expand Down
42 changes: 27 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,28 @@
*.csv
*.dat
*.gz
*.iml
*.log
*.out
*.pid
*.seed
.idea
build
lib-cov
logs
node_modules/*
!.vscode/extensions.json
!.vscode/launch.json
!.vscode/settings.json
!.vscode/tasks.json
*.launch
*.sublime-workspace
.c9/
.classpath
.DS_Store
.project
.settings/
.vscode/*
/.idea
/.sass-cache
/connect.lock
/coverage
/dist
/documentation
/e2e/*.js
/e2e/*.map
/libpeerconnection.log
/node_modules
/out-tsc
/tmp
/typings
npm-debug.log
pids
results
testem.log
Thumbs.db
90 changes: 0 additions & 90 deletions .jshintrc

This file was deleted.

15 changes: 0 additions & 15 deletions .npmignore

This file was deleted.

6 changes: 0 additions & 6 deletions .stylelintrc

This file was deleted.

19 changes: 13 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
sudo: false
sudo: required
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '7'
addons:
firefox: 'latest'
- '9'
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
Expand All @@ -17,9 +15,18 @@ before_script:
script:
- npm run test
after_success:
- npm run semantic-release
- npm run coverage:upload
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
- gh-pages
before_deploy:
- npm run document
deploy:
provider: pages
local-dir: documentation
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: false
on:
branch: master
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013-2014 Dale Lotts
Copyright (c) 2013-present Dale Lotts

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

0 comments on commit ad9d467

Please sign in to comment.