setup-nativewind 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +11 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # setup-nativewind
2
2
 
3
- > CLI tool to instantly set up NativeWind v4 for Expo and React Native projects.
3
+ > CLI tool to instantly set up NativeWind v4 for Expo and React Native projects
4
4
 
5
5
  ## Usage
6
+
6
7
  ```bash
7
8
  npx setup-nativewind
8
9
  ```
@@ -10,18 +11,20 @@ npx setup-nativewind
10
11
  ## What it does
11
12
 
12
13
  - ✅ Auto detects your project type (Expo managed, Expo bare, React Native CLI)
13
- - ✅ Auto detects JavaScript or TypeScript
14
+ - ✅ Asks if your project is JavaScript or TypeScript
14
15
  - ✅ Installs `nativewind` and `tailwindcss` automatically
15
16
  - ✅ Creates all required config files
17
+ - ✅ Smart merges existing `babel.config.js` and `metro.config.js`
16
18
  - ✅ Creates `nativewind-env.d.ts` for TypeScript projects
19
+ - ✅ Auto updates `tsconfig.json` for TypeScript projects
17
20
 
18
21
  ## Supported Project Types
19
22
 
20
- | Project Type | JavaScript | TypeScript |
21
- |---|---|---|
22
- | Expo Managed | ✅ | ✅ |
23
- | Expo Bare | ✅ | ✅ |
24
- | React Native CLI | ✅ | ✅ |
23
+ | Project Type | JavaScript | TypeScript |
24
+ | ---------------- | ---------- | ---------- |
25
+ | Expo Managed | ✅ | ✅ |
26
+ | Expo Bare | ✅ | ✅ |
27
+ | React Native CLI | ✅ | ✅ |
25
28
 
26
29
  ## Requirements
27
30
 
@@ -30,4 +33,4 @@ npx setup-nativewind
30
33
 
31
34
  ## License
32
35
 
33
- MIT
36
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "setup-nativewind",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "One command NativeWind setup for Expo and React Native",
5
5
  "main": "src/index.js",
6
6
  "type": "module",