code-languages 1.8.0 → 1.9.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.
package/dist/api.d.cts CHANGED
@@ -136,6 +136,32 @@ declare const languageLoaders: {
136
136
  };
137
137
  };
138
138
  }>;
139
+ readonly batch: () => Promise<Language | {
140
+ slug: string;
141
+ publishedDate: string;
142
+ extensions: string[];
143
+ author: string;
144
+ website: string;
145
+ paradigms: string[];
146
+ tooling: {
147
+ runtimes: string[];
148
+ ecosystems: string[];
149
+ };
150
+ version: string;
151
+ logo: string;
152
+ i18n: {
153
+ en: {
154
+ name: string;
155
+ description: string;
156
+ longDescription: string;
157
+ };
158
+ es: {
159
+ name: string;
160
+ description: string;
161
+ longDescription: string;
162
+ };
163
+ };
164
+ }>;
139
165
  readonly c: () => Promise<Language | {
140
166
  slug: string;
141
167
  publishedDate: string;
@@ -425,6 +451,32 @@ declare const languageLoaders: {
425
451
  };
426
452
  };
427
453
  }>;
454
+ readonly git: () => Promise<Language | {
455
+ slug: string;
456
+ publishedDate: string;
457
+ extensions: string[];
458
+ author: string;
459
+ website: string;
460
+ paradigms: string[];
461
+ tooling: {
462
+ runtimes: string[];
463
+ ecosystems: string[];
464
+ };
465
+ version: string;
466
+ logo: string;
467
+ i18n: {
468
+ en: {
469
+ name: string;
470
+ description: string;
471
+ longDescription: string;
472
+ };
473
+ es: {
474
+ name: string;
475
+ description: string;
476
+ longDescription: string;
477
+ };
478
+ };
479
+ }>;
428
480
  readonly go: () => Promise<Language | {
429
481
  slug: string;
430
482
  publishedDate: string;
@@ -452,6 +504,33 @@ declare const languageLoaders: {
452
504
  };
453
505
  };
454
506
  }>;
507
+ readonly gradle: () => Promise<Language | {
508
+ slug: string;
509
+ publishedDate: string;
510
+ extensions: string[];
511
+ author: string;
512
+ website: string;
513
+ paradigms: string[];
514
+ tooling: {
515
+ runtimes: string[];
516
+ packageManagers: string[];
517
+ ecosystems: string[];
518
+ };
519
+ version: string;
520
+ logo: string;
521
+ i18n: {
522
+ en: {
523
+ name: string;
524
+ description: string;
525
+ longDescription: string;
526
+ };
527
+ es: {
528
+ name: string;
529
+ description: string;
530
+ longDescription: string;
531
+ };
532
+ };
533
+ }>;
455
534
  readonly graphql: () => Promise<Language | {
456
535
  slug: string;
457
536
  publishedDate: string;
package/dist/api.d.ts CHANGED
@@ -136,6 +136,32 @@ declare const languageLoaders: {
136
136
  };
137
137
  };
138
138
  }>;
139
+ readonly batch: () => Promise<Language | {
140
+ slug: string;
141
+ publishedDate: string;
142
+ extensions: string[];
143
+ author: string;
144
+ website: string;
145
+ paradigms: string[];
146
+ tooling: {
147
+ runtimes: string[];
148
+ ecosystems: string[];
149
+ };
150
+ version: string;
151
+ logo: string;
152
+ i18n: {
153
+ en: {
154
+ name: string;
155
+ description: string;
156
+ longDescription: string;
157
+ };
158
+ es: {
159
+ name: string;
160
+ description: string;
161
+ longDescription: string;
162
+ };
163
+ };
164
+ }>;
139
165
  readonly c: () => Promise<Language | {
140
166
  slug: string;
141
167
  publishedDate: string;
@@ -425,6 +451,32 @@ declare const languageLoaders: {
425
451
  };
426
452
  };
427
453
  }>;
454
+ readonly git: () => Promise<Language | {
455
+ slug: string;
456
+ publishedDate: string;
457
+ extensions: string[];
458
+ author: string;
459
+ website: string;
460
+ paradigms: string[];
461
+ tooling: {
462
+ runtimes: string[];
463
+ ecosystems: string[];
464
+ };
465
+ version: string;
466
+ logo: string;
467
+ i18n: {
468
+ en: {
469
+ name: string;
470
+ description: string;
471
+ longDescription: string;
472
+ };
473
+ es: {
474
+ name: string;
475
+ description: string;
476
+ longDescription: string;
477
+ };
478
+ };
479
+ }>;
428
480
  readonly go: () => Promise<Language | {
429
481
  slug: string;
430
482
  publishedDate: string;
@@ -452,6 +504,33 @@ declare const languageLoaders: {
452
504
  };
453
505
  };
