diff --git a/apps/docusaurus/README.md b/apps/docusaurus/README.md index 944fc1f..017e04a 100644 --- a/apps/docusaurus/README.md +++ b/apps/docusaurus/README.md @@ -7,13 +7,13 @@ The documentation will be built and deployed to GitHub Pages automatically when ### Installation ``` -$ npm i +$ yarn ``` ### Local Development ``` -$ npm run start +$ yarn start ``` This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. diff --git a/package.json b/package.json index e7add1b..138281b 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "scripts": { - "clean": "turbo run clean && rm -rf .turbo **/node_modules .turbo-cookie", + "clean": "turbo run clean && rm -rf .turbo node_modules .turbo-cookie .swc", "build": "turbo run build", "start": "turbo run start --no-cache --continue", "format": "prettier --write \"**/*.{ts,tsx,md,mdx,json}\"", diff --git a/packages/wethegit-react-hooks/package.json b/packages/wethegit-react-hooks/package.json index 5419b24..8d9b05a 100644 --- a/packages/wethegit-react-hooks/package.json +++ b/packages/wethegit-react-hooks/package.json @@ -12,8 +12,8 @@ "scripts": { "dev": "vite", "start": "vite build --watch", - "build": "rm -rf dist && npm run lint && vite build", - "clean": "rm -rf dist node_modules", + "build": "rm -rf dist && vite build", + "clean": "rm -rf dist node_modules .turbo", "typecheck": "tsc --noEmit", "lint": "eslint --fix --ext .jsx,js --ignore-path ../../.gitignore ." }, diff --git a/packages/wethegit-react-hooks/src/lib/hooks/use-in-view.ts b/packages/wethegit-react-hooks/src/lib/hooks/use-in-view.ts index eb2ead8..fea5bbc 100644 --- a/packages/wethegit-react-hooks/src/lib/hooks/use-in-view.ts +++ b/packages/wethegit-react-hooks/src/lib/hooks/use-in-view.ts @@ -12,7 +12,7 @@ export type InViewHook = [ /** * The DOM node itself, once set by the `setTargetRef` function. */ - HTMLElement | undefined + HTMLElement | undefined, ] /** diff --git a/turbo.json b/turbo.json index 537d0d3..ed503ce 100644 --- a/turbo.json +++ b/turbo.json @@ -14,4 +14,4 @@ "cache": false } } -} \ No newline at end of file +}