Skip to content

Commit

Permalink
fix: husky updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mgallagher56 committed Aug 26, 2024
1 parent aac2016 commit d34a2d7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit ${1}
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm lint-staged
3 changes: 1 addition & 2 deletions apps/web/app/entry.server.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { CacheProvider as EmotionCacheProvider } from '@emotion/react';
import { EmotionCache } from '@emotion/utils'

import createEmotionServer from '@emotion/server/create-instance';
import type { EntryContext } from '@remix-run/node';
Expand Down Expand Up @@ -54,7 +53,7 @@ export default async function handleRequest(
{
[callbackName]: () => {
const reactBody = new PassThrough();
const emotionServer = createEmotionServer(emotionCache as EmotionCache);
const emotionServer = createEmotionServer(emotionCache);

const bodyWithStyles = emotionServer.renderStylesToNodeStream() as PassThrough;
reactBody.pipe(bodyWithStyles);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lint": "turbo run lint",
"format": "turbo run format",
"ts-coverage": "turbo run ts-coverage",
"prepare": "husky install || npx -y husky install",
"prepare": "husky || npx -y husky",
"publish": "turbo run publish"
},
"dependencies": {
Expand Down

0 comments on commit d34a2d7

Please sign in to comment.