|
30 | 30 | "packages:prepare": "lerna version --no-push --no-git-tag-version --force-publish --exact",
|
31 | 31 | "packages:pack": "mkdir -p ./npm-artifacts && lerna exec --no-private -- yarn pack --out \"../../npm-artifacts/%s-%v.tgz\"",
|
32 | 32 | "packages:typecheck": "lerna run typecheck",
|
33 |
| - "precommit": "yarn run lint-staged", |
34 | 33 | "prettier:check": "prettier --check --list-different=false --log-level=warn \"**/*.{ts,tsx,scss,md,mdx}\"",
|
35 | 34 | "prettier:checkDocs": "prettier --check --list-different=false --log-level=warn \"docs/**/*.md\" \"*.md\" \"packages/**/*.{ts,tsx,scss,md,mdx}\"",
|
36 | 35 | "prettier:write": "prettier --list-different \"**/*.{js,ts,tsx,scss,md,mdx}\" --write",
|
|
46 | 45 | "plugins:build-bundled": "find plugins-bundled -name package.json -not -path '*/node_modules/*' -execdir yarn build \\;",
|
47 | 46 | "watch": "yarn start -d watch,start core:start --watchTheme",
|
48 | 47 | "ci:test-frontend": "yarn run test:ci",
|
49 |
| - "postinstall": "husky install", |
50 | 48 | "i18n:clean": "rimraf public/locales/en-US/grafana.json",
|
51 | 49 | "i18n:extract": "yarn run i18next -c public/locales/i18next-parser.config.js 'public/**/*.{tsx,ts}' 'packages/grafana-ui/**/*.{tsx,ts}'",
|
52 | 50 | "i18n:compile": "echo 'no i18n compile yet, all good'",
|
|
60 | 58 | "whatsNewUrl": "https://grafana.com/docs/grafana/next/whatsnew/whats-new-in-v10-0/",
|
61 | 59 | "releaseNotesUrl": "https://grafana.com/docs/grafana/next/release-notes/"
|
62 | 60 | },
|
63 |
| - "lint-staged": { |
64 |
| - "*.{ts,tsx}": [ |
65 |
| - "betterer precommit" |
66 |
| - ], |
67 |
| - "*.{js,ts,tsx}": [ |
68 |
| - "eslint --ext .js,.tsx,.ts --cache --fix", |
69 |
| - "prettier --write" |
70 |
| - ], |
71 |
| - "*.{json,scss,md,mdx}": [ |
72 |
| - "prettier --write" |
73 |
| - ], |
74 |
| - "*pkg/**/*.go": [ |
75 |
| - "gofmt -w -s" |
76 |
| - ], |
77 |
| - "*kinds/**/*.cue": [ |
78 |
| - "make fix-cue" |
79 |
| - ], |
80 |
| - "*public/app/plugins/**/**/*.cue": [ |
81 |
| - "make fix-cue" |
82 |
| - ], |
83 |
| - "./public/locales/en-US/grafana.json": [ |
84 |
| - "yarn i18n:pseudo" |
85 |
| - ] |
86 |
| - }, |
87 | 61 | "devDependencies": {
|
88 | 62 | "@babel/core": "7.22.9",
|
89 | 63 | "@babel/plugin-proposal-class-properties": "7.18.6",
|
|
206 | 180 | "html-loader": "4.2.0",
|
207 | 181 | "html-webpack-plugin": "5.5.3",
|
208 | 182 | "http-server": "14.1.1",
|
209 |
| - "husky": "8.0.3", |
210 | 183 | "i18next-parser": "6.6.0",
|
211 | 184 | "jest": "29.3.1",
|
212 | 185 | "jest-canvas-mock": "2.5.2",
|
|
216 | 189 | "jest-junit": "16.0.0",
|
217 | 190 | "jest-matcher-utils": "29.3.1",
|
218 | 191 | "lerna": "5.5.4",
|
219 |
| - "lint-staged": "13.2.3", |
220 | 192 | "mini-css-extract-plugin": "2.7.6",
|
221 | 193 | "msw": "1.2.2",
|
222 | 194 | "mutationobserver-shim": "0.3.7",
|
|
0 commit comments