-
-
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.
New Migrated custom date format to main code Migrate customDateFormat into main picker code #2734 Added Date Range functionality Data ranges #2707 Bug fixes Leading delimiter added when multipleDates Leading delimiter added when multipleDates: true #2766
- Loading branch information
Showing
90 changed files
with
8,421 additions
and
8,355 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 |
---|---|---|
|
@@ -4,6 +4,4 @@ | |
**/.husky/ | ||
**/types/ | ||
**/build/ | ||
|
||
#temporary | ||
/test/test-import.ts | ||
**/test/ |
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 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,19 @@ | ||
name: Setup Node | ||
description: Setup node | ||
|
||
inputs: | ||
registry: | ||
description: 'A Github PAT' | ||
default: 'https://registry.npmjs.org' | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
registry-url: ${{ inputs.registry }} | ||
- name: Npm install | ||
shell: bash | ||
run: npm ci |
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,32 @@ | ||
name: Build | ||
description: Build | ||
|
||
inputs: | ||
GITHUB_TOKEN: | ||
description: 'A Github PAT' | ||
required: true | ||
QODANA_TOKEN: | ||
description: 'A Qodana token' | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Unit tests | ||
shell: bash | ||
run: npm run test:coverage | ||
- name: Build | ||
shell: bash | ||
run: npm run build | ||
- name: Build docs | ||
shell: bash | ||
run: npm run docs | ||
- name: 'Qodana Scan' | ||
uses: JetBrains/qodana-action@main | ||
env: | ||
QODANA_TOKEN: ${{ inputs.QODANA_TOKEN }} | ||
# Send coverage report to Coveralls | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ inputs.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
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,51 @@ | ||
name: Feature Branch Publish Package | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'feature/*' | ||
- 'bug/*' | ||
- development | ||
# paths: | ||
# - src | ||
|
||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup | ||
uses: ./.github/workflows/base | ||
with: | ||
registry: 'https://npm.pkg.github.com' | ||
- name: Set package version | ||
id: set_version | ||
run: | | ||
# Get the branch name | ||
BRANCH_NAME=${GITHUB_REF#refs/heads/} | ||
# remove "feature/" prefix | ||
BRANCH_NAME=${BRANCH_NAME#feature/} | ||
# replace underscore with dashes (thanks semver) | ||
BRANCH_NAME=${BRANCH_NAME//_/-} | ||
BUILD_ID=$(echo $GITHUB_RUN_ID | cut -c1-7) | ||
VERSION=$(node -p "const pkg = require('./package.json'); pkg.version") | ||
NEW_VERSION="$VERSION-$BRANCH_NAME.$BUILD_ID" | ||
#sed -i "s/\"version\": \".*\"/\"version\": \"$VERSION\"/g" ./package.json | ||
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT | ||
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_OUTPUT | ||
- name: Build | ||
uses: ./.github/workflows/build | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} | ||
- name: Create Release | ||
run: npm run release:version ${{steps.set_version.outputs.VERSION }} ${{steps.set_version.outputs.NEW_VERSION }} | ||
- name: Publish package | ||
run: | | ||
npm publish --access public --registry https://npm.pkg.github.com/ | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -7,18 +7,7 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup NuGet | ||
uses: NuGet/[email protected] | ||
- name: Nuget | ||
uses: ./.github/workflows/nuget | ||
with: | ||
nuget-api-key: ${{ secrets.NPM_TOKEN }} | ||
nuget-version: '6.x' | ||
- name: Pack NuGet | ||
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 | ||
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 }} | ||
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} |
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,27 @@ | ||
name: Nuget Publish | ||
description: Setup node | ||
|
||
inputs: | ||
NUGET_API_KEY: | ||
description: 'A Nuget API Key' | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Setup NuGet | ||
uses: NuGet/[email protected] | ||
with: | ||
nuget-version: '6.x' | ||
- name: Pack NuGet | ||
working-directory: ./src/nuget | ||
shell: pwsh | ||
run: | | ||
nuget pack TempusDominus.nuspec -Verbosity detailed -NonInteractive -NoPackageAnalysis | ||
nuget pack TempusDominus.scss.nuspec -Verbosity detailed -NonInteractive -NoPackageAnalysis | ||
- name: Push Nuget | ||
working-directory: ./src/nuget | ||
shell: pwsh | ||
run: | | ||
nuget push TempusDominus.*.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey ${{ inputs.NUGET_API_KEY }} | ||
nuget push TempusDominus.scss.*.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey ${{ inputs.NUGET_API_KEY }} |
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,26 +1,20 @@ | ||
name: CI | ||
name: Pull Request | ||
on: | ||
push: | ||
branches: [ development ] | ||
pull_request: | ||
branches: [ development ] | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
pr: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Perform Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup Node | ||
uses: actions/setup-node@v2 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup | ||
uses: ./.github/workflows/base | ||
- name: Build | ||
uses: ./.github/workflows/build | ||
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 }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
QODANA_TOKEN: ${{ secrets.QODANA_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 |
---|---|---|
|
@@ -4,31 +4,28 @@ on: | |
types: [ created ] | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
- name: Setup | ||
uses: ./.github/workflows/base | ||
- name: Build | ||
uses: ./.github/workflows/build | ||
with: | ||
node-version: '16.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: npm ci | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} | ||
- name: Deploy Docs | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./docs | ||
keep_files: true | ||
- run: npm publish --access=public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- name: Setup NuGet | ||
uses: NuGet/[email protected] | ||
- name: Nuget | ||
uses: ./.github/workflows/nuget | ||
with: | ||
nuget-version: '6.x' | ||
- name: Pack NuGet | ||
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 | ||
working-directory: ./src/nuget | ||
run: | | ||
nuget push TempusDominus.*.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NUGET_API_KEY }} | ||
nuget push TempusDominus.scss.*.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NUGET_API_KEY }} | ||
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} |
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
Oops, something went wrong.