mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
improve build and publish scripts
This commit is contained in:
@@ -85,7 +85,9 @@ function changeRegistry(args: PublishArgs, project: string) {
|
||||
`strict-ssl=false
|
||||
registry=http://${args.npmRegistry}
|
||||
//${args.npmRegistry}/:_authToken="${args.tokenRegistry}"`;
|
||||
|
||||
try {
|
||||
fs.mkdirSync(folder, { recursive: true });
|
||||
fs.writeFileSync(`${folder}/.npmrc`, content);
|
||||
} catch (e) {
|
||||
logger.error('Cannot write file', e);
|
||||
|
Reference in New Issue
Block a user