Remove preconstruct, update wyw (#13844)

To simplify our setup, moving back to Vite to build twenty-shared.

Also upgrading wyw

---------

Co-authored-by: prastoin <paul@twenty.com>
This commit is contained in:
Félix Malfait
2025-08-12 12:43:35 +02:00
committed by GitHub
parent 954da6da9d
commit 8b59fcaea7
77 changed files with 493 additions and 716 deletions
@@ -9,10 +9,10 @@ if (prettierConfigFile == null) {
}
const prettierConfiguration = prettier.resolveConfig(prettierConfigFile);
type DeclarationOccurence = { kind: string; name: string };
type DeclarationOccurrence = { kind: string; name: string };
type ExtractedExports = Array<{
file: string;
exports: DeclarationOccurence[];
exports: DeclarationOccurrence[];
}>;
type ExtractedImports = Array<{ file: string; imports: string[] }>;
@@ -106,7 +106,7 @@ const getKind = (node: ts.VariableStatement) => {
};
function extractExports(sourceFile: ts.SourceFile) {
const exports: DeclarationOccurence[] = [];
const exports: DeclarationOccurrence[] = [];
function visit(node: ts.Node) {
if (!ts.canHaveModifiers(node)) {