1
0
Fork 0

fix(plugin-annotations): Make name consistently plural

This commit is contained in:
joostdecock 2023-04-10 15:31:09 +02:00
parent 441e0d7011
commit c876e125c5
5 changed files with 10 additions and 10 deletions

View file

@ -1,4 +1,4 @@
import { annotationPlugin } from '@freesewing/plugin-annotations'
import { annotationsPlugin } from '@freesewing/plugin-annotations'
import { base } from './base.mjs'
const pluginCrossbox = ({ points, Point, paths, Path, options, macro, part }) => {
@ -24,6 +24,6 @@ export const crossbox = {
options: {
crossboxText: { bool: false, menu: 'crossbox' },
},
plugins: annotationPlugin,
plugins: annotationsPlugin,
draft: pluginCrossbox,
}

View file

@ -1,4 +1,4 @@
import { annotationPlugin } from '@freesewing/plugin-annotations'
import { annotationsPlugin } from '@freesewing/plugin-annotations'
import { base } from './base.mjs'
const pluginCutonfold = ({ points, Point, paths, Path, options, macro, part }) => {
@ -28,6 +28,6 @@ export const cutonfold = {
cutonfoldOffset: { count: 15, min: 0, max: 100, menu: 'cutonfold' },
cutonfoldGrainline: { bool: false, menu: 'cutonfold' },
},
plugins: annotationPlugin,
plugins: annotationsPlugin,
draft: pluginCutonfold,
}

View file

@ -1,4 +1,4 @@
import { annotationPlugin } from '@freesewing/plugin-annotations'
import { annotationsPlugin } from '@freesewing/plugin-annotations'
import { base } from './base.mjs'
const pluginPleat = ({ points, Point, paths, Path, options, macro, part }) => {
@ -26,6 +26,6 @@ export const pleat = {
pleatMargin: { count: 35, min: 0, max: 50, menu: 'pleat' },
pleatReverse: { bool: false, menu: 'pleat' },
},
plugins: annotationPlugin,
plugins: annotationsPlugin,
draft: pluginPleat,
}

View file

@ -1,4 +1,4 @@
import { annotationPlugin } from '@freesewing/plugin-annotations'
import { annotationsPlugin } from '@freesewing/plugin-annotations'
import { base } from './base.mjs'
const pluginSewtogether = ({ points, Point, paths, Path, options, macro, part }) => {
@ -27,6 +27,6 @@ export const sewtogether = {
sewtogetherHinge: { bool: true, menu: 'sewtogether' },
sewtogetherMiddle: { bool: false, menu: 'sewtogether' },
},
plugins: annotationPlugin,
plugins: annotationsPlugin,
draft: pluginSewtogether,
}

View file

@ -1,4 +1,4 @@
import { annotationPlugin } from '../../plugin-annotations/src/index.mjs'
import { annotationsPlugin } from '../../plugin-annotations/src/index.mjs'
import { bannerPlugin } from '../../plugin-banner/src/index.mjs'
import { dimensionPlugin } from '../../plugin-dimension/src/index.mjs'
@ -10,7 +10,7 @@ import { titlePlugin } from '../../plugin-title/src/index.mjs'
import { name, version } from '../data.mjs'
const bundledPlugins = [
annotationPlugin,
annotationsPlugin,
bannerPlugin,
dimensionPlugin,
measurementsPlugin,