This commit is contained in:
root 2024-04-04 12:29:32 +02:00
parent 5ec09e877d
commit 7f42bb0ebd
No known key found for this signature in database
GPG Key ID: 4967812A078C3A4A
3 changed files with 18 additions and 15 deletions

29
package-lock.json generated
View File

@ -1,22 +1,22 @@
{
"name": "vscodestat",
"version": "0.0.1",
"version": "1.0.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "vscodestat",
"version": "0.0.1",
"version": "1.0.3",
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/node": "20.x",
"@types/vscode": "^1.87.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vscode/test-cli": "^0.0.8",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.57.0",
"typescript": "^5.3.3"
"typescript": "^5.4.3"
},
"engines": {
"vscode": "^1.87.0"
@ -321,9 +321,9 @@
"dev": true
},
"node_modules/@types/node": {
"version": "18.19.29",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.29.tgz",
"integrity": "sha512-5pAX7ggTmWZdhUrhRWLPf+5oM7F80bcKVCBbr0zwEkTNzTJL2CWQjznpFgHYy6GrzkYi2Yjy7DHKoynFxqPV8g==",
"version": "20.12.4",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.4.tgz",
"integrity": "sha512-E+Fa9z3wSQpzgYQdYmme5X3OTuejnnTx88A6p6vkkJosR3KBz+HpE3kqNm98VE6cfLFcISx7zW7MsJkH6KwbTw==",
"dev": true,
"dependencies": {
"undici-types": "~5.26.4"
@ -538,9 +538,9 @@
"dev": true
},
"node_modules/@vscode/test-cli": {
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/@vscode/test-cli/-/test-cli-0.0.8.tgz",
"integrity": "sha512-sBSMSDzJChiiDjmys2Q6uI4SIoUYf0t6oDsQO3ypaQ7udha9YD4e2On9e9VE5OBayZMpxbgJX+NudmCwJMdOIg==",
"version": "0.0.9",
"resolved": "https://registry.npmjs.org/@vscode/test-cli/-/test-cli-0.0.9.tgz",
"integrity": "sha512-vsl5/ueE3Jf0f6XzB0ECHHMsd5A0Yu6StElb8a+XsubZW7kHNAOw4Y3TSSuDzKEpLnJ92nbMy1Zl+KLGCE6NaA==",
"dev": true,
"dependencies": {
"@types/mocha": "^10.0.2",
@ -555,6 +555,9 @@
},
"bin": {
"vscode-test": "out/bin.mjs"
},
"engines": {
"node": ">=18"
}
},
"node_modules/@vscode/test-electron": {

View File

@ -1,7 +1,7 @@
{
"name": "vscodestat",
"displayName": "vscodestat",
"version": "0.0.2",
"version": "1.0.3",
"description": "",
"categories": [
"Other"

View File

@ -68,7 +68,7 @@ export function deactivate() { }
* /root/docker/monitoringserver/controller/homeController.js
* => monitoringserver
*/
function extractProjectName(path) {
function extractProjectName(path: string) {
const match = path.match(/\/root\/(docker|projects)\/([^/]+)/);
return match?.[1];
}