@intlayer/chokidar 8.0.5 → 8.1.1

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.
@@ -25,7 +25,7 @@ import { handleAdditionalContentDeclarationFile } from "./handleAdditionalConten
25
25
  import { handleContentDeclarationFileChange } from "./handleContentDeclarationFileChange.js";
26
26
  import { handleUnlinkedContentDeclarationFile } from "./handleUnlinkedContentDeclarationFile.js";
27
27
  import { initIntlayer } from "./init/index.js";
28
- import { SKILLS, SKILLS_METADATA, Skill, installSkills } from "./installSkills/index.js";
28
+ import { Platform, SKILLS, SKILLS_METADATA, Skill, installSkills } from "./installSkills/index.js";
29
29
  import { listDictionaries, listDictionariesWithStats } from "./listDictionariesPath.js";
30
30
  import { DiffMode, ListGitFilesOptions, ListGitLinesOptions, listGitFiles, listGitLines } from "./listGitFiles.js";
31
31
  import { ListProjectsOptions, listProjects } from "./listProjects.js";
@@ -59,4 +59,4 @@ import { transformJSFile } from "./writeContentDeclaration/transformJSFile.js";
59
59
  import { writeContentDeclaration } from "./writeContentDeclaration/writeContentDeclaration.js";
60
60
  import { writeJSFile } from "./writeContentDeclaration/writeJSFile.js";
61
61
  import "./writeContentDeclaration/index.js";
62
- export { ATTRIBUTES_TO_EXTRACT, type BuildFilesListOptions, type DictionaryStatus, type DiffMode, type Extension, type Format, type JSONObject, type JsonChunk, type ListGitFilesOptions, type ListGitLinesOptions, type ListProjectsOptions, type PackageName, type ParallelHandle, SKILLS, SKILLS_METADATA, type Skill, assembleJSON, autoDecorateContent, buildAndWatchIntlayer, buildDictionary, buildFilesList, chunkJSON, cleanOutputDir, createDictionaryEntryPoint, createModuleAugmentation, createTypes, detectExportedComponentName, detectFormatCommand, extractDictionaryKey, extractIntlayer, fetchDistantDictionaries, formatDictionaries, formatDictionariesOutput, formatDictionary, formatDictionaryOutput, formatLocale, formatPath, generateDictionaryListContent, generateKey, getBuiltDictionariesPath, getBuiltDynamicDictionariesPath, getBuiltFetchDictionariesPath, getBuiltRemoteDictionariesPath, getBuiltUnmergedDictionariesPath, getChunk, getComponentTransformPattern, getComponentTransformPatternSync, getContentDeclarationFileTemplate, getExtensionFromFormat, getFileHash, getFormatFromExtension, getGlobalLimiter, getTaskLimiter, handleAdditionalContentDeclarationFile, handleContentDeclarationFileChange, handleUnlinkedContentDeclarationFile, initIntlayer, installSkills, isInvalidDictionary, listDictionaries, listDictionariesWithStats, listGitFiles, listGitLines, listProjects, loadContentDeclarations, loadDictionaries, loadLocalDictionaries, loadRemoteDictionaries, pLimit, parallelize, parallelizeGlobal, prepareIntlayer, reconstructFromSingleChunk, reduceDictionaryContent, reduceObjectFormat, resolveObjectPromises, runOnce, runParallel, shouldExtract, sortAlphabetically, splitTextByLines, transformFiles, transformJSFile, verifyIdenticObjectFormat, watch, writeContentDeclaration, writeJSFile };
62
+ export { ATTRIBUTES_TO_EXTRACT, type BuildFilesListOptions, type DictionaryStatus, type DiffMode, type Extension, type Format, type JSONObject, type JsonChunk, type ListGitFilesOptions, type ListGitLinesOptions, type ListProjectsOptions, type PackageName, type ParallelHandle, type Platform, SKILLS, SKILLS_METADATA, type Skill, assembleJSON, autoDecorateContent, buildAndWatchIntlayer, buildDictionary, buildFilesList, chunkJSON, cleanOutputDir, createDictionaryEntryPoint, createModuleAugmentation, createTypes, detectExportedComponentName, detectFormatCommand, extractDictionaryKey, extractIntlayer, fetchDistantDictionaries, formatDictionaries, formatDictionariesOutput, formatDictionary, formatDictionaryOutput, formatLocale, formatPath, generateDictionaryListContent, generateKey, getBuiltDictionariesPath, getBuiltDynamicDictionariesPath, getBuiltFetchDictionariesPath, getBuiltRemoteDictionariesPath, getBuiltUnmergedDictionariesPath, getChunk, getComponentTransformPattern, getComponentTransformPatternSync, getContentDeclarationFileTemplate, getExtensionFromFormat, getFileHash, getFormatFromExtension, getGlobalLimiter, getTaskLimiter, handleAdditionalContentDeclarationFile, handleContentDeclarationFileChange, handleUnlinkedContentDeclarationFile, initIntlayer, installSkills, isInvalidDictionary, listDictionaries, listDictionariesWithStats, listGitFiles, listGitLines, listProjects, loadContentDeclarations, loadDictionaries, loadLocalDictionaries, loadRemoteDictionaries, pLimit, parallelize, parallelizeGlobal, prepareIntlayer, reconstructFromSingleChunk, reduceDictionaryContent, reduceObjectFormat, resolveObjectPromises, runOnce, runParallel, shouldExtract, sortAlphabetically, splitTextByLines, transformFiles, transformJSFile, verifyIdenticObjectFormat, watch, writeContentDeclaration, writeJSFile };
@@ -1,21 +1,27 @@
1
1
  //#region src/installSkills/index.d.ts
