mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-24 10:14:03 -05:00
tests: skip packages which depend on insecure pnpm-9.15.9
This commit is contained in:
committed by
Gaétan Lepage
parent
24538354b3
commit
23ad03985a
@@ -13,6 +13,10 @@ let
|
||||
};
|
||||
|
||||
disabledPackages = [
|
||||
# 2026-07-02 insecure dependency (pnpm-9.15.9)
|
||||
"stylelint-lsp"
|
||||
"vue-language-server"
|
||||
|
||||
# 2026-02-02 build failure
|
||||
"crystalline"
|
||||
|
||||
|
||||
@@ -37,6 +37,11 @@ let
|
||||
let
|
||||
|
||||
disabled = [
|
||||
# 2026-07-02 insecure dependency (pnpm-9.15.9)
|
||||
"stylelint_lsp"
|
||||
"volar"
|
||||
"vue_ls"
|
||||
|
||||
# 2026-02-02 build failure
|
||||
"crystalline"
|
||||
|
||||
|
||||
@@ -96,37 +96,38 @@
|
||||
};
|
||||
};
|
||||
|
||||
volar-tsls-integration =
|
||||
{ config, ... }:
|
||||
{
|
||||
plugins.lsp = {
|
||||
enable = true;
|
||||
servers = {
|
||||
volar.enable = true;
|
||||
ts_ls = {
|
||||
enable = true;
|
||||
filetypes = [ "typescript" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
assertions = [
|
||||
{
|
||||
assertion = lib.any (x: x == "vue") config.plugins.lsp.servers.ts_ls.filetypes;
|
||||
message = "Expected `vue` filetype configuration.";
|
||||
}
|
||||
{
|
||||
assertion = lib.any (
|
||||
x: x.name == "@vue/typescript-plugin"
|
||||
) config.plugins.lsp.servers.ts_ls.extraOptions.init_options.plugins;
|
||||
message = "Expected `@vue/typescript-plugin` plugin.";
|
||||
}
|
||||
{
|
||||
assertion = lib.any (x: x == "typescript") config.plugins.lsp.servers.ts_ls.filetypes;
|
||||
message = "Expected `typescript` filetype configuration.";
|
||||
}
|
||||
];
|
||||
};
|
||||
# TODO: Test disabled on 2026-07-02 because the volar LS depends on insecure pnpm-9.15.9
|
||||
# volar-tsls-integration =
|
||||
# { config, ... }:
|
||||
# {
|
||||
# plugins.lsp = {
|
||||
# enable = true;
|
||||
# servers = {
|
||||
# volar.enable = true;
|
||||
# ts_ls = {
|
||||
# enable = true;
|
||||
# filetypes = [ "typescript" ];
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
#
|
||||
# assertions = [
|
||||
# {
|
||||
# assertion = lib.any (x: x == "vue") config.plugins.lsp.servers.ts_ls.filetypes;
|
||||
# message = "Expected `vue` filetype configuration.";
|
||||
# }
|
||||
# {
|
||||
# assertion = lib.any (
|
||||
# x: x.name == "@vue/typescript-plugin"
|
||||
# ) config.plugins.lsp.servers.ts_ls.extraOptions.init_options.plugins;
|
||||
# message = "Expected `@vue/typescript-plugin` plugin.";
|
||||
# }
|
||||
# {
|
||||
# assertion = lib.any (x: x == "typescript") config.plugins.lsp.servers.ts_ls.filetypes;
|
||||
# message = "Expected `typescript` filetype configuration.";
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
|
||||
tsls-filetypes =
|
||||
{ config, ... }:
|
||||
|
||||
Reference in New Issue
Block a user