-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from jpudysz/feature/ssr
Add support for SSR and NextJS
- Loading branch information
Showing
43 changed files
with
1,687 additions
and
732 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"extends": "expo/tsconfig.base", | ||
"references": [ | ||
{ | ||
"path": "../" | ||
"path": "../../" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Due to a package scoping issue with NextJS and Yarn, I decided to move the example to a separate repository, which can be found [here](https://github.com/jpudysz/react-native-unistyles-ssr-exmaple). |
Binary file not shown.
Binary file added
BIN
+60.4 KB
examples/ssr/apps/web/.next/cache/webpack/client-development/index.pack
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
"description": "Level up your React Native StyleSheet", | ||
"scripts": { | ||
"test": "jest", | ||
"test:coverage": "jest --coverage", | ||
"tsc": "node_modules/typescript/bin/tsc --noEmit", | ||
"lint": "eslint . --ext .ts,.tsx", | ||
"clean": "del-cli lib", | ||
|
@@ -84,7 +85,7 @@ | |
} | ||
}, | ||
"workspaces": [ | ||
"example", | ||
"examples/expo", | ||
"docs" | ||
], | ||
"packageManager": "[email protected]", | ||
|
@@ -94,9 +95,13 @@ | |
"jest": { | ||
"preset": "react-native", | ||
"modulePathIgnorePatterns": [ | ||
"<rootDir>/example/node_modules", | ||
"<rootDir>/examples/expo/node_modules", | ||
"<rootDir>/examples/ssr/node_modules", | ||
"<rootDir>/docs/node_modules", | ||
"<rootDir>/lib/" | ||
], | ||
"coverageReporters": [ | ||
"html" | ||
] | ||
}, | ||
"commitlint": { | ||
|
Oops, something went wrong.