portapack 0.3.0 → 0.3.1
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/.github/workflows/ci.yml +5 -4
- package/CHANGELOG.md +8 -0
- package/README.md +8 -13
- package/dist/cli/cli-entry.cjs +17 -38
- package/dist/cli/cli-entry.cjs.map +1 -1
- package/dist/index.js +17 -38
- package/dist/index.js.map +1 -1
- package/docs/.vitepress/config.ts +0 -1
- package/docs/cli.md +14 -67
- package/docs/configuration.md +101 -116
- package/docs/getting-started.md +74 -44
- package/package.json +1 -1
- package/src/core/extractor.ts +295 -248
- package/tests/unit/cli/cli.test.ts +1 -1
- package/tests/unit/core/extractor.test.ts +412 -208
- package/tests/unit/core/web-fetcher.test.ts +67 -67
- package/tsconfig.jest.json +1 -0
- package/docs/demo.md +0 -46
@@ -282,8 +282,8 @@ describe('CLI Runner Logic', () => {
|
|
282
282
|
expect(result.exitCode).toBe(0);
|
283
283
|
// Standard output should still show success
|
284
284
|
expect(result.stdout).toContain('✅ Packed: index.html → output.html');
|
285
|
+
expect(result.stderr).toMatch(/⚠️\s+1\s+warning\(s\):/);
|
285
286
|
// Warnings should be logged to stderr
|
286
|
-
expect(result.stderr).toContain('⚠️ 1 warning(s):');
|
287
287
|
expect(result.stderr).toContain(`- ${warningMessage}`);
|
288
288
|
});
|
289
289
|
|