massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-tsserver / package.json
index 8266066312ada593a8295e20571a2763c8bd8578..b09a907608b4c28610cc99e8e0b55f28f582a972 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "coc-tsserver",
-  "version": "1.6.8",
+  "version": "1.8.6",
   "description": "tsserver extension for coc.nvim",
   "main": "lib/index.js",
   "publisher": "chemzqm",
@@ -17,7 +17,7 @@
     "typescript"
   ],
   "scripts": {
-    "build": "node esbuild.js"
+    "prepare": "node esbuild.js"
   },
   "activationEvents": [
     "onLanguage:javascript",
         "category": "TSServer",
         "command": "tsserver.restart"
       },
+      {
+        "title": "Find File References",
+        "category": "TSServer",
+        "command": "tsserver.findAllFileReferences"
+      },
       {
         "title": "Run `tsc --watch` for current project by use vim's job feature.",
         "category": "TSServer",
           "default": true,
           "description": "Enable tsserver extension"
         },
+        "tsserver.tsconfigPath": {
+          "type": "string",
+          "default": "tsconfig.json",
+          "description": "Path to tsconfig file for the `tsserver.watchBuild` command. Defaults to `tsconfig.json`."
+        },
         "tsserver.locale": {
           "type": [
             "string",
           "default": true,
           "description": "Show unused variable hint."
         },
+        "typescript.showDeprecated": {
+          "type": "boolean",
+          "default": true,
+          "description": "Show deprecated variable hint."
+        },
         "typescript.updateImportsOnFileMove.enable": {
           "type": "boolean",
           "default": true,
         },
         "typescript.preferences.importModuleSpecifier": {
           "type": "string",
-          "default": "auto",
+          "default": "shortest",
           "description": "Preferred path style for auto imports.",
+          "enumDescriptions": [
+            "Prefers a non-relative import only if one is available that has fewer path segments than a relative import",
+            "Prefers a relative path to the imported file location",
+            "Prefers a non-relative import based on the `baseUrl` or `paths` configured in your `jsconfig.json` / `tsconfig.json`.",
+            "Prefers a non-relative import only if the relative import path would leave the package or project directory. Requires using TypeScript 4.2+ in the workspace."
+          ],
           "enum": [
-            "non-relative",
+            "shortest",
             "relative",
-            "auto"
+            "non-relative",
+            "project-relative"
           ]
         },
         "typescript.preferences.importModuleSpecifierEnding": {
           "default": true,
           "description": "Enable/disable suggest paths in import statement and require calls"
         },
+        "typescript.suggest.importStatements": {
+          "type": "boolean",
+          "default": true
+        },
         "typescript.suggest.autoImports": {
           "type": "boolean",
           "default": true,
           "default": true,
           "description": "Enable snippet for method suggestion"
         },
+        "typescript.suggest.includeCompletionsForImportStatements": {
+          "type": "boolean",
+          "default": true,
+          "description": "Enable/disable auto-import-style completions on partially-typed import statements. Requires using TypeScript 4.3+ in the workspace.",
+          "scope": "resource"
+        },
+        "typescript.suggest.includeCompletionsWithSnippetText": {
+          "type": "boolean",
+          "default": true,
+          "description": "Enable/disable snippet completions from TS Server. Requires using TypeScript 4.3+ in the workspace.",
+          "scope": "resource"
+        },
         "typescript.format.enabled": {
           "type": "boolean",
           "default": true,
           "default": "allOpenProjects",
           "scope": "window"
         },
+        "typescript.autoClosingTags": {
+          "type": "boolean",
+          "default": false
+        },
         "javascript.showUnused": {
           "type": "boolean",
           "default": true,
           "description": "Show unused variable hint."
         },
+        "javascript.showDeprecated": {
+          "type": "boolean",
+          "default": true,
+          "description": "Show deprecated variable hint."
+        },
         "javascript.updateImportsOnFileMove.enable": {
           "type": "boolean",
           "default": true
         },
         "javascript.preferences.importModuleSpecifier": {
           "type": "string",
-          "default": "auto",
+          "default": "shortest",
           "description": "Preferred path style for auto imports.",
+          "enumDescriptions": [
+            "Prefers a non-relative import only if one is available that has fewer path segments than a relative import",
+            "Prefers a relative path to the imported file location",
+            "Prefers a non-relative import based on the `baseUrl` or `paths` configured in your `jsconfig.json` / `tsconfig.json`.",
+            "Prefers a non-relative import only if the relative import path would leave the package or project directory. Requires using TypeScript 4.2+ in the workspace."
+          ],
           "enum": [
-            "auto",
+            "shortest",
+            "relative",
             "non-relative",
-            "relative"
+            "project-relative"
           ]
         },
         "javascript.preferences.importModuleSpecifierEnding": {
           "default": true,
           "description": "Enable snippet for method suggestion"
         },
+        "javascript.suggest.includeCompletionsForImportStatements": {
+          "type": "boolean",
+          "default": true,
+          "description": "Enable/disable auto-import-style completions on partially-typed import statements. Requires using TypeScript 4.3+ in the workspace.",
+          "scope": "resource"
+        },
         "javascript.format.enabled": {
           "type": "boolean",
           "default": true,
           "description": "%configuration.suggest.includeAutomaticOptionalChainCompletions%",
           "scope": "resource"
         },
+        "javascript.autoClosingTags": {
+          "type": "boolean",
+          "default": false
+        },
         "javascript.format.semicolons": {
           "type": "string",
           "default": "ignore",
   "license": "MIT",
   "devDependencies": {
     "@types/node": "^10.12.0",
-    "coc.nvim": "^0.0.80",
+    "coc.nvim": "^0.0.81-next.6",
     "esbuild": "^0.8.29",
     "semver": "^7.3.2",
-    "vscode-languageserver-protocol": "^3.15.3",
+    "vscode-languageserver-protocol": "^3.16.0",
     "which": "^2.0.2"
   },
   "dependencies": {
-    "typescript": "^4.1.3"
+    "typescript": "^4.3.5"
   }
 }