diff --git a/.swcrc b/.swcrc index 390c92b8b..40dfe5b6c 100644 --- a/.swcrc +++ b/.swcrc @@ -8,6 +8,9 @@ }, "target": "es2023", "transform": { + "reactCompiler": { + "target": "18" + }, "react": { "runtime": "automatic", "useBuiltins": true diff --git a/alertmanager/package.json b/alertmanager/package.json index 120b9ce66..5d9ee3998 100644 --- a/alertmanager/package.json +++ b/alertmanager/package.json @@ -25,6 +25,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", diff --git a/alertmanager/rsbuild.config.ts b/alertmanager/rsbuild.config.ts index dcb1b60ec..acab3547b 100644 --- a/alertmanager/rsbuild.config.ts +++ b/alertmanager/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'AlertManager', rsbuildConfig: { server: { port: 3024 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/barchart/package.json b/barchart/package.json index d3698ae17..8e77e67df 100644 --- a/barchart/package.json +++ b/barchart/package.json @@ -24,6 +24,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", diff --git a/barchart/rsbuild.config.ts b/barchart/rsbuild.config.ts index fdea5110a..0e19f5344 100644 --- a/barchart/rsbuild.config.ts +++ b/barchart/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'BarChart', rsbuildConfig: { server: { port: 3005 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/canvas/package.json b/canvas/package.json index c335c79a2..5d78a687e 100644 --- a/canvas/package.json +++ b/canvas/package.json @@ -58,7 +58,8 @@ }, "dependencies": { "d3-selection": "^3.0.0", - "d3-zoom": "^3.0.0" + "d3-zoom": "^3.0.0", + "react-compiler-runtime": "^1.0.0" }, "devDependencies": { "@types/d3-selection": "^3.0.11", diff --git a/canvas/rsbuild.config.ts b/canvas/rsbuild.config.ts index b8827e129..b337c40af 100644 --- a/canvas/rsbuild.config.ts +++ b/canvas/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'Canvas', rsbuildConfig: { server: { port: 3033 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/clickhouse/package.json b/clickhouse/package.json index e47ee8da0..35470304b 100644 --- a/clickhouse/package.json +++ b/clickhouse/package.json @@ -24,6 +24,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", diff --git a/clickhouse/rsbuild.config.ts b/clickhouse/rsbuild.config.ts index 316e8080b..5716dd430 100644 --- a/clickhouse/rsbuild.config.ts +++ b/clickhouse/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'ClickHouse', rsbuildConfig: { server: { port: 3123 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/datasourcevariable/package.json b/datasourcevariable/package.json index 57e5b7c51..e2b411935 100644 --- a/datasourcevariable/package.json +++ b/datasourcevariable/package.json @@ -24,6 +24,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", diff --git a/datasourcevariable/rsbuild.config.ts b/datasourcevariable/rsbuild.config.ts index 5843da712..a1e07aadb 100644 --- a/datasourcevariable/rsbuild.config.ts +++ b/datasourcevariable/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'DatasourceVariable', rsbuildConfig: { server: { port: 3022 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/flamechart/package.json b/flamechart/package.json index 5da13ee94..ea370e9a6 100644 --- a/flamechart/package.json +++ b/flamechart/package.json @@ -24,6 +24,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "devDependencies": { "@types/color-hash": "^2.0.0" }, diff --git a/flamechart/rsbuild.config.ts b/flamechart/rsbuild.config.ts index 93d7d6d10..079c19c83 100644 --- a/flamechart/rsbuild.config.ts +++ b/flamechart/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'FlameChart', rsbuildConfig: { server: { port: 3021 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/gaugechart/package.json b/gaugechart/package.json index 79ae4b1ac..97e7f7c13 100644 --- a/gaugechart/package.json +++ b/gaugechart/package.json @@ -24,6 +24,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", diff --git a/gaugechart/rsbuild.config.ts b/gaugechart/rsbuild.config.ts index 0be16e3e9..8327128af 100644 --- a/gaugechart/rsbuild.config.ts +++ b/gaugechart/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'GaugeChart', rsbuildConfig: { server: { port: 3006 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/greptimedb/package.json b/greptimedb/package.json index ca03b5c2f..a71af714b 100644 --- a/greptimedb/package.json +++ b/greptimedb/package.json @@ -24,6 +24,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", diff --git a/greptimedb/rsbuild.config.ts b/greptimedb/rsbuild.config.ts index 014659e3b..c90756aa0 100644 --- a/greptimedb/rsbuild.config.ts +++ b/greptimedb/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'GreptimeDB', rsbuildConfig: { server: { port: 3122 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/heatmapchart/package.json b/heatmapchart/package.json index 64ad93b02..b921141ac 100644 --- a/heatmapchart/package.json +++ b/heatmapchart/package.json @@ -24,6 +24,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@perses-dev/components": "^0.55.0", "@perses-dev/plugin-system": "^0.55.0", diff --git a/heatmapchart/rsbuild.config.ts b/heatmapchart/rsbuild.config.ts index 54b78fb86..77c0a26fd 100644 --- a/heatmapchart/rsbuild.config.ts +++ b/heatmapchart/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'HeatMapChart', rsbuildConfig: { server: { port: 3028 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/histogramchart/package.json b/histogramchart/package.json index e2269f6b3..39e239caf 100644 --- a/histogramchart/package.json +++ b/histogramchart/package.json @@ -24,6 +24,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@perses-dev/components": "^0.55.0", "@perses-dev/plugin-system": "^0.55.0", diff --git a/histogramchart/rsbuild.config.ts b/histogramchart/rsbuild.config.ts index 2e35852de..066c89ffe 100644 --- a/histogramchart/rsbuild.config.ts +++ b/histogramchart/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'HistogramChart', rsbuildConfig: { server: { port: 3020 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/jaeger/package.json b/jaeger/package.json index 77e97dbda..8d4299c4d 100644 --- a/jaeger/package.json +++ b/jaeger/package.json @@ -24,6 +24,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", diff --git a/jaeger/rsbuild.config.ts b/jaeger/rsbuild.config.ts index 0e920ad11..8307a2e78 100644 --- a/jaeger/rsbuild.config.ts +++ b/jaeger/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'Jaeger', rsbuildConfig: { server: { port: 3027 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/json/package.json b/json/package.json index b5fa99015..b8c50cfe3 100644 --- a/json/package.json +++ b/json/package.json @@ -15,7 +15,8 @@ "module": "lib/index.js", "types": "lib/index.d.ts", "dependencies": { - "jsonata": "^2.0.5" + "jsonata": "^2.0.5", + "react-compiler-runtime": "^1.0.0" }, "peerDependencies": { "@emotion/react": "^11.7.1", diff --git a/json/rsbuild.config.ts b/json/rsbuild.config.ts index 847b85ff3..b2534c3ec 100644 --- a/json/rsbuild.config.ts +++ b/json/rsbuild.config.ts @@ -11,15 +11,10 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'Json', - rsbuildConfig: { - plugins: [pluginReact()], - }, moduleFederation: { exposes: { './JsonDatasource': './src/datasources/json-datasource', diff --git a/logexplorer/package.json b/logexplorer/package.json index 6f5dcc8c3..d06fd8784 100644 --- a/logexplorer/package.json +++ b/logexplorer/package.json @@ -23,6 +23,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "devDependencies": { "@types/qs": "^6.9.18" }, diff --git a/logexplorer/rsbuild.config.ts b/logexplorer/rsbuild.config.ts index c70a8bd36..c0c3e8327 100644 --- a/logexplorer/rsbuild.config.ts +++ b/logexplorer/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'LogExplorer', rsbuildConfig: { server: { port: 3023 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/logstable/package.json b/logstable/package.json index a7d2a8e4e..8a13dce3b 100644 --- a/logstable/package.json +++ b/logstable/package.json @@ -26,7 +26,8 @@ "types": "lib/index.d.ts", "dependencies": { "ansi_up": "^6.0.0", - "dompurify": "^3.4.15" + "dompurify": "^3.4.15", + "react-compiler-runtime": "^1.0.0" }, "peerDependencies": { "@emotion/react": "^11.7.1", diff --git a/logstable/rsbuild.config.ts b/logstable/rsbuild.config.ts index 4b84e7138..21b083fe6 100644 --- a/logstable/rsbuild.config.ts +++ b/logstable/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'LogsTable', rsbuildConfig: { server: { port: 3025 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/loki/package.json b/loki/package.json index bc4f5a040..15d89820e 100644 --- a/loki/package.json +++ b/loki/package.json @@ -25,7 +25,8 @@ "module": "lib/index.js", "types": "lib/index.d.ts", "dependencies": { - "@grafana/lezer-logql": "^0.2.8" + "@grafana/lezer-logql": "^0.2.8", + "react-compiler-runtime": "^1.0.0" }, "peerDependencies": { "@emotion/react": "^11.7.1", diff --git a/loki/rsbuild.config.ts b/loki/rsbuild.config.ts index 64e8dc470..635c0295e 100644 --- a/loki/rsbuild.config.ts +++ b/loki/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'Loki', rsbuildConfig: { server: { port: 3119 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/markdown/package.json b/markdown/package.json index bdde4e16d..7f69acf0b 100644 --- a/markdown/package.json +++ b/markdown/package.json @@ -26,7 +26,8 @@ "types": "lib/index.d.ts", "dependencies": { "dompurify": "^3.4.15", - "marked": "^15.0.6" + "marked": "^15.0.6", + "react-compiler-runtime": "^1.0.0" }, "peerDependencies": { "@emotion/react": "^11.7.1", diff --git a/markdown/rsbuild.config.ts b/markdown/rsbuild.config.ts index 0adfaf222..7a22c20bc 100644 --- a/markdown/rsbuild.config.ts +++ b/markdown/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'Markdown', rsbuildConfig: { server: { port: 3007 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/opensearch/package.json b/opensearch/package.json index b6787259b..079a75806 100644 --- a/opensearch/package.json +++ b/opensearch/package.json @@ -25,6 +25,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", diff --git a/opensearch/rsbuild.config.ts b/opensearch/rsbuild.config.ts index 6059b1641..cbeda8de2 100644 --- a/opensearch/rsbuild.config.ts +++ b/opensearch/rsbuild.config.ts @@ -11,8 +11,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ @@ -20,7 +18,6 @@ export default createConfigForPlugin({ rsbuildConfig: { server: { port: 3135 }, dev: { hmr: false, liveReload: false }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/package-lock.json b/package-lock.json index 639d52554..946d6d910 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,10 +50,10 @@ "@perses-dev/explore": "^0.55.0", "@perses-dev/plugin-system": "^0.55.0", "@perses-dev/spec": "^0.3.0", - "@rsbuild/core": "^1.7.6", - "@rsbuild/plugin-react": "^1.4.6", + "@rsbuild/core": "^2.2.13", + "@rsbuild/plugin-react": "^2.1.1", "@swc/cli": "^0.8.1", - "@swc/core": "^1.15.43", + "@swc/core": "^1.16.18", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.1.0", @@ -94,6 +94,9 @@ "name": "@perses-dev/alert-manager-plugin", "version": "0.2.0", "license": "Apache-2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", @@ -113,6 +116,9 @@ "name": "@perses-dev/bar-chart-plugin", "version": "0.14.0", "license": "Apache-2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", @@ -136,7 +142,8 @@ "license": "Apache-2.0", "dependencies": { "d3-selection": "^3.0.0", - "d3-zoom": "^3.0.0" + "d3-zoom": "^3.0.0", + "react-compiler-runtime": "^1.0.0" }, "devDependencies": { "@types/d3-selection": "^3.0.11", @@ -159,6 +166,9 @@ "name": "@perses-dev/clickhouse-plugin", "version": "0.7.0", "license": "Apache-2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", @@ -185,6 +195,9 @@ "name": "@perses-dev/datasource-variable-plugin", "version": "0.7.0", "license": "Apache-2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", @@ -229,6 +242,9 @@ "name": "@perses-dev/flame-chart-plugin", "version": "0.7.0", "license": "Apache-2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "devDependencies": { "@types/color-hash": "^2.0.0" }, @@ -254,6 +270,9 @@ "name": "@perses-dev/gauge-chart-plugin", "version": "0.14.0", "license": "Apache-2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", @@ -275,6 +294,9 @@ "name": "@perses-dev/greptimedb-plugin", "version": "0.2.0", "license": "Apache-2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", @@ -300,6 +322,9 @@ "name": "@perses-dev/heatmap-chart-plugin", "version": "0.6.0", "license": "Apache-2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@perses-dev/components": "^0.55.0", "@perses-dev/plugin-system": "^0.55.0", @@ -315,6 +340,9 @@ "name": "@perses-dev/histogram-chart-plugin", "version": "0.13.0", "license": "Apache-2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@perses-dev/components": "^0.55.0", "@perses-dev/plugin-system": "^0.55.0", @@ -330,6 +358,9 @@ "name": "@perses-dev/jaeger-plugin", "version": "0.2.0", "license": "Apache-2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", @@ -356,7 +387,8 @@ "name": "@perses-dev/json-plugin", "version": "0.1.0", "dependencies": { - "jsonata": "^2.0.5" + "jsonata": "^2.0.5", + "react-compiler-runtime": "^1.0.0" }, "devDependencies": { "@emotion/react": "^11.14.0", @@ -378,6 +410,9 @@ "logexplorer": { "name": "@perses-dev/log-explorer-plugin", "version": "0.2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "devDependencies": { "@types/qs": "^6.9.18" }, @@ -408,7 +443,8 @@ "license": "Apache-2.0", "dependencies": { "ansi_up": "^6.0.0", - "dompurify": "^3.4.15" + "dompurify": "^3.4.15", + "react-compiler-runtime": "^1.0.0" }, "peerDependencies": { "@emotion/react": "^11.7.1", @@ -432,7 +468,8 @@ "version": "0.7.0", "license": "Apache-2.0", "dependencies": { - "@grafana/lezer-logql": "^0.2.8" + "@grafana/lezer-logql": "^0.2.8", + "react-compiler-runtime": "^1.0.0" }, "peerDependencies": { "@emotion/react": "^11.7.1", @@ -461,7 +498,8 @@ "license": "Apache-2.0", "dependencies": { "dompurify": "^3.4.15", - "marked": "^15.0.6" + "marked": "^15.0.6", + "react-compiler-runtime": "^1.0.0" }, "peerDependencies": { "@emotion/react": "^11.7.1", @@ -2270,7 +2308,6 @@ "integrity": "sha512-ZLv/JdUfkvOy9eCnnBaGfiO+XimbjebAeO+MRQqD/B+FR1tnRN0tpKSJHRbE8sFfS6aqsXZ67TQjfwfsxULVbg==", "license": "MIT", "optional": true, - "peer": true, "dependencies": { "@tybys/wasm-util": "^0.10.3" }, @@ -3980,282 +4017,42 @@ "license": "MIT" }, "node_modules/@rsbuild/core": { - "version": "1.7.6", + "version": "2.2.14", + "resolved": "https://registry.npmjs.org/@rsbuild/core/-/core-2.2.14.tgz", + "integrity": "sha512-HNzuviBQuaPn24ltmlW0BwwB9YclY9sFz847Qyh8CeTtLLkfznmkSMeXeUHSTcZC22gveRKkut7iLjI1HPzCjw==", "dev": true, "license": "MIT", "dependencies": { - "@rspack/core": "~1.7.10", - "@rspack/lite-tapable": "~1.1.0", - "@swc/helpers": "^0.5.20", - "core-js": "~3.47.0", - "jiti": "^2.6.1" + "@rspack/core": "~2.2.9", + "@swc/helpers": "^0.5.23" }, "bin": { "rsbuild": "bin/rsbuild.js" }, "engines": { - "node": ">=18.12.0" - } - }, - "node_modules/@rsbuild/core/node_modules/@module-federation/error-codes": { - "version": "0.22.0", - "dev": true, - "license": "MIT" - }, - "node_modules/@rsbuild/core/node_modules/@module-federation/runtime": { - "version": "0.22.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@module-federation/error-codes": "0.22.0", - "@module-federation/runtime-core": "0.22.0", - "@module-federation/sdk": "0.22.0" - } - }, - "node_modules/@rsbuild/core/node_modules/@module-federation/runtime-core": { - "version": "0.22.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@module-federation/error-codes": "0.22.0", - "@module-federation/sdk": "0.22.0" - } - }, - "node_modules/@rsbuild/core/node_modules/@module-federation/runtime-tools": { - "version": "0.22.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@module-federation/runtime": "0.22.0", - "@module-federation/webpack-bundler-runtime": "0.22.0" - } - }, - "node_modules/@rsbuild/core/node_modules/@module-federation/sdk": { - "version": "0.22.0", - "dev": true, - "license": "MIT" - }, - "node_modules/@rsbuild/core/node_modules/@module-federation/webpack-bundler-runtime": { - "version": "0.22.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@module-federation/runtime": "0.22.0", - "@module-federation/sdk": "0.22.0" - } - }, - "node_modules/@rsbuild/core/node_modules/@napi-rs/wasm-runtime": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.0.7.tgz", - "integrity": "sha512-SeDnOO0Tk7Okiq6DbXmmBODgOAb9dp9gjlphokTUxmt8U3liIP1ZsozBahH69j/RJv+Rfs6IwUKHTgQYJ/HBAw==", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@emnapi/core": "^1.5.0", - "@emnapi/runtime": "^1.5.0", - "@tybys/wasm-util": "^0.10.1" - } - }, - "node_modules/@rsbuild/core/node_modules/@rspack/binding": { - "version": "1.7.12", - "dev": true, - "license": "MIT", - "optionalDependencies": { - "@rspack/binding-darwin-arm64": "1.7.12", - "@rspack/binding-darwin-x64": "1.7.12", - "@rspack/binding-linux-arm64-gnu": "1.7.12", - "@rspack/binding-linux-arm64-musl": "1.7.12", - "@rspack/binding-linux-x64-gnu": "1.7.12", - "@rspack/binding-linux-x64-musl": "1.7.12", - "@rspack/binding-wasm32-wasi": "1.7.12", - "@rspack/binding-win32-arm64-msvc": "1.7.12", - "@rspack/binding-win32-ia32-msvc": "1.7.12", - "@rspack/binding-win32-x64-msvc": "1.7.12" - } - }, - "node_modules/@rsbuild/core/node_modules/@rspack/binding-darwin-arm64": { - "version": "1.7.12", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@rsbuild/core/node_modules/@rspack/binding-darwin-x64": { - "version": "1.7.12", - "resolved": "https://registry.npmjs.org/@rspack/binding-darwin-x64/-/binding-darwin-x64-1.7.12.tgz", - "integrity": "sha512-jnOp+/UXOJa9xqUb8KXH03sysoO2e4Ij6tw6MqDdmdj8n/A8PQENRPUbW9AwXpPtVDJPus9r4fi7b3+6e4B8Hg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@rsbuild/core/node_modules/@rspack/binding-linux-arm64-gnu": { - "version": "1.7.12", - "resolved": "https://registry.npmjs.org/@rspack/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.7.12.tgz", - "integrity": "sha512-C8owWG+yvo7X0oVLIXetkoJhIFBP1LYNcAQqtgLmJnQLQDklGuP83dKC+zISGQWpjawHfZ1ER96vLgoTrxKZdw==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rsbuild/core/node_modules/@rspack/binding-linux-arm64-musl": { - "version": "1.7.12", - "resolved": "https://registry.npmjs.org/@rspack/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.7.12.tgz", - "integrity": "sha512-i51WWI64aRpsfSki6rN0aepPqXkVfS+vZM7+4bWDcmnhUmdMvhIPcYg0QRk3DtyJnu33jqNLM0WHY78k00NyfA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rsbuild/core/node_modules/@rspack/binding-linux-x64-gnu": { - "version": "1.7.12", - "resolved": "https://registry.npmjs.org/@rspack/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.7.12.tgz", - "integrity": "sha512-MSos0FuPEefqo9V92ULd5hggKG29EkSNg1zDcypy0OkpsKh5pfjVxTLYFXgTcVyFoUQQbdG8zFBzYbwmJ8V4ew==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rsbuild/core/node_modules/@rspack/binding-linux-x64-musl": { - "version": "1.7.12", - "resolved": "https://registry.npmjs.org/@rspack/binding-linux-x64-musl/-/binding-linux-x64-musl-1.7.12.tgz", - "integrity": "sha512-JcAMVKXOnjfpC3coWjCFPWD3Yl8RBw6a+IXQQ8mfRlHaHMIiOv8IfZqx15XRxMUn49CtP7Z0Na8iiAg2aKrcfw==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/@rsbuild/core/node_modules/@rspack/binding-wasm32-wasi": { - "version": "1.7.12", - "resolved": "https://registry.npmjs.org/@rspack/binding-wasm32-wasi/-/binding-wasm32-wasi-1.7.12.tgz", - "integrity": "sha512-n+ZqP6ZMc0nhOgvadg5VhEs9ojtbES80AcWeFnmGkbzIszvGSO63GKNiRkXtjJ9KFuRzytbbmsCqkUVH+Tywxg==", - "cpu": [ - "wasm32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@napi-rs/wasm-runtime": "1.0.7" - } - }, - "node_modules/@rsbuild/core/node_modules/@rspack/binding-win32-arm64-msvc": { - "version": "1.7.12", - "resolved": "https://registry.npmjs.org/@rspack/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.7.12.tgz", - "integrity": "sha512-8+h5fYDXYdmugbdfZ+D1y8IQ3rv2EhSfyGP7vBe+bjNyaMa4jWrpucmZbtxojUL1AzaeuHbvMdj9UO/gelk/+g==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@rsbuild/core/node_modules/@rspack/binding-win32-ia32-msvc": { - "version": "1.7.12", - "resolved": "https://registry.npmjs.org/@rspack/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.7.12.tgz", - "integrity": "sha512-cDMGwTRSa2p9fNBVe1wTRkF2AEXZ9ARWW36QeC5CkLaI0Ezz8lvhF2+CSOPnhaQ1O1qtn0L0SF+lFnrY+I7xGQ==", - "cpu": [ - "ia32" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@rsbuild/core/node_modules/@rspack/binding-win32-x64-msvc": { - "version": "1.7.12", - "resolved": "https://registry.npmjs.org/@rspack/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.7.12.tgz", - "integrity": "sha512-wIqFvlgFqrgUyj/6S/FJcvShnkZOmIeXTfqvheLY67MGq8qd8jb1YimQVKAIrmWB3yuJKUFACI3Ag1UBtEedEA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/@rsbuild/core/node_modules/@rspack/core": { - "version": "1.7.12", - "dev": true, - "license": "MIT", - "dependencies": { - "@module-federation/runtime-tools": "0.22.0", - "@rspack/binding": "1.7.12", - "@rspack/lite-tapable": "1.1.0" - }, - "engines": { - "node": ">=18.12.0" + "node": "^20.19.0 || >=22.12.0" }, "peerDependencies": { - "@swc/helpers": ">=0.5.1" + "core-js": ">= 3.0.0" }, "peerDependenciesMeta": { - "@swc/helpers": { + "core-js": { "optional": true } } }, - "node_modules/@rsbuild/core/node_modules/@rspack/lite-tapable": { - "version": "1.1.0", - "dev": true, - "license": "MIT" - }, - "node_modules/@rsbuild/core/node_modules/jiti": { - "version": "2.7.0", - "dev": true, - "license": "MIT", - "bin": { - "jiti": "lib/jiti-cli.mjs" - } - }, "node_modules/@rsbuild/plugin-react": { - "version": "1.4.6", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@rsbuild/plugin-react/-/plugin-react-2.1.1.tgz", + "integrity": "sha512-tLtUedsRtTLS6M4VtwzI6aakFLOFdgl9Sh1ZNBWvxb0Te3EnHrppaE7UiYEmDUXQDJ50gfr6yyirtxY5N6moyg==", "dev": true, "license": "MIT", "dependencies": { - "@rspack/plugin-react-refresh": "^1.6.1", - "react-refresh": "^0.18.0" + "@rspack/plugin-react-refresh": "^2.0.2", + "react-refresh": "^0.19.0" }, "peerDependencies": { - "@rsbuild/core": "^1.0.0 || ^2.0.0-0" + "@rsbuild/core": "^2.0.0" }, "peerDependenciesMeta": { "@rsbuild/core": { @@ -4264,32 +4061,31 @@ } }, "node_modules/@rspack/binding": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@rspack/binding/-/binding-2.2.8.tgz", - "integrity": "sha512-c9flkSua3khHnOKBCRk8BkHGOwU9YB7niv+5JfQXiLZIvJmgKsZ7PD8QrFklMhsJT3oVAc6c9GN7/wy1YkACjA==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@rspack/binding/-/binding-2.2.9.tgz", + "integrity": "sha512-Y8wDJoRo8n0KXDGq6J3KGVekkUQcOcUHSppMHoJv8JLbNBEsyaaKiDx4ljNTGEDtTON0CRbMEWbSiLRe+bJxOQ==", "license": "MIT", - "peer": true, "optionalDependencies": { - "@rspack/binding-darwin-arm64": "2.2.8", - "@rspack/binding-darwin-x64": "2.2.8", - "@rspack/binding-linux-arm64-gnu": "2.2.8", - "@rspack/binding-linux-arm64-musl": "2.2.8", - "@rspack/binding-linux-ppc64-gnu": "2.2.8", - "@rspack/binding-linux-riscv64-gnu": "2.2.8", - "@rspack/binding-linux-riscv64-musl": "2.2.8", - "@rspack/binding-linux-s390x-gnu": "2.2.8", - "@rspack/binding-linux-x64-gnu": "2.2.8", - "@rspack/binding-linux-x64-musl": "2.2.8", - "@rspack/binding-wasm32-wasi": "2.2.8", - "@rspack/binding-win32-arm64-msvc": "2.2.8", - "@rspack/binding-win32-ia32-msvc": "2.2.8", - "@rspack/binding-win32-x64-msvc": "2.2.8" + "@rspack/binding-darwin-arm64": "2.2.9", + "@rspack/binding-darwin-x64": "2.2.9", + "@rspack/binding-linux-arm64-gnu": "2.2.9", + "@rspack/binding-linux-arm64-musl": "2.2.9", + "@rspack/binding-linux-ppc64-gnu": "2.2.9", + "@rspack/binding-linux-riscv64-gnu": "2.2.9", + "@rspack/binding-linux-riscv64-musl": "2.2.9", + "@rspack/binding-linux-s390x-gnu": "2.2.9", + "@rspack/binding-linux-x64-gnu": "2.2.9", + "@rspack/binding-linux-x64-musl": "2.2.9", + "@rspack/binding-wasm32-wasi": "2.2.9", + "@rspack/binding-win32-arm64-msvc": "2.2.9", + "@rspack/binding-win32-ia32-msvc": "2.2.9", + "@rspack/binding-win32-x64-msvc": "2.2.9" } }, "node_modules/@rspack/binding-darwin-arm64": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@rspack/binding-darwin-arm64/-/binding-darwin-arm64-2.2.8.tgz", - "integrity": "sha512-d6GuY/k7kJk7SOXmruIz0m+2fIXaLv2SnBHEYsbvBzE7ZO6QXq7fSABWFWNnSnNu+brYHA5Dr/skV81bXgTTCw==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@rspack/binding-darwin-arm64/-/binding-darwin-arm64-2.2.9.tgz", + "integrity": "sha512-aIHkk/wngpwgWkwVQFz2AIkmG9WpWtWlkqy4BlYhs5a7l9z0BrB0kXnUb6VSbqZ7Tc3cRepKw7ipkGjKa8KKXw==", "cpu": [ "arm64" ], @@ -4297,13 +4093,12 @@ "optional": true, "os": [ "darwin" - ], - "peer": true + ] }, "node_modules/@rspack/binding-darwin-x64": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@rspack/binding-darwin-x64/-/binding-darwin-x64-2.2.8.tgz", - "integrity": "sha512-xCVou/jJASjEAjwy1T3hPJcJqA5QZASJfUwHqEk+nA0v44MagwH8tM8lsOvRfhzR7N2+YFac1rfZOUT8uM3awg==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@rspack/binding-darwin-x64/-/binding-darwin-x64-2.2.9.tgz", + "integrity": "sha512-QtUS7lyOE5oxdMm7RH/Fw176jqwdHiTW2qEsmbdCYzPw3t7QkmI5ohoyiuxOp3czJfaayXP6bVyvm2FqqnWPAw==", "cpu": [ "x64" ], @@ -4311,13 +4106,12 @@ "optional": true, "os": [ "darwin" - ], - "peer": true + ] }, "node_modules/@rspack/binding-linux-arm64-gnu": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@rspack/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-2.2.8.tgz", - "integrity": "sha512-Zy/ss6YAQTjOWKDkcWrbKtu+pySltqT22wn68nlrWKygPWLNmMdU5anlsnwRTIuQ3MF0YJRS42ARauVtlqvRQw==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@rspack/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-2.2.9.tgz", + "integrity": "sha512-GMKxtBJAMoqBPqXZVi0QanDkneWwgiKRpTgHW/pbKPY/2XMfZJ98thm4YlATO18XZJ2KET+GfsNfaf1o5Y+aaA==", "cpu": [ "arm64" ], @@ -4328,13 +4122,12 @@ "optional": true, "os": [ "linux" - ], - "peer": true + ] }, "node_modules/@rspack/binding-linux-arm64-musl": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@rspack/binding-linux-arm64-musl/-/binding-linux-arm64-musl-2.2.8.tgz", - "integrity": "sha512-lxgp5O8PhL3St9p82llHoNoeWzp9jltW5S9F00p00XPJZHUIuxbwfLSzn/6Wg86USEmafLoBkyD9CM8rBd3SNQ==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@rspack/binding-linux-arm64-musl/-/binding-linux-arm64-musl-2.2.9.tgz", + "integrity": "sha512-aW3fcM64R5mY2+ym6Q8okAo/pcVIjAliqxFOc9lf9hCyS7hHaabWo30smeMX3neEjsqw+iyNbzWMuH0G5AugTw==", "cpu": [ "arm64" ], @@ -4345,13 +4138,12 @@ "optional": true, "os": [ "linux" - ], - "peer": true + ] }, "node_modules/@rspack/binding-linux-ppc64-gnu": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@rspack/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-2.2.8.tgz", - "integrity": "sha512-MY+YqpT02tcDCMgHy+IewQsaz7ql4mbJaAqqMlTIqvQwAUl9dXEP7BL352OgCxm9VRebTldE5lK99A3wVd3zqA==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@rspack/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-2.2.9.tgz", + "integrity": "sha512-dVEiyZdANq+g/qugI64vKnxO+PCVicidu/GQ6sO0QEWGVzdSUbxHztHviSnMwdvRs6OLrN7Lwhaw536hJ/cU8w==", "cpu": [ "ppc64" ], @@ -4362,13 +4154,12 @@ "optional": true, "os": [ "linux" - ], - "peer": true + ] }, "node_modules/@rspack/binding-linux-riscv64-gnu": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@rspack/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-2.2.8.tgz", - "integrity": "sha512-wmN9OigSGNGCKY+AOYaWI8LJcIi8qvs5KjueBueCKOnTV6MPIEujA75QZH1pehTTYKvdGv7r2EtUXUmWpn7/SQ==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@rspack/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-2.2.9.tgz", + "integrity": "sha512-uBHWmfMm502145le0EUOsBoV6bJ9XA5s3NQLL4smSMoSEuMbNrRhqDJ2+B1u8aXVfjfhxCPyNlMDmgbsdVaO0Q==", "cpu": [ "riscv64" ], @@ -4379,13 +4170,12 @@ "optional": true, "os": [ "linux" - ], - "peer": true + ] }, "node_modules/@rspack/binding-linux-riscv64-musl": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@rspack/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-2.2.8.tgz", - "integrity": "sha512-ZcQMYR10hLh581zs9MFnFFn0F7wyt5fkDffyukeMHJEoPJrbkfl6cQtsUdpQnZ+mYGYS5KydD1DT9/eMH65jjw==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@rspack/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-2.2.9.tgz", + "integrity": "sha512-MR7e6PP7KcG3jHYWznk17npBBvjUXQg7qQbS+yrAu0R3p/27wLp+aP5m/zk4ev1Iq93ccIBIAGVRGA3v1fSKew==", "cpu": [ "riscv64" ], @@ -4396,13 +4186,12 @@ "optional": true, "os": [ "linux" - ], - "peer": true + ] }, "node_modules/@rspack/binding-linux-s390x-gnu": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@rspack/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-2.2.8.tgz", - "integrity": "sha512-ahBiE+Ir1FMYvStYicihhSJlS2YRagxtry0jWH8zW287o7C0eiHJ+pteJHHC15T5RJqm0j6w5TuwYe+F9AYxxg==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@rspack/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-2.2.9.tgz", + "integrity": "sha512-Tc9Nuv7XvkrAG79Ps/6F7vT4bxZqiaiQ3Rd3BidKUjVYiwTPJogk1W3gPXp7Lw+AMoN/dY63W22bMJ7Oh0FeZw==", "cpu": [ "s390x" ], @@ -4413,13 +4202,12 @@ "optional": true, "os": [ "linux" - ], - "peer": true + ] }, "node_modules/@rspack/binding-linux-x64-gnu": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@rspack/binding-linux-x64-gnu/-/binding-linux-x64-gnu-2.2.8.tgz", - "integrity": "sha512-dncEI515NoPXh3zzWk06Rb3mhSV76myiFKqXiJ8K4fVAe5x/RlweMhvPhHhm7RnIMeBld7BeStzOqj38XFsWGA==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@rspack/binding-linux-x64-gnu/-/binding-linux-x64-gnu-2.2.9.tgz", + "integrity": "sha512-xQYhQwC8q3mSCzHV+yi76Gt2Lt9BhnmeJnQgXGjuhyvjZWBB9jFNp9Uj6umun7tlMliMRhoqTesqvK4Vo/kkcQ==", "cpu": [ "x64" ], @@ -4430,13 +4218,12 @@ "optional": true, "os": [ "linux" - ], - "peer": true + ] }, "node_modules/@rspack/binding-linux-x64-musl": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@rspack/binding-linux-x64-musl/-/binding-linux-x64-musl-2.2.8.tgz", - "integrity": "sha512-pfFyU03PjD0GaQG8zOQOHwq51rrJZetXjTGpMmz7iA1hq/f9lChJsDWrC8/7VXeQLwBofLZlOODqe8OM8OBzgA==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@rspack/binding-linux-x64-musl/-/binding-linux-x64-musl-2.2.9.tgz", + "integrity": "sha512-FfEYdFhOd1nZL+U/up8nlbcRTTyWX4ohXUQcApQMYKIZoR1EJ0g/oBhS915+TSray0DchA+NT6yVL1sqWJOFaQ==", "cpu": [ "x64" ], @@ -4447,19 +4234,17 @@ "optional": true, "os": [ "linux" - ], - "peer": true + ] }, "node_modules/@rspack/binding-wasm32-wasi": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@rspack/binding-wasm32-wasi/-/binding-wasm32-wasi-2.2.8.tgz", - "integrity": "sha512-3mOJuZTrF56jOh/GD9chLMJKbzPZ6Ty2OIML7+lLz0Yk2XS/xWRfLn85Dmnkb/O6UF65x7+p8VPAIZlBtLTclw==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@rspack/binding-wasm32-wasi/-/binding-wasm32-wasi-2.2.9.tgz", + "integrity": "sha512-+29JEBiUi2TMDOGYmT3Tm3JGk3f19+CbjxNEt1bVreR8axuZZj+wOSwB/sx85lKQkL5fuNPh0BhOZ7cdkDxQpA==", "cpu": [ "wasm32" ], "license": "MIT", "optional": true, - "peer": true, "dependencies": { "@emnapi/core": "1.11.3", "@emnapi/runtime": "1.11.3", @@ -4467,9 +4252,9 @@ } }, "node_modules/@rspack/binding-win32-arm64-msvc": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@rspack/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-2.2.8.tgz", - "integrity": "sha512-Cu/RMZT/16s+67xhl6X1pswetL3GLSQl+LnugKRh08Ul21A/tR7vxC4g4aih4u9k5SXCAngxFUt8zAjKnHIBqA==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@rspack/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-2.2.9.tgz", + "integrity": "sha512-x/BDAwQCkR+ANWAAWV+15PFWuae2z9DzL+QcVeb+5taOri+tHa/iQdG8e3GJ60d0amsR+u9BJ2CBtJLK1fQkxw==", "cpu": [ "arm64" ], @@ -4477,13 +4262,12 @@ "optional": true, "os": [ "win32" - ], - "peer": true + ] }, "node_modules/@rspack/binding-win32-ia32-msvc": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@rspack/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-2.2.8.tgz", - "integrity": "sha512-H/erd6di8OapZhhM0raA/7XduPn9jusfLMeO1XF+AmF9WF3HzHgMjha1j+KwtPgQnaH69w6AhY+G2472VIwQmw==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@rspack/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-2.2.9.tgz", + "integrity": "sha512-i622t0Mom3STiDi8VHLaX62LKwhbT2kg37fKjzv3wQT+9bJvQ/+St6QQzFZg9C7fV53LXqAw8jFi5yIPIjg0Qw==", "cpu": [ "ia32" ], @@ -4491,13 +4275,12 @@ "optional": true, "os": [ "win32" - ], - "peer": true + ] }, "node_modules/@rspack/binding-win32-x64-msvc": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@rspack/binding-win32-x64-msvc/-/binding-win32-x64-msvc-2.2.8.tgz", - "integrity": "sha512-BziHSUlIQM0MliCqdcHuBXSkQGtPoHQTXJce7fsgnTAzQFgPeog92qTNezYI4IrQ7pQouyiVJ2HPieUbVPRKQQ==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@rspack/binding-win32-x64-msvc/-/binding-win32-x64-msvc-2.2.9.tgz", + "integrity": "sha512-K98FPCAv0VpDPAz5ZqZ0XI1CmdJu9Kw1FmUDl4rN/zQIt9iqYn+Hgxq6Nk6Zx7g938jiG7ABLwITXSIKGbs6aw==", "cpu": [ "x64" ], @@ -4505,17 +4288,15 @@ "optional": true, "os": [ "win32" - ], - "peer": true + ] }, "node_modules/@rspack/core": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@rspack/core/-/core-2.2.8.tgz", - "integrity": "sha512-JugsVrnbMGNYzMH++7gR9enygpP/lAo9PbVRq3XmJg0ryIvCpST0XJjBcccaSjYaaPamsjrddihmgVLMFp+yXw==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@rspack/core/-/core-2.2.9.tgz", + "integrity": "sha512-Tp6/ZdM5UrGB3BeLfvh69l1iX03PZ46IgXjKqubVEuJVAhnOjpshooH/YAxcxR0AymcBLKA997Z4v+LV2aXzCw==", "license": "MIT", - "peer": true, "dependencies": { - "@rspack/binding": "2.2.8" + "@rspack/binding": "2.2.9" }, "engines": { "node": "^20.19.0 || >=22.12.0" @@ -4534,18 +4315,17 @@ } }, "node_modules/@rspack/plugin-react-refresh": { - "version": "1.6.2", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@rspack/plugin-react-refresh/-/plugin-react-refresh-2.0.2.tgz", + "integrity": "sha512-dGNZiCxQxgAUI9sah7gd8u+O7OJZRCmqtEJNDOd8xW5RqcieC86F7p5qcShyw6onH5pKf57evpr2VjGbaFGkZg==", "dev": true, "license": "MIT", - "dependencies": { - "error-stack-parser": "^2.1.4" - }, "peerDependencies": { - "react-refresh": ">=0.10.0 <1.0.0", - "webpack-hot-middleware": "2.x" + "@rspack/core": "^2.0.0", + "react-refresh": ">=0.10.0 <1.0.0" }, "peerDependenciesMeta": { - "webpack-hot-middleware": { + "@rspack/core": { "optional": true } } @@ -4690,13 +4470,15 @@ } }, "node_modules/@swc/core": { - "version": "1.15.43", + "version": "1.16.18", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.16.18.tgz", + "integrity": "sha512-0cYQLkpcwUngg55TDwpwrrVOU+B6zh1NFbp+oS7dVFhmYkzaARelwugo/bzPJh1FrcnppmF+KTqioCGwyqbcEw==", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { "@swc/counter": "^0.1.3", - "@swc/types": "^0.1.27" + "@swc/types": "^0.1.28" }, "engines": { "node": ">=10" @@ -4706,18 +4488,18 @@ "url": "https://opencollective.com/swc" }, "optionalDependencies": { - "@swc/core-darwin-arm64": "1.15.43", - "@swc/core-darwin-x64": "1.15.43", - "@swc/core-linux-arm-gnueabihf": "1.15.43", - "@swc/core-linux-arm64-gnu": "1.15.43", - "@swc/core-linux-arm64-musl": "1.15.43", - "@swc/core-linux-ppc64-gnu": "1.15.43", - "@swc/core-linux-s390x-gnu": "1.15.43", - "@swc/core-linux-x64-gnu": "1.15.43", - "@swc/core-linux-x64-musl": "1.15.43", - "@swc/core-win32-arm64-msvc": "1.15.43", - "@swc/core-win32-ia32-msvc": "1.15.43", - "@swc/core-win32-x64-msvc": "1.15.43" + "@swc/core-darwin-arm64": "1.16.18", + "@swc/core-darwin-x64": "1.16.18", + "@swc/core-linux-arm-gnueabihf": "1.16.18", + "@swc/core-linux-arm64-gnu": "1.16.18", + "@swc/core-linux-arm64-musl": "1.16.18", + "@swc/core-linux-ppc64-gnu": "1.16.18", + "@swc/core-linux-s390x-gnu": "1.16.18", + "@swc/core-linux-x64-gnu": "1.16.18", + "@swc/core-linux-x64-musl": "1.16.18", + "@swc/core-win32-arm64-msvc": "1.16.18", + "@swc/core-win32-ia32-msvc": "1.16.18", + "@swc/core-win32-x64-msvc": "1.16.18" }, "peerDependencies": { "@swc/helpers": ">=0.5.17" @@ -4729,7 +4511,9 @@ } }, "node_modules/@swc/core-darwin-arm64": { - "version": "1.15.43", + "version": "1.16.18", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.16.18.tgz", + "integrity": "sha512-ozgiCHyFDCwfXzTnaLR+i8WxEyt06GTudn9rPh08vj+u3Z8vMvt5Pi8T+BikyNXm7y++h6UMdqsnJuWrV+tk2A==", "cpu": [ "arm64" ], @@ -4744,9 +4528,9 @@ } }, "node_modules/@swc/core-darwin-x64": { - "version": "1.15.43", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.15.43.tgz", - "integrity": "sha512-lp3d4Lamc8dt5huYdGLSR+9hLxmfr1jb0l+4XXG2zPqZwYWRN9R0U2qYoTrggiU2RWW0oV9VbWM3kBnqIc2kdQ==", + "version": "1.16.18", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.16.18.tgz", + "integrity": "sha512-tuwxXi+sjxxTAi7GP3NeQXQxOf4SXSiFxKAMYLBdoy7JqGYby6uSDXojcFoLOhSp7oiNGstnaFXxfbP0Hpro9w==", "cpu": [ "x64" ], @@ -4761,9 +4545,9 @@ } }, "node_modules/@swc/core-linux-arm-gnueabihf": { - "version": "1.15.43", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.15.43.tgz", - "integrity": "sha512-JWTQQELtsG5GgphDrr/XqqmM2pDN3cZqbMS0Mrg+iTiXL3F74sn/S2IyYE/5u4h2KLkTf9qQ7dXyxsbx7YzkeA==", + "version": "1.16.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.16.18.tgz", + "integrity": "sha512-SMdhmY1P9Kveh0MRj6vqQF98bsjnDa0lBBvkd/lcpxmjj5QHJOQAU0N3g6h7GPWpBMs3h2g3lHu/QTDn+uMsXg==", "cpu": [ "arm" ], @@ -4778,13 +4562,16 @@ } }, "node_modules/@swc/core-linux-arm64-gnu": { - "version": "1.15.43", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.15.43.tgz", - "integrity": "sha512-B4otJRdPWIsmiSBf0uG7Z/+vMWmkufjz5MmYxubwKuZazDW14Zd3symga1N62QR4RT+kEFeHEgsXfZGyn/w0hw==", + "version": "1.16.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.16.18.tgz", + "integrity": "sha512-ep/mQyhblQYZ6tkfq0IJspcVSFl5jdywks3kejanrbB31uuujRD/QWOoGNp2L3lLRdAdQvgl/M3pA7g3hSuQug==", "cpu": [ "arm64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -4795,13 +4582,16 @@ } }, "node_modules/@swc/core-linux-arm64-musl": { - "version": "1.15.43", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.15.43.tgz", - "integrity": "sha512-6zB6OnpViBxYy4tgY3v2i6AZY9fwkcHZ032UOwtwUuW1d19sdT07qF0kZe6/3UR1tUaK6jjg2rmVcUIBCEYVjQ==", + "version": "1.16.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.16.18.tgz", + "integrity": "sha512-pkzGVxrAQu5+febW1a/Aiph3YJk0UiJKXoWbxnDVEIOZWkk5aETHTuyVsOQ3kOgn2dzNMvJVeqcoEQdH+ntqWQ==", "cpu": [ "arm64" ], "dev": true, + "libc": [ + "musl" + ], "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -4812,13 +4602,16 @@ } }, "node_modules/@swc/core-linux-ppc64-gnu": { - "version": "1.15.43", - "resolved": "https://registry.npmjs.org/@swc/core-linux-ppc64-gnu/-/core-linux-ppc64-gnu-1.15.43.tgz", - "integrity": "sha512-coxE1ZWdB3uSDVNoEtYNrRi/1epvckZx9cTJ8ICUxTMTxGk+yvQ/Twacp3ruZSaMPGCriUjP86C37VhaT6nyRg==", + "version": "1.16.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-ppc64-gnu/-/core-linux-ppc64-gnu-1.16.18.tgz", + "integrity": "sha512-v9kiu4as1pJyQ8ESFTtMNydZ99m86QXLfAtm+XiKPKS93pXL80BCaXokAs9ebioGkIXgmwfbzUCdUC62H3JWkw==", "cpu": [ "ppc64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -4829,13 +4622,16 @@ } }, "node_modules/@swc/core-linux-s390x-gnu": { - "version": "1.15.43", - "resolved": "https://registry.npmjs.org/@swc/core-linux-s390x-gnu/-/core-linux-s390x-gnu-1.15.43.tgz", - "integrity": "sha512-lXfLhs+LpBsD5inuYx+YDH5WsPPBQ95KPUiy8P5wq9ob9xKDZFqwNfU2QW6bGO8NqRO/H9JQomTSt5Yyh+FGfA==", + "version": "1.16.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-s390x-gnu/-/core-linux-s390x-gnu-1.16.18.tgz", + "integrity": "sha512-vU7TKRJ26i86YQr4QY/5bdcH72KzkBbSSUfPlErW6d6KOR47BcVGlYZFTcMMYlmd3CVSXFHW18tBSila66YfoA==", "cpu": [ "s390x" ], "dev": true, + "libc": [ + "glibc" + ], "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -4846,13 +4642,16 @@ } }, "node_modules/@swc/core-linux-x64-gnu": { - "version": "1.15.43", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.15.43.tgz", - "integrity": "sha512-07XnKwTmKy8TGOZG3D9fRnLWGynxPjwQnZLVmBFbo6F+7vHYzBIOuwXEhemrChBWb6yDNZsVCcMWCPX6FDD2xg==", + "version": "1.16.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.16.18.tgz", + "integrity": "sha512-Ml6kbe0BoVJkSgmYPAEUudGcu84jaQeqDN8xeMumbwNpT0vlmm7241Ddp9XKCjQABvjomnXF0OiNOAfjBhNDNw==", "cpu": [ "x64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -4863,13 +4662,16 @@ } }, "node_modules/@swc/core-linux-x64-musl": { - "version": "1.15.43", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.15.43.tgz", - "integrity": "sha512-TJc+bsSIaBh+hZvZ5GRtW/K1bw66TJ9vsUwvVIsZdiWxU5ObLwZvfcnZ3UpgVfMnFibRes9uriJrQNBHEEogRQ==", + "version": "1.16.18", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.16.18.tgz", + "integrity": "sha512-TGU24+QmmS8y/hg0BLKgOU3W5TCcQC9bgGl8AB0R61gTNQdWdcmCehRLAJwlZfxtAml66xMJ6PWrX8NKrABOsA==", "cpu": [ "x64" ], "dev": true, + "libc": [ + "musl" + ], "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -4880,9 +4682,9 @@ } }, "node_modules/@swc/core-win32-arm64-msvc": { - "version": "1.15.43", - "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.15.43.tgz", - "integrity": "sha512-jfd7s2/bUQYkOHLs+LWQNKZdmDa8+sufKLllhpWAhVQ2GDCwsHe3vR/j+OSiItZNtkzFuaawa3+SAKz9y5gYfw==", + "version": "1.16.18", + "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.16.18.tgz", + "integrity": "sha512-S53hm7Amc3YV8t2BUT6R7J+zSnwiGarG+GnxMca4W0uMkxBZ3Gl6jBwEgb6YqrYjf2DzOuRfauztqptCO76a/w==", "cpu": [ "arm64" ], @@ -4897,9 +4699,9 @@ } }, "node_modules/@swc/core-win32-ia32-msvc": { - "version": "1.15.43", - "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.15.43.tgz", - "integrity": "sha512-rLAE8JvucqEW1ZGohxPQrQWPBQeJG4+ypKbWfdlU/qmKScvCkxf9/Jxnzki1dkUQCQ7P5Enp13RlvqOlvx/32g==", + "version": "1.16.18", + "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.16.18.tgz", + "integrity": "sha512-+6/10+OJmU12zWkrPVG0QeQEr8VsWeF8gyXrOfHZMIfMOfz8/ULXVZPhV9GhGMKSWake1xEJj2IYCiFRS/xMpQ==", "cpu": [ "ia32" ], @@ -4914,9 +4716,9 @@ } }, "node_modules/@swc/core-win32-x64-msvc": { - "version": "1.15.43", - "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.15.43.tgz", - "integrity": "sha512-h8MLDHZcfIukwQWj03rIJZx1I0E81AYj2X7J/nGErG4nz+QAv6G1Z+peotvinL3lqpbo32tLYSMFo32/ySzxKg==", + "version": "1.16.18", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.16.18.tgz", + "integrity": "sha512-7LsVrIICAZWSajXT6DwO7PYSTnW9maamOCyQylaOh13Viptrgi/7hl9fP75SiHe+kscaJahGXcorgt4MOOh/1w==", "cpu": [ "x64" ], @@ -4944,7 +4746,9 @@ } }, "node_modules/@swc/types": { - "version": "0.1.27", + "version": "0.1.28", + "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.28.tgz", + "integrity": "sha512-V6Mnml8v09QALx6K0elJ7o9K/MkVDtW3t6L+7Ou/JcWtb3xwId2AH4FeOceySd2JaO87IMw4+6vSZxLm34LPbw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -5322,7 +5126,9 @@ ] }, "node_modules/@tybys/wasm-util": { - "version": "0.10.3", + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz", + "integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==", "license": "MIT", "optional": true, "dependencies": { @@ -6923,16 +6729,6 @@ "dev": true, "license": "MIT" }, - "node_modules/core-js": { - "version": "3.47.0", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, "node_modules/cosmiconfig": { "version": "7.1.0", "license": "MIT", @@ -7351,14 +7147,6 @@ "is-arrayish": "^0.2.1" } }, - "node_modules/error-stack-parser": { - "version": "2.1.4", - "dev": true, - "license": "MIT", - "dependencies": { - "stackframe": "^1.3.4" - } - }, "node_modules/es-define-property": { "version": "1.0.1", "license": "MIT", @@ -9607,6 +9395,15 @@ "react-dom": ">=16.8.0" } }, + "node_modules/react-compiler-runtime": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/react-compiler-runtime/-/react-compiler-runtime-1.0.0.tgz", + "integrity": "sha512-rRfjYv66HlG8896yPUDONgKzG5BxZD1nV9U6rkm+7VCuvQc903C4MjcoZR4zPw53IKSOX9wMQVpA1IAbRtzQ7w==", + "license": "MIT", + "peerDependencies": { + "react": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^0.0.0-experimental" + } + }, "node_modules/react-dom": { "version": "18.3.1", "license": "MIT", @@ -9698,7 +9495,9 @@ "license": "MIT" }, "node_modules/react-refresh": { - "version": "0.18.0", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.19.0.tgz", + "integrity": "sha512-5HdstYgoJBbBofjapO5qCPcovECJCBfvjLb+iTcsmqDFVMRdqy0qs7iiInBJTUXmIFc2bjoc5b2HVLp2zRtYhQ==", "dev": true, "license": "MIT", "engines": { @@ -10256,11 +10055,6 @@ "dev": true, "license": "MIT" }, - "node_modules/stackframe": { - "version": "1.3.4", - "dev": true, - "license": "MIT" - }, "node_modules/statuses": { "version": "2.0.2", "dev": true, @@ -11297,6 +11091,9 @@ "name": "@perses-dev/opensearch-plugin", "version": "0.2.0", "license": "Apache-2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", @@ -11322,6 +11119,9 @@ "name": "@perses-dev/pie-chart-plugin", "version": "0.15.0", "license": "Apache-2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", @@ -11348,6 +11148,7 @@ "@prometheus-io/codemirror-promql": "^0.314.0", "color-hash": "^2.0.2", "qs": "^6.13.0", + "react-compiler-runtime": "^1.0.0", "react-virtuoso": "^4.12.2" }, "devDependencies": { @@ -11382,7 +11183,8 @@ "license": "Apache-2.0", "dependencies": { "@codemirror/autocomplete": "^6.18.4", - "@lezer/highlight": "^1.2.3" + "@lezer/highlight": "^1.2.3", + "react-compiler-runtime": "^1.0.0" }, "peerDependencies": { "@emotion/react": "^11.7.1", @@ -11412,6 +11214,7 @@ "version": "0.12.0", "license": "Apache-2.0", "dependencies": { + "react-compiler-runtime": "^1.0.0", "react-virtuoso": "^4.12.2" }, "devDependencies": { @@ -11437,6 +11240,9 @@ "name": "@perses-dev/splunk-plugin", "version": "0.2.0", "license": "Apache-2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "devDependencies": {}, "peerDependencies": { "@perses-dev/components": "^0.55.0", @@ -11452,7 +11258,8 @@ "version": "0.15.0", "license": "Apache-2.0", "dependencies": { - "chroma-js": "^3.1.2" + "chroma-js": "^3.1.2", + "react-compiler-runtime": "^1.0.0" }, "devDependencies": { "@types/chroma-js": "^3.1.2" @@ -11479,7 +11286,8 @@ "version": "0.10.0", "license": "Apache-2.0", "dependencies": { - "color-hash": "^2.0.2" + "color-hash": "^2.0.2", + "react-compiler-runtime": "^1.0.0" }, "peerDependencies": { "@emotion/react": "^11.7.1", @@ -11500,6 +11308,9 @@ "name": "@perses-dev/status-history-chart-plugin", "version": "0.14.0", "license": "Apache-2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", @@ -11521,6 +11332,9 @@ "name": "@perses-dev/table-plugin", "version": "0.14.0", "license": "Apache-2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", @@ -11546,7 +11360,8 @@ "dependencies": { "@codemirror/autocomplete": "^6.20.0", "@grafana/lezer-traceql": "^0.0.25", - "@lezer/highlight": "^1.2.3" + "@lezer/highlight": "^1.2.3", + "react-compiler-runtime": "^1.0.0" }, "peerDependencies": { "@emotion/react": "^11.7.1", @@ -11577,7 +11392,8 @@ "license": "Apache-2.0", "dependencies": { "color-hash": "^2.0.2", - "d3-scale-chromatic": "^3.1.0" + "d3-scale-chromatic": "^3.1.0", + "react-compiler-runtime": "^1.0.0" }, "devDependencies": { "@types/d3-scale-chromatic": "^3.1.0" @@ -11604,6 +11420,9 @@ "name": "@perses-dev/timeseries-table-plugin", "version": "0.13.0", "license": "Apache-2.0", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", @@ -11626,7 +11445,8 @@ "version": "0.12.0", "license": "Apache-2.0", "dependencies": { - "@mui/x-data-grid": "^7.20.0" + "@mui/x-data-grid": "^7.20.0", + "react-compiler-runtime": "^1.0.0" }, "devDependencies": { "react-router-dom": "^5 || ^6 || ^7" @@ -11653,6 +11473,7 @@ "license": "Apache-2.0", "dependencies": { "color-hash": "^2.0.2", + "react-compiler-runtime": "^1.0.0", "react-virtuoso": "^4.12.2" }, "devDependencies": { @@ -11679,7 +11500,8 @@ "version": "0.5.0", "license": "Apache-2.0", "dependencies": { - "@grafana/lezer-logql": "^0.2.8" + "@grafana/lezer-logql": "^0.2.8", + "react-compiler-runtime": "^1.0.0" }, "peerDependencies": { "@emotion/react": "^11.7.1", diff --git a/package.json b/package.json index fef800904..2b840312a 100644 --- a/package.json +++ b/package.json @@ -76,10 +76,10 @@ "@perses-dev/explore": "^0.55.0", "@perses-dev/plugin-system": "^0.55.0", "@perses-dev/spec": "^0.3.0", - "@rsbuild/core": "^1.7.6", - "@rsbuild/plugin-react": "^1.4.6", + "@rsbuild/core": "^2.2.13", + "@rsbuild/plugin-react": "^2.1.1", "@swc/cli": "^0.8.1", - "@swc/core": "^1.15.43", + "@swc/core": "^1.16.18", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.1.0", diff --git a/piechart/package.json b/piechart/package.json index a9bada0aa..12f0c80eb 100644 --- a/piechart/package.json +++ b/piechart/package.json @@ -24,6 +24,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", diff --git a/piechart/rsbuild.config.ts b/piechart/rsbuild.config.ts index 76c72a82b..76fe69ed1 100644 --- a/piechart/rsbuild.config.ts +++ b/piechart/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'PieChart', rsbuildConfig: { server: { port: 3008 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/prometheus/package.json b/prometheus/package.json index d4688ccc9..07079c5ac 100644 --- a/prometheus/package.json +++ b/prometheus/package.json @@ -30,6 +30,7 @@ "@prometheus-io/codemirror-promql": "^0.314.0", "color-hash": "^2.0.2", "qs": "^6.13.0", + "react-compiler-runtime": "^1.0.0", "react-virtuoso": "^4.12.2" }, "peerDependencies": { diff --git a/prometheus/rsbuild.config.ts b/prometheus/rsbuild.config.ts index c535200b1..fd9d49215 100644 --- a/prometheus/rsbuild.config.ts +++ b/prometheus/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'Prometheus', rsbuildConfig: { server: { port: 3009 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/pyroscope/package.json b/pyroscope/package.json index dcfcb16ef..48e6ee98c 100644 --- a/pyroscope/package.json +++ b/pyroscope/package.json @@ -26,7 +26,8 @@ "types": "lib/index.d.ts", "dependencies": { "@codemirror/autocomplete": "^6.18.4", - "@lezer/highlight": "^1.2.3" + "@lezer/highlight": "^1.2.3", + "react-compiler-runtime": "^1.0.0" }, "peerDependencies": { "@emotion/react": "^11.7.1", diff --git a/pyroscope/rsbuild.config.ts b/pyroscope/rsbuild.config.ts index 82853baf7..c32eaf336 100644 --- a/pyroscope/rsbuild.config.ts +++ b/pyroscope/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'Pyroscope', rsbuildConfig: { server: { port: 3026 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/rsbuild.shared.ts b/rsbuild.shared.ts index 14ce99913..0dcebd62b 100644 --- a/rsbuild.shared.ts +++ b/rsbuild.shared.ts @@ -18,12 +18,24 @@ import type { ModuleFederationOptions } from '@module-federation/rsbuild-plugin' import { pluginModuleFederation } from '@module-federation/rsbuild-plugin'; import type { RsbuildConfig } from '@rsbuild/core'; import { mergeRsbuildConfig } from '@rsbuild/core'; +import type { ReactCompilerOptions } from '@rsbuild/plugin-react'; +import { pluginReact } from '@rsbuild/plugin-react'; /** The base path for all plugin assets. This should match the path where plugins are stored on the Perses server. * @see {@link https://github.com/perses/perses} */ const PLUGINS_PATH = '/plugins'; +/** + * React Compiler options shared by every plugin, passed to `pluginReact({ reactCompiler })`. + * Perses runs on React 18, so the compiled output relies on the `react-compiler-runtime` package. Switch the target to + * '19' (and drop `react-compiler-runtime`) when upgrading React. + * @see {@link https://rsbuild.rs/plugins/list/plugin-react#reactcompiler} + */ +const reactCompilerOptions: ReactCompilerOptions = { + target: '18', // Keep in sync with `.swcrc` React target +}; + /** * Configuration options for building a Perses plugin with rsbuild. * @see {@link createConfigForPlugin} @@ -36,7 +48,8 @@ interface PluginConfigOptions { /** * Any rsbuild configuration options to merge with the base config. Note that * the `server.port` and `output.assetPrefix` are automatically set based on - * the plugin name but can be overridden here. Additionally, the + * the plugin name but can be overridden here. The React plugin (with the + * React Compiler enabled) is part of the base config. Additionally, the * ModuleFederation plugin is automatically added after any plugins specified * here. It's options can be configured via the `moduleFederation` property. * @@ -123,6 +136,7 @@ function getRsbuildConfig(name: string): RsbuildConfig { const version = process.env.NODE_ENV === 'development' ? undefined : getPluginVersion(); return { + plugins: [pluginReact({ reactCompiler: reactCompilerOptions })], server: { port: 3000 + Math.floor(Math.random() * 1000), strictPort: false, diff --git a/scatterchart/package.json b/scatterchart/package.json index a73c18810..a28c2fdad 100644 --- a/scatterchart/package.json +++ b/scatterchart/package.json @@ -25,6 +25,7 @@ "module": "lib/index.js", "types": "lib/index.d.ts", "dependencies": { + "react-compiler-runtime": "^1.0.0", "react-virtuoso": "^4.12.2" }, "peerDependencies": { diff --git a/scatterchart/rsbuild.config.ts b/scatterchart/rsbuild.config.ts index d51732446..453306908 100644 --- a/scatterchart/rsbuild.config.ts +++ b/scatterchart/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'ScatterChart', rsbuildConfig: { server: { port: 3010 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/splunk/package.json b/splunk/package.json index 185e2a620..d8e837b2f 100644 --- a/splunk/package.json +++ b/splunk/package.json @@ -24,7 +24,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", - "dependencies": {}, + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@perses-dev/components": "^0.55.0", "@perses-dev/plugin-system": "^0.55.0", diff --git a/splunk/rsbuild.config.ts b/splunk/rsbuild.config.ts index 3933ed71e..83e7ea100 100644 --- a/splunk/rsbuild.config.ts +++ b/splunk/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'Splunk', rsbuildConfig: { server: { port: 3120 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/statchart/package.json b/statchart/package.json index c47916a16..a5588fbac 100644 --- a/statchart/package.json +++ b/statchart/package.json @@ -60,7 +60,8 @@ ] }, "dependencies": { - "chroma-js": "^3.1.2" + "chroma-js": "^3.1.2", + "react-compiler-runtime": "^1.0.0" }, "devDependencies": { "@types/chroma-js": "^3.1.2" diff --git a/statchart/rsbuild.config.ts b/statchart/rsbuild.config.ts index 6ab798968..70a5f4150 100644 --- a/statchart/rsbuild.config.ts +++ b/statchart/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'StatChart', rsbuildConfig: { server: { port: 3011 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/staticlistvariable/package.json b/staticlistvariable/package.json index 36097077f..c10ddee19 100644 --- a/staticlistvariable/package.json +++ b/staticlistvariable/package.json @@ -25,7 +25,8 @@ "module": "lib/index.js", "types": "lib/index.d.ts", "dependencies": { - "color-hash": "^2.0.2" + "color-hash": "^2.0.2", + "react-compiler-runtime": "^1.0.0" }, "peerDependencies": { "@emotion/react": "^11.7.1", diff --git a/staticlistvariable/rsbuild.config.ts b/staticlistvariable/rsbuild.config.ts index e9278ad55..e521ea878 100644 --- a/staticlistvariable/rsbuild.config.ts +++ b/staticlistvariable/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'StaticListVariable', rsbuildConfig: { server: { port: 3012 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/statushistorychart/package.json b/statushistorychart/package.json index d069e64af..91f32b186 100644 --- a/statushistorychart/package.json +++ b/statushistorychart/package.json @@ -24,6 +24,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", diff --git a/statushistorychart/rsbuild.config.ts b/statushistorychart/rsbuild.config.ts index c040b99ae..9688718c1 100644 --- a/statushistorychart/rsbuild.config.ts +++ b/statushistorychart/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'StatusHistoryChart', rsbuildConfig: { server: { port: 3013 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/table/package.json b/table/package.json index 03acb657c..b900ab2c3 100644 --- a/table/package.json +++ b/table/package.json @@ -24,6 +24,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", diff --git a/table/rsbuild.config.ts b/table/rsbuild.config.ts index ac06d56e5..2b0b998ae 100644 --- a/table/rsbuild.config.ts +++ b/table/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'Table', rsbuildConfig: { server: { port: 3014 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/tempo/package.json b/tempo/package.json index 69f8f6dd0..a2341acf7 100644 --- a/tempo/package.json +++ b/tempo/package.json @@ -27,7 +27,8 @@ "dependencies": { "@codemirror/autocomplete": "^6.20.0", "@lezer/highlight": "^1.2.3", - "@grafana/lezer-traceql": "^0.0.25" + "@grafana/lezer-traceql": "^0.0.25", + "react-compiler-runtime": "^1.0.0" }, "peerDependencies": { "@emotion/react": "^11.7.1", diff --git a/tempo/rsbuild.config.ts b/tempo/rsbuild.config.ts index da1af1576..a75d21928 100644 --- a/tempo/rsbuild.config.ts +++ b/tempo/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'Tempo', rsbuildConfig: { server: { port: 3015 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/timeserieschart/package.json b/timeserieschart/package.json index 603f11190..0feaa0bda 100644 --- a/timeserieschart/package.json +++ b/timeserieschart/package.json @@ -26,7 +26,8 @@ "types": "lib/index.d.ts", "dependencies": { "color-hash": "^2.0.2", - "d3-scale-chromatic": "^3.1.0" + "d3-scale-chromatic": "^3.1.0", + "react-compiler-runtime": "^1.0.0" }, "devDependencies": { "@types/d3-scale-chromatic": "^3.1.0" diff --git a/timeserieschart/rsbuild.config.ts b/timeserieschart/rsbuild.config.ts index 1ca0f2364..15652108e 100644 --- a/timeserieschart/rsbuild.config.ts +++ b/timeserieschart/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'TimeSeriesChart', rsbuildConfig: { server: { port: 3016 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/timeseriestable/package.json b/timeseriestable/package.json index 47d412225..01617edc0 100644 --- a/timeseriestable/package.json +++ b/timeseriestable/package.json @@ -24,6 +24,9 @@ "main": "lib/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", + "dependencies": { + "react-compiler-runtime": "^1.0.0" + }, "peerDependencies": { "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", diff --git a/timeseriestable/rsbuild.config.ts b/timeseriestable/rsbuild.config.ts index 3049e4cf6..c003ed120 100644 --- a/timeseriestable/rsbuild.config.ts +++ b/timeseriestable/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'TimeSeriesTable', rsbuildConfig: { server: { port: 3017 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/tracetable/package.json b/tracetable/package.json index b8114d949..08985115b 100644 --- a/tracetable/package.json +++ b/tracetable/package.json @@ -25,7 +25,8 @@ "module": "lib/index.js", "types": "lib/index.d.ts", "dependencies": { - "@mui/x-data-grid": "^7.20.0" + "@mui/x-data-grid": "^7.20.0", + "react-compiler-runtime": "^1.0.0" }, "peerDependencies": { "@emotion/react": "^11.7.1", diff --git a/tracetable/rsbuild.config.ts b/tracetable/rsbuild.config.ts index 51925b72c..e25add0ef 100644 --- a/tracetable/rsbuild.config.ts +++ b/tracetable/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'TraceTable', rsbuildConfig: { server: { port: 3018 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/tracingganttchart/package.json b/tracingganttchart/package.json index fc83ef2af..5555d2e7f 100644 --- a/tracingganttchart/package.json +++ b/tracingganttchart/package.json @@ -26,6 +26,7 @@ "types": "lib/index.d.ts", "dependencies": { "color-hash": "^2.0.2", + "react-compiler-runtime": "^1.0.0", "react-virtuoso": "^4.12.2" }, "peerDependencies": { diff --git a/tracingganttchart/rsbuild.config.ts b/tracingganttchart/rsbuild.config.ts index f2888e30b..5c7531596 100644 --- a/tracingganttchart/rsbuild.config.ts +++ b/tracingganttchart/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'TracingGanttChart', rsbuildConfig: { server: { port: 3019 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: { diff --git a/victorialogs/package.json b/victorialogs/package.json index 62b76645f..ff9c6947e 100644 --- a/victorialogs/package.json +++ b/victorialogs/package.json @@ -25,7 +25,8 @@ "module": "lib/index.js", "types": "lib/index.d.ts", "dependencies": { - "@grafana/lezer-logql": "^0.2.8" + "@grafana/lezer-logql": "^0.2.8", + "react-compiler-runtime": "^1.0.0" }, "peerDependencies": { "@emotion/react": "^11.7.1", diff --git a/victorialogs/rsbuild.config.ts b/victorialogs/rsbuild.config.ts index cb62a6d68..23310c41f 100644 --- a/victorialogs/rsbuild.config.ts +++ b/victorialogs/rsbuild.config.ts @@ -11,15 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import { pluginReact } from '@rsbuild/plugin-react'; - import { createConfigForPlugin } from '../rsbuild.shared'; export default createConfigForPlugin({ name: 'VictoriaLogs', rsbuildConfig: { server: { port: 3121 }, - plugins: [pluginReact()], }, moduleFederation: { exposes: {