From 9a4fb793bb2327d5e1e9a693a761c79e8b830d03 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 24 Mar 2026 12:38:10 +0100 Subject: [PATCH] fix(build): add explicit rootDir and module/moduleResolution for TS 6.0 compatibility --- .serena/project.yml | 14 ++++++++++++++ rollup.config.mjs | 2 ++ tsconfig.build.json | 3 +++ 3 files changed, 19 insertions(+) diff --git a/.serena/project.yml b/.serena/project.yml index f6de8bccd..61e025d62 100644 --- a/.serena/project.yml +++ b/.serena/project.yml @@ -123,3 +123,17 @@ read_only_memory_patterns: [] # Possible values: unset (use global setting), "lf", "crlf", or "native" (platform default) # This does not affect Serena's own files (e.g. memories and configuration files), which always use native line endings. line_ending: + +# list of regex patterns for memories to completely ignore. +# Matching memories will not appear in list_memories or activate_project output +# and cannot be accessed via read_memory or write_memory. +# To access ignored memory files, use the read_file tool on the raw file path. +# Extends the list from the global configuration, merging the two lists. +# Example: ["_archive/.*", "_episodes/.*"] +ignored_memory_patterns: [] + +# advanced configuration option allowing to configure language server-specific options. +# Maps the language key to the options. +# Have a look at the docstring of the constructors of the LS implementations within solidlsp (e.g., for C# or PHP) to see which options are available. +# No documentation on options means no options are available. +ls_specific_settings: {} diff --git a/rollup.config.mjs b/rollup.config.mjs index 3676db4fd..a5ae1a021 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -73,6 +73,8 @@ export default defineConfig([ plugins: [ typescript({ compilerOptions: { + module: 'Node16', + moduleResolution: 'Node16', sourceMap: sourcemap, }, tsconfig: './tsconfig.build.json', diff --git a/tsconfig.build.json b/tsconfig.build.json index f7465e060..c34b38c20 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -1,5 +1,8 @@ { "extends": "./tsconfig.json", + "compilerOptions": { + "rootDir": "./src" + }, "exclude": [ "node_modules", "lib", -- 2.43.0