Neon add-on depends on deprecated vite-plugin-neon-new
Mantenedores costumam responder em até 1 dia
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 57/100
- Tipo de issue
- Funcionalidade
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- typescript, vite
- Domínio
- devtools
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- TypeScript
- Estrelas
- 1.3k
- Forks
- 188
- Merge médio
- 5h 30min
- PRs com merge (30d)
- 42
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de TanStack/cli
-
[Bug] Inconsistent settings in biome.jsonTalvez já em andamento @tannerlinsley assumiu há 11 dias. Aberta
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
Proposal: PocketBase add-onTalvez já em andamento @akanyane assumiu há 13 dias. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
TanStack/cli#527 · 2 comentários · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
tanstack-cli --router-only project tanstack-query add on scaffolds a tanstack-start router.tsxTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
TanStack/cli#522 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
TanStack/cli#520 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
create with bun says Intent is configured but never writes AGENTS.mdTalvez já em andamento @cfngc4594 assumiu há 63 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
TanStack/cli#512 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de TanStack/cli
Issues semelhantes
-
inference/go type/feature
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 72/100
anomalyco/opencode#65148 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
truapi-release
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
paritytech/product-sdk#529 ·
Mantenedores costumam responder em até 1 dia
-
Add: Mansudae TVAbertaapproved check:passed streams:add
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
Mantenedores costumam responder em até 1 dia
-
[Perf] Canvas layer composition is quadratic: splitRenderLayers re-copies the node array per nodeAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
devlikeapro/waha#2369 ·
Mantenedores costumam responder em até 5 dias