Skip to content

Core Node: REMOVED_PALAMEDES_OPTION_MESSAGES

Functions, types, and exports for Core Node: REMOVED_PALAMEDES_OPTION_MESSAGES.

Migration errors for host options that Palamedes v2 removed or renamed.

Every first-party adapter rejects these options through assertNoRemovedPalamedesOptions(), so a JavaScript caller that still passes one sees the same message on every surface.

import { REMOVED_PALAMEDES_OPTION_MESSAGES } from "@palamedes/core-node"

const REMOVED_PALAMEDES_OPTION_MESSAGES: {
    readonly failOnCompileError: "Palamedes v2 removed failOnCompileError: invalid ICU always fails compilation. Remove the option; use failOnMissing for translation completeness.";
    readonly keepSourceFallbacks: "Palamedes v2 renamed keepSourceFallbacks to includeSourceMetadata: it only adds diagnostic source metadata. Rename the option; the v2 default is false.";
    readonly stripMessageField: "Palamedes v2 removed stripMessageField: use includeSourceMetadata instead, with the inverse value. Remove the option; source metadata is already omitted by default.";
    readonly messageSplitting: "Palamedes v2 removed messageSplitting: compiled catalogs are delivered automatically. Remove the option.";
    readonly experimentalGraphSplitting: "Palamedes v2 removed experimentalGraphSplitting: compiled catalogs are delivered automatically through an import map. Remove the option, including any localeBinding setting.";
    readonly cwd: "Palamedes v2 renamed cwd to projectRoot: relative configPath values and include/exclude globs resolve from it. Rename the option; the Vite plugin defaults it to Vite's root.";
}

Source entry on GitHub

Last updated: November 10, 2026