Skip to content

Commit ad9d467

Browse files
committed
feat(date-time-picker): Angular 5 and bootstrap 4 component
Initial version of angular 5 component BREAKING CHANGE: Angular 1.x is no longer supported Fixes #340, #350, and #390
1 parent 34666b9 commit ad9d467

File tree

151 files changed

+26364
-6155
lines changed

Some content is hidden

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

151 files changed

+26364
-6155
lines changed

.angular-cli.json

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"project": {
4+
"name": "angular-bootstrap-datetimepicker"
5+
},
6+
"apps": [
7+
{
8+
"root": "src",
9+
"outDir": "dist",
10+
"assets": [
11+
"assets",
12+
"favicon.ico"
13+
],
14+
"index": "index.html",
15+
"main": "main.ts",
16+
"polyfills": "polyfills.ts",
17+
"test": "test.ts",
18+
"tsconfig": "tsconfig.app.json",
19+
"testTsconfig": "tsconfig.spec.json",
20+
"prefix": "dl",
21+
"styles": [
22+
"styles.scss"
23+
],
24+
"scripts": [],
25+
"environmentSource": "environments/environment.ts",
26+
"environments": {
27+
"dev": "environments/environment.ts",
28+
"prod": "environments/environment.prod.ts"
29+
}
30+
}
31+
],
32+
"e2e": {
33+
"protractor": {
34+
"config": "./protractor.conf.js"
35+
}
36+
},
37+
"lint": [
38+
{
39+
"project": "src/tsconfig.app.json",
40+
"exclude": "**/node_modules/**"
41+
},
42+
{
43+
"project": "src/tsconfig.spec.json",
44+
"exclude": "**/node_modules/**"
45+
},
46+
{
47+
"project": "e2e/tsconfig.e2e.json",
48+
"exclude": "**/node_modules/**"
49+
}
50+
],
51+
"test": {
52+
"karma": {
53+
"config": "./karma.conf.js"
54+
},
55+
"codeCoverage": {
56+
"exclude": [
57+
"**/specs/**"
58+
]
59+
}
60+
},
61+
"defaults": {
62+
"styleExt": "scss",
63+
"component": {
64+
}
65+
}
66+
}

.csscomb.json

-26
This file was deleted.

.editorconfig

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

.github/issue_template.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
## Before submitting a new issue
2+
3+
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).
4+
15
### Is this a Support Question?
2-
A support question starts with `how`, `why`, or some other statement indicating you are trying to understand how to use this directive.
6+
A support question starts with `how`, `why`, or some other statement indicating you are trying to understand how to use this component.
37
For support questions, please use one of these channels:
48
Gitter: https://gitter.im/dalelotts/angular-bootstrap-datetimepicker
59
Stack Overflow: http://stackoverflow.com/search?q=angular-bootstrap-datetimepicker
@@ -9,6 +13,7 @@ Stack Overflow: http://stackoverflow.com/search?q=angular-bootstrap-datetimepick
913
**This repository's issues are reserved for feature requests and bug reports.**
1014

1115
### Bug Reports
16+
1217
**You MUST have a JSBin recreation of the defect or your issue will be CLOSED without explanation.**
1318

1419
**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.

.gitignore

+27-15
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,28 @@
1-
*.csv
2-
*.dat
3-
*.gz
4-
*.iml
5-
*.log
6-
*.out
7-
*.pid
8-
*.seed
9-
.idea
10-
build
11-
lib-cov
12-
logs
13-
node_modules/*
1+
!.vscode/extensions.json
2+
!.vscode/launch.json
3+
!.vscode/settings.json
4+
!.vscode/tasks.json
5+
*.launch
6+
*.sublime-workspace
7+
.c9/
8+
.classpath
9+
.DS_Store
10+
.project
11+
.settings/
12+
.vscode/*
13+
/.idea
14+
/.sass-cache
15+
/connect.lock
16+
/coverage
17+
/dist
18+
/documentation
19+
/e2e/*.js
20+
/e2e/*.map
21+
/libpeerconnection.log
22+
/node_modules
23+
/out-tsc
24+
/tmp
25+
/typings
1426
npm-debug.log
15-
pids
16-
results
27+
testem.log
28+
Thumbs.db

.jshintrc

-90
This file was deleted.

.npmignore

-15
This file was deleted.

.stylelintrc

-6
This file was deleted.

.travis.yml

+13-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
sudo: false
1+
sudo: required
22
language: node_js
33
cache:
44
directories:
55
- node_modules
66
notifications:
77
email: false
88
node_js:
9-
- '7'
10-
addons:
11-
firefox: 'latest'
9+
- '9'
1210
before_install:
1311
- export DISPLAY=:99.0
1412
- sh -e /etc/init.d/xvfb start
@@ -17,9 +15,18 @@ before_script:
1715
script:
1816
- npm run test
1917
after_success:
20-
- npm run semantic-release
21-
- npm run coverage:upload
18+
- npm run travis-deploy-once "npm run semantic-release"
2219
branches:
2320
except:
2421
- "/^v\\d+\\.\\d+\\.\\d+$/"
2522
- gh-pages
23+
before_deploy:
24+
- npm run document
25+
deploy:
26+
provider: pages
27+
local-dir: documentation
28+
skip-cleanup: true
29+
github-token: $GITHUB_TOKEN
30+
keep-history: false
31+
on:
32+
branch: master

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013-2014 Dale Lotts
1+
Copyright (c) 2013-present Dale Lotts
22

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

0 commit comments

Comments
 (0)