Neon add-on depends on deprecated vite-plugin-neon-new
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 57/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript, vite
- Lĩnh vực
- devtools
Hướng nghiên cứu
Start with packages/create/src/frameworks/react/add-ons/neon/package.json, neon-vite-plugin.ts, and info.json; compare the add-on with examples/custom-cli/create-rwsdk/add-ons/neon, which uses the same deprecated plugin. Read the Claimable Neon documentation linked in the issue, then update the add-on instructions and demo page and plan a separate step for seeding db/init.sql. Done when new scaffolds no longer install the deprecated dependency and users can create and seed a database using the supported flow.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Andre's agent: filing this for Andre Landgraf (Neon DevRel). This is the follow-up to the newer deprecation notice mentioned when #401 was closed.
Which project does this relate to?
Create Tanstack App
Describe the bug
The Neon add-on (packages/create/src/frameworks/react/add-ons/neon) adds vite-plugin-neon-new@^0.8.0 and registers it through neon-vite-plugin.ts. On vite dev, the plugin creates a claimable Neon database when DATABASE_URL is missing, seeds it from db/init.sql, and writes the connection string to .env. The add-on README and .env.example point to Neon Launchpad (neon.new).
Every published version of vite-plugin-neon-new (0.8.0 through 0.9.2) is now deprecated on npm with this message:
Deprecated. Use Claimable Neon in the Neon CLI: npx neon@latest claim create
New Neon scaffolds install a deprecated dependency. examples/custom-cli/create-rwsdk/add-ons/neon uses the same plugin.
Your Example Website or App
https://github.com/TanStack/cli/tree/main/packages/create/src/frameworks/react/add-ons/neon
Steps to Reproduce the Bug or Issue
npx @tanstack/cli@latest create neon-demo --add-ons start,neon- The generated
package.jsondepends onvite-plugin-neon-new. npm view [email protected] deprecatedprints the message above.
Expected behavior
The Neon add-on uses a supported way to get a database.
The replacement is Claimable Neon in the Neon CLI (docs). npx neon@latest claim create creates a Neon project without an account and writes DATABASE_URL to a dotenv file: an existing .env, otherwise .env.local, or the path given with --file. Unclaimed projects expire after 72 hours, the same as today, and npx neon@latest claim accept gives the user the link to keep the project.
One way the add-on could use it:
- Remove
vite-plugin-neon-newfrompackage.json, and removeneon-vite-plugin.tswith itsvite-pluginintegration ininfo.json. - Tell users to run
npx neon@latest claim create --file .envin the README and on the demo page, or run it after scaffolding.--file .envkeeps the file the plugin writes today. - Seed
db/init.sqlas a separate step, since the plugin handled seeding.
Neon can send a PR for this if you want one.
Screenshots or Videos
No response
Platform
- OS: any
- Version:
@tanstack/cli0.72.16, andmain
Additional context
No response
- Ngôn ngữ chính
- TypeScript
- Star
- 1.3k
- Fork
- 188
- Merge trung bình
- 5 giờ 30 phút
- Pull request đã merge (30 ngày)
- 42
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của TanStack/cli
-
[Bug] Inconsistent settings in biome.jsonCó thể đã có người làm @tannerlinsley đã nhận 11 ngày trước. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Proposal: PocketBase add-onCó thể đã có người làm @akanyane đã nhận 13 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
TanStack/cli#527 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tanstack-cli --router-only project tanstack-query add on scaffolds a tanstack-start router.tsxCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
TanStack/cli#522 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
TanStack/cli#520 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
create with bun says Intent is configured but never writes AGENTS.mdCó thể đã có người làm @cfngc4594 đã nhận 63 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
TanStack/cli#512 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
inference/go type/feature
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 72/100
anomalyco/opencode#65148 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
truapi-release
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
paritytech/product-sdk#529 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add: Mansudae TVĐang mởapproved check:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Perf] Canvas layer composition is quadratic: splitRenderLayers re-copies the node array per nodeĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
devlikeapro/waha#2369 ·
Maintainer thường phản hồi trong vòng 5 ngày