Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 24
- name: yarn install
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: react-18
persist-credentials: false
Expand All @@ -73,15 +73,20 @@ jobs:

- name: Setup .npmrc file for NPM registry
if: steps.version_check.outputs.changed == 'true'
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version-file: .nvmrc
registry-url: 'https://registry.npmjs.org'
package-manager-cache: false # never use caching in release builds

- name: Install dependencies
if: steps.version_check.outputs.changed == 'true'
run: yarn install --immutable

- name: Build package
if: steps.version_check.outputs.changed == 'true'
run: yarn build

- name: Publish package to NPM
if: steps.version_check.outputs.changed == 'true'
run: npm publish
run: npm publish --tag latest
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
legacy-peer-deps = true
install-scripts = false
ignore-scripts = true
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

The DataGrid component is designed to handle large datasets efficiently while offering a rich set of features for customization and interactivity.

_Note: This package is a fork of [react-data-grid](https://github.com/Comcast/react-data-grid) with support for React 18._

## Features

- [React 19.0+](package.json) support
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@grafana/react-data-grid",
"version": "7.0.0-beta.56",
"version": "7.0.0-beta.58",
"license": "MIT",
"description": "Feature-rich and customizable data grid React component",
"keywords": [
Expand All @@ -9,7 +9,7 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/grafana/react-data-grid.git"
"url": "http://github.com/grafana/react-data-grid.git"
},
"bugs": "https://github.com/grafana/react-data-grid/issues",
"type": "module",
Expand Down
Loading