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
build: drop turbo (#3164)
Bogdan Chadkin7abeb7b809a2
diff --git a/.github/workflows/cli-test.yml b/.github/workflows/cli-test.ymlindex 88e2a88997..c1e711b37f 100644--- a/.github/workflows/cli-test.yml+++ b/.github/workflows/cli-test.yml@@ -36,7 +36,7 @@ jobs:- uses: ./.github/actions/ci-setup- name: Build cli- run: pnpm turbo run build --filter='webstudio'+ run: pnpm --filter='./packages/*' build# Testing fixtures for vercel template- name: Test cli --help flagdiff --git a/.github/workflows/main.yml b/.github/workflows/main.ymlindex 66a76ba262..30d7c66e70 100644--- a/.github/workflows/main.yml+++ b/.github/workflows/main.yml@@ -45,5 +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 turbo run build- - run: pnpm turbo run size-test checks+ - run: pnpm -r build+ - run: pnpm -r size-test+ - run: pnpm -r checksdiff --git a/.github/workflows/publish-beta.yml b/.github/workflows/publish-beta.ymlindex ff53d7af80..61165f2b28 100644--- a/.github/workflows/publish-beta.yml+++ b/.github/workflows/publish-beta.yml@@ -45,7 +45,8 @@ jobs:- name: Creating version using ${{ steps.short_sha.outputs.value }} sharun: pnpm -r exec pnpm version prepatch --preid ${{ steps.short_sha.outputs.value }}- - run: pnpm turbo run build dts+ - run: pnpm -r build+ - run: pnpm -r dts- name: Publishing ${{ steps.tag.outputs.value }} tag with sha ${{ steps.short_sha.outputs.value }}run: pnpm -r publish --tag "${{ steps.tag.outputs.value }}" --no-git-checks --access publicdiff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex 6c50c58b05..04546595ff 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -19,7 +19,8 @@ jobs:- uses: actions/checkout@v3- uses: ./.github/actions/ci-setup- - run: pnpm turbo run build dts+ - run: pnpm -r build+ - run: pnpm -r dts- name: Creating .npmrcrun: |diff --git a/.gitignore b/.gitignoreindex 207c7c52f7..fae29ad83c 100644--- a/.gitignore+++ b/.gitignore@@ -35,9 +35,6 @@ yarn-error.log*.env.test.local.env.production.local-# turbo-.turbo-# data/data*.dbdiff --git a/package.json b/package.jsonindex f995f319b4..bfa97bd238 100644--- a/package.json+++ b/package.json@@ -4,14 +4,13 @@"version": "0.0.0","private": true,"scripts": {- "build": "turbo run build --filter='!./fixtures/*'",- "dts": "turbo run dts",- "size-test": "turbo run size-test",- "checks": "turbo run checks",- "dev": "pnpm --filter='!./fixtures/*' run --parallel --recursive dev",- "lint": "pnpm eslint . --ext .ts,.tsx --max-warnings 0",+ "build": "pnpm -r --filter='!./fixtures/*' build",+ "dts": "pnpm -r dts",+ "checks": "pnpm -r checks",+ "dev": "pnpm --filter='!./fixtures/*' --parallel --recursive dev",+ "lint": "eslint . --ext .ts,.tsx --max-warnings 0","format": "prettier --write \"**/*.{ts,tsx,md}\"",- "storybook": "pnpm run --parallel --recursive storybook:dev",+ "storybook": "pnpm --parallel --recursive storybook:dev","storybook:build": "storybook build","migrations": "cd apps/builder && pnpm migrations --dev","build-figma-tokens": "cd packages/design-system && pnpm build-figma-tokens",@@ -34,7 +33,6 @@"simple-git-hooks": "^2.9.0","storybook": "^7.4.0","tsx": "^4.7.2",- "turbo": "^1.8.6","typescript": "5.2.2","vite": "^5.2.8"},diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 979f65d13a..f9141aad89 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -50,9 +50,6 @@ importers:tsx:specifier: ^4.7.2version: 4.7.2- turbo:- specifier: ^1.8.6- version: 1.8.6typescript:specifier: 5.2.2version: 5.2.2@@ -6027,8 +6024,8 @@ packages:optional: truedependencies:'@babel/core': 7.22.9- '@babel/generator': 7.22.9- '@babel/parser': 7.23.0+ '@babel/generator': 7.24.1+ '@babel/parser': 7.24.1'@babel/plugin-syntax-decorators': 7.24.1(@babel/[email protected])'@babel/plugin-syntax-jsx': 7.22.5(@babel/[email protected])'@babel/preset-typescript': 7.22.5(@babel/[email protected])@@ -6066,10 +6063,10 @@ packages:picocolors: 1.0.0picomatch: 2.3.1pidtree: 0.6.0- postcss: 8.4.27- postcss-discard-duplicates: 5.1.0([email protected])- postcss-load-config: 4.0.1([email protected])- postcss-modules: 6.0.0([email protected])+ postcss: 8.4.38+ postcss-discard-duplicates: 5.1.0([email protected])+ postcss-load-config: 4.0.1([email protected])+ postcss-modules: 6.0.0([email protected])prettier: 2.8.7pretty-ms: 7.0.1react-refresh: 0.14.0@@ -11167,15 +11164,6 @@ packages:safer-buffer: 2.1.2dev: true- resolution: {integrity: sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==}- engines: {node: ^10 || ^12 || >= 14}- peerDependencies:- postcss: ^8.1.0- dependencies:- postcss: 8.4.27- dev: true-resolution: {integrity: sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==}engines: {node: ^10 || ^12 || >= 14}@@ -14125,15 +14113,6 @@ packages:engines: {node: '>= 0.4'}dev: true- resolution: {integrity: sha512-zmX3IoSI2aoenxHV6C7plngHWWhUOV3sP1T8y2ifzxzbtnuhk1EdPwm0S1bIUNaJ2eNbWeGLEwzw8huPD67aQw==}- engines: {node: ^10 || ^12 || >=14.0}- peerDependencies:- postcss: ^8.2.15- dependencies:- postcss: 8.4.27- dev: true-resolution: {integrity: sha512-zmX3IoSI2aoenxHV6C7plngHWWhUOV3sP1T8y2ifzxzbtnuhk1EdPwm0S1bIUNaJ2eNbWeGLEwzw8huPD67aQw==}engines: {node: ^10 || ^12 || >=14.0}@@ -14199,15 +14178,6 @@ packages:yaml: 2.2.1dev: true- resolution: {integrity: sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==}- engines: {node: ^10 || ^12 || >= 14}- peerDependencies:- postcss: ^8.1.0- dependencies:- postcss: 8.4.27- dev: true-resolution: {integrity: sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==}engines: {node: ^10 || ^12 || >= 14}@@ -14217,18 +14187,6 @@ packages:postcss: 8.4.38dev: true- resolution: {integrity: sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ==}- engines: {node: ^10 || ^12 || >= 14}- peerDependencies:- postcss: ^8.1.0- dependencies:- icss-utils: 5.1.0([email protected])- postcss: 8.4.27- postcss-selector-parser: 6.0.11- postcss-value-parser: 4.2.0- dev: true-resolution: {integrity: sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ==}engines: {node: ^10 || ^12 || >= 14}@@ -14241,16 +14199,6 @@ packages:postcss-value-parser: 4.2.0dev: true- resolution: {integrity: sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==}- engines: {node: ^10 || ^12 || >= 14}- peerDependencies:- postcss: ^8.1.0- dependencies:- postcss: 8.4.27- postcss-selector-parser: 6.0.11- dev: true-resolution: {integrity: sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==}engines: {node: ^10 || ^12 || >= 14}@@ -14261,16 +14209,6 @@ packages:postcss-selector-parser: 6.0.11dev: true- resolution: {integrity: sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==}- engines: {node: ^10 || ^12 || >= 14}- peerDependencies:- postcss: ^8.1.0- dependencies:- icss-utils: 5.1.0([email protected])- postcss: 8.4.27- dev: true-resolution: {integrity: sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==}engines: {node: ^10 || ^12 || >= 14}@@ -14281,22 +14219,6 @@ packages:postcss: 8.4.38dev: true- resolution: {integrity: sha512-7DGfnlyi/ju82BRzTIjWS5C4Tafmzl3R79YP/PASiocj+aa6yYphHhhKUOEoXQToId5rgyFgJ88+ccOUydjBXQ==}- peerDependencies:- postcss: ^8.0.0- dependencies:- generic-names: 4.0.0- icss-utils: 5.1.0([email protected])- lodash.camelcase: 4.3.0- postcss: 8.4.27- postcss-modules-extract-imports: 3.0.0([email protected])- postcss-modules-local-by-default: 4.0.0([email protected])- postcss-modules-scope: 3.0.0([email protected])- postcss-modules-values: 4.0.0([email protected])- string-hash: 1.1.3- dev: true-resolution: {integrity: sha512-7DGfnlyi/ju82BRzTIjWS5C4Tafmzl3R79YP/PASiocj+aa6yYphHhhKUOEoXQToId5rgyFgJ88+ccOUydjBXQ==}peerDependencies:@@ -16175,67 +16097,6 @@ packages:fsevents: 2.3.3dev: true- resolution: {integrity: sha512-VlXkQR0TEBAEyBRsvAXBax+fj1EdPKPliwBaCnRLiDUcA/8wYlKte/Kk6ubmj9E0n7U/B4keCxxHiJZqW/5Rqg==}- cpu: [x64]- os: [darwin]- requiresBuild: true- dev: true- optional: true-- resolution: {integrity: sha512-w4L2QLj90ex68UXxTPoqtZPl8mWzc6a1RtPjQhoxAWtZf9T2WXi813dCzYEbVUVC09/DOW/VxZRN7sb2r0KP9A==}- cpu: [arm64]- os: [darwin]- requiresBuild: true- dev: true- optional: true-- resolution: {integrity: sha512-eV245jefIhMAZskqQKalFwreC5UEdQcuHcBiWcgUk0py76fbwB7+1HfH5cmeJlb3a1sB6f3H0HHmGPmb34feCA==}- cpu: [x64]- os: [linux]- requiresBuild: true- dev: true- optional: true-- resolution: {integrity: sha512-Kiw3nyEvNU6Bpil4zE5FwhasPAOi59R4YdCmjJp0Sen6V9u+/Jij6SWwaoUdATORJLiYQBbhontWBH55B53VDw==}- cpu: [arm64]- os: [linux]- requiresBuild: true- dev: true- optional: true-- resolution: {integrity: sha512-34BkAG9r4nE00xeMeVahaF82h8R6SO+IIOcD60fNr2p+Ch+YcQa+DbEWA/KUj3coUTIiNP5XnRCLRUYADdlxjQ==}- cpu: [x64]- os: [win32]- requiresBuild: true- dev: true- optional: true-- resolution: {integrity: sha512-4jWUaI7Lmonp2I3x81GruiCYd0aQsG/xDOYhuv9+j2yIgB/UHJFz/P8PWp/nziwPtGpRd/AheDlPzzyd9lWoqw==}- cpu: [arm64]- os: [win32]- requiresBuild: true- dev: true- optional: true-- resolution: {integrity: sha512-6IOOaa8ytgjnSCTnp3LKAd2uGBZ/Kmx8ZPlI/YMWuKMUqvkXKLbh+w76ApMgMm+faUqti+QujVWovCu2kY6KuQ==}- hasBin: true- requiresBuild: true- optionalDependencies:- turbo-darwin-64: 1.8.6- turbo-darwin-arm64: 1.8.6- turbo-linux-64: 1.8.6- turbo-linux-arm64: 1.8.6- turbo-windows-64: 1.8.6- turbo-windows-arm64: 1.8.6- dev: true-resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}engines: {node: '>= 0.8.0'}diff --git a/turbo.json b/turbo.jsondeleted file mode 100644index a64376d5ad..0000000000--- a/turbo.json+++ /dev/null@@ -1,23 +0,0 @@-{- "$schema": "https://turbo.build/schema.json",- "globalEnv": ["AUTH_SECRET", "DATABASE_URL", "NODE_ENV"],- "pipeline": {- "build": {- "dependsOn": ["^build"],- "outputs": ["lib/**", "dist/**", "build/**", "api/**", "public/build/**"]- },- "dts": {- "dependsOn": ["build", "^dts"],- "outputs": ["lib/types/**"]- },- "checks": {- "dependsOn": ["build", "^checks"]- },- "storybook:build": {- "outputs": ["storybook-static/**"]- },- "size-test": {- "dependsOn": ["^build"]- }- }-}