Skip to content

Commit 05b94f7

Browse files
committed
Add instruction to link to @gouvfr/dsfr
1 parent aeac2e2 commit 05b94f7

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

CONTRIBUTING.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,17 @@ https://user-images.githubusercontent.com/6702424/206940923-8d2d1113-8b81-4f61-8
3737
Thank You Very Much ❤️
3838

3939
PS: If you want to contribute to the Doc website. You can edit [the source Markdown](https://github.com/codegouvfr/react-dsfr/tree/v1_docs) or ask me for access to our GitBook. (We'll migrate to Docusaurus once we have the DSFR theme for it ready.)
40+
41+
## Linking a working version of `@gouvfr/dsfr`
42+
43+
```bash
44+
cd ~/github/
45+
git clone http://github.com/gouvernementfr/dsfr
46+
cd dsfr
47+
# git checkout my-working-branch
48+
yarn link
49+
cd ~/github/react-dsfr
50+
yarn link @gouvfr/dsfr
51+
```
52+
53+
Now `~/github/react-dsfr/node_modules/@gouvfr/dsfr` links to `~/github/@gouvfr/dsfr`.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@
143143
"./Pagination": "./dist/Pagination.js",
144144
"./Notice": "./dist/Notice.js",
145145
"./MainNavigation": "./dist/MainNavigation/index.js",
146+
"./Input": "./dist/Input.js",
146147
"./Highlight": "./dist/Highlight.js",
147148
"./Header": "./dist/Header.js",
148149
"./Footer": "./dist/Footer.js",

0 commit comments

Comments
 (0)