From 608f69f521c2528cce3104807c36318f1c178969 Mon Sep 17 00:00:00 2001 From: Navin Krishnan Date: Sun, 2 Jun 2024 18:47:49 +0530 Subject: [PATCH] pkg name after copy --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index cbe99d2..dd8140a 100644 --- a/package.json +++ b/package.json @@ -32,8 +32,8 @@ "add-attachments": "npm add @cap-js/attachments && cp -r xmpls/attachments.cds ./db", "add-notifications": "npm add @cap-js/notifications && cp xmpls/alert-notifications.js ./srv && cp xmpls/notification-types.json ./srv", "add-audit-log": "npm add @cap-js/audit-logging && cp xmpls/data-privacy.cds ./srv && cp xmpls/audit-log.test.js ./test", - "add-remote-service": "cp -r xmpls/remote-service/* .", - "add-messaging": "cp -r xmpls/messaging/* .", + "add-remote-service": "cp -r xmpls/remote-service/* . && npm pkg set name=@capire/incidents", + "add-messaging": "cp -r xmpls/messaging/* . && npm pkg set name=@capire/incidents", "add-all-xmpls": "npm run add-remote-service && npm run add-messaging && npm run add-change-tracking && npm run add-audit-log", "reset": "read -p 'This will irreversibly reset your working directory including ALL files in this git repo. Continue?' -n 1 -r && echo && if [[ $REPLY =~ ^[Yy]$ ]]; then git clean -fd && git reset --hard && npm i; fi" },