Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
switch to tsx
Roman Pominov5d93e678609d
diff --git a/packages/prisma-client/migrations-cli/bin.js b/packages/prisma-client/migrations-cli/bin.jsdeleted file mode 100755index 6cbb2783d9..0000000000--- a/packages/prisma-client/migrations-cli/bin.js+++ /dev/null@@ -1,6 +0,0 @@-#!/usr/bin/env node--/* eslint-disable @typescript-eslint/no-var-requires */--require("esbuild-register/dist/node").register();-require("./engine").runCLI();diff --git a/packages/prisma-client/migrations-cli/engine.ts b/packages/prisma-client/migrations-cli/cli.tsold mode 100644new mode 100755similarity index 99%rename from packages/prisma-client/migrations-cli/engine.tsrename to packages/prisma-client/migrations-cli/cli.tsindex 9d21f4ab3e..9106ba264e--- a/packages/prisma-client/migrations-cli/engine.ts+++ b/packages/prisma-client/migrations-cli/cli.ts@@ -1,3 +1,5 @@+#!/usr/bin/env tsx+/* eslint-disable no-console */import { Umzug, FileLocker, MigrationMeta } from "umzug";@@ -469,3 +471,5 @@ Commands:Arguments--dev — Lets the CLI know that it's running in a development environment`;++runCLI();diff --git a/packages/prisma-client/package.json b/packages/prisma-client/package.jsonindex 21da6ddef3..15f06d08d1 100644--- a/packages/prisma-client/package.json+++ b/packages/prisma-client/package.json@@ -11,7 +11,7 @@"build": "prisma format && prisma generate"},"bin": {- "migrations": "./migrations-cli/bin.js"+ "migrations": "./migrations-cli/cli.ts"},"devDependencies": {"prisma": "^4.1.0"@@ -24,10 +24,9 @@"@prisma/client": "^4.1.0","@types/minimist": "^1.2.2","dotenv": "^16.0.0",- "esbuild": "^0.14.25",- "esbuild-register": "^3.3.3","execa": "^6.1.0","minimist": "^1.2.6",+ "tsx": "^3.9.0","umzug": "^3.2.1"}}diff --git a/yarn.lock b/yarn.lockindex e9d2abd33a..14be499cf0 100644--- a/yarn.lock+++ b/yarn.lock@@ -8751,11 +8751,6 @@ [email protected]:resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.7.tgz#1357b2bf72fd037d9150e751420a1fe4c8618ad7"integrity sha512-GsimbwC4FSR4lN3wf8XmTQ+r8/0YSQo21rWDL0XFFhLHKlzEA4SsT1Tl8bPYu00IU6UWSJ+b3fG/8SB69rcuEQ==-esbuild-register@^3.3.3:- version "3.3.3"- resolved "https://registry.yarnpkg.com/esbuild-register/-/esbuild-register-3.3.3.tgz#5bd80025c80caf77e6484ced5cc77233b1d39688"- integrity sha512-eFHOkutgIMJY5gc8LUp/7c+LLlDqzNi9T6AwCZ2WKKl3HmT+5ef3ZRyPPxDOynInML0fgaC50yszPKfPnjC0NQ==-version "0.14.47"resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.14.47.tgz#3f19612dcdb89ba6c65283a7ff6e16f8afbf8aaa"