Build: Release packages under next tag when changes detected on master (#18062)
* Testing lerna on circle * Remove dependency on test task, fix yarn * yarn fix * Run lerna from local bin * Use packages cache, run lern via npx * Add packages:build * Install packages before release * Remove cache tmp * add lerna bootstrap * temporarily add tsignore * lerna add data package to ui * Remove @types/lodas resolution * Try any... * Typo fix * Add publishing packages * update lerna publish script * Reset git befgore publishing package * Correct lerna version * Packages version bump * Remove postpublish * Publish to npm * Set git creds before commit * Rename job and run it after frontend tests and build passes * Run next packages release on master but not when tagged with release * Minor copy * Update circle's config * Fix config
Showing
... | ... | @@ -11,8 +11,7 @@ |
"typecheck": "tsc --noEmit", | ||
"clean": "rimraf ./dist ./compiled", | ||
"bundle": "rollup -c rollup.config.ts", | ||
"build": "grafana-toolkit package:build --scope=data", | ||
"postpublish": "npm run clean" | ||
"build": "grafana-toolkit package:build --scope=data" | ||
}, | ||
"author": "Grafana Labs", | ||
"license": "Apache-2.0", | ||
... | ... | @@ -37,8 +36,5 @@ |
"rollup-plugin-visualizer": "0.9.2", | ||
"sinon": "1.17.6", | ||
"typescript": "3.4.1" | ||
}, | ||
"resolutions": { | ||
"@types/lodash": "4.14.119" | ||
} | ||
} |
... | ... | @@ -11,8 +11,7 @@ |
"typecheck": "tsc --noEmit", | ||
"clean": "rimraf ./dist ./compiled", | ||
"bundle": "rollup -c rollup.config.ts", | ||
"build": "grafana-toolkit package:build --scope=runtime", | ||
"postpublish": "npm run clean" | ||
"build": "grafana-toolkit package:build --scope=runtime" | ||
}, | ||
"author": "Grafana Labs", | ||
"license": "Apache-2.0", | ||
... | ... | @@ -33,8 +32,5 @@ |
"rollup-plugin-typescript2": "0.19.3", | ||
"rollup-plugin-visualizer": "0.9.2", | ||
"typescript": "3.4.1" | ||
}, | ||
"resolutions": { | ||
"@types/lodash": "4.14.119" | ||
} | ||
} |
... | ... | @@ -15,8 +15,7 @@ |
"typecheck": "tsc --noEmit", | ||
"precommit": "npm run tslint & npm run typecheck", | ||
"clean": "rimraf ./dist ./compiled", | ||
"build": "grafana-toolkit toolkit:build", | ||
"postpublish": "npm run clean" | ||
"build": "grafana-toolkit toolkit:build" | ||
}, | ||
"author": "Grafana Labs", | ||
"license": "Apache-2.0", | ||
... | ... | @@ -75,9 +74,6 @@ |
"url-loader": "^2.0.1", | ||
"webpack": "4.35.0" | ||
}, | ||
"resolutions": { | ||
"@types/lodash": "4.14.119" | ||
}, | ||
"devDependencies": { | ||
"@types/glob": "^7.1.1", | ||
"@types/prettier": "^1.16.4" | ||
... | ... |
... | ... | @@ -15,12 +15,12 @@ |
"storybook:build": "build-storybook -o ./dist/storybook -c .storybook", | ||
"clean": "rimraf ./dist ./compiled", | ||
"bundle": "rollup -c rollup.config.ts", | ||
"build": "grafana-toolkit package:build --scope=ui", | ||
"postpublish": "npm run clean" | ||
"build": "grafana-toolkit package:build --scope=ui" | ||
}, | ||
"author": "Grafana Labs", | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
"@grafana/data": "^6.4.0-alpha.8", | ||
"@torkelo/react-select": "2.1.1", | ||
"@types/react-color": "2.17.0", | ||
"classnames": "2.2.6", | ||
... | ... | @@ -77,8 +77,5 @@ |
"rollup-plugin-typescript2": "0.19.3", | ||
"rollup-plugin-visualizer": "0.9.2", | ||
"typescript": "3.4.1" | ||
}, | ||
"resolutions": { | ||
"@types/lodash": "4.14.119" | ||
} | ||
} |
scripts/circle-release-next-packages.sh
0 → 100755
Please
register
or
sign in
to comment