Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/custom-cli/create-rwsdk/add-ons/neon/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Setting up Neon

When running the `dev` command, the `@neondatabase/vite-plugin-postgres` will identify there is not a database setup. It will then create and seed a claimable database.
When running the `dev` command, the `vite-plugin-neon-new` will identify there is not a database setup. It will then create and seed a claimable database.

It is the same process as [Neon Launchpad](https://neon.new).

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { postgresPlugin } from '@neondatabase/vite-plugin-postgres'
import { postgres } from 'vite-plugin-neon-new'

export default postgresPlugin({
export default postgres({
seed: {
type: 'sql-script',
path: 'db/init.sql',
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-cli/create-rwsdk/add-ons/neon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"@neondatabase/serverless": "^1.0.0",
"@neondatabase/vite-plugin-postgres": "^0.2.0"
"vite-plugin-neon-new": "^0.8.0"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { postgresPlugin } from '@neondatabase/vite-plugin-postgres'
import { postgres } from 'vite-plugin-neon-new'

export default postgresPlugin({
export default postgres({
seed: {
type: 'sql-script',
path: 'db/init.sql',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"@neondatabase/serverless": "^1.0.2",
"@neondatabase/vite-plugin-postgres": "^0.7.0"
"vite-plugin-neon-new": "^0.8.0"
}
}