Skip to content

Commit f39d1f3

Browse files
authored
Merge pull request #7 from id2s/fix/empty-date
Fix/empty date
2 parents 762c6c6 + 1af1f96 commit f39d1f3

18 files changed

+3090
-2930
lines changed

.build/docker-compose.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: '3'
2+
3+
services:
4+
node:
5+
build:
6+
context: ./node/
7+
args:
8+
- UID=${DOCKER_UID}
9+
- GID=${DOCKER_GID}
10+
- VERSION=${NODE_VERSION}
11+
user: ${DOCKER_UID}:${DOCKER_GID}
12+
command: "sh -c 'npm install --no-bin-links && npm run build:dist'"
13+
volumes:
14+
- ../:/app

.build/node/Dockerfile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
ARG VERSION
2+
3+
FROM bitnami/node:${VERSION}
4+
5+
USER root
6+
7+
ARG UID=1000
8+
ARG GID=1000
9+
10+
RUN usermod -u ${UID} daemon
11+
RUN groupmod -g ${GID} daemon
12+
13+
RUN mkdir /home/daemon
14+
RUN chown -R daemon:daemon /home/daemon
15+
RUN usermod -d /home/daemon daemon
16+
RUN chown -R daemon:daemon /opt/bitnami/
17+
18+
USER daemon
19+
20+
RUN npm install -g @angular/[email protected]
21+
22+
RUN npm install -g node-sass
23+
24+
RUN npm install -g webpack

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
# Fork of ol ng2-datepicker
2+
3+
## Compile library
4+
5+
Compile it with :
6+
7+
```shell script
8+
cd .build && docker-compose up node
9+
```
10+
Commit modified files
11+
12+
## Install Library
13+
14+
```shell script
15+
npm install -P @id2s/ng2-datepicker@latest
16+
```
17+
18+
## Update library
19+
And update package version in your project by modifying.
20+
21+
```
22+
npm update
23+
```
24+
25+
Or modify commit value in **package-lock.json**
26+
27+
128
# ng2-datepicker
229

330
Angular 2+ Simple and minimal datepicker component

bundles/ng2-datepicker.umd.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundles/ng2-datepicker.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)