mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 12:44:10 -06:00
bc94f85dee
* Don't display changelog category title when no items The output of the changelog is meant to be copy/pasted with ease. When a changelog category does not contain items is better to not display title at all thus avoiding having the manually modify the output as we include it in the steps of the process. * Introduce a CLI task to close milestones whilst doing a Grafana release As part of a Grafana release, we need to eventually close the GitHub milestone to indicate is done and remove all the cherry-pick labels from issues/prs within the milestone to avoid our cherry-pick CLI command to pick them up on the next release. * Abstract the GitHub client into a module * Introduce `GitHubClient` to all CLI tasks
29 lines
610 B
JavaScript
29 lines
610 B
JavaScript
|
|
module.exports = {
|
|
verbose: false,
|
|
"transform": {
|
|
"^.+\\.(ts|tsx)$": "ts-jest"
|
|
},
|
|
"moduleDirectories": ["node_modules", "public"],
|
|
"roots": [
|
|
"<rootDir>/public/app",
|
|
"<rootDir>/public/test",
|
|
"<rootDir>/packages",
|
|
"<rootDir>/scripts",
|
|
],
|
|
"testRegex": "(\\.|/)(test)\\.(jsx?|tsx?)$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json"
|
|
],
|
|
"setupFiles": [
|
|
"./public/test/jest-shim.ts",
|
|
"./public/test/jest-setup.ts"
|
|
],
|
|
"snapshotSerializers": ["enzyme-to-json/serializer"],
|
|
"globals": { "ts-jest": { "isolatedModules": true } },
|
|
};
|