fix(plugin-annotations): Make name consistently plural
This commit is contained in:
parent
441e0d7011
commit
c876e125c5
5 changed files with 10 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
||||||
import { annotationPlugin } from '@freesewing/plugin-annotations'
|
import { annotationsPlugin } from '@freesewing/plugin-annotations'
|
||||||
import { base } from './base.mjs'
|
import { base } from './base.mjs'
|
||||||
|
|
||||||
const pluginCrossbox = ({ points, Point, paths, Path, options, macro, part }) => {
|
const pluginCrossbox = ({ points, Point, paths, Path, options, macro, part }) => {
|
||||||
|
@ -24,6 +24,6 @@ export const crossbox = {
|
||||||
options: {
|
options: {
|
||||||
crossboxText: { bool: false, menu: 'crossbox' },
|
crossboxText: { bool: false, menu: 'crossbox' },
|
||||||
},
|
},
|
||||||
plugins: annotationPlugin,
|
plugins: annotationsPlugin,
|
||||||
draft: pluginCrossbox,
|
draft: pluginCrossbox,
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { annotationPlugin } from '@freesewing/plugin-annotations'
|
import { annotationsPlugin } from '@freesewing/plugin-annotations'
|
||||||
import { base } from './base.mjs'
|
import { base } from './base.mjs'
|
||||||
|
|
||||||
const pluginCutonfold = ({ points, Point, paths, Path, options, macro, part }) => {
|
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' },
|
cutonfoldOffset: { count: 15, min: 0, max: 100, menu: 'cutonfold' },
|
||||||
cutonfoldGrainline: { bool: false, menu: 'cutonfold' },
|
cutonfoldGrainline: { bool: false, menu: 'cutonfold' },
|
||||||
},
|
},
|
||||||
plugins: annotationPlugin,
|
plugins: annotationsPlugin,
|
||||||
draft: pluginCutonfold,
|
draft: pluginCutonfold,
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { annotationPlugin } from '@freesewing/plugin-annotations'
|
import { annotationsPlugin } from '@freesewing/plugin-annotations'
|
||||||
import { base } from './base.mjs'
|
import { base } from './base.mjs'
|
||||||
|
|
||||||
const pluginPleat = ({ points, Point, paths, Path, options, macro, part }) => {
|
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' },
|
pleatMargin: { count: 35, min: 0, max: 50, menu: 'pleat' },
|
||||||
pleatReverse: { bool: false, menu: 'pleat' },
|
pleatReverse: { bool: false, menu: 'pleat' },
|
||||||
},
|
},
|
||||||
plugins: annotationPlugin,
|
plugins: annotationsPlugin,
|
||||||
draft: pluginPleat,
|
draft: pluginPleat,
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { annotationPlugin } from '@freesewing/plugin-annotations'
|
import { annotationsPlugin } from '@freesewing/plugin-annotations'
|
||||||
import { base } from './base.mjs'
|
import { base } from './base.mjs'
|
||||||
|
|
||||||
const pluginSewtogether = ({ points, Point, paths, Path, options, macro, part }) => {
|
const pluginSewtogether = ({ points, Point, paths, Path, options, macro, part }) => {
|
||||||
|
@ -27,6 +27,6 @@ export const sewtogether = {
|
||||||
sewtogetherHinge: { bool: true, menu: 'sewtogether' },
|
sewtogetherHinge: { bool: true, menu: 'sewtogether' },
|
||||||
sewtogetherMiddle: { bool: false, menu: 'sewtogether' },
|
sewtogetherMiddle: { bool: false, menu: 'sewtogether' },
|
||||||
},
|
},
|
||||||
plugins: annotationPlugin,
|
plugins: annotationsPlugin,
|
||||||
draft: pluginSewtogether,
|
draft: pluginSewtogether,
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 { bannerPlugin } from '../../plugin-banner/src/index.mjs'
|
||||||
import { dimensionPlugin } from '../../plugin-dimension/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'
|
import { name, version } from '../data.mjs'
|
||||||
|
|
||||||
const bundledPlugins = [
|
const bundledPlugins = [
|
||||||
annotationPlugin,
|
annotationsPlugin,
|
||||||
bannerPlugin,
|
bannerPlugin,
|
||||||
dimensionPlugin,
|
dimensionPlugin,
|
||||||
measurementsPlugin,
|
measurementsPlugin,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue