fix(core): update

This commit is contained in:
Philipp Kunz 2019-07-17 17:57:20 +02:00
parent adfdf68c38
commit 38d38ce246
5 changed files with 24 additions and 10 deletions

View File

@ -50,6 +50,18 @@ testLTS:
- docker
- notpriv
testBuild:
stage: test
script:
- npmci npm prepare
- npmci node install lts
- npmci npm install
- npmci command npm run build
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
- notpriv
release:
stage: release
script:

View File

@ -59,6 +59,7 @@
"ts_web/*",
"dist/*",
"dist_web/*",
"dist_ts_web/*",
"assets/*",
"cli.js",
"npmextra.json",

View File

@ -42,7 +42,7 @@ export let mirror = async () => {
logger.log('info', 'found github token.');
logger.log('info', 'attempting the mirror the repository to GitHub');
plugins.smartgit.GitRepo
plugins.smartgit.GitRepo;
// add the mirror
await bash(

View File

@ -2,6 +2,4 @@ export * from '../npmci.plugins';
import * as smartgit from '@pushrocks/smartgit';
export {
smartgit
};
export { smartgit };

View File

@ -77,9 +77,7 @@ const publish = async () => {
});
// -> configure package access level
if (
config.npmAccessLevel
) {
if (config.npmAccessLevel) {
npmAccessCliString = `--access=${config.npmAccessLevel}`;
if (config.npmAccessLevel === 'public') {
publishVerdaccioAsWell = true;
@ -97,9 +95,14 @@ const publish = async () => {
// publishEverywhere
if (publishVerdaccioAsWell) {
const verdaccioRegistry = availableRegistries.find(registryString => registryString.startsWith('verdaccio'));
const verdaccioRegistry = availableRegistries.find(registryString =>
registryString.startsWith('verdaccio')
);
if (verdaccioRegistry) {
logger.log('info', `package is public and verdaccio registry is specified. Also publishing to Verdaccio!`);
logger.log(
'info',
`package is public and verdaccio registry is specified. Also publishing to Verdaccio!`
);
publishCommand = `${publishCommand} && npm publish ${npmAccessCliString} --registry=https://${verdaccioRegistry}`;
}
}