deepdeps 0.1.0 → 0.1.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/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # DeepDeps 🔍
2
+
3
+ **See what you're really installing.**
4
+
5
+ ```bash
6
+ npm install -g deepdeps
7
+ ```
8
+
9
+ DeepDeps analyzes your project dependencies and shows you the full picture — not just what you declared, but everything that actually gets installed.
10
+
11
+ ### Commands
12
+
13
+ ```
14
+ deepdeps analyze Full dependency analysis
15
+ deepdeps tree Dependency tree (instant, no network)
16
+ deepdeps diff Compare two analyses
17
+ deepdeps security Check for CVEs
18
+ deepdeps report Generate HTML/MD/JSON report
19
+ deepdeps ui Interactive web dashboard
20
+ ```
21
+
22
+ ### Supported ecosystems
23
+
24
+ Node.js, Python, Rust, Go, Maven, NuGet
25
+
26
+ ### Links
27
+
28
+ - [GitHub](https://github.com/Sqrilizz/deepdeps)
29
+ - [Issues](https://github.com/Sqrilizz/deepdeps/issues)
30
+
31
+ ---
32
+
33
+ *Built with Rust + React + D3*
package/install.js CHANGED
@@ -133,9 +133,26 @@ async function install() {
133
133
 
134
134
  console.log(`deepdeps installed successfully`);
135
135
  } catch (err) {
136
- console.error("Installation failed:", err.message);
137
- console.error("Please install via cargo: cargo install deepdeps");
138
- process.exit(1);
136
+ console.error("Download failed:", err.message);
137
+ console.log("Falling back to cargo install...");
138
+ try {
139
+ execSync(
140
+ `cargo install --git https://github.com/Sqrilizz/deepdeps --tag v${require("./package.json").version}`,
141
+ { stdio: "inherit" },
142
+ );
143
+ // Copy the cargo-installed binary to our bin dir
144
+ const cargoBin = `/usr/local/cargo/bin/${binaryName}`;
145
+ if (existsSync(cargoBin)) {
146
+ renameSync(cargoBin, binaryPath);
147
+ }
148
+ console.log("deepdeps installed successfully via cargo");
149
+ } catch (cargoErr) {
150
+ console.error("cargo install also failed:", cargoErr.message);
151
+ console.error(
152
+ "Please install manually: cargo install --git https://github.com/Sqrilizz/deepdeps",
153
+ );
154
+ process.exit(1);
155
+ }
139
156
  }
140
157
  }
141
158
 
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "deepdeps",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "See what you're really installing — dependency analysis tool",
5
5
  "bin": {
6
6
  "deepdeps": "bin/deepdeps.js"
7
7
  },
8
8
  "scripts": {
9
- "install": "node install.js",
10
- "postinstall": "node bin/deepdeps.js --help || true"
9
+ "install": "node install.js"
11
10
  },
12
11
  "files": [
13
12
  "bin",
13
+ "README.md",
14
14
  "install.js",
15
15
  "platforms.json"
16
16
  ],
package/platforms.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "linux-x64": {
3
3
  "rust-target": "x86_64-unknown-linux-gnu",
4
- "url": "https://github.com/sqrilizz/deepdeps/releases/download/v0.1.0/deepdeps-x86_64-unknown-linux-gnu.tar.gz"
4
+ "url": "https://github.com/Sqrilizz/deepdeps/releases/download/v0.1.2/deepdeps-x86_64-unknown-linux-gnu.tar.gz"
5
5
  },
6
6
  "linux-arm64": {
7
7
  "rust-target": "aarch64-unknown-linux-gnu",
8
- "url": "https://github.com/sqrilizz/deepdeps/releases/download/v0.1.0/deepdeps-aarch64-unknown-linux-gnu.tar.gz"
8
+ "url": "https://github.com/Sqrilizz/deepdeps/releases/download/v0.1.2/deepdeps-aarch64-unknown-linux-gnu.tar.gz"
9
9
  },
10
10
  "darwin-x64": {
11
11
  "rust-target": "x86_64-apple-darwin",
12
- "url": "https://github.com/sqrilizz/deepdeps/releases/download/v0.1.0/deepdeps-x86_64-apple-darwin.tar.gz"
12
+ "url": "https://github.com/Sqrilizz/deepdeps/releases/download/v0.1.2/deepdeps-x86_64-apple-darwin.tar.gz"
13
13
  },
14
14
  "darwin-arm64": {
15
15
  "rust-target": "aarch64-apple-darwin",
16
- "url": "https://github.com/sqrilizz/deepdeps/releases/download/v0.1.0/deepdeps-aarch64-apple-darwin.tar.gz"
16
+ "url": "https://github.com/Sqrilizz/deepdeps/releases/download/v0.1.2/deepdeps-aarch64-apple-darwin.tar.gz"
17
17
  },
18
18
  "win32-x64": {
19
19
  "rust-target": "x86_64-pc-windows-msvc",
20
- "url": "https://github.com/sqrilizz/deepdeps/releases/download/v0.1.0/deepdeps-x86_64-pc-windows-msvc.zip"
20
+ "url": "https://github.com/Sqrilizz/deepdeps/releases/download/v0.1.2/deepdeps-x86_64-pc-windows-msvc.zip"
21
21
  }
22
22
  }