From 35128ec208b0ec1518c2535083f39a3ccb41ee0e Mon Sep 17 00:00:00 2001 From: Xevion Date: Thu, 19 Dec 2024 16:51:59 -0600 Subject: [PATCH] turbopack, add alias, update @kodingdotninja/use-tailwind-breakpoint --- package.json | 4 ++-- tsconfig.json | 7 +++++-- yarn.lock | 8 ++++---- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 6c62f0c..26db1cd 100644 --- a/package.json +++ b/package.json @@ -4,14 +4,14 @@ "private": true, "scripts": { "build": "next build", - "dev": "next dev", + "dev": "next dev --turbopack", "lint": "next lint", "start": "next start" }, "dependencies": { "@directus/sdk": "^18.0.3", "@headlessui/react": "^2.2.0", - "@kodingdotninja/use-tailwind-breakpoint": "^0.0.5", + "@kodingdotninja/use-tailwind-breakpoint": "^1.0.0", "@next/eslint-plugin-next": "^15.1.1", "@plaiceholder/next": "^3.0.0", "@tailwindcss/typography": "^0.5.8", diff --git a/tsconfig.json b/tsconfig.json index 658068a..c65f250 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,12 +9,15 @@ "noEmit": true, "esModuleInterop": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", "incremental": true, - "noUncheckedIndexedAccess": true + "noUncheckedIndexedAccess": true, + "paths": { + "@/*": ["./src/*"] + } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.cjs", "**/*.mjs"], "exclude": ["node_modules"] diff --git a/yarn.lock b/yarn.lock index d3553ee..8d46443 100644 --- a/yarn.lock +++ b/yarn.lock @@ -310,10 +310,10 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@kodingdotninja/use-tailwind-breakpoint@^0.0.5": - version "0.0.5" - resolved "https://registry.yarnpkg.com/@kodingdotninja/use-tailwind-breakpoint/-/use-tailwind-breakpoint-0.0.5.tgz#f3319448c33572e2e810700e6f2c4e219cf3b54a" - integrity sha512-7h52zL+l+14u9diyjVcGoS5NRIwrc6euIGlHDwtJXlrR3h31RNyTrOfimy7PJTvS4fFdNgbzyrNcGfhj3sDRfQ== +"@kodingdotninja/use-tailwind-breakpoint@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@kodingdotninja/use-tailwind-breakpoint/-/use-tailwind-breakpoint-1.0.0.tgz#2ccc01812fc911cf8228b264a82a2849eefe1cde" + integrity sha512-UVN3Au5qBg7H7tkLxInvbozpigout08AWj6wQORtvAO/F67Gb3sAayuOgppHZTjMuQPAUbVL+TWMLwivuIxWtw== "@next/env@15.1.1": version "15.1.1"