Neon add-on depends on deprecated vite-plugin-neon-new
Maintainer antworten meist innerhalb von 1 Tag
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 57/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript, vite
- Bereich
- devtools
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.3k
- Forks
- 188
- Ø Merge
- 5 Std. 30 Min.
- Gemergte PRs (30 T.)
- 42
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus TanStack/cli
-
[Bug] Inconsistent settings in biome.jsonEvtl. vergeben @tannerlinsley hat das vor 11 Tagen übernommen. Offen
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
Proposal: PocketBase add-onEvtl. vergeben @akanyane hat das vor 13 Tagen übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
TanStack/cli#527 · 2 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
tanstack-cli --router-only project tanstack-query add on scaffolds a tanstack-start router.tsxEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
TanStack/cli#522 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
TanStack/cli#520 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
create with bun says Intent is configured but never writes AGENTS.mdEvtl. vergeben @cfngc4594 hat das vor 63 Tagen übernommen. Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 68/100
TanStack/cli#512 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
inference/go type/feature
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 72/100
anomalyco/opencode#65148 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
truapi-release
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
paritytech/product-sdk#529 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Add: Mansudae TVOffenapproved check:passed streams:add
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
Maintainer antworten meist innerhalb von 1 Tag
-
[Perf] Canvas layer composition is quadratic: splitRenderLayers re-copies the node array per nodeOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
devlikeapro/waha#2369 ·
Maintainer antworten meist innerhalb von 5 Tagen