Skip to content

Commit

Permalink
finally v6 (#2629)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eonasdan authored Aug 16, 2022
1 parent 9790335 commit 1a7a34b
Show file tree
Hide file tree
Showing 31 changed files with 51 additions and 43 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,20 @@ jobs:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
# - run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.6
with:
nuget-version: '6.x'
- name: Pack NuGet
run: nuget pack **\*.nuspec -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath
working-directory: ./src/nuget
run: |
nuget pack TempusDominus.nuspec -Verbosity detailed -NonInteractive -NoPackageAnalysis
nuget pack TempusDominus.scss.nuspec -Verbosity detailed -NonInteractive -NoPackageAnalysis
- name: Push Nuget
run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}
working-directory: ./src/nuget
run: |
nuget push TempusDominus.*.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NPM_TOKEN }}
nuget push TempusDominus.scss.*.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NPM_TOKEN }
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Rate on Openbase](https://badges.openbase.com/js/rating/@eonasdan/tempus-dominus.svg)](https://openbase.com/js/@eonasdan/tempus-dominus?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge)

# Tempus Dominus Date/Time Picker v6.0.0-beta10
# Tempus Dominus Date/Time Picker v6.0.0

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
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.0.0-beta10 (https://getdatepicker.com/)
* Tempus Dominus v6.0.0 (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.

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

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

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

Large diffs are not rendered by default.

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

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

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/locales/ar-SA.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.0.0-beta10 (https://getdatepicker.com/)
* Tempus Dominus v6.0.0 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/ar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.0.0-beta10 (https://getdatepicker.com/)
* Tempus Dominus v6.0.0 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/de.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.0.0-beta10 (https://getdatepicker.com/)
* Tempus Dominus v6.0.0 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/es.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.0.0-beta10 (https://getdatepicker.com/)
* Tempus Dominus v6.0.0 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/fi.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.0.0-beta10 (https://getdatepicker.com/)
* Tempus Dominus v6.0.0 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/fr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.0.0-beta10 (https://getdatepicker.com/)
* Tempus Dominus v6.0.0 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/it.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.0.0-beta10 (https://getdatepicker.com/)
* Tempus Dominus v6.0.0 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/nl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.0.0-beta10 (https://getdatepicker.com/)
* Tempus Dominus v6.0.0 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/ro.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.0.0-beta10 (https://getdatepicker.com/)
* Tempus Dominus v6.0.0 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/ru.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.0.0-beta10 (https://getdatepicker.com/)
* Tempus Dominus v6.0.0 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/locales/sl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.0.0-beta10 (https://getdatepicker.com/)
* Tempus Dominus v6.0.0 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/customDateFormat.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.0.0-beta10 (https://getdatepicker.com/)
* Tempus Dominus v6.0.0 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/fa-five.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.0.0-beta10 (https://getdatepicker.com/)
* Tempus Dominus v6.0.0 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/moment-parse.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Tempus Dominus v6.0.0-beta10 (https://getdatepicker.com/)
* Tempus Dominus v6.0.0 (https://getdatepicker.com/)
* Copyright 2013-2022 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Jonathan Peterson"
},
"name": "@eonasdan/tempus-dominus",
"version": "6.0.0-beta10",
"version": "6.0.0",
"style": "dist/css/tempus-dominus.css",
"sass": "scss/tempus-dominus.scss",
"main": "dist/js/tempus-dominus.js",
Expand Down
2 changes: 1 addition & 1 deletion src/docs/partials/change-log.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<page-body>
<div class='row'>
<h1>Version 6</h1>
<h2>6.0.0-beta10!</h2>
<h2>6.0.0!</h2>
<h3>New</h3>
<ul>
<li>Added a customDateFormat plugin and new options to allow custom formats to be provided for input parsing/setting</li>
Expand Down
2 changes: 1 addition & 1 deletion src/docs/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1 class='mb-3 fw-semibold'>Powerful and robust date and time picker</h1>
</div>
</div>
<p class='text-muted mb-0'>
Currently <strong>v6.0.0-beta10</strong>
Currently <strong>v6.0.0</strong>
<span class='px-1'>&middot;</span>
<a href='https://getdatepicker.com/5-4/' class='link-secondary'>v5 docs</a>
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/docs/templates/shell.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
target='_blank' rel='license noopener'>MIT</a>, docs <a
href='https://creativecommons.org/licenses/by/3.0/' target='_blank' rel='license noopener'>CC BY 3.0</a>.
</li>
<li class='mb-2'>Currently v6.0.0-beta10-alpha1.</li>
<li class='mb-2'>Currently v6.0.0-alpha1.</li>
</ul>
</div>
<div class='col-6 col-lg-2 offset-lg-1 mb-3'>
Expand Down
2 changes: 1 addition & 1 deletion src/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.0.0-beta10 (https://getdatepicker.com/)
* Tempus Dominus v6.0.0 (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 src/js/tempus-dominus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ const extend = function (plugin, option) {
return tempusDominus;
};

const version = '6.0.0-beta10';
const version = '6.0.0';

const tempusDominus = {
TempusDominus,
Expand Down
2 changes: 1 addition & 1 deletion src/nuget/TempusDominus.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>TempusDominus</id>
<version>6.0.0-beta10</version>
<version>6.0.0</version>
<title>Tempus Dominus</title>
<authors>Eonasdan</authors>
<owners>Eonasdan</owners>
Expand Down
2 changes: 1 addition & 1 deletion src/nuget/TempusDominus.scss.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>TempusDominus.scss</id>
<version>6.0.0-beta10</version>
<version>6.0.0</version>
<title>Tempus Dominus</title>
<authors>Eonasdan</authors>
<owners>Eonasdan</owners>
Expand Down

0 comments on commit 1a7a34b

Please sign in to comment.