File tree Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,8 @@ Debug
124124/cardano-cli
125125/cardano-wallet
126126.vscode
127+ .yalc
128+ yalc.lock
127129
128130# Typescript
129131* .scss.d.ts
Original file line number Diff line number Diff line change 1212
1313### Chores
1414
15+ - Added steps on how to link with ` react-polymorph ` and other external UI libraries ([ PR 2948] ( https://github.com/input-output-hk/daedalus/pull/2948 ) )
1516- Published selfnode installers for all 3 platforms ([ PR 2971] ( https://github.com/input-output-hk/daedalus/pull/2971 ) )
1617
1718## 4.10.0
99100
100101### Fixes
101102
102- - Improved error handling for incorrect passphrase and incorrect hardware wallet error ([ PR 2860] ( https://github.com/input-output-hk/daedalus/pull/2860 ) )
103+ - Improved error handling for incorrect passphrase and incorrect hardware wallet error ([ PR 2860] ( https://github.com/input-output-hk/daedalus/pull/2860 ) )
103104- Fixed rewards CSV export issues ([ PR 2885] ( https://github.com/input-output-hk/daedalus/pull/2885 ) )
104105- Fixed behaviour of wallet settings option of the app menu ([ PR 2838] ( https://github.com/input-output-hk/daedalus/pull/2838 ) )
105106- Fixed styling of ITN rewards feature ([ PR 2861] ( https://github.com/input-output-hk/daedalus/pull/2861 ) )
106107- Fixed available disk space takes a long time to show ([ PR 2849] ( https://github.com/input-output-hk/daedalus/pull/2849 ) )
107-
108+
108109### Chores
109110
110111- Migrated codebase from javascript to typescript ([ PR 2843] ( https://github.com/input-output-hk/daedalus/pull/2843 ) )
Original file line number Diff line number Diff line change @@ -207,6 +207,26 @@ You can debug the main process by following one of these approaches:
207207
208208The inspector runs on port 9229
209209
210+ ### Linking with UI Libraries (e.g. React Polymorph)
211+
212+ You can link libraries with Daedalus using one of the following steps:
213+
214+ #### 1) Using ` yalc `
215+
216+ 1 ) Install ` yalc ` globally using ` yarn global add yalc ` .
217+ 2 ) Run ` yalc publish ` from the library's root directory that you want to link with Daedalus.
218+ 3 ) Switch to Daedalus and run ` yalc add <package-name> ` or preferably ` yalc link <package-name> ` .
219+ 4 ) You should be able to start Daedalus and see the changes you are making locally in the library.
220+ 5 ) To make sure your changes are reflected as you update code in the library, use ` yalc push ` .
221+
222+ #### 2) Using ` yarn link `
223+
224+ 1 ) From the Daedalus root directory, go to ` node_modules/react ` and ` yarn link ` .
225+ 2 ) Navigate to the ` react-dom ` package in the same directory and run ` yarn link ` again.
226+ 3 ) Go to the library's root directory and run ` yarn link ` , ` yarn link react ` and ` yarn link react-dom ` .
227+ 4 ) Go back to the Daedalus root directory and run ` yarn link <package-name> ` .
228+ 5 ) Finally, run ` yarn build:watch ` from the library's root directory.
229+
210230## Testing
211231
212232You can find more details regarding tests setup within
You can’t perform that action at this time.
0 commit comments