chore: update dependencies and improve build scripts#1929
Conversation
- Upgraded several dependencies in package.json, including knip, sherif, turbo, vite, and others to their latest versions. - Updated pnpm-lock.yaml to reflect the new dependency versions. - Modified build and development scripts in the docs/suspensive.org package.json to use webpack. - Adjusted tsconfig.json to change JSX setting from 'preserve' to 'react-jsx'. - Updated examples to use the latest versions of dependencies and ensure compatibility with the new configurations.
People can be co-author:
|
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Size Change: 0 B Total Size: 60.1 kB ℹ️ View Unchanged
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1929 +/- ##
=======================================
Coverage 94.06% 94.06%
=======================================
Files 41 41
Lines 657 657
Branches 164 164
=======================================
Hits 618 618
Misses 36 36
Partials 3 3
🚀 New features to boost your workflow:
|
- Removed "scripts/**" from the ignore list in knip.json. - Added entry points for "packages/codemods" and "packages/next". - Specified entry points for "packages/react-query" to include multiple source files.
| "type": "module", | ||
| "scripts": { | ||
| "build": "next build && node scripts/llms-txt/generate-llms-txt.ts && pagefind --site .next/server/app --output-path public/_pagefind", | ||
| "build": "next build --webpack && node scripts/llms-txt/generate-llms-txt.ts && pagefind --site .next/server/app --output-path public/_pagefind", |
There was a problem hiding this comment.
turbopack is default for next 16 but we cannot use it because of codehike plugin is not serializable
| "next": "^15.5.12", | ||
| "lucide-react": "^0.577.0", | ||
| "motion": "^12.38.0", | ||
| "next": "catalog:", |
| @@ -14,11 +14,15 @@ | |||
| "ignoreDependencies": ["react-dom", "@types/react-dom"], | |||
| "ignore": ["**/utils/observe.ts"] | |||
| }, | |||
| "packages/react-query": { | |||
| "ignore": ["**/bin/utils/package.ts"] | |||
| }, | |||
| "packages/codemods": { | |||
| "ignore": ["**/testfixtures/**", "**/getTestfixtures.ts"] | |||
| "entry": ["src/bin/codemods.ts", "src/transforms/*.ts"], | |||
| "ignore": ["**/testfixtures/**"] | |||
| }, | |||
| "packages/next": { | |||
| "entry": ["src/index.ts", "src/react-server.ts"] | |||
| }, | |||
| "packages/react-query": { | |||
| "entry": ["src/index.ts", "src/bin/cli.ts", "src/v4.ts", "src/v5.ts"] | |||
| }, | |||
| "examples/vite-react-18-suspense-prerender-siblings-problem": { | |||
| "ignoreDependencies": ["globals"] | |||
No description provided.