@tanstack/create 0.63.0 → 0.63.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @tanstack/create
2
2
 
3
+ ## 0.63.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix the Neon add-on Vite plugin template to use the `postgres` export from `vite-plugin-neon-new` so newly scaffolded apps start without import errors and avoid deprecated plugin package warnings. ([`ddfaaaa`](https://github.com/TanStack/cli/commit/ddfaaaac81cdc60965052b82da1f1482155c560c))
8
+
3
9
  ## 0.63.0
4
10
 
5
11
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  ## Setting up Neon
2
2
 
3
- 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.
3
+ When running the `dev` command, `vite-plugin-neon-new` will identify there is not a database setup. It will then create and seed a claimable database.
4
4
 
5
5
  It is the same process as [Neon Launchpad](https://neon.new).
6
6
 
@@ -1,6 +1,6 @@
1
- import { postgresPlugin } from '@neondatabase/vite-plugin-postgres'
1
+ import { postgres } from 'vite-plugin-neon-new'
2
2
 
3
- export default postgresPlugin({
3
+ export default postgres({
4
4
  seed: {
5
5
  type: 'sql-script',
6
6
  path: 'db/init.sql',
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@neondatabase/serverless": "^1.0.2",
4
- "@neondatabase/vite-plugin-postgres": "^0.7.0"
4
+ "vite-plugin-neon-new": "^0.8.0"
5
5
  }
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/create",
3
- "version": "0.63.0",
3
+ "version": "0.63.1",
4
4
  "description": "TanStack Application Builder Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  ## Setting up Neon
2
2
 
3
- 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.
3
+ When running the `dev` command, `vite-plugin-neon-new` will identify there is not a database setup. It will then create and seed a claimable database.
4
4
 
5
5
  It is the same process as [Neon Launchpad](https://neon.new).
6
6
 
@@ -1,6 +1,6 @@
1
- import { postgresPlugin } from '@neondatabase/vite-plugin-postgres'
1
+ import { postgres } from 'vite-plugin-neon-new'
2
2
 
3
- export default postgresPlugin({
3
+ export default postgres({
4
4
  seed: {
5
5
  type: 'sql-script',
6
6
  path: 'db/init.sql',
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@neondatabase/serverless": "^1.0.2",
4
- "@neondatabase/vite-plugin-postgres": "^0.7.0"
4
+ "vite-plugin-neon-new": "^0.8.0"
5
5
  }
6
6
  }