Changelog
All three packages (@martipops/cms-core, @martipops/cms-adonis, @martipops/cms-vue) share one version while they live together. Breaking changes are allowed before 1.0 and are listed under Breaking.
0.1.0
First version prepared for use outside Impellizzeri's Pizza, in its own repo and published privately to GitHub Packages.
Breaking
- Renamed from
@imps/cms-*to@martipops/cms-*. mediaExistsis nowmedia: { exists, baseUrl? }, and it's only required once a schema has image or file fields. Missing it fails at boot.f.file()defaults to thefilesfolder (waspdfs).f.image()takes afolder(defaultimages).- Link fields pick from the
linkFolderplugin option (defaultfiles) or the field'sfolder, instead of alwayspdfs. The button reads Choose file. TABLESis replaced bycmsTables(prefix)andcms.tables.mediaUrlis no longer exported from@martipops/cms-core(use the one from@martipops/cms-vue).mediaKeysIn/mediaKeysInFieldstake{ baseUrl, custom }.
Added
node ace configure @martipops/cms-adonis: registers the provider and commands, createsconfig/cms.tsand the migration, mounts the routes, and installs the Vue plugin and Tailwind entry.cms:make:page,cms:make:collectionandcms:make:fieldgenerators, which also register what they create inconfig/cms.ts.@martipops/cms-vueships compiled (dist/, with type declarations) instead of.vuesource, plus a Vite plugin,@martipops/cms-vue/vite, that sites add tovite.config.ts(the installer does).tablePrefixconfig.cmsTablesV1(@martipops/cms-adonis/schema): the tables as a versioned migration step.@martipops/cms-vue/tailwind.css, replacing a hand-written@sourcepath.- Standalone test suites for
cms-coreandcms-adonis.
Fixed
cms-adonisimported types from@vinejs/compiler, which it didn't depend on.slugifystrips accents with an explicit Unicode range.- Builds from a fresh install outside the site:
cms-adonisdeclaresluxonand@adonisjs/assemblerfor its tests, and itsts-morphtypes follow the assembler's major version (28).cms-vuetype-checks under newervue-tsc.