omnideploy-cli 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,69 @@
1
1
  {
2
2
  "name": "omnideploy-cli",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "One CLI to detect, containerize and deploy any project to Vercel, Netlify, GitHub Pages, Railway, Render and more.",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/himanshu7745/omnideploy.git"
8
+ },
9
+ "homepage": "https://github.com/himanshu7745/omnideploy#readme",
10
+ "bugs": {
11
+ "url": "https://github.com/himanshu7745/omnideploy/issues"
12
+ },
13
+ "type": "module",
14
+ "bin": {
15
+ "omnideploy": "dist/main.js"
16
+ },
17
+ "files": [
18
+ "dist",
19
+ "schema.json"
20
+ ],
21
+ "engines": {
22
+ "node": ">=20"
23
+ },
24
+ "scripts": {
25
+ "build": "tsup",
26
+ "dev": "tsx src/cli/main.ts",
27
+ "typecheck": "tsc --noEmit",
28
+ "test": "vitest run",
29
+ "test:watch": "vitest",
30
+ "lint:arch": "depcruise src --config .dependency-cruiser.cjs",
31
+ "check": "npm run typecheck && npm run lint:arch && npm test",
32
+ "smoke:docker": "npm run build && scripts/docker-smoke.sh",
33
+ "prepublishOnly": "npm run check && npm run build"
34
+ },
35
+ "license": "MIT",
36
+ "dependencies": {
37
+ "@clack/prompts": "^1.8.1",
38
+ "archiver": "^8.0.0",
39
+ "commander": "^15.1.0",
40
+ "execa": "^10.2.1",
41
+ "fast-glob": "^3.3.3",
42
+ "fast-xml-parser": "^5.12.0",
43
+ "ignore": "^7.0.14",
44
+ "picocolors": "^1.1.1",
45
+ "smol-toml": "^1.9.1",
46
+ "yaml": "^2.9.1",
47
+ "zod": "^4.6.7"
48
+ },
49
+ "devDependencies": {
50
+ "@types/archiver": "^8.0.0",
51
+ "@types/node": "^26.6.6",
52
+ "dependency-cruiser": "^18.7.2",
53
+ "msw": "^3.0.4",
54
+ "tsup": "^9.0.0",
55
+ "tsx": "^4.23.15",
56
+ "typescript": "^6.0.3",
57
+ "vitest": "^5.1.0"
58
+ },
59
+ "keywords": [
60
+ "deploy",
61
+ "cli",
62
+ "vercel",
63
+ "netlify",
64
+ "github-pages",
65
+ "railway",
66
+ "render",
67
+ "docker"
68
+ ]
69
+ }
package/schema.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "omnideploy.json",
4
+ "description": "Configuration for the omnideploy CLI. Values here override auto-detection.",
5
+ "type": "object",
6
+ "properties": {
7
+ "$schema": { "type": "string" },
8
+ "name": { "type": "string", "description": "Service/site name used when creating apps on providers." },
9
+ "build": {
10
+ "type": "object",
11
+ "properties": {
12
+ "command": { "type": "string", "description": "Build command for static sites, e.g. \"npm run build\"." },
13
+ "output": { "type": "string", "description": "Folder with the built static site, e.g. \"dist\"." }
14
+ },
15
+ "additionalProperties": false
16
+ },
17
+ "app": {
18
+ "type": "object",
19
+ "properties": {
20
+ "start": { "type": "string", "description": "Start command for server apps. Must listen on $PORT." },
21
+ "port": { "type": "integer", "minimum": 1, "maximum": 65535, "description": "Default port when $PORT is not set." },
22
+ "healthCheckPath": { "type": "string", "pattern": "^/", "description": "Health check path used by Render/Railway." }
23
+ },
24
+ "additionalProperties": false
25
+ },
26
+ "providers": {
27
+ "type": "object",
28
+ "description": "Per-provider options. IDs created on first deploy are saved here automatically.",
29
+ "properties": {
30
+ "vercel": {
31
+ "type": "object",
32
+ "properties": { "project": { "type": "string" }, "projectId": { "type": "string" }, "teamId": { "type": "string" } }
33
+ },
34
+ "netlify": {
35
+ "type": "object",
36
+ "properties": { "siteId": { "type": "string" }, "siteName": { "type": "string" } }
37
+ },
38
+ "github-pages": {
39
+ "type": "object",
40
+ "properties": {
41
+ "repo": { "type": "string", "description": "owner/repo; defaults to the origin remote." },
42
+ "branch": { "type": "string", "default": "gh-pages" },
43
+ "cname": { "type": "string", "description": "Custom domain." }
44
+ }
45
+ },
46
+ "railway": {
47
+ "type": "object",
48
+ "properties": { "service": { "type": "string" }, "environment": { "type": "string" } }
49
+ },
50
+ "render": {
51
+ "type": "object",
52
+ "properties": {
53
+ "serviceId": { "type": "string" },
54
+ "ownerId": { "type": "string", "description": "Render workspace ID." },
55
+ "serviceName": { "type": "string" },
56
+ "branch": { "type": "string" },
57
+ "plan": { "type": "string", "default": "free" },
58
+ "region": { "type": "string", "default": "oregon" }
59
+ }
60
+ }
61
+ },
62
+ "additionalProperties": { "type": "object" }
63
+ }
64
+ }
65
+ }