{"ref":"artifact:mauriciolauffer-cap-js-mockdata","page":"/artifacts/mauriciolauffer-cap-js-mockdata","json":"/artifacts/mauriciolauffer-cap-js-mockdata.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"mauriciolauffer-cap-js-mockdata","name":"cap-js-mockdata","artifact_type":"generator","ecosystem":"cap","domain":"developer-experience","origin_ring":"independent","description":{"one_line":"A cds add command that generates CSV seed files into db/data from @Mockdata annotations on your entities, filling each column with values from the Faker module the annotation names.","short":"CSV seed data generated from @Mockdata annotations with Faker","what_it_solves":"Turns an empty model into a demonstrable one. `cds add mockdata` writes a CSV per entity into db/data, with values driven by Faker modules named in the annotation — so names look like names and IBANs like IBANs, rather than every row reading str1.","when_not_to_use":"Not a test-data factory. It writes files at build time to seed a database, so it does not build fixtures inside a unit test. The declared peer range stops at cds 7 — nothing says it fails on 9, but nothing says it was tried either."},"links":{"npm":"https://www.npmjs.com/package/cap-js-mockdata","repo":"https://github.com/mauriciolauffer/cap-js-mockdata"},"provides":[{"capability":"capability:seed-data","what_it_does":"Generates the CSV files the core loads at deploy time, with values drawn from the Faker module named per element in an @Mockdata annotation — so the difference from `cds add data` is realism, not volume.","sources":[{"url":"https://github.com/mauriciolauffer/cap-js-mockdata#using","title":"cap-js-mockdata — Using","checked":"2026-09-01","quote":"The cds add mockdata command will create CSV files for every supported CDS Entity. The CSV files will be created into the db/data folder"}]}],"provenance":{"discovered_via":[{"source":"source:npm"},{"source":"source:discover"}],"first_seen":"2026-08-30"},"identity":{"author":"Mauricio Lauffer","license":"MIT"},"compat":{"runtimes":["build-time","node"],"cds_range":">=7"},"type_properties":{"distribution":{"value":["npm"],"sources":[{"url":"https://github.com/mauriciolauffer/cap-js-mockdata","title":"cap-js-mockdata — README","checked":"2026-10-18","quote":"npm i -D cap-js-mockdata"}]},"invoked_by":{"value":["cds-add"],"sources":[{"url":"https://github.com/mauriciolauffer/cap-js-mockdata","title":"cap-js-mockdata — README","checked":"2026-10-18","quote":"cds add mockdata"}]}},"source_available":true,"history":[{"date":"2026-09-01","field":"provides","from":"capability:testing","to":"capability:seed-data","reason":"Placement put it on testing because the README says 'for testing'. Reading what it does moved it: cds add mockdata writes CSV into db/data, which is the seed-data capability — and precisely where that capability already said the core stops. It seeds a database; it does not build fixtures in a test."},{"date":"2026-09-01","field":"verdict.reason","from":"Dormant for over two years, and it matters less than the signal suggests: this runs at build time and leaves CSV you keep. A generator you invoke once is not a runtime dependency — if it broke you would know at once, and the output outlives it. The real caution is the peer range, which predates cds 9.","to":"Narrower than it was: the core has generated seed volumes with `cds add data` since mid-2024, so what is left here is per-element realism via Faker annotations. Still the only thing offering that. Dormant two years matters less for a build-time generator whose output is CSV you keep — the real caution is the peer range, which predates cds 9.","reason":"Recording `cds add data` as a version change on seed-data narrowed what this plugin uniquely offers. The verdict stays TRY, but for a smaller reason than yesterday, and saying so is the point of dating verdicts."},{"date":"2026-09-06","field":"verdict","from":"TRY","to":"retired","reason":"Verdict rings retired. What the ring compressed now lives in readings derived from facts (liveness, compatibility, reach) and in the description fields, so a thing can be dead as a dependency and still worth reading. VISION §9."}],"maintainers":["actor:mauriciolauffer"],"contributors":["actor:mauriciolauffer"],"drafted_with_ai":true},"effective_normative_relations":[],"readings":{"liveness":[{"label":"Maintenance","tier":"poor","evidence":"30 months since release"},{"label":"Continuity","tier":"fair","evidence":"one contributor, personally owned"},{"label":"Repository","tier":"poor","evidence":"pushed 2024-07, not archived"}],"compatibility":[{"label":"Declared for","tier":"good","evidence":">=7 — includes cds 10 and 9"},{"label":"Survived majors","tier":"poor","evidence":"no release since @sap/cds 10 shipped (July 2026)"},{"label":"Maintainer's CI","tier":"fair","evidence":"workflows present, no completed run on the default branch"}],"practice":[{"label":"Tests","tier":"good","evidence":"3 test files, npm test"},{"label":"Docs","tier":"fair","evidence":"README 4 KB"},{"label":"Changelog","tier":"good","evidence":"CHANGELOG in the repo"}],"reach":[{"value":83,"unit":"installs/week"},{"value":4,"unit":"watching"}]},"signals":{"crawled_at":"2026-10-26","latest_version":"0.0.3","majors":{"0.0":{"version":"0.0.2","date":"2024-04-19"}},"license":"MIT","first_release":"2024-04-19","last_release":"2024-04-21","releases":2,"cadence_days":null,"maintainers":1,"repository":"git+https://github.com/mauriciolauffer/cap-js-mockdata.git","peer_cds":">=7","test_script":true,"types":false,"downloads_weekly":83,"stars":4,"forks":0,"open_issues":2,"archived":false,"pushed_at":"2024-07-01","license_spdx":"MIT","org_owned":false,"default_branch":"main","contributors":1,"tree_truncated":false,"test_files":3,"workflows":5,"other_ci":false,"readme_bytes":3962,"docs_files":0,"changelog":true,"license_file":true,"dts_files":0,"readme_path":"README.md","readme_sha":"76cd57edc0b6112d2f47cb6099f977fb7d24550f","months_since_release":30,"dormant":true,"repository_directory":null,"first_commit":"2024-01-30","last_commit":"2024-04-21","commits":5,"dependencies":2,"node_engine":null,"downloads_monthly":568,"created_at":"2024-01-30T06:50:31Z","open_prs":1,"repo_read":"2026-10-26"},"release_notes":{"license":"MIT","quotable":true,"source":{"kind":"repo","path":"CHANGELOG.md","ref":"main","url":"https://github.com/mauriciolauffer/cap-js-mockdata/blob/main/CHANGELOG.md"},"format":"conventional","releases":[{"version":"0.0.3","date":"2024-04-21","date_source":"heading","heading":"0.0.3 (2024-04-21)","url":"https://github.com/mauriciolauffer/cap-js-mockdata/blob/main/CHANGELOG.md#003-2024-04-21","sections":[{"kind":"fix","heading":"Bug Fixes","items":1}],"hash":"b8b28a49573f0044"},{"version":"0.0.2","date":"2024-04-19","date_source":"heading","heading":"0.0.2 (2024-04-19)","url":"https://github.com/mauriciolauffer/cap-js-mockdata/blob/main/CHANGELOG.md#002-2024-04-19","sections":[{"kind":"fix","heading":"Bug Fixes","items":1}],"hash":"c8aa0419132dbc37"}],"versions":[{"version":"0.0.3","date":"2024-04-21"},{"version":"0.0.2","date":"2024-04-19"}],"crawled_at":"2026-10-25"},"edges":{"maintainers":[{"ref":"actor:mauriciolauffer","name":"Mauricio Lauffer","json":"/actors/mauriciolauffer.json"}],"contributors":[{"ref":"actor:mauriciolauffer","name":"Mauricio Lauffer","json":"/actors/mauriciolauffer.json"}],"explained_by":[],"alternative_to_this":[{"ref":"artifact:xbergun-cap-mock-generator","name":"cap-mock-generator","json":"/artifacts/xbergun-cap-mock-generator.json"}],"needed_by":[],"available_via":[],"parts":[],"add_ons":[],"answered_through_parts":[]}}