Skip to content

Dev local#5

Merged
656d696c65 merged 4 commits intomainfrom
dev-local
Mar 26, 2026
Merged

Dev local#5
656d696c65 merged 4 commits intomainfrom
dev-local

Conversation

@656d696c65
Copy link
Copy Markdown
Member

No description provided.

&mile and others added 4 commits March 25, 2026 15:09
Fixes "Permission denied" error in CI when running `just build`,
which calls ./scripts/build.sh.
- add parseFlatFile, parseXmlFile, and validateFecFile test suites
  covering parsing, validation, edge cases, and cross-format
  consistency
- add vitest config for the engine package with jsdom environment
- add FEC sample files in both flat (txt) and XML formats,
  including XSD schemas for validation reference
- add flat-to-xml.mjs conversion script for generating XML
  samples from flat files
- fix XML parser to extract EcritureLib, PieceRef, and PieceDate
  from the ecriture element instead of the ligne element
- run engine tests during Docker build with cache-busting ARG
- pass arguments through justfile build recipe to build.sh
- add --progress=plain and CACHEBUST build-arg to build.sh

jsdom: 26.1.0
vitest: 4.0.18
- add checks #20-25: empty lines, field count mismatch,
  dot decimal separator, thousands separator, date year
  range (1900-2099), and debit/credit mutual exclusivity
- track line-level parsing issues (empty lines, field
  count mismatches) via new lineIssues array in
  FecParsedFile and FecParsedLineIssue type
- convert XML Montant/Sens to Debit/Credit when
  Debit/Credit elements are absent in parseXmlFile
- add comprehensive test suites for all 25 checks,
  flat file line issue tracking, and Montant/Sens
  conversion
- update README with new checks table (#20-25) and
  add legal/reference links section
- update website navbar with icons and reorder site
  title to "FEC - Arrhes"
- bump version to v0.2.0
- add .dev/ directory with Test-Compta-Demat reference
@656d696c65 656d696c65 merged commit 1684a63 into main Mar 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant