@djangocfg/nextjs 2.1.48 → 2.1.50

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djangocfg/nextjs",
3
- "version": "2.1.48",
3
+ "version": "2.1.50",
4
4
  "description": "Next.js server utilities: sitemap, health, OG images, contact forms, navigation, config",
5
5
  "keywords": [
6
6
  "nextjs",
@@ -74,11 +74,6 @@
74
74
  "import": "./dist/ai/index.mjs",
75
75
  "default": "./dist/ai/index.mjs"
76
76
  },
77
- "./scripts": {
78
- "types": "./dist/scripts/index.d.mts",
79
- "import": "./dist/scripts/index.mjs",
80
- "default": "./dist/scripts/index.mjs"
81
- },
82
77
  "./pwa": {
83
78
  "types": "./dist/pwa/index.d.mts",
84
79
  "import": "./dist/pwa/index.mjs",
@@ -121,7 +116,6 @@
121
116
  "clean": "rm -rf dist",
122
117
  "lint": "eslint .",
123
118
  "check": "tsc --noEmit",
124
- "check-links": "tsx src/scripts/check-links.ts",
125
119
  "ai-docs": "tsx src/ai/cli.ts",
126
120
  "pwa": "tsx src/pwa/cli.ts"
127
121
  },
@@ -139,9 +133,9 @@
139
133
  "web-push": "^3.6.7"
140
134
  },
141
135
  "devDependencies": {
142
- "@djangocfg/imgai": "^2.1.48",
143
- "@djangocfg/layouts": "^2.1.48",
144
- "@djangocfg/typescript-config": "^2.1.48",
136
+ "@djangocfg/imgai": "^2.1.50",
137
+ "@djangocfg/layouts": "^2.1.50",
138
+ "@djangocfg/typescript-config": "^2.1.50",
145
139
  "@types/node": "^24.7.2",
146
140
  "@types/react": "19.2.2",
147
141
  "@types/react-dom": "19.2.1",
@@ -150,10 +144,7 @@
150
144
  "@types/webpack": "^5.28.5",
151
145
  "@vercel/og": "^0.8.5",
152
146
  "eslint": "^9.37.0",
153
- "linkinator": "^7.5.0",
154
147
  "lucide-react": "^0.545.0",
155
- "picocolors": "^1.1.1",
156
- "prompts": "^2.4.2",
157
148
  "tsup": "^8.0.1",
158
149
  "tsx": "^4.19.2",
159
150
  "typescript": "^5.9.3"
@@ -1,45 +0,0 @@
1
- /**
2
- * Smart Link Checker using linkinator
3
- *
4
- * Checks all links on a website with proper error handling,
5
- * timeout management, and filtering of problematic URLs.
6
- *
7
- * @example
8
- * ```bash
9
- * node check-links.ts https://example.com
10
- * ```
11
- */
12
- interface CheckLinksOptions {
13
- /** Base URL to check */
14
- url: string;
15
- /** Timeout in milliseconds (default: 60000) */
16
- timeout?: number;
17
- /** URLs to skip (regex pattern) */
18
- skipPattern?: string;
19
- /** Show only broken links (default: true) */
20
- showOnlyBroken?: boolean;
21
- /** Maximum number of concurrent requests (default: 50) */
22
- concurrency?: number;
23
- /** Output file path for report (optional) */
24
- outputFile?: string;
25
- /** Report format: 'json', 'markdown', 'text' (default: 'text') */
26
- reportFormat?: 'json' | 'markdown' | 'text';
27
- /** Verbose logging (default: true) */
28
- verbose?: boolean;
29
- }
30
- interface CheckLinksResult {
31
- success: boolean;
32
- broken: number;
33
- total: number;
34
- errors: Array<{
35
- url: string;
36
- status: number | string;
37
- reason?: string;
38
- }>;
39
- url: string;
40
- timestamp: string;
41
- duration?: number;
42
- }
43
- declare function checkLinks(options: CheckLinksOptions): Promise<CheckLinksResult>;
44
-
45
- export { type CheckLinksOptions, checkLinks };