Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix disabled pseudo, add tests for example * fix jest tests * remove coverage reports * try to fix ci * fix tsconfig * Consolidate CI to root scripts * stop extending tsconfig * more sandbox changes * add readme * spelling
- Loading branch information
1 parent
a08fac6
commit 46db72b
Showing
8 changed files
with
119 additions
and
4,961 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# System Props Examples | ||
|
||
This example project serves two purposes: | ||
|
||
* Examples of how to use System Props in your project (setting up types, creating a Box component) | ||
* Integration tests with styled-components and Emotion (with types, too) | ||
|
||
## Running in CodeSandbox | ||
|
||
[Click here to fork in CodeSandbox](https://codesandbox.io/s/github/system-props/system-props/tree/main/example) | ||
|
||
You can fork this project in codesandbox, which can be useful to demonstrate bugs or quickly spin up a new feature. However, there's a few things you'll need to do first: | ||
|
||
1. Reset the `system-props` version to `latest` (by default, it's symlinked to local repo's version for better local testing) | ||
2. Go to `Server Control Panel` on the left, beneath the File Explorer tab. | ||
3. Beneath "Control Container", click "Restart Server" | ||
4. You should be up and running 🔥 |
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,8 @@ | ||
{ | ||
"infiniteLoopProtection": true, | ||
"hardReloadOnChange": false, | ||
"view": "browser", | ||
"container": { | ||
"node": "14" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,14 +1,17 @@ | ||
{ | ||
"extends": "../tsconfig.json", | ||
"include": ["src", "vite.config.ts"], | ||
"compilerOptions": { | ||
"module": "esnext", | ||
"moduleResolution": "node", | ||
"lib": ["dom", "esnext"], | ||
"strict": true, | ||
"allowJs": false, | ||
"esModuleInterop": false, | ||
"allowSyntheticDefaultImports": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"noEmit": true, | ||
"jsx": "react", | ||
"baseUrl": "." | ||
"jsx": "react" | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
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