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/README.md +11 -1
- package/dist/detect.cjs +60 -0
- package/dist/detect.cjs.map +1 -1
- package/dist/detect.js +60 -0
- package/dist/detect.js.map +1 -1
- package/dist/index.cjs +62 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +54 -0
- package/dist/index.d.ts +54 -0
- package/dist/index.js +61 -1
- package/dist/index.js.map +1 -1
- package/dist/languages/assembly.cjs +34 -0
- package/dist/languages/assembly.cjs.map +1 -0
- package/dist/languages/assembly.d.cts +29 -0
- package/dist/languages/assembly.d.ts +29 -0
- package/dist/languages/assembly.js +32 -0
- package/dist/languages/assembly.js.map +1 -0
- package/dist/languages/powershell.cjs +34 -0
- package/dist/languages/powershell.cjs.map +1 -0
- package/dist/languages/powershell.d.cts +29 -0
- package/dist/languages/powershell.d.ts +29 -0
- package/dist/languages/powershell.js +32 -0
- package/dist/languages/powershell.js.map +1 -0
- package/package.json +11 -1
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
// src/languages/assembly.ts
|
|
4
|
+
var assembly = {
|
|
5
|
+
slug: "assembly",
|
|
6
|
+
publishedDate: "1949-01-01",
|
|
7
|
+
extensions: [".asm", ".s", ".S", ".inc"],
|
|
8
|
+
author: "Machine architecture vendors and assembler implementers",
|
|
9
|
+
website: "https://en.wikipedia.org/wiki/Assembly_language",
|
|
10
|
+
paradigms: ["imperative", "low-level", "procedural"],
|
|
11
|
+
tooling: {
|
|
12
|
+
runtimes: ["Native"],
|
|
13
|
+
packageManagers: ["APT", "DNF", "Pacman", "Homebrew"],
|
|
14
|
+
ecosystems: ["Systems", "Embedded", "Reverse Engineering"]
|
|
15
|
+
},
|
|
16
|
+
version: "Architecture-specific",
|
|
17
|
+
logo: "https://cdn.simpleicons.org/assemblyscript/007AAC",
|
|
18
|
+
i18n: {
|
|
19
|
+
en: {
|
|
20
|
+
name: "Assembly",
|
|
21
|
+
description: "A family of low-level languages that map closely to machine instructions for specific CPU architectures.",
|
|
22
|
+
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."
|
|
23
|
+
},
|
|
24
|
+
es: {
|
|
25
|
+
name: "Assembly",
|
|
26
|
+
description: "Una familia de lenguajes de bajo nivel cercana a instrucciones de maquina para arquitecturas especificas.",
|
|
27
|
+
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."
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
|
|
3
32
|
// src/languages/astro.ts
|
|
4
33
|
var astro = {
|
|
5
34
|
slug: "astro",
|
|
@@ -643,6 +672,35 @@ var php = {
|
|
|
643
672
|
}
|
|
644
673
|
};
|
|
645
674
|
|
|
675
|
+
// src/languages/powershell.ts
|
|
676
|
+
var powershell = {
|
|
677
|
+
slug: "powershell",
|
|
678
|
+
publishedDate: "2006-11-14",
|
|
679
|
+
extensions: [".ps1", ".psm1", ".psd1", ".ps1xml"],
|
|
680
|
+
author: "Microsoft",
|
|
681
|
+
website: "https://learn.microsoft.com/powershell/",
|
|
682
|
+
paradigms: ["command", "imperative", "object-oriented", "scripting", "shell"],
|
|
683
|
+
tooling: {
|
|
684
|
+
runtimes: ["PowerShell", "Windows PowerShell", ".NET"],
|
|
685
|
+
packageManagers: ["PowerShell Gallery", "PSResourceGet", "PowerShellGet"],
|
|
686
|
+
ecosystems: ["Windows", "Azure", "DevOps", "Automation"]
|
|
687
|
+
},
|
|
688
|
+
version: "7.6.1",
|
|
689
|
+
logo: "https://upload.wikimedia.org/wikipedia/commons/2/2f/PowerShell_5.0_icon.png",
|
|
690
|
+
i18n: {
|
|
691
|
+
en: {
|
|
692
|
+
name: "PowerShell",
|
|
693
|
+
description: "A cross-platform command shell and scripting language for automation and system administration.",
|
|
694
|
+
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."
|
|
695
|
+
},
|
|
696
|
+
es: {
|
|
697
|
+
name: "PowerShell",
|
|
698
|
+
description: "Un shell de comandos y lenguaje de scripting multiplataforma para automatizacion y administracion de sistemas.",
|
|
699
|
+
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."
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
};
|
|
703
|
+
|
|
646
704
|
// src/languages/python.ts
|
|
647
705
|
var python = {
|
|
648
706
|
slug: "python",
|
|
@@ -1007,6 +1065,7 @@ var zsh = {
|
|
|
1007
1065
|
// src/catalog.ts
|
|
1008
1066
|
var languages = [
|
|
1009
1067
|
astro,
|
|
1068
|
+
assembly,
|
|
1010
1069
|
bash,
|
|
1011
1070
|
c,
|
|
1012
1071
|
cobol,
|
|
@@ -1029,6 +1088,7 @@ var languages = [
|
|
|
1029
1088
|
nginx,
|
|
1030
1089
|
objectiveC,
|
|
1031
1090
|
php,
|
|
1091
|
+
powershell,
|
|
1032
1092
|
python,
|
|
1033
1093
|
rust,
|
|
1034
1094
|
scss,
|
|
@@ -1091,6 +1151,7 @@ var resolveLocale = (translations, locale) => {
|
|
|
1091
1151
|
return "en";
|
|
1092
1152
|
};
|
|
1093
1153
|
|
|
1154
|
+
exports.assembly = assembly;
|
|
1094
1155
|
exports.astro = astro;
|
|
1095
1156
|
exports.bash = bash;
|
|
1096
1157
|
exports.c = c;
|
|
@@ -1118,6 +1179,7 @@ exports.markdown = markdown;
|
|
|
1118
1179
|
exports.nginx = nginx;
|
|
1119
1180
|
exports.objectiveC = objectiveC;
|
|
1120
1181
|
exports.php = php;
|
|
1182
|
+
exports.powershell = powershell;
|
|
1121
1183
|
exports.python = python;
|
|
1122
1184
|
exports.rust = rust;
|
|
1123
1185
|
exports.scss = scss;
|