2
2
  declare const SKILLS_METADATA: {
3
- readonly Setup: "General Intlayer setup guide";
4
3
  readonly Usage: "How to use Intlayer in your project";
5
4
  readonly RemoteContent: "How to use Intlayer with Remote/CMS/Server-side content";
6
5
  readonly Config: "Intlayer configuration documentation";
7
- readonly ExtraAction: "Additional CLI and automated actions";
8
6
  readonly Content: "Reference for all Intlayer content node types (t, enu, etc.)";
9
7
  readonly React: "React-specific syntax and hooks usage";
10
8
  readonly Angular: "Angular-specific syntax and Injectable Function usage";
11
9
  readonly NextJS: "Next.js-specific usage (Server & Client components)";
12
10
  readonly Vue: "Vue-specific composables and syntax";
11
+ readonly Preact: "Preact-specific syntax and hooks usage";
12
+ readonly Solid: "Solid-specific primitives and syntax";
13
13
  readonly Svelte: "Svelte-specific stores and syntax";
14
14
  readonly Astro: "Astro-specific usage and getIntlayer";
15
+ readonly CLI: "Intlayer CLI commands and usage";
15
16
  };
16
17
  declare const SKILLS: (keyof typeof SKILLS_METADATA)[];
17
18
  type Skill = (typeof SKILLS)[number];
18
- declare const installSkills: (projectRoot: string, platform: "Cursor" | "VSCode" | "OpenCode" | "Claude" | "Other", skills: Skill[]) => Promise<string>;
19
+ type Platform = 'Cursor' | 'Windsurf' | 'Trae' | 'OpenCode' | 'GitHub' | 'Claude' | 'VSCode' | 'Antigravity' | 'Augment' | 'OpenClaw' | 'Cline' | 'CodeBuddy' | 'CommandCode' | 'Continue' | 'Crush' | 'Droid' | 'Goose' | 'Junie' | 'IFlow' | 'KiloCode' | 'Kiro' | 'Kode' | 'MCPJam' | 'MistralVibe' | 'Mux' | 'OpenHands' | 'Pi' | 'Qoder' | 'Qwen' | 'RooCode' | 'TraeCN' | 'Zencoder' | 'Neovate' | 'Pochi' | 'Other';
20
+ /**
21
+ * Installs skills using the "Agent Skills" directory standard.
22
+ * Standard: <PROJECT_ROOT>/<CONFIG_DIR>/skills/<SKILL_NAME>/SKILL.md
23
+ */
24
+ declare const installSkills: (projectRoot: string, platform: Platform, skills: Skill[]) => Promise<string>;
19
25
  //#endregion
20
- export { SKILLS, SKILLS_METADATA, Skill, installSkills };
26
+ export { Platform, SKILLS, SKILLS_METADATA, Skill, installSkills };
21
27
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/installSkills/index.ts"],"mappings":";cAIa,eAAA;EAAA;;;;;;;;;;;;;cAeA,MAAA,gBAEM,eAAA;AAAA,KAEP,KAAA,WAAgB,MAAA;AAAA,cAaf,aAAA,GACX,WAAA,UACA,QAAA,yDACA,MAAA,EAAQ,KAAA,OACP,OAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/installSkills/index.ts"],"mappings":";cAMa,eAAA;EAAA;;;;;;;;;;;;;;cAgBA,MAAA,gBAEM,eAAA;AAAA,KAEP,KAAA,WAAgB,MAAA;AAAA,KAEhB,QAAA;;;AANZ;;cA2Ha,aAAA,GACX,WAAA,UACA,QAAA,EAAU,QAAA,EACV,MAAA,EAAQ,KAAA,OACP,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/chokidar",
3
- "version": "8.0.5",
3
+ "version": "8.1.1",
4
4
  "private": false,
