-
Notifications
You must be signed in to change notification settings - Fork 390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(build): typescript + support inner exports #1336
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Still failing, that strange |
It worked with flat exports, and started failing again because of multi-entry, probable i've created inner entry incorrectly |
7112186
to
d1e998e
Compare
d1e998e
to
3341c1e
Compare
3341c1e
to
16a24a9
Compare
🎉 builds! Size testing failing because it's trying to compare with master and master has a failing code now. |
@thekip
|
We'd like to have a separate fix for the bug in |
it's not possible to ship it separately, to fix the
Why it's not failing in CI? |
|
In my opinion it's better to "dangerously" change the build system (which in fact is not dangerously) |
348bfce
to
8f2bb36
Compare
Actually Typings was failing because i marked I deleted /dev folder with all content and reorganized it in different way. Probably previously (prior v3) the Looking into issue with No "exports" with @lingui/conf |
8f2bb36
to
3df791f
Compare
Fixed all issues, now it works in examples. But came up with better (less fragile) idea, i will try to implement it and look what i get |
- publish packages from package root instead of ./build - remove all manipulation code which move files to the build - change package.json to point to right sources - added inner export targets for packages where it were used - push compileMessage as inner package of `core` - change build system to be able to build separate entries in multi-entry packages
3df791f
to
a36fcc0
Compare
@Martin005 @andrii-bodnar was managed to simplify process and remove fragile parts. If you're afraid of changes, we can discuss how the process previously looks like, and how it's looks now. In short: We do not copy package.json from root of package to ./build, instead we publish package from the package root. This is how it's done in most of the projects on the market. This simplifies things a lot and fix issues with size-check among with others. |
b86a278
to
3225eea
Compare
Fixed |
Fix size-limit issue
And fix bundle sizr issue introduced by @message-format/parser exported from @lingui/core
Refactor and rewrite to typescript build scripts