@vibecloudtr/cli 0.0.0-stage → 0.0.2
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/ENVIRONMENT.md +529 -0
- package/LICENSE +95 -0
- package/README.md +1376 -2
- package/commands.json +306 -0
- package/dist/main.js +1032 -0
- package/dist/vibe.mjs +6 -0
- package/package.json +55 -4
package/dist/vibe.mjs
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
function main(){let major=Number(process.versions.node.split(".")[0]);if(!Number.isInteger(major)||major<22){let found=process.versions.node;process.stderr.write("vibe: Node.js 22 veya ustu gerekir; bu makinede "+found+` calisiyor.
|
|
3
|
+
Node surumunu yukseltin (https://nodejs.org), ya da surum yoneticisi kullanin:
|
|
4
|
+
nvm install 22 && nvm use 22
|
|
5
|
+
`),process.exitCode=1;return}import("./main.js").then(function(mod){return mod.main()},function(err){process.stderr.write("vibe: baslatilamadi: "+describe(err)+`
|
|
6
|
+
`),process.exitCode=1})}function describe(err){return err instanceof Error?err.message:String(err)}main();
|
package/package.json
CHANGED
|
@@ -1,6 +1,57 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibecloudtr/cli",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "Vibecloud command line interface — projects, databases, deploys and domains from one command",
|
|
5
|
+
"license": "Elastic-2.0",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"vibe": "dist/vibe.mjs"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist/",
|
|
12
|
+
"commands.json",
|
|
13
|
+
"README.md",
|
|
14
|
+
"ENVIRONMENT.md",
|
|
15
|
+
"LICENSE"
|
|
16
|
+
],
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=22.0.0"
|
|
19
|
+
},
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/vibecloudtr/cli.git"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "node scripts/build.mjs",
|
|
29
|
+
"gen": "node scripts/gen.mjs",
|
|
30
|
+
"typecheck": "tsc --noEmit",
|
|
31
|
+
"lint": "eslint .",
|
|
32
|
+
"fmt": "prettier --write \"src/**/*.ts\" \"scripts/*.mjs\"",
|
|
33
|
+
"fmt:check": "prettier --check \"src/**/*.ts\" \"scripts/*.mjs\"",
|
|
34
|
+
"test": "node scripts/test.mjs",
|
|
35
|
+
"check:contract": "node scripts/check-contract-parity.mjs",
|
|
36
|
+
"check:credential": "node scripts/check-credential-contract.mjs",
|
|
37
|
+
"check": "npm run --silent build && npm run --silent typecheck && npm run --silent lint && npm run --silent check:contract && npm run --silent check:credential && npm run --silent drift && npm run --silent check:goldens && npm run --silent test",
|
|
38
|
+
"drift": "node scripts/gen.mjs --check",
|
|
39
|
+
"gen:goldens": "node scripts/gen-goldens.mjs",
|
|
40
|
+
"check:goldens": "node scripts/gen-goldens.mjs --check",
|
|
41
|
+
"prepublishOnly": "make check && node scripts/check-package.mjs"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"pg": "8.13.1",
|
|
45
|
+
"smol-toml": "1.9.0",
|
|
46
|
+
"typescript": "5.7.2"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@types/node": "22.10.2",
|
|
50
|
+
"@types/pg": "8.11.10",
|
|
51
|
+
"esbuild": "0.24.2",
|
|
52
|
+
"eslint": "9.17.0",
|
|
53
|
+
"prettier": "3.4.2",
|
|
54
|
+
"typescript-eslint": "8.18.2"
|
|
55
|
+
},
|
|
56
|
+
"author": "Çağrı Ekin"
|
|
57
|
+
}
|