Skip to content

Commit 762ea91

Browse files
chore: update license to GPL-3.0 and adjust test fixture timestamps
1 parent e137b10 commit 762ea91

31 files changed

+4696
-4253
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ The release workflow will automatically:
635635

636636
## 📄 License
637637

638-
This project is licensed under the **Apache License 2.0** - see the [LICENSE](LICENSE) file for details.
638+
This project is licensed under the **GPL-3.0** - see the [LICENSE](LICENSE) file for details.
639639

640640
## 🙏 Acknowledgments
641641

RELEASE_NOTES_ESM_FIX.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# ESM Build Fix Required Before v2.1.7 Release
2+
3+
## Problem
4+
5+
The current build script cannot produce a valid ESM build because:
6+
7+
1. It tries to import CommonJS source files from `../src/`
8+
2. Node.js ESM cannot use named imports from CommonJS without bundling
9+
10+
## Solution Options
11+
12+
### Option A: Use esbuild for ESM (Recommended)
13+
14+
Already a devDependency. Fast, reliable, handles CommonJS→ESM interop.
15+
16+
```javascript
17+
// scripts/build.js (PROPOSED CHANGES)
18+
const esbuild = require("esbuild");
19+
const path = require("path");
20+
21+
// CommonJS build (existing logic - keep as-is)
22+
// ... current CJS build code ...
23+
24+
// ESM build using esbuild
25+
await esbuild.build({
26+
entryPoints: [path.resolve(__dirname, "../src/index.js")],
27+
bundle: true,
28+
format: "esm",
29+
platform: "node",
30+
target: "node18",
31+
outfile: path.join(distDir, "index.mjs"),
32+
external: [
33+
// Mark all production dependencies as external
34+
"@octokit/rest",
35+
"ajv",
36+
"axios",
37+
"chalk",
38+
"commander",
39+
"csv-parse",
40+
"dotenv",
41+
"fast-glob",
42+
"framer-motion",
43+
"inquirer",
44+
"isolated-vm",
45+
"jsdom",
46+
"octokit",
47+
"openai",
48+
"pino",
49+
"plaiceholder",
50+
"sharp",
51+
],
52+
sourcemap: true,
53+
});
54+
```
55+
56+
### Option B: Remove ESM Support Temporarily
57+
58+
Remove `exports["."].import` from package.json until proper bundling is configured.
59+
60+
```json
61+
"exports": {
62+
".": {
63+
"require": "./dist/index.cjs"
64+
// Remove "import": "./dist/index.mjs"
65+
},
66+
"./cli": "./bin/cli.js"
67+
}
68+
```
69+
70+
### Option C: Dual-Module Strategy (Complex)
71+
72+
Create true ES modules in src/ alongside CommonJS, maintain both.
73+
**Not recommended** - high maintenance burden.
74+
75+
## Recommendation
76+
77+
**Use Option A (esbuild)** - it's already a dependency, handles this exact use case, and is production-ready.
78+
79+
## Timeline Impact
80+
81+
- Implementing esbuild: ~30 minutes
82+
- Testing ESM build: ~15 minutes
83+
- Total delay: ~45 minutes before publish

__tests__/fixtures/e2e-data/large-corpus.json

Lines changed: 300 additions & 300 deletions
Large diffs are not rendered by default.

