Skip to content

Commit

Permalink
V4: Fix to missing react-native-css-interop-env/types reference + ano…
Browse files Browse the repository at this point in the history
…ther small tweak (#517)

* Fix nativewind referencing the wrong react-native-css-interop types

* Fix path to the example app
  • Loading branch information
sync committed Aug 6, 2023
1 parent 5c91a35 commit 4b45abe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test:nativewind": "npm run test --workspace=nativewind --",
"test:css": "npm run test --workspace=react-native-css-interop --",
"build": "npm run build --workspace=nativewind --",
"example": "npm start --workspace=example --",
"example": "npm start --workspace=examples/test --",
"clean": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' + && rm package-lock.json && npm i"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/nativewind/types.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/// <ref types="react-native-css-interop-env/types"
/// <reference types="react-native-css-interop/types" />
2 changes: 1 addition & 1 deletion packages/react-native-css-interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"jsx-runtime/",
"metro/",
"testing-library/",
"react-native-css-interop-env.d.ts"
"types.d.ts"
],
"dependencies": {
"lightningcss": "^1.21.5"
Expand Down

0 comments on commit 4b45abe

Please sign in to comment.