dependicus 0.1.6 → 0.1.7

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.

Potentially problematic release.


This version of dependicus might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/dist/cli.mjs +4 -2
  2. package/package.json +5 -5
package/dist/cli.mjs CHANGED
@@ -1406,11 +1406,11 @@ var upgrade_path_default = "{{#if hasVersionsBetween}}\n<section>\n <h2>Upgra
1406
1406
 
1407
1407
  //#endregion
1408
1408
  //#region ../site-builder/src/templates/layouts/base.hbs
1409
- var base_default = "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>{{title}} - {{siteName}}</title>\n <link rel=\"stylesheet\" href=\"{{baseHref}}styles.css\">\n</head>\n<body>\n {{> nav baseHref=baseHref groupings=groupings siteName=siteName timestamp=timestamp}}\n <main class=\"dep-flow\">\n {{{content}}}\n </main>\n {{#if scripts}}\n {{{scripts}}}\n {{/if}}\n</body>\n</html>";
1409
+ var base_default = "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>{{title}} - {{siteName}}</title>\n <link rel=\"stylesheet\" href=\"{{baseHref}}styles.css\">\n</head>\n<body>\n {{> nav baseHref=baseHref providerPrefix=providerPrefix groupings=groupings siteName=siteName timestamp=timestamp}}\n <main class=\"dep-flow\">\n {{{content}}}\n </main>\n {{#if scripts}}\n {{{scripts}}}\n {{/if}}\n</body>\n</html>";
1410
1410
 
1411
1411
  //#endregion
1412
1412
  //#region ../site-builder/src/templates/layouts/index.hbs
1413
- var layouts_default = "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>{{siteName}} - {{title}}</title>\n <style>\n{{{cssContent}}}\n </style>\n</head>\n<body class=\"dep-dashboard\">\n {{> nav baseHref=\"\" groupings=groupings siteName=siteName timestamp=timestamp}}\n {{{content}}}\n\n <script>\n // Bundled browser code (main.ts + formatters.ts + config.ts)\n{{{bundledJs}}}\n <\/script>\n</body>\n</html>";
1413
+ var layouts_default = "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>{{siteName}} - {{title}}</title>\n <style>\n{{{cssContent}}}\n </style>\n</head>\n<body class=\"dep-dashboard\">\n {{> nav baseHref=\"\" providerPrefix=providerPrefix groupings=groupings siteName=siteName timestamp=timestamp}}\n {{{content}}}\n\n <script>\n // Bundled browser code (main.ts + formatters.ts + config.ts)\n{{{bundledJs}}}\n <\/script>\n</body>\n</html>";
1414
1414
 
1415
1415
  //#endregion
1416
1416
  //#region ../site-builder/src/templates/pages/dependency-detail.hbs
@@ -1691,12 +1691,14 @@ var HtmlWriter = class {
1691
1691
  slug: g.slugPrefix ?? g.key
1692
1692
  })))
1693
1693
  });
1694
+ const defaultProviderPrefix = providers.length > 0 ? `${providers[0].name}/` : "";
1694
1695
  return this.templateService.render("layouts/index", {
1695
1696
  title: "Dependency Report",
1696
1697
  siteName: this.siteName,
1697
1698
  cssContent,
1698
1699
  bundledJs,
1699
1700
  content,
1701
+ providerPrefix: defaultProviderPrefix,
1700
1702
  timestamp: (/* @__PURE__ */ new Date()).toLocaleString(),
1701
1703
  groupings: this.groupings.map((g) => ({
1702
1704
  label: g.label,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dependicus",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
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/core": "0.1.0",
61
60
  "@dependicus/linear": "0.1.0",
61
+ "@dependicus/provider-go": "0.1.0",
62
62
  "@dependicus/provider-rust": "0.1.0",
63
- "@dependicus/site-builder": "0.1.0",
64
63
  "@dependicus/provider-mise": "0.1.0",
65
- "@dependicus/providers-python": "0.1.0",
66
64
  "@dependicus/providers-node": "0.1.0",
65
+ "@dependicus/core": "0.1.0",
66
+ "@dependicus/site-builder": "0.1.0",
67
67
  "@dependicus/github-issues": "0.1.0",
68
- "@dependicus/provider-go": "0.1.0"
68
+ "@dependicus/providers-python": "0.1.0"
69
69
  },
70
70
  "scripts": {
71
71
  "dependicus": "node dist/bin.mjs",