__tests__/fixtures/e2e-data/technical-docs.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"Deployment",
1313
"Troubleshooting"
1414
],
15-
"lastUpdated": "2025-01-27T21:38:19.377Z",
15+
"lastUpdated": "2025-01-27T23:05:12.473Z",
1616
"version": "v4.7",
1717
"metadata": {
1818
"type": "technical_documentation",
@@ -32,7 +32,7 @@
3232
"Deployment",
3333
"Troubleshooting"
3434
],
35-
"lastUpdated": "2025-02-21T18:31:07.896Z",
35+
"lastUpdated": "2025-02-21T19:58:00.991Z",
3636
"version": "v5.9",
3737
"metadata": {
3838
"type": "technical_documentation",
@@ -52,7 +52,7 @@
5252
"Deployment",
5353
"Troubleshooting"
5454
],
55-
"lastUpdated": "2024-10-09T18:23:34.193Z",
55+
"lastUpdated": "2024-10-09T19:50:27.288Z",
5656
"version": "v1.4",
5757
"metadata": {
5858
"type": "technical_documentation",
@@ -72,7 +72,7 @@
7272
"Deployment",
7373
"Troubleshooting"
7474
],
75-
"lastUpdated": "2025-08-31T14:40:04.933Z",
75+
"lastUpdated": "2025-08-31T16:06:58.028Z",
7676
"version": "v5.0",
7777
"metadata": {
7878
"type": "technical_documentation",
@@ -92,7 +92,7 @@
9292
"Deployment",
9393
"Troubleshooting"
9494
],
95-
"lastUpdated": "2024-10-12T15:51:46.785Z",
95+
"lastUpdated": "2024-10-12T17:18:39.880Z",
9696
"version": "v2.9",
9797
"metadata": {
9898
"type": "technical_documentation",
@@ -112,7 +112,7 @@
112112
"Deployment",
113113
"Troubleshooting"
114114
],
115-
"lastUpdated": "2025-03-24T08:16:26.415Z",
115+
"lastUpdated": "2025-03-24T09:43:19.510Z",
116116
"version": "v5.2",
117117
"metadata": {
118118
"type": "technical_documentation",
@@ -132,7 +132,7 @@
132132
"Deployment",
133133
"Troubleshooting"
134134
],
135-
"lastUpdated": "2025-06-25T06:38:30.489Z",
135+
"lastUpdated": "2025-06-25T08:05:23.584Z",
136136
"version": "v4.4",
137137
"metadata": {
138138
"type": "technical_documentation",
@@ -152,7 +152,7 @@
152152
"Deployment",
153153
"Troubleshooting"
154154
],
155-
"lastUpdated": "2024-12-13T00:49:05.674Z",
155+
"lastUpdated": "2024-12-13T02:15:58.769Z",
156156
"version": "v3.4",
157157
"metadata": {
158158
"type": "technical_documentation",
@@ -172,7 +172,7 @@
172172
"Deployment",
173173
"Troubleshooting"
174174
],
175-
"lastUpdated": "2024-11-06T14:25:58.637Z",
175+
"lastUpdated": "2024-11-06T15:52:51.732Z",
176176
"version": "v5.5",
177177
"metadata": {
178178
"type": "technical_documentation",
@@ -192,7 +192,7 @@
192192
"Deployment",
193193
"Troubleshooting"
194194
],
195-
"lastUpdated": "2025-06-09T11:33:36.044Z",
195+
"lastUpdated": "2025-06-09T13:00:29.139Z",
196196
"version": "v1.9",
197197
"metadata": {
198198
"type": "technical_documentation",
@@ -212,7 +212,7 @@
212212
"Deployment",
213213
"Troubleshooting"
214214
],
215-
"lastUpdated": "2025-07-25T11:23:04.563Z",
215+
"lastUpdated": "2025-07-25T12:49:57.658Z",
216216
"version": "v2.3",
217217
"metadata": {
218218
"type": "technical_documentation",
@@ -232,7 +232,7 @@
232232
"Deployment",
233233
"Troubleshooting"
234234
],
235-
"lastUpdated": "2025-07-23T02:52:10.859Z",
235+
"lastUpdated": "2025-07-23T04:19:03.954Z",
236236
"version": "v2.4",
237237
"metadata": {
238238
"type": "technical_documentation",
@@ -252,7 +252,7 @@
252252
"Deployment",
253253
"Troubleshooting"
254254
],
255-
"lastUpdated": "2025-06-14T19:25:21.600Z",
255+
"lastUpdated": "2025-06-14T20:52:14.695Z",
256256
"version": "v3.6",
257257
"metadata": {
258258
"type": "technical_documentation",
@@ -272,7 +272,7 @@
272272
"Deployment",
273273
"Troubleshooting"
274274
],
275-
"lastUpdated": "2025-07-17T13:33:43.452Z",
275+
"lastUpdated": "2025-07-17T15:00:36.547Z",
276276
"version": "v4.8",
277277
"metadata": {
278278
"type": "technical_documentation",
@@ -292,7 +292,7 @@
292292
"Deployment",
293293
"Troubleshooting"
294294
],
295-
"lastUpdated": "2025-04-08T11:35:03.082Z",
295+
"lastUpdated": "2025-04-08T13:01:56.177Z",
296296
"version": "v1.8",
297297
"metadata": {
298298
"type": "technical_documentation",
@@ -312,7 +312,7 @@
312312
"Deployment",
313313
"Troubleshooting"
314314
],
315-
"lastUpdated": "2025-06-10T20:13:47.156Z",
315+
"lastUpdated": "2025-06-10T21:40:40.251Z",
316316
"version": "v3.6",
317317
"metadata": {
318318
"type": "technical_documentation",
@@ -332,7 +332,7 @@
332332
"Deployment",
333333
"Troubleshooting"
334334
],
335-
"lastUpdated": "2024-10-19T21:21:02.341Z",
335+
"lastUpdated": "2024-10-19T22:47:55.436Z",
336336
"version": "v1.0",
337337
"metadata": {
338338
"type": "technical_documentation",
@@ -352,7 +352,7 @@
352352
"Deployment",
353353
"Troubleshooting"
354354
],
355-
"lastUpdated": "2024-11-24T06:34:35.304Z",
355+
"lastUpdated": "2024-11-24T08:01:28.399Z",
356356
"version": "v3.9",
357357
"metadata": {
358358
"type": "technical_documentation",
@@ -372,7 +372,7 @@
372372
"Deployment",
373373
"Troubleshooting"
374374
],
375-
"lastUpdated": "2025-04-28T03:58:52.711Z",
375+
"lastUpdated": "2025-04-28T05:25:45.806Z",
376376
"version": "v3.1",
377377
"metadata": {
378378
"type": "technical_documentation",
@@ -392,7 +392,7 @@
392392
"Deployment",
393393
"Troubleshooting"
394394
],
395-
"lastUpdated": "2025-04-04T00:45:01.230Z",
395+
"lastUpdated": "2025-04-04T02:11:54.325Z",
396396
"version": "v3.0",
397397
"metadata": {
398398
"type": "technical_documentation",
@@ -412,7 +412,7 @@
412412
"Deployment",
413413
"Troubleshooting"
414414
],
415-
"lastUpdated": "2025-05-13T01:50:47.526Z",
415+
"lastUpdated": "2025-05-13T03:17:40.621Z",
416416
"version": "v3.8",
417417
"metadata": {
418418
"type": "technical_documentation",
@@ -432,7 +432,7 @@
432432
"Deployment",
433433
"Troubleshooting"
434434
],
435-
"lastUpdated": "2025-01-04T08:40:38.267Z",
435+
"lastUpdated": "2025-01-04T10:07:31.362Z",
436436
"version": "v3.9",
437437
"metadata": {
438438
"type": "technical_documentation",
@@ -452,7 +452,7 @@
452452
"Deployment",
453453
"Troubleshooting"
454454
],
455-
"lastUpdated": "2024-10-28T13:45:40.119Z",
455+
"lastUpdated": "2024-10-28T15:12:33.214Z",
456456
"version": "v5.7",
457457
"metadata": {
458458
"type": "technical_documentation",
@@ -472,7 +472,7 @@
472472
"Deployment",
473473
"Troubleshooting"
474474
],
475-
"lastUpdated": "2025-07-31T11:23:39.748Z",
475+
"lastUpdated": "2025-07-31T12:50:32.843Z",
476476
"version": "v2.6",
477477
"metadata": {
478478
"type": "technical_documentation",
@@ -492,7 +492,7 @@
492492
"Deployment",
493493
"Troubleshooting"
494494
],
495-
"lastUpdated": "2025-06-04T00:19:03.822Z",
495+
"lastUpdated": "2025-06-04T01:45:56.917Z",
496496
"version": "v3.4",
497497
"metadata": {
498498
"type": "technical_documentation",
@@ -512,7 +512,7 @@
512512
"Deployment",
513513
"Troubleshooting"
514514
],
515-
"lastUpdated": "2025-06-04T02:22:59.007Z",
515+
"lastUpdated": "2025-06-04T03:49:52.102Z",
516516
"version": "v2.4",
517517
"metadata": {
518518
"type": "technical_documentation",
@@ -532,7 +532,7 @@
532532
"Deployment",
533533
"Troubleshooting"
534534
],
535-
"lastUpdated": "2025-06-20T01:13:11.970Z",
535+
"lastUpdated": "2025-06-20T02:40:05.065Z",
536536
"version": "v5.3",
537537
"metadata": {
538538
"type": "technical_documentation",
@@ -552,7 +552,7 @@
552552
"Deployment",
553553
"Troubleshooting"
554554
],
555-
"lastUpdated": "2025-06-23T16:54:09.378Z",
555+
"lastUpdated": "2025-06-23T18:21:02.473Z",
556556
"version": "v4.5",
557557
"metadata": {
558558
"type": "technical_documentation",
@@ -572,7 +572,7 @@
572572
"Deployment",
573573
"Troubleshooting"
574574
],
575-
"lastUpdated": "2024-12-20T04:36:57.896Z",
575+
"lastUpdated": "2024-12-20T06:03:50.991Z",
576576
"version": "v1.1",
577577
"metadata": {
578578
"type": "technical_documentation",
@@ -592,7 +592,7 @@
592592
"Deployment",
593593
"Troubleshooting"
594594
],
595-
"lastUpdated": "2024-12-09T09:19:24.193Z",
595+
"lastUpdated": "2024-12-09T10:46:17.288Z",
596596
"version": "v2.0",
597597
"metadata": {
598598
"type": "technical_documentation",

ci-reports/ci-hardening-results.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"testSuite": "CI/CD Pipeline Hardening Tests",
3-
"timestamp": "2025-10-03T05:02:14.575Z",
3+
"timestamp": "2025-10-03T06:09:02.020Z",
44
"summary": {
55
"totalTests": 1,
66
"highSeverityIssues": 0,
@@ -13,7 +13,7 @@
1313
"workflowsScanned": 7,
1414
"securityIssues": 0,
1515
"severity": "LOW",
16-
"timestamp": "2025-10-03T05:02:14.575Z"
16+
"timestamp": "2025-10-03T06:09:02.020Z"
1717
}
1818
]
1919
}

comprehensive-security-reports/comprehensive-security-report.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"testSuite": "Comprehensive Security and CI/CD Pipeline Test Suite",
3-
"timestamp": "2025-10-03T05:02:19.082Z",
3+
"timestamp": "2025-10-03T06:09:08.296Z",
44
"overallScore": 91,
55
"summary": {
66
"securityTests": 4,

comprehensive-security-reports/security-dashboard.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<div class="container">
2323
<div class="header">
2424
<h1>🔒 RAG Pipeline Utils - Security Dashboard</h1>
25-
<p>Generated: 2025-10-03T05:02:19.082Z</p>
25+
<p>Generated: 2025-10-03T06:09:08.296Z</p>
2626
</div>
2727

2828
<div class="score-card">

0 commit comments

Comments
 (0)