Compare commits

...

55 Commits

Author SHA1 Message Date
bot
f67562c8ac fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2026-01-29 21:49:17 +00:00
e4682d493e renovate (#147)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-01-29 21:49:03 +00:00
e4afa91517 up 2026-01-23 01:51:45 +01:00
9b8134441c up 2026-01-23 01:45:31 +01:00
bot
d16bc0a1ef fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2026-01-20 14:20:36 +00:00
3a54763a53 renovate (#146)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-01-20 14:19:49 +00:00
bot
81177f27ce fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2026-01-13 01:52:20 +00:00
f1e5244ee2 renovate (#145)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-01-13 01:52:06 +00:00
bot
e30bdcd6cf fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2026-01-11 01:12:21 +00:00
0615d39c61 renovate (#144)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-01-11 01:11:47 +00:00
bot
d3bb430a98 fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2026-01-10 02:53:16 +00:00
3eac7da736 renovate (#143)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-01-10 02:53:05 +00:00
bot
1f16dcdbf0 fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2026-01-06 03:23:35 +00:00
fe433ad929 renovate (#142)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2026-01-06 03:23:02 +00:00
96c172c1ff up 2026-01-02 00:41:27 +01:00
bot
6fd2ba027c fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-12-30 01:10:55 +00:00
85d50e183f renovate (#141)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-12-30 01:10:17 +00:00
bot
aa3fd27451 fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-12-26 08:13:41 +00:00
c15d443595 renovate (#140)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-12-26 08:13:24 +00:00
cdc9e40d0b up 2025-12-26 09:07:46 +01:00
bot
e3fd433c9b fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-12-09 02:13:10 +00:00
3969b22310 renovate (#139)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-12-09 02:12:39 +00:00
bot
58ff5ccc5a fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-12-03 04:42:39 +00:00
74533cc9b9 renovate (#138)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-12-03 04:42:14 +00:00
bot
0cd8d6c0d1 fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-11-25 01:37:02 +00:00
7a654ffad8 renovate (#137)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-11-25 01:36:09 +00:00
703225acdd up
All checks were successful
continuous-integration/drone/tag Build is passing
2025-11-19 15:33:08 +01:00
bot
8c3b9f0ca6 fix: release
Some checks failed
continuous-integration/drone/tag Build encountered an error
2025-11-18 01:54:28 +00:00
0b40b2dee8 renovate (#136)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-11-18 01:54:17 +00:00
bot
afe65f5e34 fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-11-13 19:21:02 +00:00
fa14e6fbfe renovate (#135)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-11-13 19:20:41 +00:00
bot
7968d84047 fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-11-11 01:36:22 +00:00
a2fe9e239a renovate (#134)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-11-11 01:35:39 +00:00
bot
a6f849d0f5 fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-11-04 09:31:45 +00:00
4869be90b8 renovate (#133)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-11-04 09:31:18 +00:00
bot
ddca7cc92e fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-11-01 04:08:09 +00:00
12fc16e71f renovate (#132)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-11-01 04:07:33 +00:00
bot
d8014e94b8 fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-10-21 08:31:14 +00:00
54d05237ed renovate (#131)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-10-21 08:30:46 +00:00
bot
60037aec07 fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-10-18 05:23:13 +00:00
8378fe9eb1 renovate (#130)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-10-18 05:22:36 +00:00
bot
8acbc35562 fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-10-14 06:25:23 +00:00
30deaa961b renovate (#129)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-10-14 06:24:54 +00:00
bot
0d120cd51d fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-10-10 01:15:45 +00:00
86213539f7 renovate (#128)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-10-10 01:15:31 +00:00
bot
94b921fbe2 fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-10-08 06:36:14 +00:00
f62b4b7804 renovate (#127)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-10-08 06:35:30 +00:00
bot
be89eda130 fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-10-04 17:11:18 +00:00
79d2d781b0 renovate (#126)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-10-04 17:10:57 +00:00
bot
3619d3375e fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-10-01 00:16:40 +00:00
70a942faee renovate (#125)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-10-01 00:16:11 +00:00
bot
4c3ff7c1bb fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-09-30 07:51:48 +00:00
00e78de6f3 renovate (#124)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-09-30 07:51:20 +00:00
bot
0eba2547cc fix: release
All checks were successful
continuous-integration/drone/tag Build is passing
2025-09-23 03:34:58 +00:00
febfec0e36 renovate (#123)
Co-authored-by: m.schnitzler <martin.wb.2015@gmail.com>
Co-committed-by: m.schnitzler <martin.wb.2015@gmail.com>
2025-09-23 03:34:21 +00:00
6 changed files with 330 additions and 460 deletions

View File

@@ -1,6 +1,13 @@
kind: pipeline kind: pipeline
type: ssh
name: default name: default
server:
host: build.gextra.net
user: root
ssh_key:
from_secret: ssh_key_secret
trigger: trigger:
event: event:
- tag - tag

View File

@@ -1,30 +0,0 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/naming-convention": [
"warn",
{
"selector": "import",
"format": [ "camelCase", "PascalCase" ]
}
],
"@typescript-eslint/semi": "warn",
"curly": "warn",
"eqeqeq": "warn",
"no-throw-literal": "warn",
"semi": "off"
},
"ignorePatterns": [
"out",
"dist",
"**/*.d.ts"
]
}

66
eslint.config.js Normal file
View File

@@ -0,0 +1,66 @@
import js from '@eslint/js';
import tsparser from '@typescript-eslint/parser';
import tsplugin from '@typescript-eslint/eslint-plugin';
import globals from 'globals';
export default [
js.configs.recommended,
{
files: ['**/*.ts'],
languageOptions: {
parser: tsparser,
parserOptions: {
ecmaVersion: 6,
sourceType: 'module',
},
globals: {
...globals.browser,
...globals.node,
...globals.mocha,
},
},
plugins: {
'@typescript-eslint': tsplugin,
},
rules: {
'@typescript-eslint/naming-convention': [
'warn',
{
selector: 'import',
format: ['camelCase', 'PascalCase'],
},
],
'curly': 'warn',
'eqeqeq': 'warn',
'no-throw-literal': 'warn',
'semi': 'off',
// Règles générales réutilisées de flatbay
'prefer-const': ['error', { destructuring: 'all' }],
'no-var': 'error',
'object-shorthand': ['error', 'properties'],
'prefer-template': 'error',
'dot-notation': 'error',
'no-unused-expressions': 'error',
'no-nested-ternary': 'error',
'one-var-declaration-per-line': ['error', 'always'],
'one-var': ['error', 'never'],
'vars-on-top': 'error',
'yoda': 'error',
'prefer-arrow-callback': 'error',
'no-implicit-globals': 'error',
'no-labels': 'error',
'no-new-func': 'error',
'no-script-url': 'error',
'no-sequences': 'error',
'no-unused-labels': 'error',
'prefer-spread': 'error',
'no-console': 0, // Garder les console.log pour debug
'no-empty': 0,
'no-redeclare': 0,
'no-useless-escape': 0,
},
},
{
ignores: ['out/', 'dist/', '**/*.d.ts'],
},
];

662
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
{ {
"name": "vscodestat", "name": "vscodestat",
"displayName": "vscodestat", "displayName": "vscodestat",
"version": "1.1.116", "version": "1.1.142",
"description": "", "description": "",
"categories": [ "categories": [
"Other" "Other"
@@ -12,6 +12,7 @@
}, },
"license": "ISC", "license": "ISC",
"author": "Raphael Piccolo", "author": "Raphael Piccolo",
"type": "module",
"main": "./out/extension.js", "main": "./out/extension.js",
"scripts": { "scripts": {
"compile": "tsc -p ./", "compile": "tsc -p ./",
@@ -52,17 +53,17 @@
], ],
"devDependencies": { "devDependencies": {
"@types/mocha": "^10.0.10", "@types/mocha": "^10.0.10",
"@types/node": "24.x", "@types/node": "25.x",
"@types/vscode": "^1.104.0", "@types/vscode": "^1.108.1",
"@typescript-eslint/eslint-plugin": "^8.44.0", "@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.44.0", "@typescript-eslint/parser": "^8.54.0",
"@vscode/test-cli": "^0.0.11", "@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2", "@vscode/test-electron": "^2.5.2",
"eslint": "^9.36.0", "eslint": "^9.39.2",
"typescript": "^5.9.2" "typescript": "^5.9.3"
}, },
"engines": { "engines": {
"vscode": "^1.104.0" "vscode": "^1.108.1"
}, },
"icon": "icon.png", "icon": "icon.png",
"extensionKind": [ "extensionKind": [

View File

@@ -4,13 +4,13 @@ export function activate(context: vscode.ExtensionContext) {
console.log('Congratulations, your extension "vscodestat" is now active!'); console.log('Congratulations, your extension "vscodestat" is now active!');
// crée une commande de test // crée une commande de test
let disposable = vscode.commands.registerCommand('vscodestat.helloWorld', () => { const disposable = vscode.commands.registerCommand('vscodestat.helloWorld', () => {
vscode.window.showInformationMessage('Hello World from vscodestat!'); vscode.window.showInformationMessage('Hello World from vscodestat!');
}); });
context.subscriptions.push(disposable); context.subscriptions.push(disposable);
// commande pour definir l'url // commande pour definir l'url
let disposable2 = vscode.commands.registerCommand('vscodestat.setUrl', async () => { const disposable2 = vscode.commands.registerCommand('vscodestat.setUrl', async () => {
const url = await vscode.window.showInputBox({ const url = await vscode.window.showInputBox({
prompt: 'Enter the URL:', prompt: 'Enter the URL:',
placeHolder: '' placeHolder: ''
@@ -24,7 +24,7 @@ export function activate(context: vscode.ExtensionContext) {
context.subscriptions.push(disposable2); context.subscriptions.push(disposable2);
// commande pour tester l'url // commande pour tester l'url
let disposable3 = vscode.commands.registerCommand('vscodestat.callUrl', async () => { const disposable3 = vscode.commands.registerCommand('vscodestat.callUrl', async () => {
const storedUrl = vscode.workspace.getConfiguration().get('vscodestat.url') as string; const storedUrl = vscode.workspace.getConfiguration().get('vscodestat.url') as string;
if (!storedUrl) { if (!storedUrl) {
vscode.window.showWarningMessage('URL is not set. Please set the URL first.'); vscode.window.showWarningMessage('URL is not set. Please set the URL first.');