Commit Graph
139 Commits
Author SHA1 Message Date
Bogdan Chadkin ff7c1c923e Install missing deps with types (#647)
In https://github.com/webstudio-is/webstudio-designer/pull/646 I checked
with build. Now found more issues with typescript.

Also forgot to migrate to jest/globals "project" package.
2022-12-17 11:41:34 +03:00
Bogdan Chadkin 3d3b7e6d80 Install missing deps and restrict ranges (#646)
Pnpm helped to find a few dependencies were missing in projects. Some
root deps with "*" versions restricted to simplify upgrade and prevent
unwanted upgrade while migrating to pnpm.
2022-12-16 17:38:27 +03: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 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 3e96357a2c Use sources as type deifnitions (#539)
Right now our build and CI take a lot of time. 1:40min - 2min on CI and
1min locally. We spend time on vercel, on main CI, on publish and
locally.

At the moment in packages anything outside of src folder is not checked
because of rootDir.

We have to generate "references" field on precommit.

All these issues can be avoided if remove .d.ts generation completely
and specify sources in "types" field. This way we get zero build time
for types and can switch to other build tool (like esbuild) for .js
generation and get almost instant build on vercel, on main CI and on
publish.

Downsides

- it can be slower (actually not really caz we delete .tsbuildinfo cache
anyway and we can still generate it with incremental flag)
- it contraditcs recommended practices for published packages (we can
generate .d.ts in publish script only and use "types" as source
internally)
2022-11-28 22:27:56 +03:00
Bogdan Chadkin 0036185747 Publish css-vars package to npm (#517)
This one is missing when upgrade packages in webstudio-saas
2022-11-26 17:56:21 +03:00
Bogdan Chadkin c2f895bc6b Use corepack to setup yarn (#377)
See https://nodejs.org/api/corepack.html

Corepack is a way to setup specific yarn/pnpm version on the fly.
Builtin with Node 16.9+

Requires to run `corepack enable`

Replaces https://github.com/webstudio-is/webstudio-designer/pull/370
2022-11-25 12:46:42 +03:00
Mateusz Burzyński 7c1f860637 Fix bundling issues 2022-11-04 21:25:41 +01:00
Mateusz Burzyński 75cb3252e5 Try to use golden-fleece to handle tsconfig containing comments 2022-10-22 12:52:51 +02:00
Mateusz Burzyński 56e198012e Use tsx to run the script 2022-10-22 09:49:35 +02:00
Mateusz Burzyński 67e7dfeff0 Automate TS project references 2022-10-21 10:58:25 +02:00
Roman Pominov 84cbd7dc6d remove node 14 support 2022-10-06 13:51:32 +04:00
Andras Bacsai 8d0e1d8502 fix: let turborepo handle dependent package 2022-09-23 11:49:42 +02:00
Andras Bacsai df9f99ecb5 fix: build command for storybook 2022-09-23 11:45:01 +02:00
Andrey Okonetchnikov ce7bda51f9 Run build before building storybook 2022-09-23 11:14:01 +02:00
Andrey Okonetchnikov 2391418d2c Use yarn to run turbo 2022-09-23 11:04:39 +02:00
Andrey Okonetchnikov ef542e158b Integrate lost-pixel 2022-09-23 10:47:15 +02:00
Mateusz Burzyński 6f4aabde95 Make sure that TS 4.7 gets used 2022-09-21 14:57:34 +02:00
Roman Pominov fecb66d99c Update package.json 2022-09-12 23:34:19 +03:00
Roman Pominov f20ad95fb5 move migrations script to root 2022-09-12 16:38:13 +03:00
Roman Pominov 0979c02b39 add migrate script in root & --skip-confirmation 2022-09-08 11:15:28 +03:00
Mateusz Burzyński b913ac73d7 Refactor pubsub to use strongly-typed events between publishers and subscribers 2022-08-23 00:28:50 +02:00
Andras Bacsai ced3a73bec renaming all packages to @webstudio-is/* 2022-07-22 12:28:17 +00:00
Oleg Isonen d376984f59 Revert "Revert "we don't seem to need it""
This reverts commit 2d344f7d33.
2022-07-12 01:03:57 +02:00
Oleg Isonen eb4d0129d6 Merge branch 'main' into remove-vercel-workarounds 2022-07-11 20:18:15 +02:00
Oleg Isonen 2d344f7d33 Revert "we don't seem to need it"
This reverts commit c22d35e8ce.
2022-07-11 20:07:50 +02:00
Oleg Isonen c22d35e8ce we don't seem to need it 2022-07-10 12:37:40 +02:00
Oleg Isonen 359cb31904 decouple storybook from yarn dev 2022-07-10 12:24:58 +02:00
Leon Salsiccia f4a50c9ce3 remove vercel deployment workarounds 2022-07-10 01:44:51 +00:00
Leon Salsiccia 3838fe90c5 fix vercel deployments 2022-07-08 23:29:05 +00:00
Oleg Isonen d271cc1538 fix for vercel 2022-07-07 11:00:45 +02:00
Oleg Isonen 7038e6a94f start storybook with yarn dev 2022-07-07 10:17:26 +02:00
Oleg Isonen 4e4750cbb7 _build shoudln't be commited 2022-07-06 21:27:52 +02:00
Oleg Isonen 310166343b first working version of designer in turborepo 2022-07-06 11:36:59 +02:00
Oleg Isonen 25280852e6 Merge pull request #53 from webstudio-is/24-support-component-story-format-csf
CSF in Properties
2022-07-05 18:21:24 +02:00
Sara Vieira 70a074e722 Merge branch 'main' into sentry-v2 2022-07-05 16:24:47 +02:00
Sara Vieira 72884e4325 update sentry 2022-07-05 16:23:33 +02:00
Oleg Isonen 959525fa63 Merge branch 'main' into 24-support-component-story-format-csf 2022-07-04 20:31:01 +02:00
Oleg Isonen 0bde951185 fix ts errors 2022-07-04 20:27:48 +02:00
Oleg Isonen 5a74436d74 Merge branch 'main' into 24-support-component-story-format-csf 2022-07-04 19:47:59 +02:00
Sara Vieira 1aa4126e94 revert package updates 2022-07-01 20:21:13 +02:00
Sara Vieira 9af7dba962 chore(sentry) - Use new @remix/sentry 2022-07-01 20:19:26 +02:00
Andrey Okonetchnikov 63a3ce6d23 Merge branch 'main' into feat-combobox 2022-07-01 15:30:03 +02:00
Andrey Okonetchnikov 22bcd9e96d feat(Select): Implement Select using @radix-ui/select 2022-07-01 14:52:23 +02:00
Andrey Okonetchnikov f1babc1387 Use webpack5 and lazy compilation in Storybook 2022-07-01 11:48:26 +02:00
Oleg Isonen 9482c037ea make the file names consistently kebab case 2022-06-30 22:41:17 +02:00
Oleg Isonen e47b8de80d Merge pull request #89 from webstudio-is/lexical
Create a POC with Lexical WYSIWYG
2022-06-29 17:37:29 +02:00
Oleg Isonen 960e35f64a Merge branch 'main' into add-sentry 2022-06-27 21:01:49 +02:00
Oleg Isonen d279d9fd6d Merge branch 'main' into lexical 2022-06-27 15:29:11 +02:00
Oleg Isonen 0d3ae7f14d ensure fixded typescript version 4.6.4
we will have
2022-06-27 15:27:58 +02:00