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 - docker
- notpriv - 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: release:
stage: release stage: release
script: script:

View File

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

View File

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

View File

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

View File

@ -77,9 +77,7 @@ const publish = async () => {
}); });
// -> configure package access level // -> configure package access level
if ( if (config.npmAccessLevel) {
config.npmAccessLevel
) {
npmAccessCliString = `--access=${config.npmAccessLevel}`; npmAccessCliString = `--access=${config.npmAccessLevel}`;
if (config.npmAccessLevel === 'public') { if (config.npmAccessLevel === 'public') {
publishVerdaccioAsWell = true; publishVerdaccioAsWell = true;
@ -97,9 +95,14 @@ const publish = async () => {
// publishEverywhere // publishEverywhere
if (publishVerdaccioAsWell) { if (publishVerdaccioAsWell) {
const verdaccioRegistry = availableRegistries.find(registryString => registryString.startsWith('verdaccio')); const verdaccioRegistry = availableRegistries.find(registryString =>
registryString.startsWith('verdaccio')
);
if (verdaccioRegistry) { 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}`; publishCommand = `${publishCommand} && npm publish ${npmAccessCliString} --registry=https://${verdaccioRegistry}`;
} }
} }