chore(lerna): add publish config for leaf packages

This commit is contained in:
yuqi.pyq 2019-11-12 16:18:12 +08:00
parent f608fc76ce
commit b11f4c2070
10 changed files with 37 additions and 13 deletions

View File

@ -4,10 +4,7 @@
], ],
"command": { "command": {
"publish": { "publish": {
"npmClient": "yarn",
"ignoreChanges": ["*.md"], "ignoreChanges": ["*.md"],
"verifyAccess": false,
"verifyRegistry": false,
"allowBranch": [ "allowBranch": [
"master", "master",
"develop", "develop",
@ -18,5 +15,8 @@
}, },
"version": "0.0.1", "version": "0.0.1",
"npmClient": "yarn", "npmClient": "yarn",
"useWorkspaces": true "useWorkspaces": true,
"publishConfig": {
"access": "public"
}
} }

View File

@ -108,7 +108,7 @@
"commit": "git-cz", "commit": "git-cz",
"version": "lerna version --conventional-commits", "version": "lerna version --conventional-commits",
"prerelease": "yarn build", "prerelease": "yarn build",
"release": "lerna publish from-package", "release": "lerna publish from-package --registry https://registry.npmjs.com/",
"storybook": "start-storybook -p 6006", "storybook": "start-storybook -p 6006",
"test": "jest", "test": "jest",
"coveralls": "jest --coverage && cat ./tests/coverage/lcov.info | coveralls", "coveralls": "jest --coverage && cat ./tests/coverage/lcov.info | coveralls",

View File

@ -29,5 +29,8 @@
"inversify-inject-decorators": "^3.1.0", "inversify-inject-decorators": "^3.1.0",
"inversify-logging": "^0.2.1" "inversify-logging": "^0.2.1"
}, },
"gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae" "gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae",
"publishConfig": {
"access": "public"
}
} }

View File

@ -41,5 +41,8 @@
"@types/lodash": "^4.14.138", "@types/lodash": "^4.14.138",
"@types/viewport-mercator-project": "^6.1.0" "@types/viewport-mercator-project": "^6.1.0"
}, },
"gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae" "gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae",
"publishConfig": {
"access": "public"
}
} }

View File

@ -46,5 +46,8 @@
"@types/gl-matrix": "^2.4.5", "@types/gl-matrix": "^2.4.5",
"@types/lodash": "^4.14.138" "@types/lodash": "^4.14.138"
}, },
"gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae" "gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae",
"publishConfig": {
"access": "public"
}
} }

View File

@ -33,5 +33,8 @@
"@types/mapbox-gl": "^0.54.3", "@types/mapbox-gl": "^0.54.3",
"@types/viewport-mercator-project": "^6.1.0" "@types/viewport-mercator-project": "^6.1.0"
}, },
"gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae" "gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae",
"publishConfig": {
"access": "public"
}
} }

View File

@ -26,5 +26,8 @@
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
"regl": "^1.3.11" "regl": "^1.3.11"
}, },
"gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae" "gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae",
"publishConfig": {
"access": "public"
}
} }

View File

@ -28,5 +28,8 @@
"mapbox-gl": "^1.2.1", "mapbox-gl": "^1.2.1",
"reflect-metadata": "^0.1.13" "reflect-metadata": "^0.1.13"
}, },
"gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae" "gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae",
"publishConfig": {
"access": "public"
}
} }

View File

@ -46,5 +46,8 @@
"@types/lodash": "^4.14.138", "@types/lodash": "^4.14.138",
"@types/viewport-mercator-project": "^6.1.0" "@types/viewport-mercator-project": "^6.1.0"
}, },
"gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae" "gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae",
"publishConfig": {
"access": "public"
}
} }

View File

@ -33,5 +33,8 @@
"@types/gl-matrix": "^2.4.5", "@types/gl-matrix": "^2.4.5",
"@types/lodash": "^4.14.138" "@types/lodash": "^4.14.138"
}, },
"gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae" "gitHead": "0563f357f3a07c099bf1ffa9350e6fa3c88353ae",
"publishConfig": {
"access": "public"
}
} }