Skip to content

Commit 73a591f

Browse files
Merge pull request #328 from ZeroGachis/SORD-1317-resoudre-probleme-de-securite-critique-sur-smartway-react-native-ui
fix(dependencies): remove storybook to avoid critical security alert …
2 parents 6b74728 + 1d5e09b commit 73a591f

File tree

124 files changed

+69
-47853
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+69
-47853
lines changed

.github/workflows/production.yml

Lines changed: 0 additions & 57 deletions
This file was deleted.

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.watchmanconfig

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,41 +12,18 @@ npm install smartway-react-native-ui
1212

1313
In `src\assets\fonts` copy downloaded font
1414

15-
and from `Storybook` folder execute
16-
17-
```sh
18-
npm run link-asset
19-
```
20-
2115
Rebuild app and you can use new added font with :
2216

2317
```
2418
<Text style={{fontFamily: 'FontFileNameWithoutExtension'}} />
2519
```
26-
## launch storybook
27-
28-
```
29-
cd Storybook
30-
npm install
31-
npm run start
32-
```
33-
3420
## In case of failure
3521

3622
```
3723
cd android
3824
./gradlew clean
3925
```
4026

41-
## create a new story for storybook
42-
43-
add a folder in *Storybook/components* with th name of your component
44-
you can use *Storybook/components/TemplateStories.tsx* as ... template
45-
copy it into the folder rename like : *component*.stories.tsx
46-
follow the instruction in the template. see other component to better understand on create a story.
47-
48-
when all it's done you need to relaunch npm run start to add it in story book
49-
5027
## License
5128

5229
MIT

Storybook/.bundle/config

Lines changed: 0 additions & 2 deletions
This file was deleted.

Storybook/.gitignore

Lines changed: 0 additions & 63 deletions
This file was deleted.

Storybook/.ondevice/Storybook.tsx

Lines changed: 0 additions & 5 deletions
This file was deleted.

Storybook/.ondevice/main.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

Storybook/.ondevice/preview.js

Lines changed: 0 additions & 26 deletions
This file was deleted.

Storybook/.ondevice/storybook.requires.js

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)