Skip to content

Commit

Permalink
Development master (#2835)
Browse files Browse the repository at this point in the history
<h2>6.7.10</h2>
      <h3>New</h3>
      <ul>
        <li>Lots more test coverage #2791</li>
      </ul>
      <h3>Bug fixes</h3>
      <ul>
        <li>Hopefully fixed update options bounce. #2621</li>
        <li>Fixed input toggle #2575</li>
        <li>Fixed docs #2810</li>
      </ul>
  • Loading branch information
Eonasdan authored Jul 3, 2023
1 parent efba21a commit 93de311
Show file tree
Hide file tree
Showing 67 changed files with 1,053 additions and 234 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ inputs:
GITHUB_TOKEN:
description: 'A Github PAT'
required: true
QODANA_TOKEN:
description: 'A Qodana token'
SONAR_TOKEN:
description: 'A Sonar token'
required: true

runs:
Expand All @@ -21,12 +21,8 @@ runs:
- name: Build docs
shell: bash
run: npm run docs
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@main
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
QODANA_TOKEN: ${{ inputs.QODANA_TOKEN }}
# Send coverage report to Coveralls
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ inputs.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ inputs.SONAR_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/feature-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- 'bug/*'
- development
paths:
- src
- src/js

jobs:
main:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
uses: ./.github/workflows/build
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Create Release
run: npm run release:version ${{steps.set_version.outputs.VERSION }} ${{steps.set_version.outputs.NEW_VERSION }}
- name: Create Tag
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup
uses: ./.github/workflows/base
- name: Build
uses: ./.github/workflows/build
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: ./.github/workflows/build
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/R6R53OEFF)

# Tempus Dominus Date/Time Picker v6.7.7
# Tempus Dominus Date/Time Picker v6.7.10

Tempus Dominus is a powerful and robust date time picker for javascript. Version 6 is another major rewrite over the previous version. V6 is written with modern browsers in mind and is written in typescript. Bootstrap, momentjs and jQuery are no longer required dependencies. Popper2 is all that is required for the picker to position correctly. If you still require jQuery (seriously, you should move off that asap) there's a jQuery provider that wraps the native js functions.

Expand Down
11 changes: 7 additions & 4 deletions build/change-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

'use strict';

const pkg = require('../package.json');

const fs = require('fs').promises;
const path = require('path');
const globby = require('globby');
Expand All @@ -19,7 +21,7 @@ const DRY_RUN =

// These are the filetypes we only care about replacing the version
const GLOB = [
'**/*.{css,html,js,json,md,scss,txt,yml,ts,nuspec}',
'**/*.{css,html,js,json,md,scss,txt,yml,ts,nuspec,properties}',
'!**/change-log*',
];
const GLOBBY_OPTIONS = {
Expand Down Expand Up @@ -60,11 +62,12 @@ async function replaceRecursively(file, oldVersion, newVersion) {
}

async function main(args) {
let [oldVersion, newVersion] = args;
let newVersion = args[0];
let oldVersion = pkg.version;

if (!oldVersion || !newVersion) {
if (!newVersion) {
console.error(
'USAGE: change-version old_version new_version [--verbose] [--dry[-run]]'
'USAGE: change-version new_version [--verbose] [--dry[-run]]'
);
console.error('Got arguments:', args);
process.exit(1);
Expand Down
2 changes: 1 addition & 1 deletion dist/js/jQuery-provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*global $, tempusDominus */

/*!
* Tempus Dominus v6.7.7 (https://getdatepicker.com/)
* Tempus Dominus v6.7.10 (https://getdatepicker.com/)
* Copyright 2013-2021 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/js/jQuery-provider.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 38 additions & 20 deletions dist/js/tempus-dominus.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/js/tempus-dominus.esm.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/js/tempus-dominus.esm.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 93de311

Please sign in to comment.