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
3 changes: 3 additions & 0 deletions .swcrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
},
"target": "es2023",
"transform": {
"reactCompiler": {
Comment thread
Gladorme marked this conversation as resolved.
Resolved
"target": "18"
},
"react": {
"runtime": "automatic",
"useBuiltins": true
Expand Down
3 changes: 3 additions & 0 deletions alertmanager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 0 additions & 3 deletions alertmanager/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 3 additions & 0 deletions barchart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 0 additions & 3 deletions barchart/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 2 additions & 1 deletion canvas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 0 additions & 3 deletions canvas/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 3 additions & 0 deletions clickhouse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 0 additions & 3 deletions clickhouse/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 3 additions & 0 deletions datasourcevariable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 0 additions & 3 deletions datasourcevariable/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 3 additions & 0 deletions flamechart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
3 changes: 0 additions & 3 deletions flamechart/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 3 additions & 0 deletions gaugechart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 0 additions & 3 deletions gaugechart/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 3 additions & 0 deletions greptimedb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 0 additions & 3 deletions greptimedb/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 3 additions & 0 deletions heatmapchart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 0 additions & 3 deletions heatmapchart/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 3 additions & 0 deletions histogramchart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 0 additions & 3 deletions histogramchart/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 3 additions & 0 deletions jaeger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 0 additions & 3 deletions jaeger/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 2 additions & 1 deletion json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 0 additions & 5 deletions json/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
3 changes: 3 additions & 0 deletions logexplorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
3 changes: 0 additions & 3 deletions logexplorer/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 2 additions & 1 deletion logstable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 0 additions & 3 deletions logstable/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 2 additions & 1 deletion loki/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 0 additions & 3 deletions loki/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
Loading
Loading