fix(core): Migrate file I/O to @push.rocks/smartfs, adopt TC39 decorators v3 accessor in web components, and update docs/tests

This commit is contained in:
2025-12-10 21:37:21 +00:00
parent 627df17b2b
commit 9f92c6e3ae
22 changed files with 319 additions and 1909 deletions

View File

@@ -99,10 +99,8 @@ tap.test("should create an invoice", async () => {
const pdfResult = await testPdfServiceInstance.createPdfFromLetterObject(
optionsArg
);
await plugins.smartfile.memory.toFs(
Buffer.from(pdfResult.buffer),
plugins.path.join(paths.nogitDir, `test-${counter++}.pdf`)
);
await plugins.smartfs.file(plugins.path.join(paths.nogitDir, `test-${counter++}.pdf`))
.write(Buffer.from(pdfResult.buffer));
};
await saveResult({
letterData: testLetterData,