code-languages 1.4.3 → 1.5.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.
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export { detectLanguage, detectLanguages } from './detect.js';
2
2
  export { localizeLanguage } from './i18n.js';
3
3
  export { L as Language, a as LanguageContent, b as LanguageTooling, c as LanguageTranslations, d as Locale, e as LocalizedLanguage } from './types-CZDaRR4t.js';
4
4
  export { astro } from './languages/astro.js';
5
+ export { assembly } from './languages/assembly.js';
5
6
  export { bash } from './languages/bash.js';
6
7
  export { c } from './languages/c.js';
7
8
  export { cobol } from './languages/cobol.js';
@@ -24,6 +25,7 @@ export { markdown } from './languages/markdown.js';
24
25
  export { nginx } from './languages/nginx.js';
25
26
  export { objectiveC } from './languages/objective-c.js';
26
27
  export { php } from './languages/php.js';
28
+ export { powershell } from './languages/powershell.js';
27
29
  export { python } from './languages/python.js';
28
30
  export { rust } from './languages/rust.js';
29
31
  export { scss } from './languages/scss.js';
@@ -117,6 +119,32 @@ declare const languages: readonly [{
117
119
  longDescription: string;
118
120
  };
119
121
  };
122
+ }, {
123
+ slug: string;
124
+ publishedDate: string;
125
+ extensions: string[];
126
+ author: string;
127
+ website: string;
128
+ paradigms: string[];
129
+ tooling: {
130
+ runtimes: string[];
131
+ packageManagers: string[];
132
+ ecosystems: string[];
133
+ };
134
+ version: string;
135
+ logo: string;
136
+ i18n: {
137
+ en: {
138
+ name: string;
139
+ description: string;
140
+ longDescription: string;
141
+ };
142
+ es: {
143
+ name: string;
144
+ description: string;
145
+ longDescription: string;
146
+ };
147
+ };
120
148
  }, {
121
149
  slug: string;
122
150
  publishedDate: string;
@@ -691,6 +719,32 @@ declare const languages: readonly [{
691
719
  longDescription: string;
692
720
  };
693
721
  };
722
+ }, {
723
+ slug: string;
724
+ publishedDate: string;
725
+ extensions: string[];
726
+ author: string;
727
+ website: string;
728
+ paradigms: string[];
729
+ tooling: {
730
+ runtimes: string[];
731
+ packageManagers: string[];
732
+ ecosystems: string[];
733
+ };
734
+ version: string;
735
+ logo: string;
736
+ i18n: {
737
+ en: {
738
+ name: string;
739
+ description: string;
740
+ longDescription: string;
741
+ };
742
+ es: {
743
+ name: string;
744
+ description: string;
745
+ longDescription: string;
746
+ };
747
+ };
694
748
  }, {
695
749
  slug: string;
696
750
  publishedDate: string;
package/dist/index.js CHANGED
@@ -1,3 +1,32 @@
1
+ // src/languages/assembly.ts
2
+ var assembly = {
3
+ slug: "assembly",
4
+ publishedDate: "1949-01-01",
5
+ extensions: [".asm", ".s", ".S", ".inc"],
6
+ author: "Machine architecture vendors and assembler implementers",
7
+ website: "https://en.wikipedia.org/wiki/Assembly_language",
8
+ paradigms: ["imperative", "low-level", "procedural"],
9
+ tooling: {
10
+ runtimes: ["Native"],
11
+ packageManagers: ["APT", "DNF", "Pacman", "Homebrew"],
12
+ ecosystems: ["Systems", "Embedded", "Reverse Engineering"]
13
+ },
14
+ version: "Architecture-specific",
15
+ logo: "https://cdn.simpleicons.org/assemblyscript/007AAC",
16
+ i18n: {
17
+ en: {
18
+ name: "Assembly",
19
+ description: "A family of low-level languages that map closely to machine instructions for specific CPU architectures.",
20
+ longDescription: "Assembly language represents processor instructions, registers, memory addressing modes, labels, directives, and macros using symbolic text that is assembled into machine code.\n\nIt is used in operating systems, embedded firmware, bootloaders, drivers, reverse engineering, performance-critical routines, and educational material where direct control over hardware and instructions matters."
21
+ },
22
+ es: {
23
+ name: "Assembly",
24
+ description: "Una familia de lenguajes de bajo nivel cercana a instrucciones de maquina para arquitecturas especificas.",
25
+ longDescription: "Assembly representa instrucciones del procesador, registros, modos de direccionamiento de memoria, etiquetas, directivas y macros usando texto simbolico que se ensambla en codigo maquina.\n\nSe usa en sistemas operativos, firmware embebido, bootloaders, drivers, ingenieria inversa, rutinas criticas de rendimiento y material educativo donde importa el control directo del hardware y las instrucciones."
26
+ }
27
+ }
28
+ };
29
+
1
30
  // src/languages/astro.ts
2
31
  var astro = {
3
32
  slug: "astro",
@@ -641,6 +670,35 @@ var php = {
641
670
  }
642
671
  };
643
672
 
673
+ // src/languages/powershell.ts
674
+ var powershell = {
675
+ slug: "powershell",
676
+ publishedDate: "2006-11-14",
677
+ extensions: [".ps1", ".psm1", ".psd1", ".ps1xml"],
678
+ author: "Microsoft",
679
+ website: "https://learn.microsoft.com/powershell/",
680
+ paradigms: ["command", "imperative", "object-oriented", "scripting", "shell"],
681
+ tooling: {
682
+ runtimes: ["PowerShell", "Windows PowerShell", ".NET"],
683
+ packageManagers: ["PowerShell Gallery", "PSResourceGet", "PowerShellGet"],
684
+ ecosystems: ["Windows", "Azure", "DevOps", "Automation"]
685
+ },
686
+ version: "7.6.1",
687
+ logo: "https://upload.wikimedia.org/wikipedia/commons/2/2f/PowerShell_5.0_icon.png",
688
+ i18n: {
689
+ en: {
690
+ name: "PowerShell",
691
+ description: "A cross-platform command shell and scripting language for automation and system administration.",
692
+ longDescription: "PowerShell combines a command-line shell, scripting language, object pipeline, module system, providers, remoting, and deep integration with .NET and operating system management APIs.\n\nIt is widely used for Windows administration, Azure automation, DevOps workflows, configuration management, cloud operations, and repeatable infrastructure tasks across Windows, Linux, and macOS."
693
+ },
694
+ es: {
695
+ name: "PowerShell",
696
+ description: "Un shell de comandos y lenguaje de scripting multiplataforma para automatizacion y administracion de sistemas.",
697
+ longDescription: "PowerShell combina un shell de linea de comandos, lenguaje de scripting, pipeline de objetos, sistema de modulos, proveedores, remoting e integracion profunda con .NET y APIs de administracion del sistema operativo.\n\nSe usa ampliamente para administracion de Windows, automatizacion de Azure, flujos DevOps, gestion de configuracion, operaciones cloud y tareas repetibles de infraestructura en Windows, Linux y macOS."
698
+ }
699
+ }
700
+ };
701
+
644
702
  // src/languages/python.ts
645
703
  var python = {
646
704
  slug: "python",
@@ -1005,6 +1063,7 @@ var zsh = {
1005
1063
  // src/catalog.ts
1006
1064
  var languages = [
1007
1065
  astro,
1066
+ assembly,
1008
1067
  bash,
1009
1068
  c,
1010
1069
  cobol,
@@ -1027,6 +1086,7 @@ var languages = [
1027
1086
  nginx,
1028
1087
  objectiveC,
1029
1088
  php,
1089
+ powershell,
1030
1090
  python,
1031
1091
  rust,
1032
1092
  scss,
@@ -1089,6 +1149,6 @@ var resolveLocale = (translations, locale) => {
1089
1149
  return "en";
1090
1150
  };
1091
1151
 
1092
- export { astro, bash, c, cobol, cpp, csharp, css, dart, detectLanguage, detectLanguages, dockerfile, go, graphql, groovy, html, java, javascript, json, kotlin, languages, less, localizeLanguage, makefile, markdown, nginx, objectiveC, php, python, rust, scss, sql, svg, swift, typescript, visualBasic, vue, webassembly, xml, yaml, zsh };
1152
+ export { assembly, astro, bash, c, cobol, cpp, csharp, css, dart, detectLanguage, detectLanguages, dockerfile, go, graphql, groovy, html, java, javascript, json, kotlin, languages, less, localizeLanguage, makefile, markdown, nginx, objectiveC, php, powershell, python, rust, scss, sql, svg, swift, typescript, visualBasic, vue, webassembly, xml, yaml, zsh };
1093
1153
  //# sourceMappingURL=index.js.map
1094
1154
  //# sourceMappingURL=index.js.map