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