├── example ├── .npmignore ├── index.tsx ├── index.html ├── tsconfig.json └── package.json ├── .gitignore ├── .vscode └── settings.json ├── docs └── superjson-remix.png ├── .github └── workflows │ ├── size.yml │ └── main.yml ├── test └── blah.test.tsx ├── LICENSE ├── src └── index.tsx ├── tsconfig.json ├── package.json └── README.md /example/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .cache 3 | dist -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | .DS_Store 3 | node_modules 4 | .cache 5 | dist 6 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "typescript.tsdk": "node_modules/typescript/lib" 3 | } -------------------------------------------------------------------------------- /docs/superjson-remix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/donavon/superjson-remix/HEAD/docs/superjson-remix.png -------------------------------------------------------------------------------- /.github/workflows/size.yml: -------------------------------------------------------------------------------- 1 | name: size 2 | on: [pull_request] 3 | jobs: 4 | size: 5 | runs-on: ubuntu-latest 6 | env: 7 | CI_JOB_NUMBER: 1 8 | steps: 9 | - uses: actions/checkout@v1 10 | - uses: andresz1/size-limit-action@v1 11 | with: 12 | github_token: ${{ secrets.GITHUB_TOKEN }} 13 | -------------------------------------------------------------------------------- /example/index.tsx: -------------------------------------------------------------------------------- 1 | import 'react-app-polyfill/ie11'; 2 | import * as React from 'react'; 3 | import * as ReactDOM from 'react-dom'; 4 | import { Thing } from '../.'; 5 | 6 | const App = () => { 7 | return ( 8 |
4 |
5 |
Our set: {Array.from(set).join(', ');}
88 |Server time: {now.toLocaleString()}
89 |A large number: {largeNumber.toString()}
90 |