Skip to content

Commit c22ad74

Browse files
committed
chore(project)!: Prepare release as @mst101/vue-datepicker
1 parent e15f167 commit c22ad74

File tree

12 files changed

+2873
-1448
lines changed

12 files changed

+2873
-1448
lines changed

.github/workflows/release-please.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
10+
name: release-please
11+
12+
jobs:
13+
release-please:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: google-github-actions/release-please-action@v3
17+
with:
18+
release-type: node
19+
package-name: mst101/vue-datepicker

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
[![@sum.cumo/vue-datepicker](https://badgen.net/bundlephobia/min/@sum.cumo/vue-datepicker)](https://bundlephobia.com/result?p=@sum.cumo/vue-datepicker)
2-
[![@sum.cumo/vue-datepicker](https://badgen.net/npm/v/@sum.cumo/vue-datepicker)](https://www.npmjs.com/package/@sum.cumo/vue-datepicker)
1+
[![@mst101/vue-datepicker](https://badgen.net/bundlephobia/min/@mst101/vue-datepicker)](https://bundlephobia.com/result?p=@mst101/vue-datepicker)
2+
[![@mst101/vue-datepicker](https://badgen.net/npm/v/@mst101/vue-datepicker)](https://www.npmjs.com/package/@mst101/vue-datepicker)
33

44
# Datepicker
55

6-
This is a fork from the project [vuejs-datepicker](https://github.com/charliekassel/vuejs-datepicker)
7-
which is licensed under the [MIT](https://github.com/charliekassel/vuejs-datepicker/blob/master/LICENSE) license.
8-
Thanks to the original creators [charliekassel](https://github.com/charliekassel) for the great work.
9-
106
A datepicker Vue component compatible with Vue 3.x.
117

128
N.B. For Vue 2.x, please use version 4.x.
@@ -16,6 +12,9 @@ N.B. For Vue 2.x, please use version 4.x.
1612
- [Contribution](#Contribution)
1713
- [License](#License)
1814

15+
N.B. This is a fork from [@sum.cumo/vue-datepicker](https://github.com/sumcumo/vue-datepicker) to which I have previously contributed but which is no longer maintained. That project was originally forked from [vuejs-datepicker](https://github.com/charliekassel/vuejs-datepicker) which is licensed under the [MIT](https://github.com/charliekassel/vuejs-datepicker/blob/master/LICENSE) license.
16+
Thanks to the original creators for the great work.
17+
1918
## Features
2019

2120
- accepts keyboard input
@@ -31,17 +30,17 @@ N.B. For Vue 2.x, please use version 4.x.
3130

3231
## Documentation
3332

34-
Checkout the vuepress [Documentation](https://sumcumo.github.io/vue-datepicker/).
35-
There you will also find the [Demo](https://sumcumo.github.io/vue-datepicker/demo/) pages
36-
and the [Migration](https://sumcumo.github.io/vue-datepicker/guide/Migration) guide.
33+
Checkout the vuepress [Documentation](https://mst101.github.io/vue-datepicker/).
34+
There you will also find the [Demo](https://mst101.github.io/vue-datepicker/demo/) pages
35+
and the [Migration](https://mst101.github.io/vue-datepicker/guide/Migration) guide.
3736

3837
## Contribution
3938

40-
Please feel free to [open up an issue](https://github.com/sumcumo/vue-datepicker/issues/new) or provide a pull request.
39+
Please feel free to [open up an issue](https://github.com/mst101/vue-datepicker/issues/new) or provide a pull request.
4140

4241
## License
4342

44-
Copyright 2023 [sum.cumo GmbH](https://www.sumcumo.com/)
43+
Copyright 2023 Mark Thompson
4544

4645
Licensed under the Apache License, Version 2.0 (the "License");
4746
you may not use this file except in compliance with the License.

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ features:
2121
- title: Append to body
2222
details: Append the picker to the body
2323

24-
footer: sum.cumo ® - Made to Innovate
24+
# footer: Mark Thompson
2525
---

docs/guide/Integrations/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Click here to see a [working example](../../demo/Integrations#vee-validate/).
6767
6868
<script setup>
6969
import { useField } from 'vee-validate'
70-
import DatePicker from '@sum.cumo/vue-datepicker'
70+
import DatePicker from '@mst101/vue-datepicker'
7171
7272
// Validator function
7373
const isRequired = (value) => (value ? true : 'Please enter a date')

docs/guide/Migration/README.md

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

3-
## 5.x.x to 6.x.x
3+
## From `@sum.cumo/vue-datepicker 5.x.x` to `@mst101/vue-datepicker 6.x.x`
44

55
- disabled and highlighted `to`/`from` dates are now **inclusive** e.g. `<DatePicker :disabled-dates="{ from: new Date(2023, 6, 15) }" />` now disables 15th July 2023 and all dates beyond.
66

docs/guide/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Checkout the [demo pages](../demo) or to view the demo examples locally, clone t
88

99
#### npm:
1010

11-
`npm install @sum.cumo/vue-datepicker --save`
11+
`npm install @mst101/vue-datepicker --save`
1212

1313
#### yarn:
1414

15-
`yarn add @sum.cumo/vue-datepicker`
15+
`yarn add @mst101/vue-datepicker`
1616

1717
#### old school:
1818

@@ -26,8 +26,8 @@ Download the latest release from github
2626
</template>
2727
2828
<script>
29-
import DatePicker from '@sum.cumo/vue-datepicker'
30-
import '@sum.cumo/vue-datepicker/style.css'
29+
import DatePicker from '@mst101/vue-datepicker'
30+
import '@mst101/vue-datepicker/style.css'
3131
3232
export default {
3333
name: 'Example',
@@ -48,15 +48,15 @@ Another option is to use webpacks [css-loader](https://webpack.js.org/loaders/cs
4848

4949
```vue
5050
<style>
51-
@import '~@sum.cumo/vue-datepicker/style.css';
51+
@import '~@mst101/vue-datepicker/style.css';
5252
</style>
5353
```
5454

5555
If you use [SASS](https://sass-lang.com/) you can directly import the src file.
5656

5757
```vue
5858
<style lang="scss">
59-
@import '~@sum.cumo/vue-datepicker/style.scss';
59+
@import '~@mst101/vue-datepicker/style.scss';
6060
</style>
6161
```
6262

@@ -65,4 +65,4 @@ If you want to use it and want to include own polyfills you need to transpile it
6565

6666
- vue-cli [documentation](https://cli.vuejs.org/config/#transpiledependencies)
6767
- nuxt [documentation](https://cli.vuejs.org/config/#transpiledependencies). Use build.transpile inside the nuxt.config
68-
- babel-loader [documentation](https://babeljs.io/docs/en/options#exclude). You need to add the `exclude` property like this `exclude: /node_modules\/(?![@sum.cumo\/vue-datepicker])/`
68+
- babel-loader [documentation](https://babeljs.io/docs/en/options#exclude). You need to add the `exclude` property like this `exclude: /node_modules\/(?![@mst101\/vue-datepicker])/`

docs/guide/Translations/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ You can import only the translations that you need
77
<DatePicker :language="en"></DatePicker>
88
</template>
99
<script>
10-
import { en } from '@sum.cumo/vue-datepicker/dist/locale/index.esm'
10+
import { en } from '@mst101/vue-datepicker/dist/locale/index.esm'
1111
1212
export default {
1313
data() {

example/DemoPage.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<div class="slot">
4848
Read all about:
4949
<a
50-
href="https://sumcumo.github.io/vue-datepicker/guide/Slots/"
50+
href="https://mst101.github.io/vue-datepicker/guide/Slots/"
5151
tabindex="0"
5252
target="_blank"
5353
>
@@ -60,7 +60,7 @@
6060
<div class="slot">
6161
They're very flexible. Here's that link again:
6262
<a
63-
href="https://sumcumo.github.io/vue-datepicker/guide/Slots/"
63+
href="https://mst101.github.io/vue-datepicker/guide/Slots/"
6464
tabindex="0"
6565
target="_blank"
6666
>
@@ -73,15 +73,15 @@
7373
&lt;DatePicker&gt;
7474
&lt;template #beforeCalendarHeader&gt;
7575
&lt;div&gt;
76-
Read all about: &lt;a href="https://sumcumo.github.io/vue-datepicker/guide/Slots/"
76+
Read all about: &lt;a href="https://mst101.github.io/vue-datepicker/guide/Slots/"
7777
tabindex="0"&gt;available slots&lt;/a&gt;
7878
&lt;/div&gt;
7979
&lt;/template&gt;
8080

8181
&lt;template #calendarFooter&gt;
8282
&lt;div&gt;
8383
They're very flexible. Here's that link again:
84-
&lt;a href="https://sumcumo.github.io/vue-datepicker/guide/Slots/"
84+
&lt;a href="https://mst101.github.io/vue-datepicker/guide/Slots/"
8585
tabindex="0"&gt;available slots&lt;/a&gt;
8686
&lt;/div&gt;
8787
&lt;/template&gt;

0 commit comments

Comments
 (0)