Skip to content

Commit

Permalink
build: add automate-release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Oct 21, 2018
1 parent 87b5c72 commit 86f490e
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 39 deletions.
61 changes: 48 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,79 @@
{
"name": "@microlink/root",
"description": "Convert your links into beautiful previews",
"version": "",
"homepage": "https://github.com/microlinkhq/sdk#readme",
"version": "2.3.0",
"author": {
"email": "[email protected]",
"name": "Kiko Beats",
"url": "https://github.com/Kikobeats"
},
"contributors": [
{
"name": "Brad Adams",
"email": "[email protected]"
},
{
"name": "Pierre Lebrun",
"email": "[email protected]"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/microlinkhq/sdk.git"
},
"bugs": {
"url": "https://github.com/microlinkhq/sdk/issues"
},
"devDependencies": {
"@commitlint/cli": "latest",
"@commitlint/config-conventional": "latest",
"conventional-changelog-cli": "latest",
"conventional-github-releaser": "latest",
"eachdir": "latest",
"finepack": "latest",
"git-authors-cli": "latest",
"husky": "latest",
"lerna": "latest",
"npm-check-updates": "latest",
"lint-staged": "latest",
"npm-check-updates": "latest",
"prettier-standard": "latest",
"standard": "latest",
"standard-markdown": "latest"
"standard-markdown": "latest",
"standard-version": "latest"
},
"engines": {
"node": ">= 8"
},
"scripts": {
"browser-sync": "browser-sync start --server --files \"index.html, README.md, static/**/*.(css|js)\"",
"build": "gulp build",
"build:packages": "lerna run build",
"build:commit": "lerna run build && git add . && git commit -m 'Preparing build'",
"build": "lerna run build",
"changelog": "conventional-changelog --release-count=0 > CHANGELOG.md",
"changelog:commit": "npm run changelog && git add CHANGELOG.md && git commit -m 'Update Changelog' && git push origin master",
"clean": "cd packages && eachdir rm -rf node_modules && cd .. && rm -rf node_modules",
"dev": "concurrently 'gulp' 'npm run browser-sync'",
"lint": "standard-markdown README.md && standard src",
"postinstall": "lerna bootstrap",
"precommit": "lint-staged",
"prepublishOnly": "lerna run build",
"prerelease": "npm run update:check",
"pretest": "npm run lint",
"pretty": "prettier-standard src/**/*.{js,css} --single-quote",
"prerelease": "npm run upgrade && npm run build:commit",
"preversion": "git-authors-cli",
"release": "lerna publish --sort",
"postrelease": "npm run changelog:commit",
"test": "lerna exec npm run test",
"upgrade": "lerna exec ncu -- --error-level 2"
"update": "lerna exec ncu",
"update:check": "lerna exec ncu -- --error-level 2"
},
"private": true,
"license": "MIT",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"*.js": [
Expand Down
14 changes: 1 addition & 13 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,9 @@
"version": "2.3.0",
"main": "lib/index.js",
"module": "lib/index.m.js",
"author": {
"email": "[email protected]",
"name": "Brad Adams",
"url": "https://breadadams.com"
},
"contributors": [
{
"name": "Kiko Beats",
"email": "[email protected]",
"url": "https://github.com/Kikobeats"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/microlinkhq/sdk.git"
"url": "git+https://github.com/microlinkhq/sdk/tree/master/packages/react"
},
"bugs": {
"url": "https://github.com/microlinkhq/sdk/issues"
Expand Down
14 changes: 1 addition & 13 deletions packages/vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,9 @@
"homepage": "https://microlink.js.org",
"version": "2.3.0",
"main": "src/index.js",
"author": {
"email": "[email protected]",
"name": "Brad Adams",
"url": "https://breadadams.com"
},
"contributors": [
{
"name": "Kiko Beats",
"email": "[email protected]",
"url": "https://github.com/Kikobeats"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/microlinkhq/sdk.git"
"url": "git+https://github.com/microlinkhq/sdk/tree/master/packages/vanilla"
},
"bugs": {
"url": "https://github.com/microlinkhq/sdk/issues"
Expand Down

0 comments on commit 86f490e

Please sign in to comment.