dependicus 0.1.7 → 0.1.8
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/dist/cli.mjs +13 -4
- package/package.json +5 -5
package/dist/cli.mjs
CHANGED
|
@@ -1313,12 +1313,12 @@ function createCoreServices(config) {
|
|
|
1313
1313
|
}
|
|
1314
1314
|
await runSources(ecosystemSources, ecosystemDeps, scopedStore);
|
|
1315
1315
|
}
|
|
1316
|
-
const
|
|
1317
|
-
await runSources([
|
|
1316
|
+
const universalSources = [
|
|
1318
1317
|
new GitHubSource(githubService),
|
|
1319
1318
|
new WorkspaceSource(providers),
|
|
1320
1319
|
...config.sources ?? []
|
|
1321
|
-
]
|
|
1320
|
+
];
|
|
1321
|
+
for (const [ecosystem, outputs] of byEcosystem) await runSources(universalSources, mergeProviderDependencies(outputs), store.scoped(ecosystem));
|
|
1322
1322
|
return {
|
|
1323
1323
|
providers: providerOutputs,
|
|
1324
1324
|
store
|
|
@@ -2013,7 +2013,16 @@ async function createDependicus(config) {
|
|
|
2013
2013
|
};
|
|
2014
2014
|
},
|
|
2015
2015
|
refreshLocal(dependencies, store) {
|
|
2016
|
-
|
|
2016
|
+
const byEcosystem = /* @__PURE__ */ new Map();
|
|
2017
|
+
for (const dep of dependencies) {
|
|
2018
|
+
const list = byEcosystem.get(dep.ecosystem) ?? [];
|
|
2019
|
+
list.push(dep);
|
|
2020
|
+
byEcosystem.set(dep.ecosystem, list);
|
|
2021
|
+
}
|
|
2022
|
+
for (const [ecosystem, deps] of byEcosystem) {
|
|
2023
|
+
const scoped = store.scoped(ecosystem);
|
|
2024
|
+
for (const source of config.sources ?? []) source.refreshLocal?.(deps, scoped);
|
|
2025
|
+
}
|
|
2017
2026
|
},
|
|
2018
2027
|
async generateSite(providers, store) {
|
|
2019
2028
|
await mkdir(outputDir, { recursive: true });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dependicus",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Dependency governance for monorepos: pnpm, bun, yarn, npm, mise, uv, Go, and Rust",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"audit",
|
|
@@ -57,15 +57,15 @@
|
|
|
57
57
|
"typedoc": "^0.28.17",
|
|
58
58
|
"typescript": "^5.9.3",
|
|
59
59
|
"vitest": "^4.0.18",
|
|
60
|
+
"@dependicus/github-issues": "0.1.0",
|
|
60
61
|
"@dependicus/linear": "0.1.0",
|
|
61
62
|
"@dependicus/provider-go": "0.1.0",
|
|
63
|
+
"@dependicus/core": "0.1.0",
|
|
62
64
|
"@dependicus/provider-rust": "0.1.0",
|
|
63
65
|
"@dependicus/provider-mise": "0.1.0",
|
|
64
|
-
"@dependicus/providers-
|
|
65
|
-
"@dependicus/core": "0.1.0",
|
|
66
|
+
"@dependicus/providers-python": "0.1.0",
|
|
66
67
|
"@dependicus/site-builder": "0.1.0",
|
|
67
|
-
"@dependicus/
|
|
68
|
-
"@dependicus/providers-python": "0.1.0"
|
|
68
|
+
"@dependicus/providers-node": "0.1.0"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"dependicus": "node dist/bin.mjs",
|