Skip to content

Commit a0127d3

Browse files
jordangarsideclaude
andcommitted
[config][infra] add grafana-react monorepo integration
__Changes__ - Add GitHub workflow for syncing grafana-react to public repo - Add moon.yml with build, test, lint, and CLI tasks - Register grafana-react and dashboards project in moon workspace - Add dashboards project to pnpm workspace - Add notes documenting OSS sync workflow and schema alignment __Why__ - Enables automatic sync of oss/grafana-react/pkg to kiwi-research/grafana-react - Provides moon tasks for building dashboards within the monorepo Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f4e6f06 commit a0127d3

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ jobs:
2828
- name: Install dependencies
2929
run: pnpm install --frozen-lockfile
3030

31-
- name: Check formatting
32-
run: pnpm format:check
33-
3431
- name: Lint
3532
run: pnpm lint
3633

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "all"
4+
}

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,12 @@
4141
"scripts": {
4242
"build": "tsc -p ./tsconfig.json",
4343
"typecheck": "tsgo --noEmit -p ./tsconfig.json",
44-
"lint": "eslint src/ --cache",
45-
"format": "prettier . --write",
46-
"format:check": "prettier . --check",
44+
"lint": "pnpm run lint:prettier && pnpm run lint:eslint",
45+
"lint:eslint": "eslint src/ --cache",
46+
"lint:prettier": "prettier . --check",
47+
"lint-fix": "pnpm run lint-fix:prettier && pnpm run lint-fix:eslint",
48+
"lint-fix:eslint": "eslint src/ --cache --fix",
49+
"lint-fix:prettier": "prettier . --write",
4750
"test": "node --test build/**/*.test.js"
4851
},
4952
"dependencies": {

0 commit comments

Comments
 (0)