Feature #19428
FE - React - create share folder as library to share across the project for cccore-shared.js
Status: | Closed | Start date: | 12 January 2024 | |
---|---|---|---|---|
Priority: | Normal | Due 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
History
#1 Updated by chok yee fan 11 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 11 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
#3 Updated by Hazimi Muhammad 11 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 11 months ago
- File Screenshot 2024-02-05 at 11.19.46 AM.png added
- Status changed from Resolved to New
- Assignee changed from chok yee fan to Amirul Umar Pandai
R&D versioning of the folder.
Or have other ways can recommend as well
#5 Updated by Amirul Umar Pandai 11 months ago
- Status changed from New to Resolved
- Assignee changed from Amirul Umar Pandai to Hazimi Muhammad
#6 Updated by Hazimi Muhammad 11 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