Skip to content

Commit

Permalink
merge upstream change to upgrade svelte to v5 (#7)
Browse files Browse the repository at this point in the history
* merge upstream repository changes and upgrade it to svelte 5

* format
  • Loading branch information
JinIgarashi authored Oct 28, 2024
1 parent dd2ae0a commit 8363ac0
Show file tree
Hide file tree
Showing 20 changed files with 2,894 additions and 4,087 deletions.
5 changes: 5 additions & 0 deletions .changeset/moody-hornets-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@undp-data/date-picker-svelte': patch
---

merge upstream repository changes and upgrade it to svelte 5
31 changes: 0 additions & 31 deletions .eslintrc.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
20
14 changes: 9 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
# Changelog

## 2.14.0 - 2024 Oct 23
- Add Svelte 5 support

## 2.13.0 - 2024 May 23
- Add MMM format to allow short month names (@peterbell215)
- Add date-fns 3 support

## 2.12.1

### Patch Changes

- 2ac4241: fix: disable year and month on dropdown if enabledDates is activated.

## 2.12.0

### Minor Changes

- eb17dfa: feat: added disabledDates and enabledDates properties
## 2.12.0 - 2024 Apr 9
- Disable autocomplete for date input (@gianarb)

## 2.11.0 - 2024 Feb 26

Expand Down
32 changes: 32 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import prettier from 'eslint-config-prettier'
import js from '@eslint/js'
import svelte from 'eslint-plugin-svelte'
import globals from 'globals'
import ts from 'typescript-eslint'
/** @type {import('eslint').Linter.Config[]} */
export default [
js.configs.recommended,
...ts.configs.recommended,
...svelte.configs['flat/recommended'],
prettier,
...svelte.configs['flat/prettier'],
{
languageOptions: {
globals: {
...globals.browser,
...globals.node,
},
},
},
{
files: ['**/*.svelte'],
languageOptions: {
parserOptions: {
parser: ts.parser,
},
},
},
{
ignores: ['build/', '.svelte-kit/', 'dist/'],
},
]
Loading

0 comments on commit 8363ac0

Please sign in to comment.