Skip to content

Commit 6a2825e

Browse files
committed
refactor: Package name change, use vite as build tool
1 parent 1542423 commit 6a2825e

Some content is hidden

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

65 files changed

+7217
-28527
lines changed

.eslintrc.js

+5-15
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1+
require('@rushstack/eslint-patch/modern-module-resolution');
2+
13
module.exports = {
24
root: true,
35
env: {
46
node: true,
5-
},
6-
globals: {
7-
defineProps: 'readonly',
8-
defineEmits: 'readonly',
9-
defineExpose: 'readonly',
10-
withDefaults: 'readonly',
7+
'vue/setup-compiler-macros': true,
118
},
129
extends: [
1310
'plugin:vue/vue3-strongly-recommended',
1411
'eslint:recommended',
15-
'@vue/typescript/recommended',
12+
'@vue/eslint-config-typescript/recommended',
13+
'@vue/eslint-config-prettier',
1614
'plugin:prettier/recommended',
1715
],
1816
plugins: ['prettier'],
@@ -25,12 +23,4 @@ module.exports = {
2523
'no-unused-vars': 'off',
2624
'@typescript-eslint/no-unused-vars': 'error',
2725
},
28-
overrides: [
29-
{
30-
files: ['**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)'],
31-
env: {
32-
jest: true,
33-
},
34-
},
35-
],
3626
};

.github/ISSUE_TEMPLATE/bug_report.md

-38
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

-20
This file was deleted.

.github/workflows/codeql-analysis.yml

-70
This file was deleted.

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to vue3-date-time-picker
1+
# Contributing to @vuepic/vue-datepicker
22

33
As an open source project, the best way to support vue3-date-time-picker is to contribute to its development.
44
You can start with reporting new issues, improving the docs, or - if you feel confident enough
@@ -8,11 +8,11 @@ to dive into the source code - send a pull request!
88

99
## Found a bug?
1010

11-
If you find a bug in the source code, you can help by [submitting an issue](https://github.com/Vuepic/vue3-date-time-picker/issues/new?assignees=&labels=&template=bug_report.md&title=)
11+
If you find a bug in the source code, you can help by [submitting an issue](https://github.com/Vuepic/vue-datepicker/issues/new?assignees=&labels=&template=bug_report.md&title=)
1212

1313
## Missing a feature?
1414

15-
You can *request* a new feature by [submitting a request issue](https://github.com/Vuepic/vue3-date-time-picker/issues/new?assignees=&labels=&template=feature_request.md&title=) to this GitHub
15+
You can *request* a new feature by [submitting a request issue](https://github.com/Vuepic/vue-datepicker/issues/new?assignees=&labels=&template=feature_request.md&title=) to this GitHub
1616
Repository. If you would like to *implement* a new feature, please submit an issue with a proposal for your work first,
1717
so we can discuss what is the best way to implement, as well as to be sure nobody else works on that already.
1818

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 Vuepic
3+
Copyright (c) 2021-present Vuepic
44

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

README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
## vue3-date-time-picker
1+
## @vuepic/vue-datepicker
22

33

44
### The most complete datepicker solution for Vue 3
55

6-
[![License](https://img.shields.io/github/license/vuepic/vue3-date-time-picker)](https://github.com/Vuepic/vue3-date-time-picker/blob/master/LICENSE) [![npm](https://img.shields.io/npm/v/vue3-date-time-picker.svg)](https://www.npmjs.com/package/vue3-date-time-picker) ![Downloads](https://img.shields.io/npm/dm/vue3-date-time-picker) [![Open issues](https://img.shields.io/github/issues-raw/vuepic/vue3-date-time-picker)](https://github.com/Vuepic/vue3-date-time-picker/issues) ![CI](https://github.com/Vuepic/vue3-date-time-picker/actions/workflows/node.js.yml/badge.svg) ![Release date](https://img.shields.io/github/release-date/vuepic/vue3-date-time-picker)
6+
[![License](https://img.shields.io/github/license/vuepic/vue-datepicker)](https://github.com/Vuepic/vue-datepicker/blob/master/LICENSE) [![npm](https://img.shields.io/npm/v/vue-datepicker.svg)](https://www.npmjs.com/package/@vuepic/vue-datepicker) ![Downloads](https://img.shields.io/npm/dm/vue3-date-time-picker) [![Open issues](https://img.shields.io/github/issues-raw/vuepic/vue3-date-time-picker)](https://github.com/Vuepic/vue-datepicker/issues) ![CI](https://github.com/Vuepic/vue-datepicker/actions/workflows/node.js.yml/badge.svg) ![Release date](https://img.shields.io/github/release-date/vuepic/vue-datepicker)
77

88
[DOCUMENTATION](https://vue3datepicker.com/)
99

1010

11-
[CodeSandbox Playground](https://codesandbox.io/s/vue3-date-time-picker-demo-5scsr?file=/src/components/Demo.vue)
11+
[StackBlitz Playground](https://stackblitz.com/edit/vuepic-vue-datepicker?file=src%2Fcomponents%2FPlayground.vue)
1212

1313
## Features
1414

@@ -28,11 +28,11 @@
2828
## Install
2929

3030
```shell
31-
yarn add vue3-date-time-picker
31+
yarn add @vuepic/vue-datepicker
3232

3333
# or
3434

35-
npm install vue3-date-time-picker
35+
npm install @vuepic/vue-datepicker
3636
```
3737

3838
Import and register component
@@ -43,8 +43,8 @@ Import and register component
4343
import { createApp } from 'vue';
4444
import App from './App.vue';
4545

46-
import Datepicker from 'vue3-date-time-picker';
47-
import 'vue3-date-time-picker/dist/main.css';
46+
import Datepicker from '@vuepic/vue-datepicker';
47+
import '@vuepic/vue-datepicker/dist/main.css';
4848

4949
const app = createApp(App);
5050
app.component('Datepicker', Datepicker);
@@ -54,8 +54,8 @@ app.component('Datepicker', Datepicker);
5454

5555
```vue
5656
<script>
57-
import Datepicker from 'vue3-date-time-picker';
58-
import 'vue3-date-time-picker/dist/main.css';
57+
import Datepicker from '@vuepic/vue-datepicker';
58+
import '@vuepic/vue-datepicker/dist/main.css';
5959
6060
export default {
6161
components: { Datepicker }
@@ -81,4 +81,4 @@ Special thanks to our sponsors 🙏
8181

8282
Copyright © 2021-present [Vuepic](https://github.com/Vuepic)
8383

84-
[MIT](https://github.com/Vuepic/vue3-date-time-picker/blob/master/LICENSE)
84+
[MIT](https://github.com/Vuepic/vue-datepicker/blob/master/LICENSE)

babel.config.js

-14
This file was deleted.

0 commit comments

Comments
 (0)