Skip to content

Commit

Permalink
feat: add typecheck script
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Dec 6, 2022
1 parent 35381f7 commit c2a9ffe
Show file tree
Hide file tree
Showing 76 changed files with 170 additions and 89 deletions.
3 changes: 2 additions & 1 deletion __template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion _official-jokes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@prisma/client": "^3.10.0",
Expand Down
4 changes: 3 additions & 1 deletion _official-realtime-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"dev:css": "npm run generate:css -- --watch",
"dev:remix": "remix watch",
"dev:server": "node --watch server.js",
"generate:css": "npx tailwindcss -i app/styles.css -o ./app/styles.processed.css"
"generate:css": "npx tailwindcss -i app/styles.css -o ./app/styles.processed.css",
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/express": "*",
Expand Down
3 changes: 2 additions & 1 deletion basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion bullmq-task-queue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion catch-boundary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion chakra-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@chakra-ui/react": "^2.3.6",
Expand Down
3 changes: 2 additions & 1 deletion client-only-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion client-side-validation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion collected-notes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion combobox-resource-route/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@reach/combobox": "^0.16.5",
Expand Down
3 changes: 2 additions & 1 deletion dark-mode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion dataloader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"build": "remix build",
"dev": "remix watch",
"start": "cross-env NODE_ENV=production node -r esbuild-register server/index.ts",
"start:dev": "cross-env NODE_ENV=development node -r esbuild-register server/index.ts"
"start:dev": "cross-env NODE_ENV=development node -r esbuild-register server/index.ts",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/express": "*",
Expand Down
3 changes: 2 additions & 1 deletion emotion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@emotion/cache": "^11.7.1",
Expand Down
3 changes: 2 additions & 1 deletion file-and-cloudinary-upload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion file-and-s3-upload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"build": "remix build",
"dev": "remix dev",
"emulators": "firebase emulators:start --project remix-emulator --import=firebase-fixtures",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion form-to-notion-db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@notionhq/client": "^0.4.13",
Expand Down
3 changes: 2 additions & 1 deletion framer-motion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion framer-route-animation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion gdpr-cookie-consent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion google-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion graphql-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"predev": "npm run generate:types",
"dev": "remix dev",
"generate:types": "graphql-codegen",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion image-resize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion infinite-scrolling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion io-ts-formdata-decoding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion ioredis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion leaflet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion mantine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@mantine/core": "^3.6.14",
Expand Down
3 changes: 2 additions & 1 deletion msw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "binode --require ./mocks -- @remix-run/dev:remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion multiple-forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion multiple-params/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion newsletter-signup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion nprogress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion on-demand-hydration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion outlet-form-rerender/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion pathless-routes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build"
"start": "remix-serve build",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
3 changes: 2 additions & 1 deletion playwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"build": "remix build",
"dev": "remix dev",
"start": "remix-serve build",
"test:e2e": "playwright test"
"test:e2e": "playwright test",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
Loading

0 comments on commit c2a9ffe

Please sign in to comment.