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
fix remix not found
Sara Vieira8c9d47006c53
diff --git a/.gitignore b/.gitignoreindex fdee35e7c6..8a063e7abc 100644--- a/.gitignore+++ b/.gitignore@@ -11,4 +11,5 @@ yarn-error.logpublic/buildapi/_build/data-*.db\ No newline at end of file+*.db+*.db-journal\ No newline at end of filediff --git a/Dockerfile b/Dockerfileindex 73af42cdd5..a4fb6ee3dc 100644--- a/Dockerfile+++ b/Dockerfile@@ -13,7 +13,7 @@ FROM base as depsWORKDIR /myappADD package.json yarn.lock ./-RUN yarn+RUN yarn --production=false# Setup production node_modulesFROM base as production-deps@@ -22,7 +22,6 @@ WORKDIR /myappCOPY --from=deps /myapp/node_modules /myapp/node_modulesADD package.json yarn.lock ./-RUN npm prune --production# Build the appFROM base as build@@ -31,6 +30,8 @@ WORKDIR /myappCOPY --from=deps /myapp/node_modules /myapp/node_modules+COPY --from=deps /myapp/node_modules/@webstudio-is/sdk/prisma /myapp/prisma+ADD . .RUN yarn builddiff --git a/fly.sh b/fly.shindex 266293c550..4e63c08457 100644--- a/fly.sh+++ b/fly.sh@@ -6,5 +6,5 @@#!/bin/shset -ex-yarn prisma migrate deploy --schema ./node_modules/@webstudio-is/sdk/prisma/schema.prisma+yarn prisma migrate deployyarn start\ No newline at end of filediff --git a/package.json b/package.jsonindex 3c4d589c34..619e012409 100644--- a/package.json+++ b/package.json@@ -6,7 +6,7 @@"build": "remix build","dev": "node -r dotenv/config node_modules/.bin/remix dev","start": "remix-serve build",- "prepare": "remix setup node && yarn migrate && yarn generate",+ "prepare": "remix setup node","typecheck": "tsc -b","lint": "eslint . --ext .ts,.tsx --max-warnings 0","test": "jest",@@ -44,7 +44,8 @@"@radix-ui/react-tooltip": "^0.1.7","@radix-ui/react-use-layout-effect": "^0.1.0","@remix-run/react": "^1.2.3",- "@remix-run/serve": "^1.2.3",+ "@remix-run/serve": "^1.5.1",+ "@remix-run/server-runtime": "^1.5.1","@remix-run/vercel": "^1.2.3","@stitches/react": "^1.2.7","@webstudio-is/sdk": "0.2.3-sqlite",diff --git a/prod.db-journal b/prod.db-journalindex f82813e0c0..9a549107e6 100644Binary files a/prod.db-journal and b/prod.db-journal differdiff --git a/yarn.lock b/yarn.lockindex 4ebad58c6e..406882f898 100644--- a/yarn.lock+++ b/yarn.lock@@ -1301,13 +1301,12 @@ws "^7.4.5"xdm "^2.0.0"-"@remix-run/[email protected]":- version "1.2.3"- resolved "https://registry.yarnpkg.com/@remix-run/express/-/express-1.2.3.tgz#731d6eb9f65f7771394e91252567d8aa7ebcbfc2"- integrity sha512-BFDmxO16A/IR9I3G6FXqLNY6fy6MZmjxesDpk+IHIfuSj2X0hTP66N1jco/dRTSKgNXL+wG64EDQ7Dz9XGo1vw==+"@remix-run/[email protected]":+ version "1.5.1"+ resolved "https://registry.yarnpkg.com/@remix-run/express/-/express-1.5.1.tgz#b4191bf867e4b5f6ca7946340b9e8ee0228cbf34"+ integrity sha512-6CS1fXNGU4lGYBAF5UegKyJ3f+c5DZ4rgAyBDgGKsuRyW5uQ95FFEFpe6dNl5kL98VIpXQPh3PzDHrfnxEl9mA==dependencies:- "@remix-run/node" "1.2.3"- "@remix-run/server-runtime" "1.2.3"+ "@remix-run/node" "1.5.1""@remix-run/[email protected]":version "1.2.3"@@ -1326,6 +1325,21 @@node-fetch "^2.6.1"source-map-support "^0.5.21"+"@remix-run/[email protected]":+ version "1.5.1"+ resolved "https://registry.yarnpkg.com/@remix-run/node/-/node-1.5.1.tgz#1c367d4035baaef8f0ea66962a826456d62f0030"+ integrity sha512-yl4bd1nl7MiJp4tI3+4ygObeMU3txM4Uo09IdHLRa4NMdBQnacUJ47kqCahny01MerC2JL2d9NPjdVPwRCRZvQ==+ dependencies:+ "@remix-run/server-runtime" "1.5.1"+ "@remix-run/web-fetch" "^4.1.3"+ "@remix-run/web-file" "^3.0.2"+ "@remix-run/web-stream" "^1.0.3"+ "@web3-storage/multipart-parser" "^1.0.0"+ abort-controller "^3.0.0"+ cookie-signature "^1.1.0"+ source-map-support "^0.5.21"+ stream-slice "^0.1.2"+"@remix-run/react@^1.2.3":version "1.2.3"resolved "https://registry.yarnpkg.com/@remix-run/react/-/react-1.2.3.tgz#62382266b77b209324ab7c3509a7fae94c6730fd"@@ -1334,12 +1348,12 @@history "^5.3.0"react-router-dom "^6.2.2"-"@remix-run/serve@^1.2.3":- version "1.2.3"- resolved "https://registry.yarnpkg.com/@remix-run/serve/-/serve-1.2.3.tgz#4e4ae132e3803024cfcb5f7fbb5741000beb4647"- integrity sha512-7YobtXHe5t1VZZlSHU29ZnkgugZ9WXKmh972/DClqBzsAyyvT0ucUe5jDR0rZ2pO1HqF06nntP88EiR1pPVqRQ==+"@remix-run/serve@^1.5.1":+ version "1.5.1"+ resolved "https://registry.yarnpkg.com/@remix-run/serve/-/serve-1.5.1.tgz#04ec5ec9ba310aa981b7b02e87ba7b28fc6a3225"+ integrity sha512-7MaC/Ka2O3kDOuXSulkbqbRpN2n+8hO87SWK8UCtVcVk467Jp+ov8rw++bONPMlR1bkV0nlcQdqNHFNbz0A/Yw==dependencies:- "@remix-run/express" "1.2.3"+ "@remix-run/express" "1.5.1"compression "^1.7.4"express "^4.17.1"morgan "^1.10.0"@@ -1356,6 +1370,19 @@set-cookie-parser "^2.4.8"source-map "^0.7.3"+"@remix-run/[email protected]", "@remix-run/server-runtime@^1.5.1":+ version "1.5.1"+ resolved "https://registry.yarnpkg.com/@remix-run/server-runtime/-/server-runtime-1.5.1.tgz#5272b01e6dce109dc10bd68447ceae2d039315b2"+ integrity sha512-FQbCCdW+qzE3wpoCwUKdwcL8yZVYNPiyHS9JS/6r6qmd/yvZfbj44E48wEQ6trbWE2TUiEh/EQqNMyrZWEs4bw==+ dependencies:+ "@types/cookie" "^0.4.0"+ "@web3-storage/multipart-parser" "^1.0.0"+ cookie "^0.4.1"+ jsesc "^3.0.1"+ react-router-dom "^6.2.2"+ set-cookie-parser "^2.4.8"+ source-map "^0.7.3"+"@remix-run/vercel@^1.2.3":version "1.2.3"resolved "https://registry.yarnpkg.com/@remix-run/vercel/-/vercel-1.2.3.tgz#b71a9e00bf4dc5de41880a59028aa99e1a93da40"@@ -1364,6 +1391,47 @@"@remix-run/node" "1.2.3""@remix-run/server-runtime" "1.2.3"+"@remix-run/web-blob@^3.0.3", "@remix-run/web-blob@^3.0.4":+ version "3.0.4"+ resolved "https://registry.yarnpkg.com/@remix-run/web-blob/-/web-blob-3.0.4.tgz#99c67b9d0fb641bd0c07d267fd218ae5aa4ae5ed"+ integrity sha512-AfegzZvSSDc+LwnXV+SwROTrDtoLiPxeFW+jxgvtDAnkuCX1rrzmVJ6CzqZ1Ai0bVfmJadkG5GxtAfYclpPmgw==+ dependencies:+ "@remix-run/web-stream" "^1.0.0"+ web-encoding "1.1.5"++"@remix-run/web-fetch@^4.1.3":+ version "4.1.3"+ resolved "https://registry.yarnpkg.com/@remix-run/web-fetch/-/web-fetch-4.1.3.tgz#8ad3077c1b5bd9fe2a8813d0ad3c84970a495c04"+ integrity sha512-D3KXAEkzhR248mu7wCHReQrMrIo3Y9pDDa7TrlISnsOEvqkfWkJJF+PQWmOIKpOSHAhDg7TCb2tzvW8lc/MfHw==+ dependencies:+ "@remix-run/web-blob" "^3.0.4"+ "@remix-run/web-form-data" "^3.0.2"+ "@remix-run/web-stream" "^1.0.3"+ "@web3-storage/multipart-parser" "^1.0.0"+ data-uri-to-buffer "^3.0.1"+ mrmime "^1.0.0"++"@remix-run/web-file@^3.0.2":+ version "3.0.2"+ resolved "https://registry.yarnpkg.com/@remix-run/web-file/-/web-file-3.0.2.tgz#1a6cc0900a1310ede4bc96abad77ac6eb27a2131"+ integrity sha512-eFC93Onh/rZ5kUNpCQersmBtxedGpaXK2/gsUl49BYSGK/DvuPu3l06vmquEDdcPaEuXcsdGP0L7zrmUqrqo4A==+ dependencies:+ "@remix-run/web-blob" "^3.0.3"++"@remix-run/web-form-data@^3.0.2":+ version "3.0.2"+ resolved "https://registry.yarnpkg.com/@remix-run/web-form-data/-/web-form-data-3.0.2.tgz#733a4c8f8176523b7b60a8bd0dc6704fd4d498f3"+ integrity sha512-F8tm3iB1sPxMpysK6Js7lV3gvLfTNKGmIW38t/e6dtPEB5L1WdbRG1cmLyhsonFc7rT1x1JKdz+2jCtoSdnIUw==+ dependencies:+ web-encoding "1.1.5"++"@remix-run/web-stream@^1.0.0", "@remix-run/web-stream@^1.0.3":+ version "1.0.3"+ resolved "https://registry.yarnpkg.com/@remix-run/web-stream/-/web-stream-1.0.3.tgz#3284a6a45675d1455c4d9c8f31b89225c9006438"+ integrity sha512-wlezlJaA5NF6SsNMiwQnnAW6tnPzQ5I8qk0Y0pSohm0eHKa2FQ1QhEKLVVcDDu02TmkfHgnux0igNfeYhDOXiA==+ dependencies:+ web-streams-polyfill "^3.1.1"+"@rollup/pluginutils@^4.0.0":version "4.1.2"resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-4.1.2.tgz#ed5821c15e5e05e32816f5fb9ec607cdf5a75751"@@ -1889,6 +1957,11 @@dependencies:web-streams-polyfill "^3.1.1"+"@web3-storage/multipart-parser@^1.0.0":+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/@web3-storage/multipart-parser/-/multipart-parser-1.0.0.tgz#6b69dc2a32a5b207ba43e556c25cc136a56659c4"+ integrity sha512-BEO6al7BYqcnfX15W2cnGR+Q566ACXAT9UQykORCWW80lmkpWsnEob6zJS1ZVBKsSJC8+7vJkHwlp+lXG1UCdw==+"@webstudio-is/[email protected]":version "0.2.3-sqlite"resolved "https://registry.yarnpkg.com/@webstudio-is/sdk/-/sdk-0.2.3-sqlite.tgz#e66b4c7fef8573195403cf2c0929ede2c4b5d278"@@ -2849,6 +2922,11 @@ csstype@^3.0.2, csstype@^3.0.4, csstype@^3.0.6:resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.10.tgz#2ad3a7bed70f35b965707c092e5f30b327c290e5"integrity sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA==+data-uri-to-buffer@^3.0.1:+ version "3.0.1"+ resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-3.0.1.tgz#594b8973938c5bc2c33046535785341abc4f3636"+ integrity sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og==+data-uri-to-buffer@^4.0.0:version "4.0.0"resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-4.0.0.tgz#b5db46aea50f6176428ac05b73be39a57701a64b"@@ -6305,6 +6383,11 @@ mri@^1.1.0:resolved "https://registry.yarnpkg.com/mri/-/mri-1.2.0.tgz#6721480fec2a11a4889861115a48b6cbe7cc8f0b"integrity sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==+mrmime@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/mrmime/-/mrmime-1.0.0.tgz#14d387f0585a5233d291baba339b063752a2398b"+ integrity sha512-a70zx7zFfVO7XpnQ2IX1Myh9yY4UYvfld/dikWRnsXxbyvMcfz+u6UfgNAtH+k2QqtJuzVpv6eLTx1G2+WKZbQ==+version "2.0.0"resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"@@ -7749,6 +7832,11 @@ static-extend@^0.1.1:resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=+stream-slice@^0.1.2:+ version "0.1.2"+ resolved "https://registry.yarnpkg.com/stream-slice/-/stream-slice-0.1.2.tgz#2dc4f4e1b936fb13f3eb39a2def1932798d07a4b"+ integrity sha1-LcT04bk2+xPz6zmi3vGTJ5jQeks=+version "0.1.2"resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-0.1.2.tgz#808b9d0e56fc273d809ba57338e929919a1a9f1a"