Skip to content

Commit 36ab70d

Browse files
committed
chore: add back nested package README
1 parent 4169a6e commit 36ab70d

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# react-native-tailwind.macro ✨
22

3+
![npm](https://img.shields.io/npm/v/react-native-tailwind.macro)
4+
35
> Babel macro for easily writing responsive Tailwind styles in React Native (+ Web).
46
57
Easily style components using the `tw` prop:

packages/react-native-tailwind.macro/.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,3 @@ android/keystores/debug.keystore
5656
.expo/*
5757

5858
dist/
59-
60-
# Don't commit README and reuse from root
61-
README.md
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# react-native-tailwind.macro ✨
2+
3+
Find the docs [here](../../README.md).

packages/react-native-tailwind.macro/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,9 @@
105105
"yarn lint",
106106
"yarn test"
107107
],
108-
"after:bump": [
109-
"yarn build",
110-
"cp ../../README.md ./README.md"
111-
]
108+
"after:bump": "yarn build",
109+
"before:npm:release": "cp ../../README.md ./README.md",
110+
"after:npm:release": "git checkout @ -- ./README.md"
112111
}
113112
},
114113
"eslintConfig": {

0 commit comments

Comments
 (0)