107 Commits
Author SHA1 Message Date
Andras Bacsai ac413cdd5f rename designer to builder 2023-02-14 11:15:24 +01:00
Ivan Starkov cc447fbc63 Update packages (#934)
## Description

1. What is this PR about (link the issue and add a short description)

I want to update saas based on #928

## 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-designer/blob/main/apps/designer/docs/test-cases.md)
document
- [ ] added tests
- [ ] if any new env variables are added, added them to `.env.example`
and the `designer/env-check.js` if mandatory
2023-02-03 11:41:41 +03:00
4d1a86b902 Sync tokens & Add a GitHub action that will automatically keep figma-design-tokens.ts up to date (#778)
## Description

Just another PR to sync tokens, but also I've added a GitHub action that
will automatically keep `figma-design-tokens.ts` up to date in the
`figma-tokens` branch

## Code Review

- [ ] hi @kof, I need you to do
  - conceptual review (architecture, feature-correctness)
- [ ] hi @TrySound, I need you to do
  - detailed review

## 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-designer/blob/main/apps/designer/docs/test-cases.md)
document
- [ ] added tests
- [ ] if any new env variables are added, added them to `.env.example`
and the `designer/env-check.js` if mandatory

Co-authored-by: Oleg Isonen <oleg008@gmail.com>
Co-authored-by: Taylor Nowotny <86495896+taylornowotny@users.noreply.github.com>
Co-authored-by: markxtang <122043657+markxtang@users.noreply.github.com>
Co-authored-by: Bot (build-figma-tokens.yml) <bot@localhost>
2023-01-14 10:48:29 +01:00
Roman Pominov 9ff254bd2a Add action that re-creates figma-tokens branch when it gets deleted (#781)
See https://discord.com/channels/955905230107738152/1063389035705401386
2023-01-13 15:24:49 +03:00
Bogdan Chadkin f72b7452b8 Fix publish build (#748)
Publish workflow ran turbo build directly which broke after remix
upgrade with broken build.
2023-01-05 22:34:25 +03:00
Bogdan Chadkin 9c71929b25 Upgrade to remix 1.7.6 (#725)
https://github.com/remix-run/remix/releases/tag/remix%401.7.0
https://github.com/remix-run/remix/releases/tag/remix%401.7.4

du -ckd1 node_modules
-795648
+798524

Not much changes though I found since
[1.7.5](https://github.com/remix-run/remix/releases/tag/remix%401.7.5)
build started to hang when run with turbo or recursive pnpm run.

Looks like in this commit some stream or connection not closed when
build is finished.

https://github.com/remix-run/remix/pull/4410

Let's see if not fixed in newer versions and then file an issue.
2023-01-03 18:24:44 +03:00
Bogdan Chadkin 845d53981c Improve packages publish (#676)
- all workspace dependencies are use with `workspace:^` protocol which
on publish is replaced with `^VERSION`. This will let us to upgrade
transitive packages in saas without shaman dancing around package.json
and lockfile.
- publish-to-npm script is replaced with `pnpm -r publish` which
recursively publishes all packages if version does not exist in npm
- dropped yarn lockfile
2022-12-22 17:06:27 +03:00
Bogdan Chadkin b3c87af7c1 Migrate to pnpm for package management (#641)
- setup corepack for pnpm and forbid yarn usage with "engines" field
- converted yarn lockfile into pnpm lockfile with `pnpm import` command
- replaced yarn with pnpm in scripts and github actions, had to use
custom cache to support corepack

This PR is only migration. Will use new pnpm features in other PRs.

```diff
du -ckd1 node_modules (yarn)
- 1125032

du -ckd1 node_modules/.pnpm
+ 857456
```

Install time (including cache downloads) in github actions reduced from
42s to 23s


## Before requesting a review

- [ ] if the PR is WIP - use draft mode
- [ ] made a self-review
- [ ] added inline comments where things may be not obvious (the "why",
not "what")
- [ ] what kind of review is needed?
  - [x] conceptual
  - [X] detailed
  - [ ] with testing

## Test cases

- [ ] step by step interaction description and what is expected to
happen

## Before merging

- [ ] tested locally and on preview environment (preview dev login:
5de6)
- [ ] updated [test
cases](https://github.com/webstudio-is/webstudio-designer/blob/main/apps/designer/docs/test-cases.md)
document
- [ ] added tests
- [ ] if any new env variables are added, added them to `.env.example`
and the `designer/env-check.js` if mandatory
2022-12-22 12:16:13 +03:00
Oleg Isonen 9958cd9a2b Update pull_request_template.md 2022-12-19 16:17:30 +01:00
Mateusz Burzyński 86292353bc Unify Storybook config (#585)
This PR moves most of the Storybook configs into a single, private,
package that can be imported/required by your packages. It aims to keep
the config the same for all of them as much as possible - so, for
example, all of the packages are now using Webpack 5 in their
Storybooks.
2022-12-17 21:50:59 +01:00
Mateusz Burzyński 3794f9a497 Add a composed Storybook (#529)
This PR builds on top of the work done in
https://github.com/webstudio-is/webstudio-designer/pull/519 and
introduces a root-level storybook that just aggregates all of the
per-package storybooks into one.

This allows you to have a single, convenient, URL to visit and browse
all of those existing storybooks at once. To access this storybook you
need to click on the `Details` link attached to the "Storybook Publish:
!webstudio-is/webstudio-designer" status check.

The current URL from this branch is available
[here](https://638affb61acca1e593c6e558-dksaophpxa.chromatic.com/) so
you can take a look at how this looks in practice.
2022-12-09 14:46:23 +01:00
Mateusz Burzyński 67fe15f4a9 Remove a redundant install step in one of the workflows (#557) 2022-12-06 23:20:50 +01:00
Mateusz Burzyński 730b12b21b Deploy per-PR Storybooks on Chromatic (#519)
This publishes all available Storybooks to Chromatic - this happens per
push so you will always be able to check out the current state of things
in those Storybooks.

Since you have a lot of Storybooks... this isn't quite convenient. I
plan to combine all of those Storybooks into a single one (a single
storybook that will reference all of those smaller ones). I'd like to do
that in a follow-up PR though - let's now focus on getting this up and
running.
2022-12-06 08:32:51 +01:00
Bogdan Chadkin 44e5c8bc77 Fix npm publish token (#515)
Let's see if it will fix the issue
2022-11-26 01:40:12 +03:00
Bogdan Chadkin 16984b8bf7 Improve packages auto publish (#508)
Current solution often fails with

> You cannot publish over the previously published versions

Here I added small script which compares committed version and version
on npm and publish if do not match.

All scripts are run by turbo. So publishing new package is just changing
package script now.
2022-11-24 16:00:24 +03:00
Andras Bacsai b48d551e64 Merge pull request #491 from webstudio-is/feat/pages-updates
Pages update for Edge version
2022-11-23 13:49:44 +01:00
Bogdan Chadkin 983c3a60e8 Bump lost-pixel (#497)
Need to fix esm packages
2022-11-22 22:46:31 +03:00
Andras Bacsai fe8f25db33 remove package tests 2022-11-22 12:06:15 +01:00
Andras Bacsai 13e0a63014 do not run tests on main push 2022-11-21 11:31:24 +01:00
Andras Bacsai a6493f93ca fix: publish test on not main branches only (again) 2022-11-21 11:25:12 +01:00
Andras Bacsai 48c16ad1ea fix: publish test on not main branches only 2022-11-21 11:21:56 +01:00
Andras Bacsai f9dc77913d publish new packages 2022-11-21 11:03:07 +01:00
Andras Bacsai 794689a7c7 publish project package 2022-11-17 14:36:01 +01:00
Andras Bacsai 42989be38b fix dry run 2022-10-25 13:22:29 +02:00
Andras Bacsai 501494c4d9 add dry tests 2022-10-25 13:00:22 +02:00
Andras Bacsai 4424f3dd9b prisma-client + fonts npm release 2022-10-25 12:53:26 +02:00
Roman Pominov 84cbd7dc6d remove node 14 support 2022-10-06 13:51:32 +04:00
Andrey Okonetchnikov 43c1158eb2 Remove tmate 2022-09-23 12:53:01 +02:00
Andrey Okonetchnikov 7e455fa97e Add tmate 2022-09-23 12:41:20 +02:00
Andrey Okonetchnikov 2391418d2c Use yarn to run turbo 2022-09-23 11:04:39 +02:00
Andrey Okonetchnikov d4dbef762c Add LOST_PIXEL_CONFIG_DIR 2022-09-23 10:58:16 +02:00
Andrey Okonetchnikov 46a41caa0e Add env variables 2022-09-23 10:57:16 +02:00
Andrey Okonetchnikov ef542e158b Integrate lost-pixel 2022-09-23 10:47:15 +02:00
Andras Bacsai d97c7ec91d fix: github actions for http-client 2022-09-12 10:15:22 +02:00
Andras Bacsai 32c0da76b3 Merge branch 'main' into http_api 2022-09-12 10:12:33 +02:00
Andras Bacsai 5203108a39 remove http-client gh actions 2022-09-06 11:26:11 +02:00
Andras Bacsai a35ac63b79 fix: typos 2022-09-02 15:21:59 +02:00
Andras Bacsai f34a7ef359 fix: gh actions 2022-09-02 15:09:31 +02:00
Andras Bacsai dd1091cf90 Gh action fixes (#4) 2022-09-02 15:05:51 +02:00
Andras Bacsai 4112133d37 fix: gh actions 2022-08-31 10:38:23 +02:00
Andras Bacsai 033a22e8ef fix: gh actions 2022-08-31 10:36:45 +02:00
Andras Bacsai 64cd7e8920 fix: gh actions 2022-08-31 10:34:51 +02:00
Andras Bacsai 021d140814 fix: gh actions 2022-08-31 10:34:15 +02:00
Andras Bacsai 97c1a45f7c fix: gh actions 2022-08-31 10:27:28 +02:00
Andras Bacsai e98742ae21 fix: gh actions 2022-08-31 10:22:47 +02:00
Andras Bacsai e79660547d fix: gh actions 2022-08-31 10:21:18 +02:00
Andras Bacsai baac440551 fix: bump versions 2022-08-31 10:19:25 +02:00
Andras Bacsai 323b4f5228 fix: gh action 2022-08-29 13:46:00 +02:00
Andras Bacsai e886997301 fix: gh action 2022-08-29 10:05:18 +02:00
Andras Bacsai d3ad9dbf08 fix: gh action 2022-08-26 15:41:24 +02:00