-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix typo in docs (#2718) * Feature/less code smell (#2726) * ran prettier * prettier pre-commit hook * eslint * eslint * eslint fix * prettier again * fixing eslint complaints * adding eslint to pre commit hook * updating vite config and remove generated coverage from repo * remove generated coverage from repo * Fix typo in docs (#2718) * fix coveralls Co-authored-by: carlos-ea <[email protected]> * 2630 prompttimeondatechange option (#2731) * resolves #2630 * resolves #2720 (#2732) fixes #2720 * Fixes #2600 (#2733) Fixes #2600 * CustomDateFormat Plugin prefers englishFormat instead of localized format (#2724) * CustomDateFormat Plugin prefers englishFormat instead of localized format * Fix de dateFormats * Fix all locales * Fix typehints in german tooltips * Fix: replaceExtendedTokens makes 2-digits to 1-digits * Fix style * 2719 locales are not properly importable in typescript (#2737) * playing with jsdom * seems to work * working on tests * fixes #2719. * rollback * add locales/plugin source and types to npm * put version back * update cdn references * fix #2621 by added min-height and simplifying rebuild function (#2738) * fixes #2672 * release 6.2.8 * release 6.2.8 Co-authored-by: carlos-ea <[email protected]> Co-authored-by: Sebastian Blank <[email protected]>
- Loading branch information
1 parent
5e04fcc
commit 4dbbd20
Showing
170 changed files
with
11,617 additions
and
9,794 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
**/dist/ | ||
**/docs/ | ||
**/coverage/ | ||
**/.husky/ | ||
**/types/ | ||
**/build/ | ||
|
||
#temporary | ||
/test/test-import.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
env: | ||
browser: true | ||
es2021: true | ||
extends: | ||
- eslint:recommended | ||
- plugin:@typescript-eslint/recommended | ||
- prettier | ||
overrides: [] | ||
parser: '@typescript-eslint/parser' | ||
parserOptions: | ||
ecmaVersion: latest | ||
sourceType: module | ||
plugins: | ||
- '@typescript-eslint' | ||
rules: | ||
linebreak-style: | ||
- error | ||
- unix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,28 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: CI | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the main branch | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- name: Perform Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
node-version: '18' | ||
- name: Npm install | ||
run: npm ci | ||
- name: Unit tests | ||
run: npm run test:coverage | ||
- name: Build docs | ||
run: npm run docs | ||
# Send coverage report to Coveralls | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: [ development ] | ||
pull_request: | ||
branches: [ development ] | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Perform Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '18' | ||
- name: Npm install | ||
run: npm ci | ||
- name: Unit tests | ||
run: npm run test:coverage | ||
# Send coverage report to Coveralls | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,6 @@ site | |
src/docs/partials/examples/test.html | ||
/docs/ | ||
/dist/plugins/examples/ | ||
coverage/tmp | ||
coverage | ||
|
||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
src/docs/tempus-dominus* | ||
dist | ||
docs | ||
node_modules | ||
.github | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"htmlWhitespaceSensitivity": "ignore" | ||
"htmlWhitespaceSensitivity": "ignore", | ||
"endOfLine": "lf" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
'use strict' | ||
'use strict'; | ||
|
||
const pkg = require('../package.json') | ||
const year = new Date().getFullYear() | ||
const pkg = require('../package.json'); | ||
const year = new Date().getFullYear(); | ||
|
||
function getBanner() { | ||
return `/*! | ||
* Tempus Dominus v${pkg.version} (${pkg.homepage}) | ||
* Copyright 2013-${year} ${pkg.author.name} | ||
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE) | ||
*/` | ||
*/`; | ||
} | ||
|
||
module.exports = getBanner | ||
module.exports = getBanner; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.