@intlayer/engine 9.5.7 → 9.5.9-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/dist/assets/installSkills/skills/angular.md +19 -68
  2. package/dist/assets/installSkills/skills/astro.md +38 -4
  3. package/dist/assets/installSkills/skills/backend.md +113 -0
  4. package/dist/assets/installSkills/skills/cli.md +29 -25
  5. package/dist/assets/installSkills/skills/compat.md +87 -0
  6. package/dist/assets/installSkills/skills/compiler.md +14 -4
  7. package/dist/assets/installSkills/skills/config.md +15 -5
  8. package/dist/assets/installSkills/skills/content.md +80 -6
  9. package/dist/assets/installSkills/skills/dev-tools.md +82 -0
  10. package/dist/assets/installSkills/skills/lit.md +115 -0
  11. package/dist/assets/installSkills/skills/markdown.md +96 -0
  12. package/dist/assets/installSkills/skills/next-js.md +21 -38
  13. package/dist/assets/installSkills/skills/preact.md +18 -0
  14. package/dist/assets/installSkills/skills/react.md +21 -4
  15. package/dist/assets/installSkills/skills/remix.md +95 -0
  16. package/dist/assets/installSkills/skills/remote-content.md +1 -1
  17. package/dist/assets/installSkills/skills/solid.md +21 -1
  18. package/dist/assets/installSkills/skills/svelte.md +22 -1
  19. package/dist/assets/installSkills/skills/usage.md +28 -0
  20. package/dist/assets/installSkills/skills/vanilla.md +108 -0
  21. package/dist/assets/installSkills/skills/vue.md +22 -0
  22. package/dist/cjs/_virtual/_utils_asset.cjs +1 -1
  23. package/dist/cjs/build.cjs +4 -4
  24. package/dist/cjs/buildIntlayerDictionary/writeDynamicDictionary.cjs +2 -2
  25. package/dist/cjs/buildIntlayerDictionary/writeFetchDictionary.cjs +3 -3
  26. package/dist/cjs/buildIntlayerDictionary/writeMergedDictionary.cjs +1 -1
  27. package/dist/cjs/buildIntlayerDictionary/writeNestedDictionary.cjs +3 -3
  28. package/dist/cjs/buildIntlayerDictionary/writeRemoteDictionary.cjs +2 -2
  29. package/dist/cjs/buildIntlayerDictionary/writeUnmergedDictionary.cjs +2 -2
  30. package/dist/cjs/cleanOutputDir.cjs +1 -1
  31. package/dist/cjs/cleanRemovedContentDeclaration.cjs +1 -1
  32. package/dist/cjs/cli.cjs +5 -3
  33. package/dist/cjs/createDictionaryEntryPoint/createDictionaryEntryPoint.cjs +1 -1
  34. package/dist/cjs/createDictionaryEntryPoint/getBuiltDictionariesPath.cjs +2 -2
  35. package/dist/cjs/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.cjs +2 -2
  36. package/dist/cjs/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.cjs +2 -2
  37. package/dist/cjs/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.cjs +2 -2
  38. package/dist/cjs/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.cjs +2 -2
  39. package/dist/cjs/createType/createModuleAugmentation.cjs +3 -3
  40. package/dist/cjs/createType/createType.cjs +1 -1
  41. package/dist/cjs/docReview/index.cjs +5 -5
  42. package/dist/cjs/docReview/pipeline.cjs +4 -4
  43. package/dist/cjs/fetchDistantDictionaries.cjs +1 -1
  44. package/dist/cjs/handleContentDeclarationFileChange.cjs +2 -2
  45. package/dist/cjs/handleUnlinkedContentDeclarationFile.cjs +1 -1
  46. package/dist/cjs/init/frameworkSetup/nextAppRouter/restructure.cjs +1 -1
  47. package/dist/cjs/init/frameworkSetup/tanstackStart/restructure.cjs +1 -1
  48. package/dist/cjs/init/index.cjs +305 -300
  49. package/dist/cjs/init/index.cjs.map +1 -1
  50. package/dist/cjs/init/upgradeIntlayerPackages.cjs +60 -0
  51. package/dist/cjs/init/upgradeIntlayerPackages.cjs.map +1 -0
  52. package/dist/cjs/init/utils/fileSystem.cjs +1 -1
  53. package/dist/cjs/init/utils/githubActions.cjs +1 -1
  54. package/dist/cjs/init/utils/index.cjs +13 -4
  55. package/dist/cjs/init/utils/intlayerDependencies.cjs +119 -0
  56. package/dist/cjs/init/utils/intlayerDependencies.cjs.map +1 -0
  57. package/dist/cjs/init/utils/packageManager.cjs +146 -95
  58. package/dist/cjs/init/utils/packageManager.cjs.map +1 -1
  59. package/dist/cjs/initConfig/index.cjs +1 -1
  60. package/dist/cjs/installLSP.cjs +1 -1
  61. package/dist/cjs/installMCP/installMCP.cjs +1 -1
  62. package/dist/cjs/installSkills/index.cjs +111 -20
  63. package/dist/cjs/installSkills/index.cjs.map +1 -1
  64. package/dist/cjs/listDictionariesPath.cjs +1 -1
  65. package/dist/cjs/listGitFiles.cjs +1 -1
  66. package/dist/cjs/loadDictionaries/getIntlayerBundle.cjs +2 -2
  67. package/dist/cjs/loadDictionaries/index.cjs +1 -1
  68. package/dist/cjs/loadDictionaries/loadContentDeclaration.cjs +2 -2
  69. package/dist/cjs/loadDictionaries/loadDictionaries.cjs +1 -1
  70. package/dist/cjs/loadDictionaries/loadLocalDictionaries.cjs +1 -1
  71. package/dist/cjs/loadDictionaries/loadMarkdownContentDeclaration.cjs +1 -1
  72. package/dist/cjs/logConfigDetails.cjs +1 -1
  73. package/dist/cjs/prepareIntlayer.cjs +4 -4
  74. package/dist/cjs/scan/index.cjs +1 -1
  75. package/dist/cjs/scan/scanWebsite.cjs +1 -1
  76. package/dist/cjs/syncPluginKit/createFileAdapter.cjs +1 -1
  77. package/dist/cjs/syncPluginKit/index.cjs +1 -1
  78. package/dist/cjs/utils/buildComponentFilesList.cjs +1 -1
  79. package/dist/cjs/utils/contentWatcherLock.cjs +2 -2
  80. package/dist/cjs/utils/index.cjs +4 -4
  81. package/dist/cjs/utils/readDictionariesFromDisk.cjs +1 -1
  82. package/dist/cjs/utils/runOnce.cjs +1 -1
  83. package/dist/cjs/utils/runParallel/pidTree.cjs +1 -1
  84. package/dist/cjs/utils/withFileLock.cjs +1 -1
  85. package/dist/cjs/watcher.cjs +6 -6
  86. package/dist/cjs/writeConfiguration/index.cjs +1 -1
  87. package/dist/cjs/writeContentDeclaration/processContentDeclarationContent.cjs +2 -2
  88. package/dist/cjs/writeContentDeclaration/transformJSFile.cjs +1 -1
  89. package/dist/cjs/writeContentDeclaration/writeContentDeclaration.cjs +4 -4
  90. package/dist/cjs/writeContentDeclaration/writeJSFile.cjs +3 -3
  91. package/dist/cjs/writeContentDeclaration/writeMarkdownFile.cjs +1 -1
  92. package/dist/cjs/writeContentDeclaration/writeYamlFile.cjs +1 -1
  93. package/dist/cjs/writeFileIfChanged.cjs +1 -1
  94. package/dist/esm/_virtual/_utils_asset.mjs +1 -1
  95. package/dist/esm/build.mjs +4 -4
  96. package/dist/esm/buildIntlayerDictionary/writeDynamicDictionary.mjs +2 -2
  97. package/dist/esm/buildIntlayerDictionary/writeFetchDictionary.mjs +3 -3
  98. package/dist/esm/buildIntlayerDictionary/writeMergedDictionary.mjs +1 -1
  99. package/dist/esm/buildIntlayerDictionary/writeNestedDictionary.mjs +3 -3
  100. package/dist/esm/buildIntlayerDictionary/writeRemoteDictionary.mjs +2 -2
  101. package/dist/esm/buildIntlayerDictionary/writeUnmergedDictionary.mjs +2 -2
  102. package/dist/esm/cleanOutputDir.mjs +1 -1
  103. package/dist/esm/cleanRemovedContentDeclaration.mjs +1 -1
  104. package/dist/esm/cli.mjs +5 -4
  105. package/dist/esm/createDictionaryEntryPoint/createDictionaryEntryPoint.mjs +1 -1
  106. package/dist/esm/createDictionaryEntryPoint/getBuiltDictionariesPath.mjs +2 -2
  107. package/dist/esm/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.mjs +2 -2
  108. package/dist/esm/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.mjs +2 -2
  109. package/dist/esm/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.mjs +2 -2
  110. package/dist/esm/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.mjs +2 -2
  111. package/dist/esm/createType/createModuleAugmentation.mjs +3 -3
  112. package/dist/esm/createType/createType.mjs +1 -1
  113. package/dist/esm/docReview/index.mjs +5 -5
  114. package/dist/esm/docReview/pipeline.mjs +4 -4
  115. package/dist/esm/fetchDistantDictionaries.mjs +1 -1
  116. package/dist/esm/handleContentDeclarationFileChange.mjs +2 -2
  117. package/dist/esm/handleUnlinkedContentDeclarationFile.mjs +1 -1
  118. package/dist/esm/init/frameworkSetup/nextAppRouter/restructure.mjs +1 -1
  119. package/dist/esm/init/frameworkSetup/tanstackStart/restructure.mjs +1 -1
  120. package/dist/esm/init/index.mjs +306 -301
  121. package/dist/esm/init/index.mjs.map +1 -1
  122. package/dist/esm/init/upgradeIntlayerPackages.mjs +57 -0
  123. package/dist/esm/init/upgradeIntlayerPackages.mjs.map +1 -0
  124. package/dist/esm/init/utils/fileSystem.mjs +1 -1
  125. package/dist/esm/init/utils/githubActions.mjs +1 -1
  126. package/dist/esm/init/utils/index.mjs +3 -2
  127. package/dist/esm/init/utils/intlayerDependencies.mjs +110 -0
  128. package/dist/esm/init/utils/intlayerDependencies.mjs.map +1 -0
  129. package/dist/esm/init/utils/packageManager.mjs +143 -93
  130. package/dist/esm/init/utils/packageManager.mjs.map +1 -1
  131. package/dist/esm/initConfig/index.mjs +1 -1
  132. package/dist/esm/installLSP.mjs +1 -1
  133. package/dist/esm/installMCP/installMCP.mjs +1 -1
  134. package/dist/esm/installSkills/index.mjs +111 -20
  135. package/dist/esm/installSkills/index.mjs.map +1 -1
  136. package/dist/esm/listDictionariesPath.mjs +1 -1
  137. package/dist/esm/listGitFiles.mjs +1 -1
  138. package/dist/esm/loadDictionaries/getIntlayerBundle.mjs +2 -2
  139. package/dist/esm/loadDictionaries/index.mjs +1 -1
  140. package/dist/esm/loadDictionaries/loadContentDeclaration.mjs +2 -2
  141. package/dist/esm/loadDictionaries/loadDictionaries.mjs +1 -1
  142. package/dist/esm/loadDictionaries/loadLocalDictionaries.mjs +1 -1
  143. package/dist/esm/loadDictionaries/loadMarkdownContentDeclaration.mjs +1 -1
  144. package/dist/esm/logConfigDetails.mjs +1 -1
  145. package/dist/esm/prepareIntlayer.mjs +4 -4
  146. package/dist/esm/scan/index.mjs +1 -1
  147. package/dist/esm/scan/scanWebsite.mjs +1 -1
  148. package/dist/esm/syncPluginKit/createFileAdapter.mjs +1 -1
  149. package/dist/esm/syncPluginKit/index.mjs +1 -1
  150. package/dist/esm/utils/buildComponentFilesList.mjs +1 -1
  151. package/dist/esm/utils/contentWatcherLock.mjs +2 -2
  152. package/dist/esm/utils/index.mjs +4 -4
  153. package/dist/esm/utils/readDictionariesFromDisk.mjs +1 -1
  154. package/dist/esm/utils/runOnce.mjs +1 -1
  155. package/dist/esm/utils/runParallel/pidTree.mjs +1 -1
  156. package/dist/esm/utils/withFileLock.mjs +1 -1
  157. package/dist/esm/watcher.mjs +6 -6
  158. package/dist/esm/writeConfiguration/index.mjs +1 -1
  159. package/dist/esm/writeContentDeclaration/processContentDeclarationContent.mjs +2 -2
  160. package/dist/esm/writeContentDeclaration/transformJSFile.mjs +1 -1
  161. package/dist/esm/writeContentDeclaration/writeContentDeclaration.mjs +4 -4
  162. package/dist/esm/writeContentDeclaration/writeJSFile.mjs +3 -3
  163. package/dist/esm/writeContentDeclaration/writeMarkdownFile.mjs +1 -1
  164. package/dist/esm/writeContentDeclaration/writeYamlFile.mjs +1 -1
  165. package/dist/esm/writeFileIfChanged.mjs +1 -1
  166. package/dist/types/cli.d.ts +2 -1
  167. package/dist/types/init/index.d.ts +9 -6
  168. package/dist/types/init/index.d.ts.map +1 -1
  169. package/dist/types/init/upgradeIntlayerPackages.d.ts +26 -0
  170. package/dist/types/init/upgradeIntlayerPackages.d.ts.map +1 -0
  171. package/dist/types/init/utils/index.d.ts +3 -2
  172. package/dist/types/init/utils/intlayerDependencies.d.ts +66 -0
  173. package/dist/types/init/utils/intlayerDependencies.d.ts.map +1 -0
  174. package/dist/types/init/utils/packageManager.d.ts +44 -19
  175. package/dist/types/init/utils/packageManager.d.ts.map +1 -1
  176. package/dist/types/installSkills/index.d.ts +16 -3
  177. package/dist/types/installSkills/index.d.ts.map +1 -1
  178. package/package.json +7 -7
