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 @@ | ... | @@ -11,8 +11,7 @@ |
"typecheck": "tsc --noEmit", | "typecheck": "tsc --noEmit", | ||
"clean": "rimraf ./dist ./compiled", | "clean": "rimraf ./dist ./compiled", | ||
"bundle": "rollup -c rollup.config.ts", | "bundle": "rollup -c rollup.config.ts", | ||
"build": "grafana-toolkit package:build --scope=data", | "build": "grafana-toolkit package:build --scope=data" | ||
"postpublish": "npm run clean" | |||
}, | }, | ||
"author": "Grafana Labs", | "author": "Grafana Labs", | ||
"license": "Apache-2.0", | "license": "Apache-2.0", | ||
... | @@ -37,8 +36,5 @@ | ... | @@ -37,8 +36,5 @@ |
"rollup-plugin-visualizer": "0.9.2", | "rollup-plugin-visualizer": "0.9.2", | ||
"sinon": "1.17.6", | "sinon": "1.17.6", | ||
"typescript": "3.4.1" | "typescript": "3.4.1" | ||
}, | |||
"resolutions": { | |||
"@types/lodash": "4.14.119" | |||
} | } | ||
} | } |
... | @@ -11,8 +11,7 @@ | ... | @@ -11,8 +11,7 @@ |
"typecheck": "tsc --noEmit", | "typecheck": "tsc --noEmit", | ||
"clean": "rimraf ./dist ./compiled", | "clean": "rimraf ./dist ./compiled", | ||
"bundle": "rollup -c rollup.config.ts", | "bundle": "rollup -c rollup.config.ts", | ||
"build": "grafana-toolkit package:build --scope=runtime", | "build": "grafana-toolkit package:build --scope=runtime" | ||
"postpublish": "npm run clean" | |||
}, | }, | ||
"author": "Grafana Labs", | "author": "Grafana Labs", | ||
"license": "Apache-2.0", | "license": "Apache-2.0", | ||
... | @@ -33,8 +32,5 @@ | ... | @@ -33,8 +32,5 @@ |
"rollup-plugin-typescript2": "0.19.3", | "rollup-plugin-typescript2": "0.19.3", | ||
"rollup-plugin-visualizer": "0.9.2", | "rollup-plugin-visualizer": "0.9.2", | ||
"typescript": "3.4.1" | "typescript": "3.4.1" | ||
}, | |||
"resolutions": { | |||
"@types/lodash": "4.14.119" | |||
} | } | ||
} | } |
... | @@ -15,8 +15,7 @@ | ... | @@ -15,8 +15,7 @@ |
"typecheck": "tsc --noEmit", | "typecheck": "tsc --noEmit", | ||
"precommit": "npm run tslint & npm run typecheck", | "precommit": "npm run tslint & npm run typecheck", | ||
"clean": "rimraf ./dist ./compiled", | "clean": "rimraf ./dist ./compiled", | ||
"build": "grafana-toolkit toolkit:build", | "build": "grafana-toolkit toolkit:build" | ||
"postpublish": "npm run clean" | |||
}, | }, | ||
"author": "Grafana Labs", | "author": "Grafana Labs", | ||
"license": "Apache-2.0", | "license": "Apache-2.0", | ||
... | @@ -75,9 +74,6 @@ | ... | @@ -75,9 +74,6 @@ |
"url-loader": "^2.0.1", | "url-loader": "^2.0.1", | ||
"webpack": "4.35.0" | "webpack": "4.35.0" | ||
}, | }, | ||
"resolutions": { | |||
"@types/lodash": "4.14.119" | |||
}, | |||
"devDependencies": { | "devDependencies": { | ||
"@types/glob": "^7.1.1", | "@types/glob": "^7.1.1", | ||
"@types/prettier": "^1.16.4" | "@types/prettier": "^1.16.4" | ||
... | ... |
... | @@ -15,12 +15,12 @@ | ... | @@ -15,12 +15,12 @@ |
"storybook:build": "build-storybook -o ./dist/storybook -c .storybook", | "storybook:build": "build-storybook -o ./dist/storybook -c .storybook", | ||
"clean": "rimraf ./dist ./compiled", | "clean": "rimraf ./dist ./compiled", | ||
"bundle": "rollup -c rollup.config.ts", | "bundle": "rollup -c rollup.config.ts", | ||
"build": "grafana-toolkit package:build --scope=ui", | "build": "grafana-toolkit package:build --scope=ui" | ||
"postpublish": "npm run clean" | |||
}, | }, | ||
"author": "Grafana Labs", | "author": "Grafana Labs", | ||
"license": "Apache-2.0", | "license": "Apache-2.0", | ||
"dependencies": { | "dependencies": { | ||
"@grafana/data": "^6.4.0-alpha.8", | |||
"@torkelo/react-select": "2.1.1", | "@torkelo/react-select": "2.1.1", | ||
"@types/react-color": "2.17.0", | "@types/react-color": "2.17.0", | ||
"classnames": "2.2.6", | "classnames": "2.2.6", | ||
... | @@ -77,8 +77,5 @@ | ... | @@ -77,8 +77,5 @@ |
"rollup-plugin-typescript2": "0.19.3", | "rollup-plugin-typescript2": "0.19.3", | ||
"rollup-plugin-visualizer": "0.9.2", | "rollup-plugin-visualizer": "0.9.2", | ||
"typescript": "3.4.1" | "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