Skip to content

Commit 03cf073

Browse files
committed
exclude images from npm package
1 parent 6c6460d commit 03cf073

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.npmignore

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Force dist/ inclusion, it is in .gitignore
22
!dist/
3-
# Other files to be removed.
4-
generate_bulma_classes_types/
3+
# Other files to be excluded
4+
generate_bulma_types/
5+
media/
56
src/
67
temp/
78
tsconfig.*

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<img src="./media/trunx-logotype.png" width="350"/>
1+
<img src="https://fibo.github.io/trunx/media/trunx-logotype.png" width="350"/>
22

33
> Super Saiyan components, son of awesome [Bulma]
44
@@ -35,7 +35,7 @@ Almost all `trunx` components have a `bulma` prop that accepts:
3535

3636
You know, `trunx` is a Super Sayan because it is written in TypeScript. The `bulma` prop can be autocompleted and typos can be avoided thanks to type checking.
3737

38-
<img src="./media/trunks-sword.png" height="400"/>
38+
<img src="https://fibo.github.io/trunx/media/trunks-sword.png" height="400"/>
3939

4040
Some `trunx` components render their homomnym HTML tag.
4141

@@ -72,13 +72,13 @@ You can use the `bulma` prop in case you need to add more Bulma classes that has
7272

7373
Components are documented inline with TSDocs. You can configure your editor to display documentation and examples.
7474

75-
<img src="./media/inline-docs.png"/>
75+
<img src="https://fibo.github.io/trunx/media/inline-docs.png"/>
7676

7777
Almost all `trunx` components support a `className` prop, in case you need to append you custom CSS classes.
7878

7979
#### Components list
8080

81-
<img src="./media/trunks.png" height="290"/>
81+
<img src="https://fibo.github.io/trunx/media/trunks.png" height="290"/>
8282

8383
HTML tags related: `A`, `Article`, `Div`, `Nav`, `P`, `Span`.
8484

0 commit comments

Comments
 (0)