code-languages 1.12.4 → 1.13.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.cjs CHANGED
@@ -1062,6 +1062,44 @@ var init_groovy = __esm({
1062
1062
  }
1063
1063
  });
1064
1064
 
1065
+ // src/languages/hcl.ts
1066
+ var hcl_exports = {};
1067
+ __export(hcl_exports, {
1068
+ hcl: () => exports.hcl
1069
+ });
1070
+ exports.hcl = void 0;
1071
+ var init_hcl = __esm({
1072
+ "src/languages/hcl.ts"() {
1073
+ exports.hcl = {
1074
+ slug: "hcl",
1075
+ publishedDate: "2014-01-01",
1076
+ extensions: [".hcl", ".tf", ".tfvars", ".pkr.hcl", ".nomad"],
1077
+ author: "HashiCorp",
1078
+ website: "https://github.com/hashicorp/hcl",
1079
+ paradigms: ["declarative", "configuration", "data-serialization"],
1080
+ tooling: {
1081
+ runtimes: ["Terraform", "Packer", "Nomad", "Vault", "Consul"],
1082
+ packageManagers: ["Terraform Registry"],
1083
+ ecosystems: ["Infrastructure as Code", "DevOps", "Cloud", "HashiCorp"]
1084
+ },
1085
+ version: "2.24.0",
1086
+ logo: "https://cdn.simpleicons.org/hashicorp/844FBA",
1087
+ i18n: {
1088
+ en: {
1089
+ name: "HCL",
1090
+ description: "HashiCorp Configuration Language for human-readable infrastructure and application configuration.",
1091
+ longDescription: "HCL is HashiCorp Configuration Language, a structured configuration language designed to be readable by humans while remaining easy for tools to parse. It supports blocks, attributes, expressions, variables, functions, object values, and references used to describe infrastructure and application settings.\n\nIt is best known through Terraform, but it is also used across HashiCorp tools such as Packer, Nomad, Vault, and Consul. HCL files commonly define cloud resources, modules, providers, jobs, policies, templates, and environment-specific variables."
1092
+ },
1093
+ es: {
1094
+ name: "HCL",
1095
+ description: "El lenguaje de configuracion de HashiCorp para infraestructura y configuracion legible por humanos.",
1096
+ longDescription: "HCL es HashiCorp Configuration Language, un lenguaje de configuracion estructurado disenado para ser legible por humanos y facil de analizar por herramientas. Soporta bloques, atributos, expresiones, variables, funciones, valores de objeto y referencias usadas para describir infraestructura y configuracion de aplicaciones.\n\nEs conocido principalmente por Terraform, pero tambien se usa en herramientas de HashiCorp como Packer, Nomad, Vault y Consul. Los archivos HCL suelen definir recursos cloud, modulos, providers, jobs, politicas, templates y variables especificas por entorno."
1097
+ }
1098
+ }
1099
+ };
1100
+ }
1101
+ });
1102
+
1065
1103
  // src/languages/html.ts
1066
1104
  var html_exports = {};