5
5
  "description": "Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.",
6
6
  "keywords": [
@@ -75,13 +75,13 @@
75
75
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
76
76
  },
77
77
  "dependencies": {
78
- "@intlayer/api": "8.0.5",
79
- "@intlayer/config": "8.0.5",
80
- "@intlayer/core": "8.0.5",
81
- "@intlayer/dictionaries-entry": "8.0.5",
82
- "@intlayer/remote-dictionaries-entry": "8.0.5",
83
- "@intlayer/types": "8.0.5",
84
- "@intlayer/unmerged-dictionaries-entry": "8.0.5",
78
+ "@intlayer/api": "8.1.1",
79
+ "@intlayer/config": "8.1.1",
80
+ "@intlayer/core": "8.1.1",
81
+ "@intlayer/dictionaries-entry": "8.1.1",
82
+ "@intlayer/remote-dictionaries-entry": "8.1.1",
83
+ "@intlayer/types": "8.1.1",
84
+ "@intlayer/unmerged-dictionaries-entry": "8.1.1",
85
85
  "chokidar": "3.6.0",
86
86
  "crypto-js": "4.2.0",
87
87
  "defu": "6.1.4",
@@ -92,7 +92,7 @@
92
92
  },
93
93
  "devDependencies": {
94
94
  "@types/crypto-js": "4.2.2",
95
- "@types/node": "25.2.2",
95
+ "@types/node": "25.2.3",
96
96
  "@utils/ts-config": "1.0.4",
97
97
  "@utils/ts-config-types": "1.0.4",
98
98
  "@utils/tsdown-config": "1.0.4",
@@ -103,8 +103,8 @@
103
103
  "zod": "4.3.6"
104
104
  },
105
105
  "peerDependencies": {
106
- "@intlayer/svelte-transformer": "8.0.5",
107
- "@intlayer/vue-transformer": "8.0.5"
106
+ "@intlayer/svelte-transformer": "8.1.1",
107
+ "@intlayer/vue-transformer": "8.1.1"
108
108
  },
109
109
  "peerDependenciesMeta": {
110
110
  "@intlayer/svelte-transformer": {
@@ -1,6 +0,0 @@
1
- # Intlayer CLI & Extra Actions
2
-
3
- For additional operations and CLI usage:
4
-
5
- - [CLI Overview](https://intlayer.org/doc/concept/cli.md)
6
- - [CLI Commands](https://intlayer.org/doc/packages/intlayer-cli.md)
@@ -1,25 +0,0 @@
1
- # Intlayer Setup
2
-
3
- To set up Intlayer, please refer to the documentation specific to your framework:
4
-
5
- - [Angular](https://intlayer.org/doc/environment/angular.md)
6
- - [Astro](https://intlayer.org/doc/environment/astro.md)
7
- - [Create React App](https://intlayer.org/doc/environment/create-react-app.md)
8
- - [Express](https://intlayer.org/doc/environment/express.md)
9
- - [Fastify](https://intlayer.org/doc/environment/fastify.md)
10
- - [Lynx and React](https://intlayer.org/doc/environment/lynx-and-react.md)
11
- - [Nest](https://intlayer.org/doc/environment/nest.md)
12
- - [Next.js](https://intlayer.org/doc/environment/nextjs.md)
13
- - [Next.js 14](https://intlayer.org/doc/environment/nextjs/14.md)
14
- - [Next.js 15](https://intlayer.org/doc/environment/nextjs/15.md)
15
- - [Next.js No Locale Path](https://intlayer.org/doc/environment/nextjs/no-locale-path.md)
16
- - [Next.js with Page Router](https://intlayer.org/doc/environment/nextjs/next-with-page-router.md)
17
- - [Nuxt and Vue](https://intlayer.org/doc/environment/nuxt-and-vue.md)
18
- - [React Native and Expo](https://intlayer.org/doc/environment/react-native-and-expo.md)
19
- - [Vite and React (React Router v7)](https://intlayer.org/doc/environment/vite-and-react/react-router-v7.md)
20
- - [SvelteKit](https://intlayer.org/doc/environment/sveltekit.md)
21
- - [Vite and Preact](https://intlayer.org/doc/environment/vite-and-preact.md)
22
- - [Vite and React](https://intlayer.org/doc/environment/vite-and-react.md)
23
- - [Vite and Solid](https://intlayer.org/doc/environment/vite-and-solid.md)
24
- - [Vite and Svelte](https://intlayer.org/doc/environment/vite-and-svelte.md)
25
- - [Vite and Vue](https://intlayer.org/doc/environment/vite-and-vue.md)