Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add typecheck script #98

Merged
merged 1 commit into from
Jan 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
2 changes: 1 addition & 1 deletion _official-blog-tutorial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"test:e2e:dev": "start-server-and-test dev http://localhost:3000 'cypress open'",
"pretest:e2e:run": "npm run build",
"test:e2e:run": "cross-env PORT=8811 start-server-and-test start:mocks http://localhost:8811 'cypress run'",
"typecheck": "tsc -b && tsc -b cypress",
"typecheck": "tsc && tsc cypress",
"validate": "run-p \"test -- --run\" lint typecheck test:e2e:run"
},
"prettier": {},
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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"dependencies": {
"@remix-run/node": "*",
Expand Down
Loading