Skip to content

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.

build: stop building in checks (#3831)

Bogdan Chadkinb6f87bac0622
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 144bff8fd1..0adcdea9d8 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -45,7 +45,6 @@ jobs:
- run: pnpm eslint . --ext .ts,.tsx --max-warnings 0 --cache --cache-strategy=content --cache-location=node_modules/.cache/eslint/.eslint-cache
- - run: pnpm -r build
- - run: pnpm -r size-test
- run: pnpm -r test
+ - run: pnpm --filter=@webstudio-is/prisma-client build
- run: pnpm -r typecheck
diff --git a/fixtures/webstudio-custom-template/package.json b/fixtures/webstudio-custom-template/package.json
index a1eb7a5c8e..7551cb076b 100644
--- a/fixtures/webstudio-custom-template/package.json
+++ b/fixtures/webstudio-custom-template/package.json
@@ -4,7 +4,6 @@
"build": "remix vite:build",
"dev": "remix vite:dev",
"typecheck": "tsc",
- "size-test": "rm -rf ./public && remix build && size-limit",
"cli": "NODE_OPTIONS='--conditions=webstudio --import=tsx' webstudio",
"fixtures:link": "pnpm cli link --link \"https://main.development.webstudio.is/builder/0d856812-61d8-4014-a20a-82e01c0eb8ee?authToken=d225fafb-4f20-4340-9359-c21df7c49a3f\"",
"fixtures:sync": "pnpm cli sync && pnpm prettier --write ./.webstudio/",
@@ -16,7 +15,6 @@
"@remix-run/node": "2.10.3",
"@remix-run/react": "2.10.3",
"@remix-run/server-runtime": "2.10.3",
- "@size-limit/file": "^9.0.0",
"@webstudio-is/form-handlers": "workspace:*",
"@webstudio-is/image": "workspace:*",
"@webstudio-is/react-sdk": "workspace:*",
@@ -27,7 +25,6 @@
"isbot": "^5.1.13",
"react": "18.3.0-canary-14898b6a9-20240318",
"react-dom": "18.3.0-canary-14898b6a9-20240318",
- "size-limit": "^9.0.0",
"web-vitals": "^3.5.2"
},
"devDependencies": {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index a6bbccf38f..3fd947b560 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -595,9 +595,6 @@ importers:
'@remix-run/server-runtime':
specifier: 2.10.3
version: 2.10.3([email protected])
- '@size-limit/file':
- specifier: ^9.0.0
- version: 9.0.0([email protected])
'@webstudio-is/form-handlers':
specifier: workspace:*
version: link:../../packages/form-handlers
@@ -628,9 +625,6 @@ importers:
react-dom:
specifier: 18.3.0-canary-14898b6a9-20240318
version: 18.3.0-canary-14898b6a9-20240318([email protected])
- size-limit:
- specifier: ^9.0.0
- version: 9.0.0
web-vitals:
specifier: ^3.5.2
version: 3.5.2
@@ -5014,12 +5008,6 @@ packages:
'@sinonjs/[email protected]':
resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==}
- '@size-limit/[email protected]':
- resolution: {integrity: sha512-oM2UaH2FRq4q22k+R+P6xCpzET10T94LFdSjb9svVu/vOD7NaB9LGcG6se8TW1BExXiyXO4GEhLsBt3uMKM3qA==}
- engines: {node: ^18.0.0 || >=20.0.0}
- peerDependencies:
- size-limit: 9.0.0
-
'@smithy/[email protected]':
resolution: {integrity: sha512-z3PjFjMyZNI98JFRJi/U0nGoLWMSJlDjAW4QUX2WNZLas5C0CmVV6LJ01JI0k90l7FvpmixjWxPFmENSClQ7ug==}
engines: {node: '>=14.0.0'}
@@ -5934,10 +5922,6 @@ packages:
resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==}
- resolution: {integrity: sha512-fey6+4jDK7TFtFg/klGSvNKJctyU7n2aQdnM+CO0ruLPbqqMOM8Tio0Pc+deqUeVKX1tL5DQep1zQ7+37aTAsA==}
- engines: {node: '>= 0.8'}
-
resolution: {integrity: sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==}
engines: {node: '>= 0.8'}
@@ -8153,9 +8137,6 @@ packages:
engines: {node: ^18 || >=20}
hasBin: true
- resolution: {integrity: sha512-yFvNYMig4AthKYfHFl1sLj7B2nkHL4lzdig4osvl9/LdGbXwrdFRoqBS98gsEsOakr0yH+r5NZ/1Y9gdVB8trA==}
-
resolution: {integrity: sha512-KobZjcVyNndNrb5DAjfs0WG0lRcZu5Q1BOrfTOxokFLi25zFrWPjg+joXC6kuDqNfSt9fQwppyjUBkRPtsL+8w==}
engines: {node: ^16.0.0 || ^18.0.0 || >=20.0.0}
@@ -9148,11 +9129,6 @@ packages:
resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
- resolution: {integrity: sha512-DrA7o2DeRN3s+vwCA9nn7Ck9Y4pn9t0GNUwQRpKqBtBmNkl6LA2s/NlNCdtKHrEkRTeYA1ZQ65mnYveo9rUqgA==}
- engines: {node: ^18.0.0 || >=20.0.0}
- hasBin: true
-
resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}
engines: {node: '>=8'}
@@ -13175,11 +13151,6 @@ snapshots:
dependencies:
'@sinonjs/commons': 3.0.0
- dependencies:
- semver: 7.5.4
- size-limit: 9.0.0
-
'@smithy/[email protected]':
dependencies:
tslib: 2.6.2
@@ -14388,8 +14359,6 @@ snapshots:
dependencies:
semver: 7.6.2
-
@@ -17354,10 +17323,6 @@ snapshots:
- dependencies:
- picocolors: 1.0.1
-
@@ -18415,15 +18380,6 @@ snapshots:
- dependencies:
- bytes-iec: 3.1.1
- chokidar: 3.5.3
- globby: 11.1.0
- lilconfig: 2.1.0
- nanospinner: 1.1.0
- picocolors: 1.0.1
-
diff --git a/scripts/release.sh b/scripts/release.sh
deleted file mode 100644
index cefa031530..0000000000
--- a/scripts/release.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-# This script is used to build the release version of the WebStudio Builder.
-# It is called by the build.sh script.
-
-if [ $1 ]; then
- find apps/builder -name package.json -exec sed -i "s/\"version\": \".*\"/\"version\": \"$1\"/g" {} \;
- find packages -not -path "*eslint-config-custom*" -not -path "*feature-flags*" -not -path "*jest-config*" -not -path "*scripts*" -not -path "*sdk-size-test*" -not -path "*storybook-config*" -not -path "*tsconfig*" -name package.json -exec sed -i "s/\"version\": \".*\"/\"version\": \"$1\"/g" {} \;
-else
- echo "No version specified. Execute like bash scripts/release.sh 0.42.0"
- exit 1
-fi