Parship Chowdhury
6e319283c4
fix: Vite 8/Rolldown build warnings in library packages ( #22205 )
...
Clean up Vite 8/Rolldown build warnings that showed up during yarn
start:
- `twenty-client-sdk`: `relativeImportPath.ts` now imports `node:path`,
so the generate bundle treats it as a Node external instead of stubbing
it for the browser.
- Remove rollup’s `interop: 'auto'` from CJS output options - Rolldown
don’t support it and was showing `Invalid key: Expected never but
received "interop"`.
- Replaced deprecated `inlineDynamicImports: true` with `codeSplitting:
false` in the worker config.
References:
- https://v7.vite.dev/guide/rolldown#option-validation-warnings
-
https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility
<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/twentyhq/twenty/pull/22205?utm_source=github "
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg "><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg "><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg "></picture></a>
<!-- End of auto-generated description by cubic. -->
---------
Signed-off-by: Parship Chowdhury <parshipchowdhury@gmail.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2026-06-29 12:59:36 +02:00
Parship Chowdhury
6ee5413951
chore(vite): replace vite-tsconfig-paths with resolve.tsconfigPaths ( #22100 )
...
### Summary
Migrates main monorepo packages from the `vite-tsconfig-paths` plugin to
vite’s built-in path resolution.
Vite 8 showing this warning when the plugin is detected:
> The plugin "vite-tsconfig-paths" is detected. Vite now supports
tsconfig paths resolution natively via the resolve.tsconfigPaths option.
You can remove the plugin and set resolve.tsconfigPaths: true in your
Vite config instead.
### References
- https://vite.dev/config/shared-options#resolve-tsconfigpaths
- https://vite.dev/guide/features#paths
- https://github.com/vitejs/vite/pull/21781
<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/twentyhq/twenty/pull/22100?utm_source=github "
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg "><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg "><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg "></picture></a>
<!-- End of auto-generated description by cubic. -->
---------
Signed-off-by: Parship Chowdhury <parshipchowdhury@gmail.com >
2026-06-24 19:03:18 +02:00
martmull
119014f86d
Improve apps ( #19256 )
...
- simplify the base application template
- remove --exhaustive option and replace by a --example option like in
next.js https://nextjs.org/docs/app/api-reference/cli
- Fix some bugs and logs
- add a post-card app in twenty-apps/examples/
2026-04-03 12:44:03 +00:00
martmull
0befb021d0
Add scripts to publish cli tools ( #17914 )
...
- moves workspace:* dependencies to dev-dependencies to avoid spreading
them in npm releases
- remove fix on rollup.external
- remove prepublishOnly and postpublish scripts
- set bundle packages to private
- add release-dump-version that update package.json version before
releasing to npm
- add release-verify-build that check no externalized twenty package
exists in `dist` before releasing to npm
- works with new release github action here ->
https://github.com/twentyhq/twenty-infra/pull/397
2026-02-13 15:43:32 +00:00
martmull
8ffc554c9a
Fix twenty sdk build ( #17902 )
...
as title
2026-02-12 17:04:07 +00:00
Charles Bochet
5cef07af45
Twenty SDK iteration ( #17223 )
...
Opening a PR to merge the wip work by @martmull
We will re-organize twenty-sdk in an upcoming PR
---------
Co-authored-by: martmull <martmull@hotmail.fr >
2026-01-19 09:41:54 +01:00
martmull
ea79425fc0
Fix twenty sdk and create twenty app ( #16282 )
...
As title
2025-12-03 15:12:34 +01:00
Paul Rastoin
a7c5969ede
[create-twenty-app] Use vite config lib (#16273 )
2025-12-03 10:47:37 +00:00