@@ -1,6 +1,6 @@
1
- import { basename, dirname, join } from "node:path";
2
1
  import { rmSync } from "node:fs";
3
2
  import { chmod, mkdir, readFile, rename, rm, stat, writeFile } from "node:fs/promises";
3
+ import { basename, dirname, join } from "node:path";
4
4
  import { randomBytes } from "node:crypto";
5
5
 
6
6
  //#region src/writeFileIfChanged.ts
@@ -13,6 +13,7 @@ import { CmsCredentials, enableEditorInConfig, setupCmsCredentials, writeCmsCred
13
13
  import { NEXT_INTLAYER_BABEL_CONFIG_CONTENT } from "./init/utils/nextCompilerBabel.js";
14
14
  import "./init/utils/index.js";
15
15
  import { ContentStrategy, InitOptions, getDefaultApplicationURL, initIntlayer } from "./init/index.js";
16
+ import { UpgradeIntlayerPackagesOptions, UpgradeIntlayerPackagesResult, upgradeIntlayerPackages } from "./init/upgradeIntlayerPackages.js";
16
17
  import { installLSP } from "./installLSP.js";
17
18
  import { PLATFORMS, PLATFORMS_METADATA, Platform, PlatformMetadata, SKILLS, SKILLS_METADATA, Skill, getInitialSkills, installSkills } from "./installSkills/index.js";
18
19
  import { MCPTransport, installMCP } from "./installMCP/installMCP.js";
@@ -20,4 +21,4 @@ import { listDictionaries, listDictionariesWithStats } from "./listDictionariesP
20
21
  import { DiffMode, ListGitFilesOptions, ListGitLinesOptions, listGitFiles, listGitLines } from "./listGitFiles.js";
21
22
  import { ListProjectsOptions, getGitRootDir, listProjects } from "./listProjects.js";
22
23
  import { logConfigDetails } from "./logConfigDetails.js";
23
- export { COMPAT_I18N_LIBRARIES, type CmsCredentials, type CompatI18nLibrary, ContentStrategy, DictionaryStatus, DiffMode, InitOptions, ListGitFilesOptions, ListGitLinesOptions, ListProjectsOptions, MCPTransport, NEXT_INTLAYER_BABEL_CONFIG_CONTENT, PLATFORMS, PLATFORMS_METADATA, type PackageManager, Platform, PlatformMetadata, type RoutingMode, SKILLS, SKILLS_METADATA, Skill, detectCompatI18nLibraries, detectExportedComponentName, detectFormatCommand, detectPackageManager, enableEditorInConfig, getContentDeclarationFileTemplate, getDefaultApplicationURL, getGitRootDir, getInitialSkills, initIntlayer, installLSP, installMCP, installPackages, installSkills, listDictionaries, listDictionariesWithStats, listGitFiles, listGitLines, listProjects, logConfigDetails, prepareIntlayer, setupCmsCredentials, transformJSFile, writeCmsCredentialsToEnv, writeContentDeclaration, writeJSFile };
24
+ export { COMPAT_I18N_LIBRARIES, type CmsCredentials, type CompatI18nLibrary, ContentStrategy, DictionaryStatus, DiffMode, InitOptions, ListGitFilesOptions, ListGitLinesOptions, ListProjectsOptions, MCPTransport, NEXT_INTLAYER_BABEL_CONFIG_CONTENT, PLATFORMS, PLATFORMS_METADATA, type PackageManager, Platform, PlatformMetadata, type RoutingMode, SKILLS, SKILLS_METADATA, Skill, UpgradeIntlayerPackagesOptions, UpgradeIntlayerPackagesResult, detectCompatI18nLibraries, detectExportedComponentName, detectFormatCommand, detectPackageManager, enableEditorInConfig, getContentDeclarationFileTemplate, getDefaultApplicationURL, getGitRootDir, getInitialSkills, initIntlayer, installLSP, installMCP, installPackages, installSkills, listDictionaries, listDictionariesWithStats, listGitFiles, listGitLines, listProjects, logConfigDetails, prepareIntlayer, setupCmsCredentials, transformJSFile, upgradeIntlayerPackages, writeCmsCredentialsToEnv, writeContentDeclaration, writeJSFile };
@@ -26,7 +26,8 @@ export type InitOptions = {
26
26
  /** Skip scaffolding the `fill` and `test` GitHub Actions workflows. */
27
27
  noGithubActions?: boolean;
28
28
  /**
29
- * Skip installing missing Intlayer dependencies and upgrading outdated ones.
29
+ * Skip installing missing Intlayer dependencies and upgrading the Intlayer
30
+ * packages of every `package.json` to their latest version.
30
31
  */
31
32
  noInstallPackages?: boolean;
32
33
  /** Skip adding the Intlayer extension to `.vscode/extensions.json`. */
@@ -36,14 +37,16 @@ export type InitOptions = {
36
37
  /** Skip enabling the Intlayer lint rules (ESLint / oxlint). */
37
38
  noEslint?: boolean;
38
39
  /**
39
- * Skip framework-specific scaffolding (middleware/proxy, providers in
40
- * layout/page, example content). Defaults to enabled.
40
+ * Skip the project setup: tsconfig types/aliases, the Intlayer config file,
41
+ * bundler/framework configs, the dev script and framework-specific
42
+ * scaffolding (middleware/proxy, providers in layout/page). Defaults to
43
+ * enabled.
41
44
  */
42
45
  noFrameworkSetup?: boolean;
43
46
  /**
44
- * Version that outdated Intlayer packages should be upgraded to (typically the
45
- * running CLI version). When omitted, installed packages are left untouched and
46
- * only missing ones are installed.
47
+ * Version to install the missing Intlayer packages at (typically the running
48
+ * CLI version). Already declared Intlayer packages are upgraded to the latest
49
+ * published version instead.
47
50
  */
48
51
  upgradeToVersion?: string;
49
52
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/init/index.ts"],"mappings":";;;;;;;;;qBAiOa,2BAAwB,cACrB;;;;;;;;;;YAsBJ;;;;YAQA;EACV;;EAEA;;;;EAIA;;EAEA;;EAEA;;EAEA;;;;;EAKA;;;;;;EAMA;;;;;;EAMA,cAAc;;;;;;;EAOd,kBAAkB;;;;;qBAMP,eAAY,iBAAyB,UAAY,gBAAW"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/init/index.ts"],"mappings":";;;;;;;;;qBA6Oa,2BAAwB,cACrB;;;;;;;;;;YAsBJ;;;;YAQA;EACV;;EAEA;;;;;EAKA;;EAEA;;EAEA;;EAEA;;;;;;;EAOA;;;;;;EAMA;;;;;;EAMA,cAAc;;;;;;;EAOd,kBAAkB;;;;;qBAMP,eAAY,iBAAyB,UAAY,gBAAW"}
@@ -0,0 +1,26 @@
1
+ import { IntlayerDependencyUpgrade, PackageJsonIntlayerDependencies } from "./utils/intlayerDependencies.js";
2
+ import "./utils/index.js";
3
+ //#region src/init/upgradeIntlayerPackages.d.ts
4
+ export type UpgradeIntlayerPackagesOptions = {
5
+ /** List the Intlayer packages and their target version without upgrading. */
6
+ dryRun?: boolean;
7
+ /**
8
+ * npm dist-tag to upgrade to (e.g. `canary`).
9
+ * @default 'latest'
10
+ */
11
+ distTag?: string;
12
+ };
13
+ export type UpgradeIntlayerPackagesResult = {
14
+ /** Intlayer dependencies found in every `package.json` of the project. */
15
+ packageJsonDependencies: PackageJsonIntlayerDependencies[];
16
+ /** Upgrades written (or that would be written, in dry-run mode). */
17
+ upgrades: IntlayerDependencyUpgrade[];
18
+ };
19
+ /**
20
+ * Lists the Intlayer packages of every `package.json` of the project
21
+ * (monorepo workspaces included), rewrites their ranges to the version of the
22
+ * given dist-tag, then runs a single install from the root.
23
+ */
24
+ export declare const upgradeIntlayerPackages: (rootDir: string, options?: UpgradeIntlayerPackagesOptions) => Promise<UpgradeIntlayerPackagesResult>;
25
+ //#endregion
26
+ //# sourceMappingURL=upgradeIntlayerPackages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upgradeIntlayerPackages.d.ts","names":[],"sources":["../../../src/init/upgradeIntlayerPackages.ts"],"mappings":";;;YAcY;;EAEV;;;;;EAKA;;YAGU;;EAEV,yBAAyB;;EAEzB,UAAU;;;;;;;qBAQC,0BAAuB,iBACnB,UACL,mCACT,QAAQ"}
@@ -1,11 +1,12 @@
1
- import { COMPAT_I18N_LIBRARIES, CompatI18nLibrary, CompatSyncConfig, CompatVitePluginConfig, DetectMissingPackagesOptions, IntlayerPackageAnalysis, PackageManager, detectCompatI18nLibraries, detectMissingIntlayerPackages, detectOutdatedIntlayerPackages, detectPackageManager, getInstalledPackageVersion, hasLintTooling, installPackages, isIntlayerPackageName, normalizeVersion, upgradePackages } from "./packageManager.js";
1
+ import { COMPAT_I18N_LIBRARIES, COMPAT_PACKAGE_REPLACEMENTS, CompatI18nLibrary, CompatSyncConfig, CompatVitePluginConfig, DetectMissingPackagesOptions, IntlayerPackageAnalysis, PackageManager, detectCompatI18nLibraries, detectMissingIntlayerPackages, detectPackageManager, findLockFileDir, hasLintTooling, installPackages, isIntlayerPackageName, moveCompatPackagesToDevDependencies, normalizeVersion, runPackageInstall } from "./packageManager.js";
2
2
  import { RoutingMode, enableIntlayerEditorConfig, getMetroConfigTemplate, hasIntlayerVitePlugin, replaceViteConfigPluginImportSource, setIntlayerConfigCompilerOutput, setIntlayerConfigRoutingMode, updateAstroConfig, updateIntlayerConfigWithSyncPlugin, updateMetroConfig, updateNextConfig, updateNextConfigForNextI18next, updateNextConfigForNextIntl, updateNextConfigForNextTranslate, updateNuxtConfig, updateNuxtConfigForNuxtjsI18n, updateViteConfig, updateViteConfigForCompatPlugin, updateViteConfigForVueI18n } from "./configManipulation.js";
3
3
  import { ensureNamedImport, firstInsertIndex, isModuleScopeBinding } from "./astImports.js";
4
4
  import { BACKEND_INTLAYER_PACKAGES, ResolveDevScriptParams, resolveDevScript } from "./devScript.js";
5
5
  import { JsonLocalePattern, JsonLocalePatternType, LinguiCatalogPattern, NextIntlMessagesPattern, detectJsonLocalePattern, detectLinguiCatalogPattern, detectNextIntlMessagesPattern, ensureDirectory, exists, readFileFromRoot, writeFileToRoot } from "./fileSystem.js";
6
6
  import { GITHUB_FILL_WORKFLOW_PATH, GITHUB_TEST_WORKFLOW_PATH, GithubWorkflowFile, GithubWorkflowsContext, GithubWorkflowsOptions, getGithubWorkflows, resolveGithubWorkflowsContext } from "./githubActions.js";
7
+ import { IntlayerDependency, IntlayerDependencyUpgrade, PackageJsonIntlayerDependencies, fetchLatestPackageVersion, findPackageJsonFiles, getIntlayerDependencies, getIntlayerDependencyUpgrades, listIntlayerDependencies, toRange, writeIntlayerDependencyUpgrades } from "./intlayerDependencies.js";
7
8
  import { parseJSONWithComments } from "./jsonParser.js";
8
9
  import { NEXT_INTLAYER_BABEL_CONFIG_CONTENT, setupNextCompilerBabelConfig } from "./nextCompilerBabel.js";
9
10
  import { findTsConfigFiles } from "./tsConfig.js";
10
11
  import { isVersionAtLeast } from "./version.js";
11
- export { BACKEND_INTLAYER_PACKAGES, COMPAT_I18N_LIBRARIES, CompatI18nLibrary, CompatSyncConfig, CompatVitePluginConfig, DetectMissingPackagesOptions, GITHUB_FILL_WORKFLOW_PATH, GITHUB_TEST_WORKFLOW_PATH, GithubWorkflowFile, GithubWorkflowsContext, GithubWorkflowsOptions, IntlayerPackageAnalysis, JsonLocalePattern, JsonLocalePatternType, LinguiCatalogPattern, NEXT_INTLAYER_BABEL_CONFIG_CONTENT, NextIntlMessagesPattern, PackageManager, ResolveDevScriptParams, RoutingMode, detectCompatI18nLibraries, detectJsonLocalePattern, detectLinguiCatalogPattern, detectMissingIntlayerPackages, detectNextIntlMessagesPattern, detectOutdatedIntlayerPackages, detectPackageManager, enableIntlayerEditorConfig, ensureDirectory, ensureNamedImport, exists, findTsConfigFiles, firstInsertIndex, getGithubWorkflows, getInstalledPackageVersion, getMetroConfigTemplate, hasIntlayerVitePlugin, hasLintTooling, installPackages, isIntlayerPackageName, isModuleScopeBinding, isVersionAtLeast, normalizeVersion, parseJSONWithComments, readFileFromRoot, replaceViteConfigPluginImportSource, resolveDevScript, resolveGithubWorkflowsContext, setIntlayerConfigCompilerOutput, setIntlayerConfigRoutingMode, setupNextCompilerBabelConfig, updateAstroConfig, updateIntlayerConfigWithSyncPlugin, updateMetroConfig, updateNextConfig, updateNextConfigForNextI18next, updateNextConfigForNextIntl, updateNextConfigForNextTranslate, updateNuxtConfig, updateNuxtConfigForNuxtjsI18n, updateViteConfig, updateViteConfigForCompatPlugin, updateViteConfigForVueI18n, upgradePackages, writeFileToRoot };
12
+ export { BACKEND_INTLAYER_PACKAGES, COMPAT_I18N_LIBRARIES, COMPAT_PACKAGE_REPLACEMENTS, CompatI18nLibrary, CompatSyncConfig, CompatVitePluginConfig, DetectMissingPackagesOptions, GITHUB_FILL_WORKFLOW_PATH, GITHUB_TEST_WORKFLOW_PATH, GithubWorkflowFile, GithubWorkflowsContext, GithubWorkflowsOptions, IntlayerDependency, IntlayerDependencyUpgrade, IntlayerPackageAnalysis, JsonLocalePattern, JsonLocalePatternType, LinguiCatalogPattern, NEXT_INTLAYER_BABEL_CONFIG_CONTENT, NextIntlMessagesPattern, PackageJsonIntlayerDependencies, PackageManager, ResolveDevScriptParams, RoutingMode, detectCompatI18nLibraries, detectJsonLocalePattern, detectLinguiCatalogPattern, detectMissingIntlayerPackages, detectNextIntlMessagesPattern, detectPackageManager, enableIntlayerEditorConfig, ensureDirectory, ensureNamedImport, exists, fetchLatestPackageVersion, findLockFileDir, findPackageJsonFiles, findTsConfigFiles, firstInsertIndex, getGithubWorkflows, getIntlayerDependencies, getIntlayerDependencyUpgrades, getMetroConfigTemplate, hasIntlayerVitePlugin, hasLintTooling, installPackages, isIntlayerPackageName, isModuleScopeBinding, isVersionAtLeast, listIntlayerDependencies, moveCompatPackagesToDevDependencies, normalizeVersion, parseJSONWithComments, readFileFromRoot, replaceViteConfigPluginImportSource, resolveDevScript, resolveGithubWorkflowsContext, runPackageInstall, setIntlayerConfigCompilerOutput, setIntlayerConfigRoutingMode, setupNextCompilerBabelConfig, toRange, updateAstroConfig, updateIntlayerConfigWithSyncPlugin, updateMetroConfig, updateNextConfig, updateNextConfigForNextI18next, updateNextConfigForNextIntl, updateNextConfigForNextTranslate, updateNuxtConfig, updateNuxtConfigForNuxtjsI18n, updateViteConfig, updateViteConfigForCompatPlugin, updateViteConfigForVueI18n, writeFileToRoot, writeIntlayerDependencyUpgrades };
@@ -0,0 +1,66 @@
1
+ //#region src/init/utils/intlayerDependencies.d.ts
2
+ /** Dependency fields of a `package.json` scanned for Intlayer packages. */
3
+ declare const DEPENDENCY_FIELDS: readonly ['dependencies', 'devDependencies'];
4
+ type DependencyField = (typeof DEPENDENCY_FIELDS)[number];
5
+ /** An Intlayer dependency declared in one of the project's `package.json`. */
6
+ export type IntlayerDependency = {
7
+ /** Package name, e.g. `next-intlayer`. */
8
+ packageName: string;
9
+ /** Field the dependency is declared in. */
10
+ dependencyField: DependencyField;
11
+ /** Declared version range, e.g. `^9.5.0`. */
12
+ currentRange: string;
13
+ };
14
+ /** Intlayer dependencies of one `package.json`. */
15
+ export type PackageJsonIntlayerDependencies = {
16
+ /** Path of the `package.json`, relative to the project root. */
17
+ packageJsonPath: string;
18
+ dependencies: IntlayerDependency[];
19
+ };
20
+ /** A dependency range rewritten to the latest published version. */
21
+ export type IntlayerDependencyUpgrade = IntlayerDependency & {
22
+ packageJsonPath: string;
23
+ /** Range written back to the `package.json`, e.g. `^9.5.7`. */
24
+ nextRange: string;
25
+ };
26
+ /**
27
+ * Lists every `package.json` of the project (root first), skipping
28
+ * `node_modules` and build outputs.
29
+ */
30
+ export declare const findPackageJsonFiles: (rootDir: string) => Promise<string[]>;
31
+ /**
32
+ * Lists the Intlayer packages (`intlayer`, `@intlayer/*`, `*-intlayer`,
33
+ * `intlayer-*`) declared with a registry range in a parsed `package.json`.
34
+ */
35
+ export declare const getIntlayerDependencies: (packageJson: Partial<Record<DependencyField, Record<string, string>>>) => IntlayerDependency[];
36
+ /** Lists the Intlayer dependencies of every `package.json` of the project. */
37
+ export declare const listIntlayerDependencies: (rootDir: string) => Promise<PackageJsonIntlayerDependencies[]>;
38
+ /**
39
+ * Fetches the version a dist-tag (`latest` by default) of a package points to
40
+ * on the npm registry. Resolves to `null` when the registry cannot be reached,
41
+ * the package is not published or the dist-tag does not exist.
42
+ */
43
+ export declare const fetchLatestPackageVersion: (packageName: string, { distTag, registryUrl }?: {
44
+ distTag?: string;
45
+ registryUrl?: string;
46
+ }) => Promise<string | null>;
47
+ /**
48
+ * Keeps the range operator (`^`, `~` or none) of `currentRange` and points it
49
+ * to `version`.
50
+ *
51
+ * @example toRange('^9.0.0', '9.5.7') // '^9.5.7'
52
+ */
53
+ export declare const toRange: (currentRange: string, version: string) => string;
54
+ /**
55
+ * Computes the upgrades bringing every listed dependency to its latest version.
56
+ * Dependencies already on the latest version, or whose latest version could not
57
+ * be fetched, are left out.
58
+ */
59
+ export declare const getIntlayerDependencyUpgrades: (packageJsonDependencies: PackageJsonIntlayerDependencies[], latestVersions: Map<string, string | null>) => IntlayerDependencyUpgrade[];
60
+ /**
61
+ * Writes the upgraded ranges back to their `package.json`, keeping the file's
62
+ * indentation and trailing newline.
63
+ */
64
+ export declare const writeIntlayerDependencyUpgrades: (rootDir: string, upgrades: IntlayerDependencyUpgrade[]) => Promise<void>;
65
+ //#endregion
66
+ //# sourceMappingURL=intlayerDependencies.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intlayerDependencies.d.ts","names":[],"sources":["../../../../src/init/utils/intlayerDependencies.ts"],"mappings":";;cAOM;KAED,0BAA0B;;YAGnB;;EAEV;;EAEA,iBAAiB;;EAEjB;;;YAIU;;EAEV;EACA,cAAc;;;YAIJ,4BAA4B;EACtC;;EAEA;;;;;;qBAcW,uBAAoB,oBAE9B;;;;;qBAmBU,0BAAuB,aACrB,QAAQ,OAAO,iBAAiB,6BAC5C;;qBAeU,2BAAwB,oBAElC,QAAQ;;;;;;qBA2BE,4BAAyB,uBACjB,SAAA;EAId;EAAkB;MACtB;;;;;;;qBAqBU,UAAO,sBAAwB;;;;;;qBAQ/B,gCAA6B,yBACf,mCAAiC,gBAC1C,+BACf;;;;;qBA2BU,kCAA+B,iBAC3B,UACL,gCACT"}
@@ -69,6 +69,8 @@ export type IntlayerPackageAnalysis = {
69
69
  packagesToInstall: string[];
70
70
  /** Intlayer dev packages that are referenced but not yet installed. */
71
71
  devPackagesToInstall: string[];
72
+ /** Compat packages in dependencies that got replaced and should be moved to devDependencies. */
73
+ packagesToMoveToDev: string[];
72
74
  /**
73
75
  * syncJSON plugin configuration to inject when a compat i18n library is
74
76
  * detected. Undefined when no compat library is present or format is not
@@ -84,9 +86,16 @@ export type IntlayerPackageAnalysis = {
84
86
  };
85
87
  /**
86
88
  * Detects the package manager in use by checking for lock files in the
87
- * project root. Falls back to npm when no lock file is found.
89
+ * project root, then the `packageManager` field of its `package.json`. Falls
90
+ * back to npm when neither is found.
88
91
  */
89
92
  export declare const detectPackageManager: (rootDir: string) => PackageManager;
93
+ /**
94
+ * Walks up from `startDir` to the nearest directory holding a lock file — the
95
+ * workspace root an install must run from. Stops at the repository root
96
+ * (`.git`) and returns `null` when no lock file is found.
97
+ */
98
+ export declare const findLockFileDir: (startDir: string) => string | null;
90
99
  /**
91
100
  * Analyzes existing project dependencies to determine which intlayer packages
92
101
  * are missing and what syncJSON configuration to inject when compat i18n
@@ -100,6 +109,16 @@ export type DetectMissingPackagesOptions = {
100
109
  * dependency the lingui compat setup uses.
101
110
  */
102
111
  linguiCatalogFormat?: 'po' | 'json' | null;
112
+ /**
113
+ * The project's runtime dependencies (from `package.json` `dependencies`).
114
+ * When provided, compat packages found here that are replaced by `@intlayer/*`
115
+ * are reported in `packagesToMoveToDev`.
116
+ */
117
+ dependencies?: Record<string, string>;
118
+ /**
119
+ * The project's development dependencies (from `package.json` `devDependencies`).
120
+ */
121
+ devDependencies?: Record<string, string>;
103
122
  };
104
123
  /** An existing i18n library Intlayer ships a compat adapter for. */
105
124
  export type CompatI18nLibrary = {
@@ -111,6 +130,11 @@ export type CompatI18nLibrary = {
111
130
  * recognized.
112
131
  */
113
132
  packages: readonly string[];
133
+ /**
134
+ * Upstream third-party packages replaced by Intlayer compat adapters at runtime,
135
+ * mapped to their adapter package name.
136
+ */
137
+ replacements: Record<string, string>;
114
138
  };
115
139
  /**
116
140
  * Existing i18n libraries Intlayer can adapt, keyed by the dependencies that
@@ -119,6 +143,19 @@ export type CompatI18nLibrary = {
119
143
  * detection will wire up on its own once its package is in `package.json`.
120
144
  */
121
145
  export declare const COMPAT_I18N_LIBRARIES: readonly CompatI18nLibrary[];
146
+ /**
147
+ * Maps third-party i18n libraries to the Intlayer compat adapter that replaces
148
+ * them at runtime, derived from {@link COMPAT_I18N_LIBRARIES}.
149
+ */
150
+ export declare const COMPAT_PACKAGE_REPLACEMENTS: Record<string, string>;
151
+ /**
152
+ * When a project uses a compat i18n package (such as `next-intl`) that gets
153
+ * replaced by an `@intlayer/*` adapter (e.g. `@intlayer/next-intl`), moves the
154
+ * original package from `dependencies` to `devDependencies` in `package.json`.
155
+ *
156
+ * Returns the list of package names that were moved.
157
+ */
158
+ export declare const moveCompatPackagesToDevDependencies: (packageJson: Record<string, any>) => string[];
122
159
  /**
123
160
  * Returns the labels of the compat i18n libraries present in `dependencies`.
124
161
  *
@@ -153,7 +190,8 @@ export declare const installPackages: (rootDir: string, packages: string[], pack
153
190
  * Matches the core `intlayer` package, every scoped `@intlayer/*` package
154
191
  * (including compat adapters such as `@intlayer/next-intl`) and the framework
155
192
  * runtime integrations that follow the `<framework>-intlayer` convention
156
- * (e.g. `next-intlayer`, `react-intlayer`, `express-intlayer`).
193
+ * (e.g. `next-intlayer`, `react-intlayer`, `express-intlayer`), as well as the
194
+ * `intlayer-*` packages (e.g. `intlayer-editor`).
157
195
  */
158
196
  export declare const isIntlayerPackageName: (packageName: string) => boolean;
159
197
  /**
@@ -165,23 +203,10 @@ export declare const isIntlayerPackageName: (packageName: string) => boolean;
165
203
  */
166
204
  export declare const normalizeVersion: (version?: string) => string | null;
167
205
  /**
168
- * Reads the installed version of a package from its `package.json` inside the
169
- * project's `node_modules`. Returns `null` when the package is not installed or
170
- * its manifest cannot be read.
171
- */
172
- export declare const getInstalledPackageVersion: (rootDir: string, packageName: string) => string | null;
173
- /**
174
- * Returns the Intlayer packages from `dependencies` whose installed version is
175
- * behind `targetVersion` (compared on `major.minor.patch`). Packages that are
176
- * not installed yet are ignored — those are handled by
177
- * {@link detectMissingIntlayerPackages}.
178
- */
179
- export declare const detectOutdatedIntlayerPackages: (rootDir: string, dependencies: Record<string, string>, targetVersion: string) => string[];
180
- /**
181
- * Upgrades the given packages to `targetVersion` synchronously, preserving the
182
- * dependency type via the `isDev` flag. Throws if the install process exits
183
- * with a non-zero code.
206
+ * Runs the package manager install command synchronously, so edited
207
+ * `package.json` ranges are resolved and the lock file updated. Throws if the
208
+ * install process exits with a non-zero code.
184
209
  */
185
- export declare const upgradePackages: (rootDir: string, packages: string[], packageManager: PackageManager, targetVersion: string, isDev?: boolean) => void;
210
+ export declare const runPackageInstall: (rootDir: string, packageManager: PackageManager) => void;
186
211
  //#endregion
187
212
  //# sourceMappingURL=packageManager.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageManager.d.ts","names":[],"sources":["../../../../src/init/utils/packageManager.ts"],"mappings":";;YAMY;;;;;YAMA;;;;;;;EAOV;;;;;EAKA;;;;;EAKA;;;;;;;;;;;;;;;EAeA;;;;;;;YAQU;;EAEV;;EAEA;;;;;;;;EAQA;;IAEE;;IAEA;;;;YAKQ;;EAEV;;EAEA;;;;;;EAMA,kBAAkB;;;;;;EAMlB,wBAAwB;;;;;;qBAOb,uBAAoB,oBAAsB;;;;;;;YA2C3C;;;;;;EAMV;;;YAIU;;EAEV;;;;;;EAMA;;;;;;;;qBASW,gCAAgC;;;;;;;;;;qBA0EhC,4BAAyB,cACtB;;;;;;;;;;;;qBAiBH,iBAAc,cAAkB;qBAGhC,gCAA6B,iBACvB,wBAAsB,UAC9B,iCACR;;;;;qBAiVU,kBAAe,iBACX,oBACG,gBACF,gBAAc;;;;;;;;;qBAenB,wBAAqB;;;;;;;;qBAYrB,mBAAgB;;;;;;qBAWhB,6BAA0B,iBACtB;;;;;;;qBAwBJ,iCAA8B,iBAC1B,cACD,wBAAsB;;;;;;qBAuBzB,kBAAe,iBACX,oBACG,gBACF,gBAAc,uBACT"}
1
+ {"version":3,"file":"packageManager.d.ts","names":[],"sources":["../../../../src/init/utils/packageManager.ts"],"mappings":";;YAKY;;;;;YAMA;;;;;;;EAOV;;;;;EAKA;;;;;EAKA;;;;;;;;;;;;;;;EAeA;;;;;;;YAQU;;EAEV;;EAEA;;;;;;;;EAQA;;IAEE;;IAEA;;;;YAKQ;;EAEV;;EAEA;;EAEA;;;;;;EAMA,kBAAkB;;;;;;EAMlB,wBAAwB;;;;;;;qBA8Cb,uBAAoB,oBAAsB;;;;;;qBAY1C,kBAAe;;;;;;;YA2ChB;;;;;;EAMV;;;;;;EAMA,eAAe;;;;EAIf,kBAAkB;;;YAIR;;EAEV;;;;;;EAMA;;;;;EAKA,cAAc;;;;;;;;qBASH,gCAAgC;;;;;qBA+GhC,6BAA6B;;;;;;;;qBAc7B,sCAAmC,aACjC;;;;;;;;;;qBA8BF,4BAAyB,cACtB;;;;;;;;;;;;qBAiBH,iBAAc,cAAkB;qBAGhC,gCAA6B,iBACvB,wBAAsB,UAC9B,iCACR;;;;;qBA4VU,kBAAe,iBACX,oBACG,gBACF,gBAAc;;;;;;;;;;qBAgBnB,wBAAqB;;;;;;;;qBAarB,mBAAgB;;;;;;qBAahB,oBAAiB,iBACb,gBACC"}
@@ -5,22 +5,35 @@
5
5
  export declare const SKILLS_METADATA: {
6
6
  readonly Config: 'Intlayer configuration documentation';
7
7
  readonly Content: 'Reference for all Intlayer content node types (t, enu, etc.)';
8
+ readonly Markdown: 'Markdown / rich text content: md(), MDX components, MarkdownProvider, SSR';
8
9
  readonly Usage: 'How to use Intlayer in your project';
9
10
  readonly CLI: 'Intlayer CLI commands and usage';
10
11
  readonly Compiler: 'Intlayer Compiler setup and usage for automatic content extraction without .content files';
11
12
  readonly RemoteContent: 'How to use Intlayer with Remote/CMS/Server-side content';
13
+ readonly DevTools: 'ESLint, LSP, VS Code & Chrome extensions, MCP server and CI/CD';
14
+ readonly Compat: 'Migrate from i18next, next-intl, react-intl, vue-i18n, Lingui… keeping their API';
12
15
  readonly NextJS: 'Next.js-specific usage (Server & Client components)';
13
16
  readonly React: 'React-specific syntax and hooks usage';
14
17
  readonly Vue: 'Vue-specific composables and syntax';
15
18
  readonly Svelte: 'Svelte-specific stores and syntax';
16
19
  readonly Angular: 'Angular-specific syntax and Injectable Function usage';
17
20
  readonly Preact: 'Preact-specific syntax and hooks usage';
18
- readonly Solid: 'Integrates Intlayer internationalization with SolidJS components. Use when the user asks to "setup SolidJS i18n", use the "useIntlayer" hook in Solid, or manage locales in a SolidJS application.';
19
- readonly Astro: 'Astro-specific usage and getIntlayer';
21
+ readonly Solid: 'Solid-specific syntax and hooks usage';
22
+ readonly Astro: 'Astro-specific usage, middleware and islands';
23
+ readonly Lit: 'Lit-specific ReactiveController usage (useIntlayer, useLocale)';
24
+ readonly Vanilla: 'Framework-less JavaScript usage (vanilla-intlayer)';
25
+ readonly Remix: 'Remix 3 router middleware and request-scoped hooks';
26
+ readonly Backend: 'Server-side usage for Express, Fastify, Hono, NestJS, AdonisJS and Elysia';
20
27
  };
21
28
  export type Skill = keyof typeof SKILLS_METADATA;
22
29
  export declare const SKILLS: Skill[];
23
- export declare const getInitialSkills: (deps: Record<string, string>) => (keyof typeof SKILLS_METADATA)[];
30
+ /**
31
+ * Resolves the skills to preselect from the project's installed packages.
32
+ *
33
+ * @param dependencies - Merged `dependencies` and `devDependencies` of `package.json`.
34
+ * @returns The base skills plus every framework skill whose packages are installed.
35
+ */
36
+ export declare const getInitialSkills: (dependencies: Record<string, string>) => Skill[];
24
37
  export interface PlatformMetadata {
25
38
  label: string;
26
39
  dir: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/installSkills/index.ts"],"mappings":";;;;qBASa;WACX;WACA;WACA;WACA;WACA;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WAEA;;YAGU,qBAAqB;qBAEpB,QAAyC;qBAEzC,mBAAgB,MACrB,yCACS;iBAoBA;EACf;EACA;EACA;;;;;qBAMW,oBAAoB,eAAe;YA6JpC,wBAAwB;qBAEvB,WAA+C;;;;;qBA8G/C,gBAAa,qBACL,UACT,UAAQ,QACV,YACP"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/installSkills/index.ts"],"mappings":";;;;qBASa;WACX;WACA;WACA;WAEA;WACA;WACA;WAEA;WACA;WACA;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;YAIU,qBAAqB;qBAEpB,QAAyC;;;;;;;qBAoFzC,mBAAgB,cACb,2BACb;iBAUc;EACf;EACA;EACA;;;;;qBAMW,oBAAoB,eAAe;YA6JpC,wBAAwB;qBAEvB,WAA+C;;;;;qBA8G/C,gBAAa,qBACL,UACT,UAAQ,QACV,YACP"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/engine",
3
- "version": "9.5.7",
3
+ "version": "9.5.9-canary.0",
4
4
  "private": false,
5
5
  "description": "Scans and builds Intlayer declaration files into dictionaries based on Intlayer configuration.",
6
6
  "keywords": [
@@ -142,11 +142,11 @@
142
142
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
143
143
  },
144
144
  "dependencies": {
145
- "@intlayer/api": "9.5.6",
146
- "@intlayer/config": "9.5.6",
147
- "@intlayer/core": "9.5.6",
148
- "@intlayer/dictionaries-entry": "9.5.6",
149
- "@intlayer/types": "9.5.6",
145
+ "@intlayer/api": "9.5.8",
146
+ "@intlayer/config": "9.5.8",
147
+ "@intlayer/core": "9.5.8",
148
+ "@intlayer/dictionaries-entry": "9.5.8",
149
+ "@intlayer/types": "9.5.8",
150
150
  "@parcel/watcher": "2.6.0",
151
151
  "defu": "6.1.7",
152
152
  "fast-glob": "3.3.3",
@@ -166,7 +166,7 @@
166
166
  "zod": "4.6.5"
167
167
  },
168
168
  "peerDependencies": {
169
- "@intlayer/babel": "9.5.6"
169
+ "@intlayer/babel": "9.5.8"
170
170
  },
171
171
  "peerDependenciesMeta": {
172
172
  "@intlayer/babel": {