mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-05 03:28:59 +09:00
## Description `cp` is a hell command it works differently depending on does destination folder exists ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 5de6) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"name": "@webstudio-is/prisma-client",
|
|
"version": "0.0.0",
|
|
"description": "Webstudio Prisma layer",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"type": "module",
|
|
"scripts": {
|
|
"typecheck": "tsc",
|
|
"dev": "pnpm build",
|
|
"build": "prisma format && pnpm generate && esbuild src/prisma.ts --outdir=lib --format=cjs && cp src/cjs/package.json lib && rm -rf lib/__generated__ && cp -r src/__generated__ lib/__generated__ && pnpm dts",
|
|
"generate": "PRISMA_BINARY_TARGET=${PRISMA_BINARY_TARGET:-'[\"native\"]'} prisma generate",
|
|
"build:prod": "PRISMA_BINARY_TARGET='[\"rhel-openssl-3.0.x\"]' pnpm build",
|
|
"dts": "tsc --declarationDir lib",
|
|
"migrations": "./migrations-cli/cli.ts"
|
|
},
|
|
"bin": {
|
|
"migrations": "./migrations-cli/cli.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@prisma/client": "^5.12.1",
|
|
"@types/node": "^20.12.7",
|
|
"@webstudio-is/tsconfig": "workspace:*",
|
|
"prisma": "^5.12.1",
|
|
"typescript": "5.5.2",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"exports": {
|
|
"types": "./lib/prisma.d.ts",
|
|
"import": "./prisma.mjs",
|
|
"require": "./prisma.cjs"
|
|
},
|
|
"license": "AGPL-3.0-or-later",
|
|
"private": true,
|
|
"dependencies": {
|
|
"execa": "^7.2.0",
|
|
"nanoid": "^5.0.1",
|
|
"umzug": "^3.2.1"
|
|
},
|
|
"peerDependencies": {
|
|
"zod": "^3.19.1"
|
|
},
|
|
"sideEffects": false
|
|
}
|