diff --git a/lib/types.ts b/lib/types.ts index 9e3f4e3d3..2376705e3 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -4,6 +4,9 @@ import type { categories } from './categories' // TODO: Support version matrix export interface ModuleCompatibility { nuxt: string + versionMap: { + [nuxtVersion: string]: string + } requires: { bridge?: boolean | 'optional' }, } diff --git a/modules/image.yml b/modules/image.yml index afee369c8..f93137e97 100644 --- a/modules/image.yml +++ b/modules/image.yml @@ -27,3 +27,6 @@ compatibility: nuxt: ^2.0.0 || ^3.0.0 requires: bridge: optional + versionMap: + 2.x: latest + 3.x: rc