Packages: Use lerna for release orchestration (#17985)
Showing
lerna.json
0 → 100644
... | ... | @@ -79,6 +79,7 @@ |
"husky": "1.3.1", | ||
"jest": "24.8.0", | ||
"jest-date-mock": "1.0.7", | ||
"lerna": "^3.15.0", | ||
"lint-staged": "8.1.5", | ||
"load-grunt-tasks": "3.5.2", | ||
"mini-css-extract-plugin": "0.5.0", | ||
... | ... | @@ -143,13 +144,11 @@ |
"storybook:build": "cd packages/grafana-ui && yarn storybook:build", | ||
"prettier:check": "prettier --list-different \"**/*.{ts,tsx,scss}\"", | ||
"prettier:write": "prettier --list-different \"**/*.{ts,tsx,scss}\" --write", | ||
"gui:tslint": "tslint -c ./packages/grafana-ui/tslint.json --project ./packages/grafana-ui/tsconfig.json", | ||
"gui:build": "grafana-toolkit gui:build", | ||
"gui:releasePrepare": "grafana-toolkit gui:release", | ||
"gui:publish": "cd packages/grafana-ui/dist && npm publish --access public", | ||
"gui:release": "grafana-toolkit gui:release -p --createVersionCommit", | ||
"precommit": "grafana-toolkit precommit", | ||
"themes:generate": "ts-node --project ./scripts/cli/tsconfig.json ./scripts/cli/generateSassVariableFiles.ts" | ||
"themes:generate": "ts-node --project ./scripts/cli/tsconfig.json ./scripts/cli/generateSassVariableFiles.ts", | ||
"packages:prepare": "lerna run clean && npm run test && lerna version --tag-version-prefix=\"packages@\" -m \"Packages: publish %s\" --no-push", | ||
"packages:build": "lerna run clean && lerna run build", | ||
"packages:publish": "lerna publish from-package --contents dist --tag-version-prefix=\"packages@\" --dist-tag next" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
... | ... |
packages/README.md
0 → 100644
packages/grafana-data/CHANGELOG.md
0 → 100644
{ | ||
"name": "@grafana/data", | ||
"version": "6.3.0-alpha.0", | ||
"version": "6.3.0-alpha.36", | ||
"description": "Grafana Data Library", | ||
"keywords": [ | ||
"typescript" | ||
... | ... | @@ -10,11 +10,12 @@ |
"tslint": "tslint -c tslint.json --project tsconfig.json", | ||
"typecheck": "tsc --noEmit", | ||
"clean": "rimraf ./dist ./compiled", | ||
"build": "rollup -c rollup.config.ts" | ||
"bundle": "rollup -c rollup.config.ts", | ||
"build": "grafana-toolkit package:build --scope=data", | ||
"postpublish": "npm run clean" | ||
}, | ||
"author": "Grafana Labs", | ||
"license": "Apache-2.0", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@types/jest": "23.3.14", | ||
"@types/jquery": "1.10.35", | ||
... | ... |
packages/grafana-runtime/CHANGELOG.md
0 → 100644
{ | ||
"name": "@grafana/runtime", | ||
"version": "6.3.0-alpha.0", | ||
"version": "6.3.0-alpha.36", | ||
"description": "Grafana Runtime Library", | ||
"keywords": [ | ||
"typescript", | ||
... | ... | @@ -12,7 +12,9 @@ |
"tslint": "tslint -c tslint.json --project tsconfig.json", | ||
"typecheck": "tsc --noEmit", | ||
"clean": "rimraf ./dist ./compiled", | ||
"build": "rollup -c rollup.config.ts" | ||
"bundle": "rollup -c rollup.config.ts", | ||
"build": "grafana-toolkit package:build --scope=runtime", | ||
"postpublish": "npm run clean" | ||
}, | ||
"author": "Grafana Labs", | ||
"license": "Apache-2.0", | ||
... | ... |
{ | ||
"name": "@grafana/toolkit", | ||
"version": "6.3.0-alpha.2", | ||
"version": "6.3.0-alpha.36", | ||
"description": "Grafana Toolkit", | ||
"keywords": [ | ||
"typescript", | ||
... | ... | @@ -14,7 +14,9 @@ |
"tslint": "tslint -c tslint.json --project tsconfig.json", | ||
"typecheck": "tsc --noEmit", | ||
"precommit": "npm run tslint & npm run typecheck", | ||
"clean": "rimraf ./dist ./compiled" | ||
"clean": "rimraf ./dist ./compiled", | ||
"build": "grafana-toolkit toolkit:build", | ||
"postpublish": "npm run clean" | ||
}, | ||
"author": "Grafana Labs", | ||
"license": "Apache-2.0", | ||
... | ... |
{ | ||
"name": "@grafana/ui", | ||
"version": "6.3.0-alpha.1", | ||
"version": "6.3.0-alpha.36", | ||
"description": "Grafana Components Library", | ||
"keywords": [ | ||
"typescript", | ||
... | ... | @@ -14,7 +14,9 @@ |
"storybook": "start-storybook -p 9001 -c .storybook", | ||
"storybook:build": "build-storybook -o ./dist/storybook -c .storybook", | ||
"clean": "rimraf ./dist ./compiled", | ||
"build": "rollup -c rollup.config.ts" | ||
"bundle": "rollup -c rollup.config.ts", | ||
"build": "grafana-toolkit package:build --scope=ui", | ||
"postpublish": "npm run clean" | ||
}, | ||
"author": "Grafana Labs", | ||
"license": "Apache-2.0", | ||
... | ... |
Please
register
or
sign in
to comment