@maayn/veld 0.1.1 → 0.1.5

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/README.md CHANGED
@@ -5,9 +5,9 @@
5
5
  ## Install
6
6
 
7
7
  ```bash
8
- npm install veld
8
+ npm install @maayn/veld
9
9
  # or
10
- npx veld generate
10
+ npx @maayn/veld generate
11
11
  ```
12
12
 
13
13
  ## Usage
@@ -28,7 +28,7 @@ veld openapi # Export OpenAPI 3.0 spec
28
28
 
29
29
  This npm package is a thin wrapper around the Veld Go binary. On `npm install`,
30
30
  a postinstall script downloads the correct pre-built binary for your platform
31
- from [GitHub Releases](https://github.com/veld-dev/veld/releases).
31
+ from [GitHub Releases](https://github.com/Adhamzineldin/Veld/releases).
32
32
 
33
33
  **Supported platforms:**
34
34
  - Linux (x64, arm64)
@@ -36,19 +36,19 @@ from [GitHub Releases](https://github.com/veld-dev/veld/releases).
36
36
  - Windows (x64)
37
37
 
38
38
  If the download fails (e.g. behind a corporate proxy), the installer falls back
39
- to `go install github.com/veld-dev/veld/cmd/veld@latest`.
39
+ to `go install github.com/Adhamzineldin/Veld/cmd/veld@latest`.
40
40
 
41
41
  ## Alternative installation
42
42
 
43
43
  ```bash
44
44
  # Go (no npm needed)
45
- go install github.com/veld-dev/veld/cmd/veld@latest
45
+ go install github.com/Adhamzineldin/Veld/cmd/veld@latest
46
46
 
47
47
  # Homebrew
48
48
  brew install veld
49
49
 
50
50
  # pip
51
- pip install veld
51
+ pip install maayn-veld
52
52
 
53
53
  # Composer (PHP)
54
54
  composer require veld-dev/veld
@@ -56,7 +56,7 @@ composer require veld-dev/veld
56
56
 
57
57
  ## Links
58
58
 
59
- - [Documentation](https://github.com/veld-dev/veld)
59
+ - [Documentation](https://github.com/Adhamzineldin/Veld)
60
60
  - [VS Code Extension](https://marketplace.visualstudio.com/items?itemName=veld-dev.veld-vscode)
61
61
  - [JetBrains Plugin](https://plugins.jetbrains.com/plugin/veld)
62
62
 
package/bin/veld.js CHANGED
@@ -49,7 +49,7 @@ try {
49
49
  console.error("Try reinstalling: npm install veld");
50
50
  console.error("");
51
51
  console.error("Or install manually:");
52
- console.error(" go install github.com/veld-dev/veld/cmd/veld@latest");
52
+ console.error(" go install github.com/Adhamzineldin/Veld/cmd/veld@latest");
53
53
  console.error("");
54
54
  console.error(err.message);
55
55
  process.exit(1);
package/install.js CHANGED
@@ -21,7 +21,7 @@ const { execSync } = require("child_process");
21
21
  const zlib = require("zlib");
22
22
 
23
23
  const VERSION = "0.1.0";
24
- const GITHUB_REPO = "veld-dev/veld";
24
+ const GITHUB_REPO = "Adhamzineldin/Veld";
25
25
  const BASE_URL = `https://github.com/${GITHUB_REPO}/releases/download/v${VERSION}`;
26
26
 
27
27
  function getPlatformKey() {
@@ -110,9 +110,9 @@ async function extractZip(buffer, destDir) {
110
110
  }
111
111
 
112
112
  async function tryGoInstall() {
113
- console.log("Attempting fallback: go install github.com/veld-dev/veld/cmd/veld@latest");
113
+ console.log("Attempting fallback: go install github.com/Adhamzineldin/Veld/cmd/veld@latest");
114
114
  try {
115
- execSync("go install github.com/veld-dev/veld/cmd/veld@latest", {
115
+ execSync("go install github.com/Adhamzineldin/Veld/cmd/veld@latest", {
116
116
  stdio: "inherit",
117
117
  });
118
118
  console.log("✓ Installed veld via go install");
@@ -131,7 +131,7 @@ async function main() {
131
131
  );
132
132
  console.warn("Attempting go install fallback...");
133
133
  if (await tryGoInstall()) return;
134
- console.warn("Install veld manually: go install github.com/veld-dev/veld/cmd/veld@latest");
134
+ console.warn("Install veld manually: go install github.com/Adhamzineldin/Veld/cmd/veld@latest");
135
135
  return;
136
136
  }
137
137
 
@@ -175,9 +175,9 @@ async function main() {
175
175
  if (await tryGoInstall()) return;
176
176
 
177
177
  console.warn("Install veld manually:");
178
- console.warn(" go install github.com/veld-dev/veld/cmd/veld@latest");
178
+ console.warn(" go install github.com/Adhamzineldin/Veld/cmd/veld@latest");
179
179
  console.warn("");
180
- console.warn("Or download from: https://github.com/veld-dev/veld/releases");
180
+ console.warn("Or download from: https://github.com/Adhamzineldin/Veld/releases");
181
181
  }
182
182
  }
183
183
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maayn/veld",
3
- "version": "0.1.1",
3
+ "version": "0.1.5",
4
4
  "description": "Contract-first, multi-stack API code generator. Write .veld contracts once, generate typed frontend SDKs and backend service interfaces.",
5
5
  "keywords": [
6
6
  "veld",
@@ -11,13 +11,13 @@
11
11
  "sdk",
12
12
  "schema"
13
13
  ],
14
- "homepage": "https://github.com/veld-dev/veld",
14
+ "homepage": "https://github.com/Adhamzineldin/Veld",
15
15
  "bugs": {
16
- "url": "https://github.com/veld-dev/veld/issues"
16
+ "url": "https://github.com/Adhamzineldin/Veld/issues"
17
17
  },
18
18
  "repository": {
19
19
  "type": "git",
20
- "url": "https://github.com/veld-dev/veld.git"
20
+ "url": "https://github.com/Adhamzineldin/Veld.git"
21
21
  },
22
22
  "license": "MIT",
23
23
  "bin": {