Commit Graph
12 Commits
Author SHA1 Message Date
Mateusz Burzyński 2b84a3d62c Fixed publish by overriding the implicitly enforced yarn registry with the default one (#559) 2022-12-06 23:37:32 +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 6b761bb000 Replace tsc with esbuild to build packages (#543)
Build of whole monorepo without cache takes 1min or more on my laptop.
tsc is very slow tool for this. Also having rootDir in tsconfig prevents
checking outside of src folder.

Here I added "scripts" package with "build-package" bin. It does both
esm and cjs builds. --watch flag support completely replaces tsup for
us.

Now full rebuild of monorepo without cache takes only 10s including
prisma-client, http-client and designer builds.
2022-11-29 10:04:25 +03: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
Roman Pominov e107260855 fix !i 2022-11-10 19:12:05 +04:00
Mateusz Burzyński 03eab06fa9 Add a comment about references being auto-generated 2022-10-22 15:41:05 +02: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 712495e0a5 Remove redundant eslint-ignore comment 2022-10-22 12:42:03 +02:00
Mateusz Burzyński 86879b0c86 Make it more clear that we import Prettier lazily on purpose 2022-10-22 12:17:17 +02:00
Mateusz Burzyński 7c3616a6f3 rename variables 2022-10-22 12:03:03 +02:00
Mateusz Burzyński 56e198012e Use tsx to run the script 2022-10-22 09:49:35 +02:00