Skip to content
Permalink
Browse files

chore(update): upgrade package version and remove unused package

  • Loading branch information...
marlonfan committed May 22, 2019
1 parent 71b9858 commit 69b71a9617a4fee53eb42105a84d2a06c0ee7683
Showing with 56 additions and 35 deletions.
  1. +1 −0 .gitignore
  2. +12 −0 Readme.md
  3. +5 −6 package.json
  4. +2 −7 src/index.ts
  5. +3 −1 tslint.json
  6. +33 −21 yarn.lock
@@ -1,2 +1,3 @@
lib
.vscode
node_modules
@@ -18,6 +18,18 @@ Language server features provided by [intelephense-docs](https://github.com/bmew

* `phpls.enable` set to `false` to disable php language server.

## Development

* Run yarn build or yarn build:watch
* Link extension

```bash
cd ~/github/coc-phpls && yarn link
cd ~/.config/coc/extensions && yarn link coc-phpls
```

* Add "coc-phpls": "*" to dependencies in ~/.config/coc/extensions/package.json
## License
MIT
@@ -189,20 +189,19 @@
"devDependencies": {
"@chemzqm/tsconfig": "^0.0.3",
"@chemzqm/tslint-config": "^1.0.18",
"@types/fs-extra": "^5.0.5",
"@types/fs-extra": "^7.0.0",
"@types/glob": "^7.1.1",
"@types/node": "^11.13.8",
"coc.nvim": "^0.0.66",
"@types/node": "^12.0.2",
"coc.nvim": "^0.0.67",
"rimraf": "^2.6.3",
"tslint": "^5.16.0",
"typescript": "^3.4.5"
},
"dependencies": {
"fs-extra": "^7.0.1",
"glob": "^7.1.3",
"glob": "^7.1.4",
"intelephense": "^1.0.14",
"tslib": "^1.9.3",
"vscode": "^1.1.33",
"vscode": "^1.1.34",
"vscode-languageclient": "^5.2.1",
"vscode-languageserver-protocol": "^3.14.1"
}
@@ -1,5 +1,3 @@
import * as path from 'path'

import {
ExtensionContext,
LanguageClient,
@@ -15,7 +13,6 @@ import {
} from "coc.nvim";

import {
DocumentSelector,
CompletionItem,
TextDocument,
Position,
@@ -25,7 +22,6 @@ import {
} from "vscode-languageserver-protocol";

import { CancellationToken } from "vscode-jsonrpc";
import * as fs from 'fs-extra';

const LanguageID = 'php';
const VERSION = '1.0.14';
@@ -57,7 +53,6 @@ export async function activate(context: ExtensionContext): Promise<void> {
detached: true
};


let serverOptions: ServerOptions = {
run: { module: file, transport: TransportKind.ipc },
debug: { module: file, transport: TransportKind.ipc, options: debugOptions }
@@ -107,7 +102,7 @@ export async function activate(context: ExtensionContext): Promise<void> {
);
}
}
}
};

languageClient = new LanguageClient(
"phpls",
@@ -134,7 +129,7 @@ export async function activate(context: ExtensionContext): Promise<void> {
);
workspace.showMessage("Indexed php files, times: " + usedTime + "ms");
});
})
});

