mirror of
https://github.com/Dokploy/cli.git
synced 2026-06-15 20:25:22 +02:00
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.
This commit is contained in:
74
package.json
74
package.json
@@ -1,88 +1,54 @@
|
||||
{
|
||||
"name": "@dokploy/cli",
|
||||
"description": "A CLI to manage dokploy server remotely",
|
||||
"version": "v0.2.8",
|
||||
"version": "0.3.0",
|
||||
"author": "Mauricio Siu",
|
||||
"licenses": [{
|
||||
"type": "MIT",
|
||||
"url": "https://github.com/Dokploy/cli/blob/master/LICENSE"
|
||||
}],
|
||||
"licenses": [
|
||||
{
|
||||
"type": "MIT",
|
||||
"url": "https://github.com/Dokploy/cli/blob/master/LICENSE"
|
||||
}
|
||||
],
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"bin": {
|
||||
"dokploy": "./bin/run.js"
|
||||
"dokploy": "./dist/index.js"
|
||||
},
|
||||
"bugs": "https://github.com/Dokploy/cli/issues",
|
||||
"dependencies": {
|
||||
"@oclif/core": "^3",
|
||||
"@oclif/plugin-help": "^6",
|
||||
"@oclif/plugin-plugins": "^5",
|
||||
"axios": "^1.7.2",
|
||||
"chalk": "^5.3.0",
|
||||
"cli-table3": "^0.6.5",
|
||||
"inquirer": "^9.2.23",
|
||||
"slugify": "^1.6.6",
|
||||
"superjson": "^2.2.1"
|
||||
"commander": "^13.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@oclif/prettier-config": "^0.2.1",
|
||||
"@oclif/test": "^4",
|
||||
"@types/chai": "^4",
|
||||
"@types/inquirer": "9.0.7",
|
||||
"@types/mocha": "^10",
|
||||
"@biomejs/biome": "2.1.1",
|
||||
"@types/node": "^18",
|
||||
"chai": "^4",
|
||||
"eslint": "^8",
|
||||
"eslint-config-oclif": "^5",
|
||||
"eslint-config-oclif-typescript": "^3",
|
||||
"eslint-config-prettier": "^9",
|
||||
"mocha": "^10",
|
||||
"oclif": "^4",
|
||||
"shx": "^0.3.3",
|
||||
"ts-node": "^10",
|
||||
"tsx": "^4.21.0",
|
||||
"typescript": "^5"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
},
|
||||
"files": [
|
||||
"/bin",
|
||||
"/dist",
|
||||
"/oclif.manifest.json"
|
||||
"/dist"
|
||||
],
|
||||
"homepage": "https://github.com/Dokploy/cli",
|
||||
"keywords": [
|
||||
"oclif"
|
||||
"dokploy",
|
||||
"cli"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "dist/index.js",
|
||||
"type": "module",
|
||||
"oclif": {
|
||||
"bin": "dokploy",
|
||||
"dirname": "dokploy",
|
||||
"commands": "./dist/commands",
|
||||
"plugins": [
|
||||
"@oclif/plugin-help",
|
||||
"@oclif/plugin-plugins"
|
||||
],
|
||||
"topicSeparator": " ",
|
||||
"topics": {
|
||||
"hello": {
|
||||
"description": "Say hello to the world and others"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository": "Dokploy/cli",
|
||||
"scripts": {
|
||||
"build": "shx rm -rf dist && tsc -b",
|
||||
"lint": "eslint . --ext .ts",
|
||||
"postpack": "shx rm -f oclif.manifest.json",
|
||||
"posttest": "pnpm run lint",
|
||||
"prepack": "oclif manifest && oclif readme",
|
||||
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
||||
"version": "oclif readme && git add README.md",
|
||||
"publish" :"npm publish"
|
||||
"build": "tsc -b",
|
||||
"generate": "tsx scripts/generate.ts",
|
||||
"prebuild": "pnpm run generate",
|
||||
"dev": "tsx src/index.ts",
|
||||
"lint": "biome check --write .",
|
||||
"publish": "npm publish"
|
||||
},
|
||||
"types": "dist/index.d.ts"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user