code-languages 1.8.0 → 1.9.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 +10 -1
- package/dist/api.cjs +124 -0
- package/dist/api.cjs.map +1 -1
- package/dist/api.d.cts +79 -0
- package/dist/api.d.ts +79 -0
- package/dist/api.js +124 -0
- package/dist/api.js.map +1 -1
- package/dist/detect.cjs +88 -0
- package/dist/detect.cjs.map +1 -1
- package/dist/detect.js +88 -0
- package/dist/detect.js.map +1 -1
- package/dist/index.cjs +127 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +79 -0
- package/dist/index.d.ts +79 -0
- package/dist/index.js +128 -1
- package/dist/index.js.map +1 -1
- package/dist/languages/batch.cjs +33 -0
- package/dist/languages/batch.cjs.map +1 -0
- package/dist/languages/batch.d.cts +28 -0
- package/dist/languages/batch.d.ts +28 -0
- package/dist/languages/batch.js +31 -0
- package/dist/languages/batch.js.map +1 -0
- package/dist/languages/git.cjs +33 -0
- package/dist/languages/git.cjs.map +1 -0
- package/dist/languages/git.d.cts +28 -0
- package/dist/languages/git.d.ts +28 -0
- package/dist/languages/git.js +31 -0
- package/dist/languages/git.js.map +1 -0
- package/dist/languages/gradle.cjs +34 -0
- package/dist/languages/gradle.cjs.map +1 -0
- package/dist/languages/gradle.d.cts +29 -0
- package/dist/languages/gradle.d.ts +29 -0
- package/dist/languages/gradle.js +32 -0
- package/dist/languages/gradle.js.map +1 -0
- package/package.json +16 -1
package/dist/detect.cjs
CHANGED
|
@@ -144,6 +144,34 @@ var bash = {
|
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
146
|
|
|
147
|
+
// src/languages/batch.ts
|
|
148
|
+
var batch = {
|
|
149
|
+
slug: "batch",
|
|
150
|
+
publishedDate: "1981-08-12",
|
|
151
|
+
extensions: [".bat", ".cmd"],
|
|
152
|
+
author: "Microsoft / IBM",
|
|
153
|
+
website: "https://learn.microsoft.com/windows-server/administration/windows-commands/windows-commands",
|
|
154
|
+
paradigms: ["command", "imperative", "scripting", "shell"],
|
|
155
|
+
tooling: {
|
|
156
|
+
runtimes: ["Command Prompt", "cmd.exe", "MS-DOS"],
|
|
157
|
+
ecosystems: ["Windows", "DOS", "Automation"]
|
|
158
|
+
},
|
|
159
|
+
version: "Windows Command Processor",
|
|
160
|
+
logo: "https://icons.iconarchive.com/icons/simpleicons-team/simple/128/windowsterminal-icon.png",
|
|
161
|
+
i18n: {
|
|
162
|
+
en: {
|
|
163
|
+
name: "Batch",
|
|
164
|
+
description: "A Windows command scripting format used to automate command-line tasks with cmd.exe.",
|
|
165
|
+
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."
|
|
166
|
+
},
|
|
167
|
+
es: {
|
|
168
|
+
name: "Batch",
|
|
169
|
+
description: "Un formato de scripting de comandos de Windows usado para automatizar tareas con cmd.exe.",
|
|
170
|
+
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."
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
|
|
147
175
|
// src/languages/c.ts
|
|
148
176
|
var c = {
|
|
149
177
|
slug: "c",
|
|
@@ -455,6 +483,34 @@ var fsharp = {
|
|
|
455
483
|
}
|
|
456
484
|
};
|
|
457
485
|
|
|
486
|
+
// src/languages/git.ts
|
|
487
|
+
var git = {
|
|
488
|
+
slug: "git",
|
|
489
|
+
publishedDate: "2005-04-07",
|
|
490
|
+
extensions: [".git", ".gitignore", ".gitattributes", ".gitmodules", ".gitkeep"],
|
|
491
|
+
author: "Linus Torvalds / Junio C Hamano",
|
|
492
|
+
website: "https://git-scm.com",
|
|
493
|
+
paradigms: ["configuration", "version-control", "ignore-patterns"],
|
|
494
|
+
tooling: {
|
|
495
|
+
runtimes: ["Git"],
|
|
496
|
+
ecosystems: ["Version Control", "DevOps", "Source Control"]
|
|
497
|
+
},
|
|
498
|
+
version: "2.54.0",
|
|
499
|
+
logo: "https://cdn.simpleicons.org/git/F05032",
|
|
500
|
+
i18n: {
|
|
501
|
+
en: {
|
|
502
|
+
name: "Git",
|
|
503
|
+
description: "Metadata and configuration files used by Git repositories and version-control workflows.",
|
|
504
|
+
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."
|
|
505
|
+
},
|
|
506
|
+
es: {
|
|
507
|
+
name: "Git",
|
|
508
|
+
description: "Archivos de metadata y configuracion usados por repositorios Git y flujos de control de versiones.",
|
|
509
|
+
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."
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
};
|
|
513
|
+
|
|
458
514
|
// src/languages/go.ts
|
|
459
515
|
var go = {
|
|
460
516
|
slug: "go",
|
|
@@ -484,6 +540,35 @@ var go = {
|
|
|
484
540
|
}
|
|
485
541
|
};
|
|
486
542
|
|
|
543
|
+
// src/languages/gradle.ts
|
|
544
|
+
var gradle = {
|
|
545
|
+
slug: "gradle",
|
|
546
|
+
publishedDate: "2007-07-01",
|
|
547
|
+
extensions: [".gradle", ".gradle.kts"],
|
|
548
|
+
author: "Hans Dockter / Gradle Inc.",
|
|
549
|
+
website: "https://gradle.org",
|
|
550
|
+
paradigms: ["build-automation", "declarative", "imperative", "configuration"],
|
|
551
|
+
tooling: {
|
|
552
|
+
runtimes: ["JVM", "Gradle"],
|
|
553
|
+
packageManagers: ["Gradle"],
|
|
554
|
+
ecosystems: ["JVM", "Android", "Java", "Kotlin", "Groovy"]
|
|
555
|
+
},
|
|
556
|
+
version: "9.5.0",
|
|
557
|
+
logo: "https://cdn.simpleicons.org/gradle/02303A",
|
|
558
|
+
i18n: {
|
|
559
|
+
en: {
|
|
560
|
+
name: "Gradle",
|
|
561
|
+
description: "A build automation DSL and tool used to define, configure, and run software builds.",
|
|
562
|
+
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."
|
|
563
|
+
},
|
|
564
|
+
es: {
|
|
565
|
+
name: "Gradle",
|
|
566
|
+
description: "Un DSL y herramienta de automatizacion de builds usado para definir, configurar y ejecutar builds.",
|
|
567
|
+
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."
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
};
|
|
571
|
+
|
|
487
572
|
// src/languages/graphql.ts
|
|
488
573
|
var graphql = {
|
|
489
574
|
slug: "graphql",
|
|
@@ -1555,6 +1640,7 @@ var languages = [
|
|
|
1555
1640
|
astro,
|
|
1556
1641
|
assembly,
|
|
1557
1642
|
bash,
|
|
1643
|
+
batch,
|
|
1558
1644
|
c,
|
|
1559
1645
|
cmake,
|
|
1560
1646
|
coffeescript,
|
|
@@ -1566,7 +1652,9 @@ var languages = [
|
|
|
1566
1652
|
dart,
|
|
1567
1653
|
dockerfile,
|
|
1568
1654
|
fsharp,
|
|
1655
|
+
git,
|
|
1569
1656
|
go,
|
|
1657
|
+
gradle,
|
|
1570
1658
|
graphql,
|
|
1571
1659
|
groovy,
|
|
1572
1660
|
html,
|