let indexWorkspaceDisposable = commands.registerCommand('intelephense.index.workspace', () => languageClient.sendRequest(INDEX_WORKSPACE_REQUEST.method));
let cancelIndexingDisposable = commands.registerCommand('intelephense.cancel.indexing', () => languageClient.sendRequest(CANCEL_INDEXING_REQUEST.method));
@@ -1,6 +1,8 @@
{
"extends": "./node_modules/@chemzqm/tslint-config/tslint.json",
"rules": {},
"rules": {
"semicolon": [true, "always"]
},
"linterOptions": {
"exclude": []
}
@@ -127,10 +127,10 @@
resolved "https://registry.yarnpkg.com/@types/events/-/events-1.2.0.tgz#81a6731ce4df43619e5c8c945383b3e62a89ea86"
integrity sha512-KEIlhXnIutzKwRbQkGWb/I4HFqBuUykAdHgDED6xqwXJfONCjF5VoE0cXEiurh3XauygxzeDzgtXUqvLkxFzzA==

"@types/fs-extra@^5.0.5":
version "5.0.5"
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-5.0.5.tgz#080d90a792f3fa2c5559eb44bd8ef840aae9104b"
integrity sha512-w7iqhDH9mN8eLClQOYTkhdYUOSpp25eXxfc6VbFOGtzxW34JcvctH2bKjj4jD4++z4R5iO5D+pg48W2e03I65A==
"@types/fs-extra@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-7.0.0.tgz#9c4ad9e1339e7448a76698829def1f159c1b636c"
integrity sha512-ndoMMbGyuToTy4qB6Lex/inR98nPiNHacsgMPvy+zqMLgSxbt8VtWpDArpGp69h1fEDQHn1KB+9DWD++wgbwYA==
dependencies:
"@types/node" "*"

@@ -163,10 +163,10 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.14.4.tgz#1c586b991457cbb58fef51bc4e0cfcfa347714b5"
integrity sha512-DT25xX/YgyPKiHFOpNuANIQIVvYEwCWXgK2jYYwqgaMrYE6+tq+DtmMwlD3drl6DJbUwtlIDnn0d7tIn/EbXBg==

"@types/node@^11.13.8":
version "11.13.8"
resolved "https://registry.yarnpkg.com/@types/node/-/node-11.13.8.tgz#e5d71173c95533be9842b2c798978f095f912aab"
integrity sha512-szA3x/3miL90ZJxUCzx9haNbK5/zmPieGraZEe4WI+3srN0eGLiT22NXeMHmyhNEopn+IrxqMc7wdVwvPl8meg==
"@types/node@^12.0.2":
version "12.0.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.0.2.tgz#3452a24edf9fea138b48fad4a0a028a683da1e40"
integrity sha512-5tabW/i+9mhrfEOUcLDu2xBPsHJ+X5Orqy9FKpale3SjDA17j5AEpYq5vfy3oAeAHGcvANRCO3NV3d2D6q3NiA==

abbrev@1:
version "1.1.1"
@@ -397,10 +397,10 @@ class-utils@^0.3.5:
isobject "^3.0.0"
static-extend "^0.1.1"

coc.nvim@^0.0.66:
version "0.0.66"
resolved "https://registry.yarnpkg.com/coc.nvim/-/coc.nvim-0.0.66.tgz#7e26798a587b3dac0000fe321ed9ea98a9c20b3a"
integrity sha512-yyuOinb4yoGRiQRLkMK/2MJZ1Q1O7MN1pchQLtpv1QeCG56PtRT6GWcbp8eCQMpWgo+cU3Nbc8+hEQu41RR2Wg==
coc.nvim@^0.0.67:
version "0.0.67"
resolved "https://registry.yarnpkg.com/coc.nvim/-/coc.nvim-0.0.67.tgz#674ab7894902b8a3fc4896b82e7ec4d92d804cb8"
integrity sha512-7I+EZERfMkyQIUSAN4DOEA6tp8+pmenx2VK1zH4qPclQEK+JlbDaLulkfW7bd/SIwa7goTjrlXbFlu0+UoJA1g==
dependencies:
"@chemzqm/neovim" "5.1.2"
binary-search "1.3.5"
@@ -815,6 +815,18 @@ glob@^7.1.1, glob@^7.1.2, glob@^7.1.3:
once "^1.3.0"
path-is-absolute "^1.0.0"

glob@^7.1.4:
version "7.1.4"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255"
integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==
dependencies:
fs.realpath "^1.0.0"
inflight "^1.0.4"
inherits "2"
minimatch "^3.0.4"
once "^1.3.0"
path-is-absolute "^1.0.0"

graceful-fs@^4.1.2:
version "4.1.11"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
@@ -2014,10 +2026,10 @@ vscode-languageserver@^5.3.0-next.5:
vscode-languageserver-protocol "3.15.0-next.4"
vscode-uri "^1.0.6"

vscode-test@^0.1.4:
version "0.1.5"
resolved "https://registry.yarnpkg.com/vscode-test/-/vscode-test-0.1.5.tgz#250534f90e78d37a84419a00f9bd15341e1a4f8f"
integrity sha512-s+lbF1Dtasc0yXVB9iQTexBe2JK6HJAUJe3fWezHKIjq+xRw5ZwCMEMBaonFIPy7s95qg2HPTRDR5W4h4kbxGw==
vscode-test@^0.4.1:
version "0.4.1"
resolved "https://registry.yarnpkg.com/vscode-test/-/vscode-test-0.4.1.tgz#5e2387dbc303544c932092469e6bbf42204bfab3"
integrity sha512-uIi/07uG/gmCbD9Y9bFpNzmk4el82xiclijEdL426A3jOFfvwdqgfmtuWYfxEGo0w6JY9EqVDTGQCXwuInXVTQ==
dependencies:
http-proxy-agent "^2.1.0"
https-proxy-agent "^2.2.1"
@@ -2026,18 +2038,18 @@ vscode-uri@^1.0.6:
version "1.0.6"
resolved "https://registry.yarnpkg.com/vscode-uri/-/vscode-uri-1.0.6.tgz#6b8f141b0bbc44ad7b07e94f82f168ac7608ad4d"

vscode@^1.1.33:
version "1.1.33"
resolved "https://registry.yarnpkg.com/vscode/-/vscode-1.1.33.tgz#e05d5ca25eb35d799fc20622af7c7a561abf6fba"
integrity sha512-sXedp2oF6y4ZvqrrFiZpeMzaCLSWV+PpYkIxjG/iYquNZ9KrLL2LujltGxPLvzn49xu2sZkyC+avVNFgcJD1Iw==
vscode@^1.1.34:
version "1.1.34"
resolved "https://registry.yarnpkg.com/vscode/-/vscode-1.1.34.tgz#3aba5d2f3a9d43f4e798f6933339fe5fcfb782c6"
integrity sha512-GuT3tCT2N5Qp26VG4C+iGmWMgg/MuqtY5G5TSOT3U/X6pgjM9LFulJEeqpyf6gdzpI4VyU3ZN/lWPo54UFPuQg==
dependencies:
glob "^7.1.2"
mocha "^4.0.1"
request "^2.88.0"
semver "^5.4.1"
source-map-support "^0.5.0"
url-parse "^1.4.4"
vscode-test "^0.1.4"
vscode-test "^0.4.1"

which@^1.3.1:
version "1.3.1"

0 comments on commit 69b71a9

Please sign in to comment.
You can’t perform that action at this time.