Skip to content

Commit

Permalink
chore: Re-enable turbo flag in dev script (#6836)
Browse files Browse the repository at this point in the history
update next to 14.2.4
update turbo to 2.0.3
transpile shiki package as temp workaround for ModuleBuildError

Signed-off-by: abizek <abishekilango@protonmail.com>
  • Loading branch information
abizek authored Jun 14, 2024
1 parent 7bdd6bc commit 430b52c
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 75 deletions.
2 changes: 2 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ const nextConfig = {
// Enables Next.js's Instrumentation Hook
instrumentationHook: true,
},
// To import ESM-only packages with next dev --turbo. Source: https://github.com/vercel/next.js/issues/63318#issuecomment-2079677098
transpilePackages: ['shiki'],
};

/** @type {import('@sentry/cli').SentryCliOptions} */
Expand Down
144 changes: 72 additions & 72 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"packageManager": "npm@10.7.0",
"scripts": {
"scripts:release-post": "cross-env NODE_NO_WARNINGS=1 node scripts/release-post/index.mjs",
"dev": "cross-env NODE_NO_WARNINGS=1 next dev",
"dev": "cross-env NODE_NO_WARNINGS=1 next dev --turbo",
"serve": "npm run dev",
"build": "cross-env NODE_NO_WARNINGS=1 next build",
"start": "cross-env NODE_NO_WARNINGS=1 next start",
Expand Down Expand Up @@ -72,7 +72,7 @@
"gray-matter": "~4.0.3",
"husky": "9.0.11",
"lint-staged": "15.2.5",
"next": "~14.2.3",
"next": "~14.2.4",
"next-intl": "~3.14.1",
"next-themes": "~0.3.0",
"postcss": "~8.4.38",
Expand Down Expand Up @@ -128,7 +128,7 @@
"stylelint-config-standard": "36.0.0",
"stylelint-order": "6.0.4",
"stylelint-selector-bem-pattern": "4.0.0",
"turbo": "2.0.1",
"turbo": "2.0.3",
"user-agent-data-types": "0.4.2"
}
}

0 comments on commit 430b52c

Please sign in to comment.