Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge upstream change to upgrade svelte to v5 #7

Merged
merged 2 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading