Skip to content

Commit ac02c61

Browse files
committed
refactor: migrate to biome and update CLI structure
- Removed ESLint configuration and ignore files in favor of Biome for linting. - Introduced biome.json for configuration and updated package.json to reflect new dependencies. - Added OpenAPI specification for Dokploy API and generated CLI commands from it. - Refactored CLI entry point to use Commander instead of Oclif. - Implemented new authentication command and removed deprecated commands. - Updated TypeScript configuration and added build scripts for improved development workflow. - Cleaned up unused files and commands to streamline the codebase.
1 parent 761f6e7 commit ac02c61

55 files changed

Lines changed: 58672 additions & 10594 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

bin/dev.cmd

Lines changed: 0 additions & 3 deletions
This file was deleted.

bin/dev.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

bin/run.cmd

Lines changed: 0 additions & 3 deletions
This file was deleted.

bin/run.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
#!/usr/bin/env node
22

3-
import {execute} from '@oclif/core'
4-
5-
await execute({dir: import.meta.url})
3+
import "../dist/index.js";

biome.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3+
"vcs": {
4+
"enabled": true,
5+
"clientKind": "git",
6+
"useIgnoreFile": true
7+
},
8+
"files": {
9+
"ignoreUnknown": true,
10+
"includes": ["**", "!**/dist", "!node_modules/**", "!src/generated/**"],
11+
"maxSize": 2097152
12+
},
13+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
14+
"linter": {
15+
"rules": {
16+
"complexity": {
17+
"noUselessCatch": "off"
18+
},
19+
"correctness": {
20+
"noUnusedImports": "error",
21+
"noUnusedFunctionParameters": "error",
22+
"noUnusedVariables": "off"
23+
},
24+
"style": {
25+
"noNonNullAssertion": "off",
26+
"noParameterAssign": "error",
27+
"useAsConstAssertion": "error",
28+
"useDefaultParameterLast": "error",
29+
"useSelfClosingElements": "error",
30+
"useSingleVarDeclarator": "error",
31+
"noUnusedTemplateLiteral": "error",
32+
"useNumberNamespace": "error",
33+
"noInferrableTypes": "error",
34+
"noUselessElse": "error"
35+
},
36+
"suspicious": {
37+
"noExplicitAny": "off",
38+
"noRedeclare": "off"
39+
}
40+
}
41+
}
42+
}

0 commit comments

Comments
 (0)