Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/examples/next-12/n…
Browse files Browse the repository at this point in the history
…anoid-3.3.8
  • Loading branch information
amitamrutiya authored Feb 20, 2025
2 parents 9c145d7 + a84ed7d commit cbc11de
Show file tree
Hide file tree
Showing 116 changed files with 11,044 additions and 18,483 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/bump-meshery-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
token: ${{ secrets.RELEASEDRAFTER_PAT }}
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: '20.x'
cache: "npm"
cache-dependency-path: '**/package-lock.json'
- name: Make changes to pull request
Expand All @@ -57,7 +57,7 @@ jobs:
ui/package-lock.json
body: |
Update to Sistent v${{ needs.versions-check.outputs.current }}
_This pull request has been auto-generated by [l5io](http://github.com/l5io)_
assignees: l5io
draft: false
Expand All @@ -73,7 +73,7 @@ jobs:
token: ${{ secrets.RELEASEDRAFTER_PAT }}
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: '20.x'
cache: "npm"
cache-dependency-path: '**/package-lock.json'
- name: Make changes to pull request
Expand All @@ -96,7 +96,7 @@ jobs:
meshmap/package-lock.json
body: |
Update to Sistent v${{ needs.versions-check.outputs.current }}
_This pull request has been auto-generated by [l5io](http://github.com/l5io)_
assignees: l5io
draft: false
Expand All @@ -112,7 +112,7 @@ jobs:
token: ${{ secrets.RELEASEDRAFTER_PAT }}
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: '20.x'
cache: "npm"
cache-dependency-path: '**/package-lock.json'
- name: Make changes to pull request
Expand All @@ -134,7 +134,7 @@ jobs:
package-lock.json
body: |
Update to Sistent v${{ needs.versions-check.outputs.current }}
_This pull request has been auto-generated by [l5io](http://github.com/l5io)_
assignees: l5io
draft: false
Expand All @@ -150,7 +150,7 @@ jobs:
token: ${{ secrets.RELEASEDRAFTER_PAT }}
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: '20.x'
cache: "npm"
cache-dependency-path: '**/package-lock.json'
- name: Make changes to pull request
Expand All @@ -173,7 +173,7 @@ jobs:
ui/package-lock.json
body: |
Update to Sistent v${{ needs.versions-check.outputs.current }}
_This pull request has been auto-generated by [l5io](http://github.com/l5io)_
assignees: l5io
draft: false
2 changes: 1 addition & 1 deletion .github/workflows/node-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
node-version: [18, 20]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
types: [published]
env:
HUSKY: 0

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -17,7 +17,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
node-version: '20.x'

publish-gpr:
needs: build
Expand All @@ -35,15 +35,15 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
node-version: '20.x'
registry-url: "https://registry.npmjs.org"
scope: "@layer5"
- run: |
npm install
npm run build
npm publish --verbose
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
versions-check:
needs: publish-gpr
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function ResponsiveDataTable({ data, columns, options = {}, ...props }) {
year: 'numeric'
};

return new Intl.DateTimeFormat('un-US', dateOptions).format(date);
return new Intl.DateTimeFormat('en-US', dateOptions).format(date);
};

const updatedOptions = {
Expand All @@ -37,14 +37,21 @@ export function ResponsiveDataTable({ data, columns, options = {}, ...props }) {
break;
}
}
}
},
filter: true,
sort: true,
responsive: 'standard',
serverSide: false,
};

useEffect(() => {
columns?.forEach((col) => {
if (!col.options) {
col.options = {};
}

col.options.sort = true;
col.options.filter = true;
col.options.display = columnVisibility[col.name];

if (
Expand Down
Loading

0 comments on commit cbc11de

Please sign in to comment.