Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit 93f28ce

Browse files
committed
auto publish to npm
1 parent 93b803b commit 93f28ce

File tree

8 files changed

+2757
-2253
lines changed

8 files changed

+2757
-2253
lines changed

.github/workflows/publish.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Build"
2+
on:
3+
push:
4+
tags:
5+
- *
6+
jobs:
7+
build:
8+
name: Test
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: borales/[email protected]
13+
with:
14+
cmd: publish
15+
# - uses: borales/[email protected]
16+
# with:
17+
# cmd: build
18+

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ node_modules/
66
lib/
77
NOTES.txt
88
styleguide/
9-
dist/
9+
dist/

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ NEW
5656
```js
5757
<Calendar
5858
date={this.state.eventDate} // js object
59-
onChange={date => this.setState({ eventDate: date })} //
59+
onChange={date => this.setState({ eventDate: date })} //
6060
/>
6161
```
6262

6363
NEW with moment (or any other date libraries)
6464
```js
6565
<Calendar
6666
date={this.state.eventDate.toDate()} // convert moment object to js Date
67-
onChange={date => this.setState({ eventDate: moment(date) })} //
67+
onChange={date => this.setState({ eventDate: moment(date) })} //
6868
/>
6969
```
7070
- BREAKING: Theming and style approach complately changed. `react-date-range` don't use inline styles any more. At the new version you should import **skeleton styles** and **theme styles**
@@ -86,7 +86,7 @@ import 'react-date-range/dist/theme/default.css';
8686
NEW
8787
```js
8888
import turkish from 'react-date-range/locale/tr';
89-
// you can view full list in https://github.com/Adphorus/react-date-range/tree/next/src/locale/index.js
89+
// you can view full list in https://github.com/hypeserver/react-date-range/tree/next/src/locale/index.js
9090
<Calendar locale={turkish} />
9191
```
9292

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing Guide
22

3-
Make sure your issue or feature doesn't have any related issue at [react-date-range repo](https://github.com/Adphorus/react-date-range/issues). If it didn't exist already, create an issue.
3+
Make sure your issue or feature doesn't have any related issue at [react-date-range repo](https://github.com/hypeserver/react-date-range/issues). If it didn't exist already, create an issue.
44

55
## Getting Started
66

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The MIT License (MIT)
2-
Copyright (c) 2015-2016 Adphorus
2+
Copyright (c) 2015-2016 Hypeserver
33

44
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 the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
55

demo/components/StyleGuide.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export function StyleGuideRenderer({ classes, title, homepageUrl, children }) {
7474
</a>
7575
</Logo>
7676
<nav className={classes.nav}>
77-
<a className={classes.headerLink} href="https://github.com/Adphorus/react-date-range">
77+
<a className={classes.headerLink} href="https://github.com/hypeserver/react-date-range">
7878
GitHub
7979
</a>
8080
</nav>

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-date-range",
3-
"version": "1.1.3",
3+
"version": "1.1.4-alpha.1",
44
"description": "A React component for choosing dates and date ranges.",
55
"main": "dist/index.js",
66
"scripts": {
@@ -22,16 +22,17 @@
2222
"contributors": [
2323
"Burak Can <[email protected]> (https://github.com/burakcan)",
2424
"Mehmet Kamil Morcay <[email protected]> (https://github.com/mkg0)",
25+
"Kamyar Ghasemlou <[email protected]> (https://github.com/kamyar)",
2526
"Engin Semih Basmacı <[email protected]> (https://github.com/mortargrind)",
2627
"Onur Kerimov <[email protected]> (https://github.com/onurkerimov)"
2728
],
2829
"license": "MIT",
2930
"repository": {
3031
"type": "git",
31-
"url": "http://github.com/Adphorus/react-date-range"
32+
"url": "http://github.com/hypeserver/react-date-range"
3233
},
3334
"bugs": {
34-
"url": "http://github.com/Adphorus/react-date-range/issues"
35+
"url": "http://github.com/hypeserver/react-date-range/issues"
3536
},
3637
"browserslist": [
3738
"defaults"

yarn.lock

Lines changed: 2728 additions & 2243 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)