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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user