1067
1105
  __export(html_exports, {
@@ -1992,6 +2030,44 @@ var init_r = __esm({
1992
2030
  }
1993
2031
  });
1994
2032
 
2033
+ // src/languages/razor.ts
2034
+ var razor_exports = {};
2035
+ __export(razor_exports, {
2036
+ razor: () => exports.razor
2037
+ });
2038
+ exports.razor = void 0;
2039
+ var init_razor = __esm({
2040
+ "src/languages/razor.ts"() {
2041
+ exports.razor = {
2042
+ slug: "razor",
2043
+ publishedDate: "2010-07-01",
2044
+ extensions: [".cshtml", ".razor"],
2045
+ author: "Microsoft",
2046
+ website: "https://learn.microsoft.com/en-us/aspnet/core/mvc/views/razor",
2047
+ paradigms: ["templating", "component-based", "server-side", "declarative"],
2048
+ tooling: {
2049
+ runtimes: ["ASP.NET Core", ".NET", "Blazor"],
2050
+ packageManagers: ["NuGet"],
2051
+ ecosystems: [".NET", "ASP.NET Core", "Web", "Blazor"]
2052
+ },
2053
+ version: "10.0.8",
2054
+ logo: "https://cdn.simpleicons.org/dotnet/512BD4",
2055
+ i18n: {
2056
+ en: {
2057
+ name: "Razor",
2058
+ description: "Microsoft's markup syntax for ASP.NET Core views, Razor Pages, and Blazor components.",
2059
+ longDescription: "Razor is a markup syntax and templating language used by ASP.NET Core to combine HTML with C# expressions, directives, layouts, tag helpers, components, and server-side or interactive rendering logic.\n\nIt is used in MVC views, Razor Pages, Razor Class Libraries, and Blazor components. Razor files commonly define page templates, reusable UI components, forms, layouts, routing, component parameters, and bindings within .NET web applications."
2060
+ },
2061
+ es: {
2062
+ name: "Razor",
2063
+ description: "La sintaxis de marcado de Microsoft para vistas ASP.NET Core, Razor Pages y componentes Blazor.",
2064
+ longDescription: "Razor es una sintaxis de marcado y lenguaje de templates usado por ASP.NET Core para combinar HTML con expresiones C#, directivas, layouts, tag helpers, componentes y logica de renderizado server-side o interactiva.\n\nSe usa en vistas MVC, Razor Pages, Razor Class Libraries y componentes Blazor. Los archivos Razor suelen definir templates de paginas, componentes UI reutilizables, formularios, layouts, routing, parametros de componentes y bindings dentro de aplicaciones web .NET."
2065
+ }
2066
+ }
2067
+ };
2068
+ }
2069
+ });
2070
+
1995
2071
  // src/languages/ruby.ts
1996
2072
  var ruby_exports = {};
1997
2073
  __export(ruby_exports, {
@@ -2144,6 +2220,44 @@ var init_scss = __esm({
2144
2220
  }
2145
2221
  });
2146
2222
 
2223
+ // src/languages/solidity.ts
2224
+ var solidity_exports = {};
2225
+ __export(solidity_exports, {
2226
+ solidity: () => exports.solidity
2227
+ });
2228
+ exports.solidity = void 0;
2229
+ var init_solidity = __esm({
2230
+ "src/languages/solidity.ts"() {
2231
+ exports.solidity = {
2232
+ slug: "solidity",
2233
+ publishedDate: "2015-07-30",
2234
+ extensions: [".sol"],
2235
+ author: "Gavin Wood / Ethereum Foundation / Solidity Team",
2236
+ website: "https://soliditylang.org",
2237
+ paradigms: ["contract-oriented", "object-oriented", "statically-typed", "imperative"],
2238
+ tooling: {
2239
+ runtimes: ["Ethereum Virtual Machine", "EVM-compatible chains"],
2240
+ packageManagers: ["npm", "Foundry", "Hardhat"],
2241
+ ecosystems: ["Ethereum", "Web3", "Smart Contracts", "Blockchain"]
2242
+ },
2243
+ version: "0.8.35",
2244
+ logo: "https://cdn.simpleicons.org/solidity/363636",
2245
+ i18n: {
2246
+ en: {
2247
+ name: "Solidity",
2248
+ description: "A statically typed smart contract language for Ethereum and EVM-compatible blockchains.",
2249
+ longDescription: "Solidity is a statically typed, contract-oriented programming language designed for writing smart contracts that run on the Ethereum Virtual Machine and compatible blockchain networks. It supports contracts, libraries, interfaces, inheritance, modifiers, events, custom errors, ABI encoding, and explicit visibility and mutability rules.\n\nIt is used to build decentralized applications, token contracts, DAOs, DeFi protocols, NFT contracts, governance systems, and other on-chain programs where deterministic execution and verifiable state transitions are required."
2250
+ },
2251
+ es: {
2252
+ name: "Solidity",
2253
+ description: "Un lenguaje tipado estaticamente para smart contracts en Ethereum y blockchains compatibles con EVM.",
2254
+ longDescription: "Solidity es un lenguaje de programacion tipado estaticamente y orientado a contratos, disenado para escribir smart contracts que se ejecutan en Ethereum Virtual Machine y redes blockchain compatibles. Soporta contratos, bibliotecas, interfaces, herencia, modificadores, eventos, errores personalizados, codificacion ABI y reglas explicitas de visibilidad y mutabilidad.\n\nSe usa para construir aplicaciones descentralizadas, contratos de tokens, DAOs, protocolos DeFi, contratos NFT, sistemas de gobernanza y otros programas on-chain donde se requiere ejecucion determinista y transiciones de estado verificables."
2255
+ }
2256
+ }
2257
+ };
2258
+ }
2259
+ });
2260
+
2147
2261
  // src/languages/sql.ts
2148
2262
  var sql_exports = {};
2149
2263
  __export(sql_exports, {
@@ -2720,6 +2834,7 @@ init_go();
2720
2834
  init_gradle();
2721
2835
  init_graphql();
2722
2836
  init_groovy();
2837
+ init_hcl();
2723
2838
  init_html();
2724
2839
  init_ini();
2725
2840
  init_java();
@@ -2745,10 +2860,12 @@ init_powershell();
2745
2860
  init_pug();
2746
2861
  init_python();
2747
2862
  init_r();
2863
+ init_razor();
2748
2864
  init_ruby();
2749
2865
  init_rust();
2750
2866
  init_scala();
2751
2867
  init_scss();
2868
+ init_solidity();
2752
2869
  init_sql();
2753
2870
  init_svelte();
2754
2871
  init_svg();
@@ -2793,6 +2910,7 @@ var languages = [
2793
2910
  exports.glsl,
2794
2911
  exports.graphql,
2795
2912
  exports.groovy,
2913
+ exports.hcl,
2796
2914
  exports.html,
2797
2915
  exports.ini,
2798
2916
  exports.java,
@@ -2819,10 +2937,12 @@ var languages = [
2819
2937
  exports.pug,
2820
2938
  exports.python,
2821
2939
  exports.r,
2940
+ exports.razor,
2822
2941
  exports.ruby,
2823
2942
  exports.rust,
2824
2943
  exports.scala,
2825
2944
  exports.scss,
2945
+ exports.solidity,
2826
2946
  exports.sql,
2827
2947
  exports.svg,
2828
2948
  exports.svelte,
@@ -2933,6 +3053,7 @@ var languageIndex = [
2933
3053
  },
2934
3054
  { slug: "graphql", extensions: [".graphql", ".gql", ".graphqls"] },
2935
3055
  { slug: "groovy", extensions: [".groovy", ".gvy", ".gy", ".gsh"] },
3056
+ { slug: "hcl", extensions: [".hcl", ".tf", ".tfvars", ".pkr.hcl", ".nomad"] },
2936
3057
  { slug: "html", extensions: [".html", ".htm"] },
2937
3058
  { slug: "ini", extensions: [".ini"] },
2938
3059
  { slug: "java", extensions: [".java"] },
@@ -2959,6 +3080,7 @@ var languageIndex = [
2959
3080
  { slug: "pug", extensions: [".pug", ".jade"] },
2960
3081
  { slug: "python", extensions: [".py", ".pyw"] },
2961
3082
  { slug: "r", extensions: [".r", ".R", ".rmd", ".Rmd", ".qmd", ".Rprofile"] },
3083
+ { slug: "razor", extensions: [".cshtml", ".razor"] },
2962
3084
  {
2963
3085
  slug: "ruby",
2964
3086
  extensions: [".rb", ".rbw", ".rake", ".gemspec", "Gemfile", "Rakefile", "config.ru"]
@@ -2966,6 +3088,7 @@ var languageIndex = [
2966
3088
  { slug: "rust", extensions: [".rs"] },
2967
3089
  { slug: "scala", extensions: [".scala", ".sc"] },
2968
3090
  { slug: "scss", extensions: [".scss", ".sass"] },
3091
+ { slug: "solidity", extensions: [".sol"] },
2969
3092
  { slug: "sql", extensions: [".sql"] },
2970
3093
  { slug: "svg", extensions: [".svg", ".svgz"] },
2971
3094
  { slug: "svelte", extensions: [".svelte"] },
@@ -3013,6 +3136,7 @@ var languageLoaders = {
3013
3136
  glsl: () => Promise.resolve().then(() => (init_glsl(), glsl_exports)).then((module) => module.glsl),
3014
3137
  graphql: () => Promise.resolve().then(() => (init_graphql(), graphql_exports)).then((module) => module.graphql),
3015
3138
  groovy: () => Promise.resolve().then(() => (init_groovy(), groovy_exports)).then((module) => module.groovy),
3139
+ hcl: () => Promise.resolve().then(() => (init_hcl(), hcl_exports)).then((module) => module.hcl),
3016
3140
  html: () => Promise.resolve().then(() => (init_html(), html_exports)).then((module) => module.html),
3017
3141
  ini: () => Promise.resolve().then(() => (init_ini(), ini_exports)).then((module) => module.ini),
3018
3142
  java: () => Promise.resolve().then(() => (init_java(), java_exports)).then((module) => module.java),
@@ -3039,10 +3163,12 @@ var languageLoaders = {
3039
3163
  pug: () => Promise.resolve().then(() => (init_pug(), pug_exports)).then((module) => module.pug),
3040
3164
  python: () => Promise.resolve().then(() => (init_python(), python_exports)).then((module) => module.python),
3041
3165
  r: () => Promise.resolve().then(() => (init_r(), r_exports)).then((module) => module.r),
3166
+ razor: () => Promise.resolve().then(() => (init_razor(), razor_exports)).then((module) => module.razor),
3042
3167
  ruby: () => Promise.resolve().then(() => (init_ruby(), ruby_exports)).then((module) => module.ruby),
3043
3168
  rust: () => Promise.resolve().then(() => (init_rust(), rust_exports)).then((module) => module.rust),
3044
3169
  scala: () => Promise.resolve().then(() => (init_scala(), scala_exports)).then((module) => module.scala),
3045
3170
  scss: () => Promise.resolve().then(() => (init_scss(), scss_exports)).then((module) => module.scss),
3171
+ solidity: () => Promise.resolve().then(() => (init_solidity(), solidity_exports)).then((module) => module.solidity),
3046
3172
  sql: () => Promise.resolve().then(() => (init_sql(), sql_exports)).then((module) => module.sql),
3047
3173
  svelte: () => Promise.resolve().then(() => (init_svelte(), svelte_exports)).then((module) => module.svelte),
3048
3174
  svg: () => Promise.resolve().then(() => (init_svg(), svg_exports)).then((module) => module.svg),
@@ -3182,6 +3308,7 @@ init_gradle();
3182
3308
  init_glsl();
3183
3309
  init_graphql();
3184
3310
  init_groovy();
3311
+ init_hcl();
3185
3312
  init_html();
3186
3313
  init_ini();
3187
3314
  init_java();
@@ -3207,10 +3334,12 @@ init_powershell();
3207
3334
  init_pug();
3208
3335
  init_python();
3209
3336
  init_r();
3337
+ init_razor();
3210
3338
  init_ruby();
3211
3339
  init_rust();
3212
3340
  init_scala();
3213
3341
  init_scss();
3342
+ init_solidity();
3214
3343
  init_sql();
3215
3344
  init_svg();
3216
3345
  init_svn();