IAPL rename, scripted: preferred names in src, bin, scripts, services, tests; bin files and skill folders moved

Replaced by an explicit list of forms only (ten exported names, runtime env names, project file
names and marks, commands, skill names, the log prefix, the brand in prose). Package name, import
paths, routes, CSS tokens, data attributes, custom keys, context flags, the cookie and kv keys are
not touched. package.json keeps the five old bin names beside the five new ones.
The old names stop working in this commit and come back as aliases in the next; docs follow.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-25 17:24:21 +01:00
co-authored by Claude Fable 5.2
parent 414a4702df
commit 0a4f001797
262 changed files with 955 additions and 950 deletions
+5 -5
View File
@@ -10,7 +10,7 @@ export function validateI18nConfig(config: I18nConfig): void {
const { defaultLocale, locales } = config
if (!locales?.length) {
throw new Error('[ipal] i18n: "locales" must contain at least one locale.')
throw new Error('[iapl] i18n: "locales" must contain at least one locale.')
}
const codes = new Set<string>()
@@ -18,18 +18,18 @@ export function validateI18nConfig(config: I18nConfig): void {
for (const locale of locales) {
if (!locale.code || !locale.label) {
throw new Error(
`[ipal] i18n: Every locale must have "code" and "label". Received: ${JSON.stringify(locale)}`,
`[iapl] i18n: Every locale must have "code" and "label". Received: ${JSON.stringify(locale)}`,
)
}
if (!LOCALE_CODE_PATTERN.test(locale.code)) {
throw new Error(
`[ipal] i18n: Invalid locale code "${locale.code}". Expected format: "pl", "en", "pt-BR".`,
`[iapl] i18n: Invalid locale code "${locale.code}". Expected format: "pl", "en", "pt-BR".`,
)
}
if (codes.has(locale.code)) {
throw new Error(`[ipal] i18n: Duplicate locale code "${locale.code}".`)
throw new Error(`[iapl] i18n: Duplicate locale code "${locale.code}".`)
}
codes.add(locale.code)
@@ -37,7 +37,7 @@ export function validateI18nConfig(config: I18nConfig): void {
if (!codes.has(defaultLocale)) {
throw new Error(
`[ipal] i18n: defaultLocale "${defaultLocale}" not found in locales [${[...codes].join(', ')}].`,
`[iapl] i18n: defaultLocale "${defaultLocale}" not found in locales [${[...codes].join(', ')}].`,
)
}
}