454
506
  }>;
507
+ readonly gradle: () => Promise<Language | {
508
+ slug: string;
509
+ publishedDate: string;
510
+ extensions: string[];
511
+ author: string;
512
+ website: string;
513
+ paradigms: string[];
514
+ tooling: {
515
+ runtimes: string[];
516
+ packageManagers: string[];
517
+ ecosystems: string[];
518
+ };
519
+ version: string;
520
+ logo: string;
521
+ i18n: {
522
+ en: {
523
+ name: string;
524
+ description: string;
525
+ longDescription: string;
526
+ };
527
+ es: {
528
+ name: string;
529
+ description: string;
530
+ longDescription: string;
531
+ };
532
+ };
533
+ }>;
455
534
  readonly graphql: () => Promise<Language | {
456
535
  slug: string;
457
536
  publishedDate: string;
package/dist/api.js CHANGED
@@ -141,7 +141,7 @@ var init_astro = __esm({
141
141
  packageManagers: ["npm", "pnpm", "Yarn", "Bun"],
142
142
  ecosystems: ["Web", "Static Sites", "Content"]
143
143
  },
144
- version: "6.3.1",
144
+ version: "6.3.2",
145
145
  logo: "https://astro.build/assets/press/astro-icon-light.svg",
146
146
  i18n: {
147
147
  en: {
@@ -197,6 +197,43 @@ var init_bash = __esm({
197
197
  }
198
198
  });
199
199
 
200
+ // src/languages/batch.ts
201
+ var batch_exports = {};
202
+ __export(batch_exports, {
203
+ batch: () => batch
204
+ });
205
+ var batch;
206
+ var init_batch = __esm({
207
+ "src/languages/batch.ts"() {
208
+ batch = {
209
+ slug: "batch",
210
+ publishedDate: "1981-08-12",
211
+ extensions: [".bat", ".cmd"],
212
+ author: "Microsoft / IBM",
213
+ website: "https://learn.microsoft.com/windows-server/administration/windows-commands/windows-commands",
214
+ paradigms: ["command", "imperative", "scripting", "shell"],
215
+ tooling: {
216
+ runtimes: ["Command Prompt", "cmd.exe", "MS-DOS"],
217
+ ecosystems: ["Windows", "DOS", "Automation"]
218
+ },
219
+ version: "Windows Command Processor",
220
+ logo: "https://icons.iconarchive.com/icons/simpleicons-team/simple/128/windowsterminal-icon.png",
221
+ i18n: {
222
+ en: {
223
+ name: "Batch",
224
+ description: "A Windows command scripting format used to automate command-line tasks with cmd.exe.",
225
+ longDescription: "Batch files contain commands interpreted by the Windows Command Processor, including command invocation, variables, labels, conditionals, loops, argument handling, and process control.\n\nThey are used for Windows setup scripts, developer shortcuts, administrative automation, legacy DOS workflows, and simple command-line task orchestration on Windows systems."
226
+ },
227
+ es: {
228
+ name: "Batch",
229
+ description: "Un formato de scripting de comandos de Windows usado para automatizar tareas con cmd.exe.",
230
+ longDescription: "Los archivos Batch contienen comandos interpretados por Windows Command Processor, incluyendo invocacion de comandos, variables, etiquetas, condicionales, bucles, manejo de argumentos y control de procesos.\n\nSe usan para scripts de configuracion en Windows, accesos rapidos de desarrollo, automatizacion administrativa, flujos legacy de DOS y orquestacion simple de tareas de linea de comandos en sistemas Windows."
231
+ }
232
+ }
233
+ };
234
+ }
235
+ });
236
+
200
237
  // src/languages/c.ts
201
238
  var c_exports = {};
202
239
  __export(c_exports, {
@@ -607,6 +644,43 @@ var init_fsharp = __esm({
607
644
  }
608
645
  });
609
646
 
647
+ // src/languages/git.ts
648
+ var git_exports = {};
649
+ __export(git_exports, {
650
+ git: () => git
651
+ });
652
+ var git;
653
+ var init_git = __esm({
654
+ "src/languages/git.ts"() {
655
+ git = {
656
+ slug: "git",
657
+ publishedDate: "2005-04-07",
658
+ extensions: [".git", ".gitignore", ".gitattributes", ".gitmodules", ".gitkeep"],
659
+ author: "Linus Torvalds / Junio C Hamano",
660
+ website: "https://git-scm.com",
661
+ paradigms: ["configuration", "version-control", "ignore-patterns"],
662
+ tooling: {
663
+ runtimes: ["Git"],
664
+ ecosystems: ["Version Control", "DevOps", "Source Control"]
665
+ },
666
+ version: "2.54.0",
667
+ logo: "https://cdn.simpleicons.org/git/F05032",
668
+ i18n: {
669
+ en: {
670
+ name: "Git",
671
+ description: "Metadata and configuration files used by Git repositories and version-control workflows.",
672
+ longDescription: "Git-related files define repository ignore rules, attributes, submodules, local configuration, placeholders, and repository metadata used by Git tooling.\n\nThey are used in software projects to control which files are tracked, how paths are treated, how submodules are linked, and how repository-specific automation or conventions behave."
673
+ },
674
+ es: {
675
+ name: "Git",
676
+ description: "Archivos de metadata y configuracion usados por repositorios Git y flujos de control de versiones.",
677
+ longDescription: "Los archivos relacionados con Git definen reglas de ignorado, atributos, submodulos, configuracion local, placeholders y metadata de repositorio usada por herramientas Git.\n\nSe usan en proyectos de software para controlar que archivos se versionan, como se tratan las rutas, como se enlazan submodulos y como se comportan automatizaciones o convenciones especificas del repositorio."
678
+ }
679
+ }
680
+ };
681
+ }
682
+ });
683
+
610
684
  // src/languages/go.ts
611
685
  var go_exports = {};
612
686
  __export(go_exports, {
@@ -645,6 +719,44 @@ var init_go = __esm({
645
719
  }
646
720
  });
647
721
 
722
+ // src/languages/gradle.ts
723
+ var gradle_exports = {};
724
+ __export(gradle_exports, {
725
+ gradle: () => gradle
726
+ });
727
+ var gradle;
728
+ var init_gradle = __esm({
729
+ "src/languages/gradle.ts"() {
730
+ gradle = {
731
+ slug: "gradle",
732
+ publishedDate: "2007-07-01",
733
+ extensions: [".gradle", ".gradle.kts"],
734
+ author: "Hans Dockter / Gradle Inc.",
735
+ website: "https://gradle.org",
736
+ paradigms: ["build-automation", "declarative", "imperative", "configuration"],
737
+ tooling: {
738
+ runtimes: ["JVM", "Gradle"],
739
+ packageManagers: ["Gradle"],
740
+ ecosystems: ["JVM", "Android", "Java", "Kotlin", "Groovy"]
741
+ },
742
+ version: "9.5.0",
743
+ logo: "https://cdn.simpleicons.org/gradle/02303A",
744
+ i18n: {
745
+ en: {
746
+ name: "Gradle",
747
+ description: "A build automation DSL and tool used to define, configure, and run software builds.",
748
+ longDescription: "Gradle build scripts define projects, plugins, dependencies, repositories, tasks, test suites, publishing rules, and multi-project build logic using Groovy DSL or Kotlin DSL files.\n\nIt is widely used in Java, Kotlin, Android, JVM, and polyglot projects that need reproducible builds, dependency management, custom automation, and integration with CI/CD pipelines."
749
+ },
750
+ es: {
751
+ name: "Gradle",
752
+ description: "Un DSL y herramienta de automatizacion de builds usado para definir, configurar y ejecutar builds.",
753
+ longDescription: "Los scripts de build de Gradle definen proyectos, plugins, dependencias, repositorios, tareas, suites de prueba, reglas de publicacion y logica de builds multiproyecto usando archivos Groovy DSL o Kotlin DSL.\n\nSe usa ampliamente en proyectos Java, Kotlin, Android, JVM y poliglotas que necesitan builds reproducibles, gestion de dependencias, automatizacion personalizada e integracion con pipelines CI/CD."
754
+ }
755
+ }
756
+ };
757
+ }
758
+ });
759
+
648
760
  // src/languages/graphql.ts
649
761
  var graphql_exports = {};
650
762
  __export(graphql_exports, {
@@ -2057,6 +2169,7 @@ init_asp();
2057
2169
  init_assembly();
2058
2170
  init_astro();
2059
2171
  init_bash();
2172
+ init_batch();
2060
2173
  init_c();
2061
2174
  init_cmake();
2062
2175
  init_cobol();
@@ -2068,7 +2181,9 @@ init_cuda();
2068
2181
  init_dart();
2069
2182
  init_dockerfile();
2070
2183
  init_fsharp();
2184
+ init_git();
2071
2185
  init_go();
2186
+ init_gradle();
2072
2187
  init_graphql();
2073
2188
  init_groovy();
2074
2189
  init_html();
@@ -2113,6 +2228,7 @@ var languages = [
2113
2228
  astro,
2114
2229
  assembly,
2115
2230
  bash,
2231
+ batch,
2116
2232
  c,
2117
2233
  cmake,
2118
2234
  coffeescript,
@@ -2124,7 +2240,9 @@ var languages = [
2124
2240
  dart,
2125
2241
  dockerfile,
2126
2242
  fsharp,
2243
+ git,
2127
2244
  go,
2245
+ gradle,
2128
2246
  graphql,
2129
2247
  groovy,
2130
2248
  html,
@@ -2227,6 +2345,7 @@ var languageIndex = [
2227
2345
  slug: "bash",
2228
2346
  extensions: [".sh", ".bash", ".bashrc", ".bash_profile", ".bash_login", ".profile"]
2229
2347
  },
2348
+ { slug: "batch", extensions: [".bat", ".cmd"] },
2230
2349
  { slug: "c", extensions: [".c", ".h"] },
2231
2350
  { slug: "cmake", extensions: ["CMakeLists.txt", ".cmake"] },
2232
2351
  { slug: "coffeescript", extensions: [".coffee", ".litcoffee", ".cson"] },
@@ -2238,7 +2357,9 @@ var languageIndex = [
2238
2357
  { slug: "dart", extensions: [".dart"] },
2239
2358
  { slug: "dockerfile", extensions: ["Dockerfile", ".dockerfile"] },
2240
2359
  { slug: "fsharp", extensions: [".fs", ".fsi", ".fsx", ".fsscript"] },
2360
+ { slug: "git", extensions: [".git", ".gitignore", ".gitattributes", ".gitmodules", ".gitkeep"] },
2241
2361
  { slug: "go", extensions: [".go"] },
2362
+ { slug: "gradle", extensions: [".gradle", ".gradle.kts"] },
2242
2363
  { slug: "graphql", extensions: [".graphql", ".gql", ".graphqls"] },
2243
2364
  { slug: "groovy", extensions: [".groovy", ".gvy", ".gy", ".gsh"] },
2244
2365
  { slug: "html", extensions: [".html", ".htm"] },
@@ -2290,6 +2411,7 @@ var languageLoaders = {
2290
2411
  assembly: () => Promise.resolve().then(() => (init_assembly(), assembly_exports)).then((module) => module.assembly),
2291
2412
  astro: () => Promise.resolve().then(() => (init_astro(), astro_exports)).then((module) => module.astro),
2292
2413
  bash: () => Promise.resolve().then(() => (init_bash(), bash_exports)).then((module) => module.bash),
2414
+ batch: () => Promise.resolve().then(() => (init_batch(), batch_exports)).then((module) => module.batch),
2293
2415
  c: () => Promise.resolve().then(() => (init_c(), c_exports)).then((module) => module.c),
2294
2416
  cmake: () => Promise.resolve().then(() => (init_cmake(), cmake_exports)).then((module) => module.cmake),
2295
2417
  cobol: () => Promise.resolve().then(() => (init_cobol(), cobol_exports)).then((module) => module.cobol),
@@ -2301,7 +2423,9 @@ var languageLoaders = {
2301
2423
  dart: () => Promise.resolve().then(() => (init_dart(), dart_exports)).then((module) => module.dart),
2302
2424
  dockerfile: () => Promise.resolve().then(() => (init_dockerfile(), dockerfile_exports)).then((module) => module.dockerfile),
2303
2425
  fsharp: () => Promise.resolve().then(() => (init_fsharp(), fsharp_exports)).then((module) => module.fsharp),
2426
+ git: () => Promise.resolve().then(() => (init_git(), git_exports)).then((module) => module.git),
2304
2427
  go: () => Promise.resolve().then(() => (init_go(), go_exports)).then((module) => module.go),
2428
+ gradle: () => Promise.resolve().then(() => (init_gradle(), gradle_exports)).then((module) => module.gradle),
2305
2429
  graphql: () => Promise.resolve().then(() => (init_graphql(), graphql_exports)).then((module) => module.graphql),
2306
2430
  groovy: () => Promise.resolve().then(() => (init_groovy(), groovy_exports)).then((module) => module.groovy),
2307
2431
  html: () => Promise.resolve().then(() => (init_html(), html_exports)).then((module) => module.html),