Feature #19428

FE - React - create share folder as library to share across the project for cccore-shared.js

Added by chok yee fan 9 months ago. Updated 9 months ago.

Status:ClosedStart date:12 January 2024
Priority:NormalDue date:
Assignee:chok yee fan% Done:

0%

Category:-Spent time:-
Target version:-

Description

R&D create as library for folder share, allow to use in another child(e.g. cc-auth, cc-topnavbar) to use instead of copy the source code over

Screenshot 2024-02-05 at 11.19.46 AM.png - otherProjectFolderVersioning (125 KB) chok yee fan, 05 February 2024 11:19 AM

History

#1 Updated by chok yee fan 9 months ago

  • Subject changed from FE - React - create share folder as library to share across the project to FE - React - create share folder as library to share across the project for cccore-shared.js
  • Assignee changed from chok yee fan to Amirul Umar Pandai

if all module able to share this cccore-shared.js then is fine. The class name remain as cccore-shared.js

if have problem, need create another share js like ccauth-shared.js, to share cross the project, except cccore.
- name the class name as ccore-prop-shared.js

#2 Updated by Amirul Umar Pandai 9 months ago

  • Status changed from New to Resolved
  • Assignee changed from Amirul Umar Pandai to Hazimi Muhammad

As discussed in previous meeting, cccore-shared will be library that dev needs to install from local mleb-core folder. After pulling latest code, dev needs to edit package.json value for each microfrontend to point to /mleb-core/cccore_shared folder, and then npm/yarn install afterwards


Change cccore-shared git repo link to filepath

https://dev.silverlakemobility.com/gitlab/mleb-solution-domain/smesd100/mleb-iam/-/commit/b821352b1e94fd6a26e6d394fecac0174f4783f0

#3 Updated by Hazimi Muhammad 9 months ago

  • Assignee changed from Hazimi Muhammad to chok yee fan

-Already pull the latest code for cc_iam and cc_code then npm install. the code run smoothly.
-Check the package.json

#4 Updated by chok yee fan 9 months ago

R&D versioning of the folder.
Or have other ways can recommend as well

#5 Updated by Amirul Umar Pandai 9 months ago

  • Status changed from New to Resolved
  • Assignee changed from Amirul Umar Pandai to Hazimi Muhammad

#6 Updated by Hazimi Muhammad 9 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Hazimi Muhammad to chok yee fan

-Done checking for package.json and yarn.lock for cc_auth, cc_core, cc_topnecbar and also the path

-The cccore_shared has been apply at package.json in cc_iam

#7 Updated by chok yee fan 9 months ago

  • Status changed from Feedback to Closed

working as expected

Also available in: Atom PDF