-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Update package.json dependencies and scripts
- Loading branch information
1 parent
e4bb803
commit 8618977
Showing
6 changed files
with
167 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
{ | ||
"name": "api", | ||
"version": "0.0.0", | ||
"private": true, | ||
"scripts": { | ||
"cf-typegen": "wrangler types", | ||
"dev": "run-p dev:*", | ||
"dev:wrangler": "wrangler pages dev dist --live-reload", | ||
"dev:esbuild": "esbuild --bundle src/index.ts --format=esm --watch --outfile=dist/_worker.js", | ||
"build": "esbuild --bundle src/index.ts --format=esm --outfile=dist/_worker.js", | ||
"deploy": "wrangler pages deploy dist", | ||
"format": "biome format --write ./src", | ||
"lint": "biome lint --apply ./src", | ||
"start": "wrangler dev" | ||
}, | ||
"dependencies": { | ||
"@hono/zod-validator": "^0.2.1", | ||
"@instant-postgres/db": "*", | ||
"@instant-postgres/neon": "*", | ||
"@upstash/ratelimit": "^1.1.3", | ||
"@upstash/redis": "^1.31.1", | ||
"hono": "^4.3.6" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.7.3", | ||
"@cloudflare/workers-types": "^4.20240502.0", | ||
"@instant-postgres/tsconfig": "*", | ||
"@types/geoip-lite": "^1.4.4", | ||
"npm-run-all": "^4.1.5", | ||
"typescript": "^5.0.4", | ||
"wrangler": "^3.0.0" | ||
} | ||
"name": "api", | ||
"version": "0.0.0", | ||
"private": true, | ||
"scripts": { | ||
"cf-typegen": "wrangler types", | ||
"dev": "run-p dev:*", | ||
"dev:wrangler": "wrangler pages dev dist --live-reload", | ||
"dev:esbuild": "esbuild --bundle src/index.ts --format=esm --watch --outfile=dist/_worker.js", | ||
"build": "esbuild --bundle src/index.ts --format=esm --outfile=dist/_worker.js", | ||
"deploy": "wrangler pages deploy dist", | ||
"format": "biome format --write ./src", | ||
"lint": "biome lint --apply ./src", | ||
"start": "wrangler dev" | ||
}, | ||
"dependencies": { | ||
"@hono/zod-validator": "^0.2.1", | ||
"@instant-postgres/db": "*", | ||
"@instant-postgres/neon": "*", | ||
"@upstash/ratelimit": "^1.1.3", | ||
"@upstash/redis": "^1.31.1", | ||
"hono": "^4.3.6" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.7.3", | ||
"@cloudflare/workers-types": "^4.20240502.0", | ||
"@instant-postgres/tsconfig": "*", | ||
"@types/geoip-lite": "^1.4.4", | ||
"npm-run-all": "^4.1.5", | ||
"typescript": "^5.0.4", | ||
"wrangler": "^3.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,64 @@ | ||
{ | ||
"name": "web", | ||
"private": true, | ||
"sideEffects": false, | ||
"type": "module", | ||
"scripts": { | ||
"build": "remix vite:build", | ||
"cf-typegen": "wrangler types", | ||
"deploy": "npm run build && wrangler pages deploy ./build/client", | ||
"dev": "remix vite:dev", | ||
"format": "biome format ./app --write", | ||
"lint": "biome lint ./app --apply", | ||
"preview": "npm run build && wrangler pages dev", | ||
"start": "wrangler pages dev ./build/client", | ||
"typecheck": "tsc" | ||
}, | ||
"dependencies": { | ||
"@codemirror/lang-sql": "^6.6.4", | ||
"@instant-postgres/neon": "^0.1.0", | ||
"@lezer/highlight": "^1.2.0", | ||
"@marsidev/react-turnstile": "^0.6.1", | ||
"@neondatabase/serverless": "^0.9.3", | ||
"@remix-run/cloudflare": "^2.8.1", | ||
"@remix-run/cloudflare-pages": "^2.8.1", | ||
"@remix-run/react": "^2.8.1", | ||
"@tanstack/react-table": "^8.17.3", | ||
"@uiw/codemirror-theme-github": "^4.22.1", | ||
"@uiw/codemirror-themes": "^4.22.1", | ||
"@uiw/react-codemirror": "^4.22.1", | ||
"clsx": "^2.1.1", | ||
"hono": "^4.3.6", | ||
"isbot": "^4.1.0", | ||
"miniflare": "^3.20240404.0", | ||
"react": "^18.2.0", | ||
"react-aria-components": "^1.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-resizable-panels": "^2.0.19", | ||
"tailwind-merge": "^2.3.0", | ||
"use-clipboard-copy": "^0.2.0", | ||
"use-scramble": "^2.2.15" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.7.3", | ||
"@cloudflare/workers-types": "^4.20240502.0", | ||
"@instant-postgres/tsconfig": "*", | ||
"@remix-run/dev": "^2.8.1", | ||
"@types/react": "^18.2.20", | ||
"@types/react-dom": "^18.2.7", | ||
"autoprefixer": "^10.4.19", | ||
"drizzle-kit": "^0.21.1", | ||
"node-fetch": "^3.3.2", | ||
"postcss": "^8.4.38", | ||
"tailwindcss": "^3.4.3", | ||
"tailwindcss-animate": "^1.0.7", | ||
"tailwindcss-react-aria-components": "^1.1.2", | ||
"typescript": "^5.1.6", | ||
"vite": "^5.1.0", | ||
"vite-tsconfig-paths": "^4.2.1", | ||
"wrangler": "^3.48.0" | ||
}, | ||
"engines": { | ||
"node": ">=21.7.2" | ||
} | ||
"name": "web", | ||
"private": true, | ||
"sideEffects": false, | ||
"type": "module", | ||
"scripts": { | ||
"build": "remix vite:build", | ||
"cf-typegen": "wrangler types", | ||
"deploy": "npm run build && wrangler pages deploy ./build/client", | ||
"dev": "remix vite:dev", | ||
"format": "biome format ./app --write", | ||
"lint": "biome lint ./app --apply", | ||
"preview": "npm run build && wrangler pages dev", | ||
"start": "wrangler pages dev ./build/client", | ||
"typecheck": "tsc" | ||
}, | ||
"dependencies": { | ||
"@codemirror/lang-sql": "^6.6.4", | ||
"@instant-postgres/neon": "^0.1.0", | ||
"@lezer/highlight": "^1.2.0", | ||
"@marsidev/react-turnstile": "^0.6.1", | ||
"@neondatabase/serverless": "^0.9.3", | ||
"@remix-run/cloudflare": "^2.8.1", | ||
"@remix-run/cloudflare-pages": "^2.8.1", | ||
"@remix-run/react": "^2.8.1", | ||
"@tanstack/react-table": "^8.17.3", | ||
"@uiw/codemirror-theme-github": "^4.22.1", | ||
"@uiw/codemirror-themes": "^4.22.1", | ||
"@uiw/react-codemirror": "^4.22.1", | ||
"clsx": "^2.1.1", | ||
"hono": "^4.3.6", | ||
"isbot": "^4.1.0", | ||
"miniflare": "^3.20240404.0", | ||
"react": "^18.2.0", | ||
"react-aria-components": "^1.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-resizable-panels": "^2.0.19", | ||
"tailwind-merge": "^2.3.0", | ||
"use-clipboard-copy": "^0.2.0", | ||
"use-scramble": "^2.2.15" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.7.3", | ||
"@cloudflare/workers-types": "^4.20240502.0", | ||
"@instant-postgres/tsconfig": "*", | ||
"@remix-run/dev": "^2.8.1", | ||
"@types/react": "^18.2.20", | ||
"@types/react-dom": "^18.2.7", | ||
"autoprefixer": "^10.4.19", | ||
"drizzle-kit": "^0.21.1", | ||
"node-fetch": "^3.3.2", | ||
"postcss": "^8.4.38", | ||
"tailwindcss": "^3.4.3", | ||
"tailwindcss-animate": "^1.0.7", | ||
"tailwindcss-react-aria-components": "^1.1.2", | ||
"typescript": "^5.1.6", | ||
"vite": "^5.1.0", | ||
"vite-tsconfig-paths": "^4.2.1", | ||
"wrangler": "^3.48.0" | ||
}, | ||
"engines": { | ||
"node": ">=21.7.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,24 @@ | ||
{ | ||
"name": "instant-postgres", | ||
"description": "An app showcasing how you can provison Postgres instantly with Neon", | ||
"private": true, | ||
"engines": { | ||
"node": ">=21.7.2" | ||
}, | ||
"scripts": { | ||
"build": "turbo build", | ||
"clean": "git clean -xdf node_modules", | ||
"clean:workspaces": "turbo clean", | ||
"dev": "turbo dev --parallel", | ||
"format": "turbo format", | ||
"lint": "turbo lint", | ||
"typecheck": "turbo typecheck" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.5.3", | ||
"turbo": "^1.10.16", | ||
"typescript": "^5.2.2" | ||
}, | ||
"packageManager": "[email protected]", | ||
"workspaces": [ | ||
"apps/*", | ||
"packages/*", | ||
"tooling/*" | ||
] | ||
} | ||
"name": "instant-postgres", | ||
"description": "An app showcasing how you can provison Postgres instantly with Neon", | ||
"private": true, | ||
"engines": { | ||
"node": ">=21.7.2" | ||
}, | ||
"scripts": { | ||
"build": "turbo build", | ||
"clean": "git clean -xdf node_modules", | ||
"clean:workspaces": "turbo clean", | ||
"dev": "turbo dev --parallel", | ||
"format": "turbo format", | ||
"lint": "turbo lint", | ||
"typecheck": "turbo typecheck" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.5.3", | ||
"turbo": "^1.10.16", | ||
"typescript": "^5.2.2" | ||
}, | ||
"packageManager": "[email protected]", | ||
"workspaces": ["apps/*", "packages/*", "tooling/*"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
{ | ||
"name": "@instant-postgres/db", | ||
"version": "0.1.0", | ||
"private": true, | ||
"main": "./index.ts", | ||
"types": "./index.ts", | ||
"license": "MIT", | ||
"scripts": { | ||
"clean": "rm -rf .turbo node_modules", | ||
"db:generate": "drizzle-kit generate", | ||
"db:migrate": "drizzle-kit migrate", | ||
"lint": "biome lint --apply .", | ||
"format": "biome format --write .", | ||
"push": "drizzle-kit push:mysql", | ||
"studio": "drizzle-kit studio", | ||
"typecheck": "tsc --noEmit", | ||
}, | ||
"dependencies": { | ||
"drizzle-orm": "^0.30.10", | ||
"@instant-postgres/neon": "*" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.5.3", | ||
"@instant-postgres/tsconfig": "*", | ||
"dotenv": "^16.4.5", | ||
"dotenv-cli": "^7.3.0", | ||
"drizzle-kit": "^0.21.2", | ||
"typescript": "^5.2.2" | ||
} | ||
} | ||
"name": "@instant-postgres/db", | ||
"version": "0.1.0", | ||
"private": true, | ||
"main": "./index.ts", | ||
"types": "./index.ts", | ||
"license": "MIT", | ||
"scripts": { | ||
"clean": "rm -rf .turbo node_modules", | ||
"db:generate": "drizzle-kit generate", | ||
"db:migrate": "drizzle-kit migrate", | ||
"lint": "biome lint --apply .", | ||
"format": "biome format --write .", | ||
"push": "drizzle-kit push:mysql", | ||
"studio": "drizzle-kit studio", | ||
"typecheck": "tsc --noEmit" | ||
}, | ||
"dependencies": { | ||
"drizzle-orm": "^0.30.10", | ||
"@instant-postgres/neon": "*" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.5.3", | ||
"@instant-postgres/tsconfig": "*", | ||
"dotenv": "^16.4.5", | ||
"dotenv-cli": "^7.3.0", | ||
"drizzle-kit": "^0.21.2", | ||
"typescript": "^5.2.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
{ | ||
"name": "@instant-postgres/neon", | ||
"version": "0.1.0", | ||
"private": true, | ||
"main": "./index.ts", | ||
"types": "./index.ts", | ||
"license": "MIT", | ||
"scripts": { | ||
"clean": "rm -rf .turbo node_modules", | ||
"lint": "biome lint --apply .", | ||
"format": "biome format --write .", | ||
"typecheck": "tsc --noEmit", | ||
"typegen": "npx openapi-typescript https://neon.tech/api_spec/release/v2.json -o ./src/schema.ts" | ||
}, | ||
"dependencies": { | ||
"@neondatabase/serverless": "^0.9.3", | ||
"openapi-fetch": "^0.9.5" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.5.3", | ||
"@instant-postgres/tsconfig": "*", | ||
"typescript": "^5.2.2" | ||
} | ||
"name": "@instant-postgres/neon", | ||
"version": "0.1.0", | ||
"private": true, | ||
"main": "./index.ts", | ||
"types": "./index.ts", | ||
"license": "MIT", | ||
"scripts": { | ||
"clean": "rm -rf .turbo node_modules", | ||
"lint": "biome lint --apply .", | ||
"format": "biome format --write .", | ||
"typecheck": "tsc --noEmit", | ||
"typegen": "npx openapi-typescript https://neon.tech/api_spec/release/v2.json -o ./src/schema.ts" | ||
}, | ||
"dependencies": { | ||
"@neondatabase/serverless": "^0.9.3", | ||
"openapi-fetch": "^0.9.5" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.5.3", | ||
"@instant-postgres/tsconfig": "*", | ||
"typescript": "^5.2.2" | ||
} | ||
} |