1
0
Fork 0

import name and version from data.mjs in plugins

This commit is contained in:
Enoch Riese 2022-09-09 12:13:52 -05:00
parent 181c6200da
commit 2179f29b9f
22 changed files with 22 additions and 22 deletions

View file

@ -1,4 +1,4 @@
import { version, name } from '../package.json' assert { type: 'json' } import { version, name } from '../data.mjs'
export const plugin = { export const plugin = {
name, name,

View file

@ -1,4 +1,4 @@
import { version, name } from '../package.json' assert { type: 'json' } import { version, name } from '../data.mjs'
// Helper method to construct prefixed/suffixed name // Helper method to construct prefixed/suffixed name
const getName = (n, so) => `${so.prefix}${n}${so.suffix}` const getName = (n, so) => `${so.prefix}${n}${so.suffix}`

View file

@ -12,7 +12,7 @@ import { scaleboxPlugin } from '../../plugin-scalebox/src/index.mjs'
import { roundPlugin } from '../../plugin-round/src/index.mjs' import { roundPlugin } from '../../plugin-round/src/index.mjs'
import { sprinklePlugin } from '../../plugin-sprinkle/src/index.mjs' import { sprinklePlugin } from '../../plugin-sprinkle/src/index.mjs'
import { measurementsPlugin } from '../../plugin-measurements/src/index.mjs' import { measurementsPlugin } from '../../plugin-measurements/src/index.mjs'
import { name, version } from '../package.json' import { name, version } from '../data.mjs'
const bundledPlugins = [ const bundledPlugins = [
bannerPlugin, bannerPlugin,

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' assert { type: 'json' } import { name, version } from '../data.mjs'
export const plugin = { export const plugin = {
name, name,

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' assert { type: 'json' } import { name, version } from '../data.mjs'
const defs = [ const defs = [
// button // button

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' assert { type: 'json' } import { name, version } from '../data.mjs'
const markers = ` const markers = `
<marker orient="auto" refY="4.0" refX="0.0" id="cutonfoldFrom" style="overflow:visible;" markerWidth="12" markerHeight="8"> <marker orient="auto" refY="4.0" refX="0.0" id="cutonfoldFrom" style="overflow:visible;" markerWidth="12" markerHeight="8">

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' assert { type: 'json' } import { name, version } from '../data.mjs'
const markers = ` const markers = `
<marker orient="auto" refY="4.0" refX="0.0" id="dimensionFrom" style="overflow:visible;" markerWidth="12" markerHeight="8"> <marker orient="auto" refY="4.0" refX="0.0" id="dimensionFrom" style="overflow:visible;" markerWidth="12" markerHeight="8">

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' assert { type: 'json' } import { name, version } from '../data.mjs'
export const plugin = { export const plugin = {
name, name,

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' import { name, version } from '../data.mjs'
export const plugin = { export const plugin = {
name, name,

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' assert { type: 'json' } import { name, version } from '../data.mjs'
const markers = ` const markers = `
<marker orient="auto" refY="4.0" refX="10.0" id="grainlineFrom" style="overflow:visible;" markerWidth="12" markerHeight="8"> <marker orient="auto" refY="4.0" refX="10.0" id="grainlineFrom" style="overflow:visible;" markerWidth="12" markerHeight="8">

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' import { name, version } from '../data.mjs'
export const plugin = { export const plugin = {
name, name,

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' import { name, version } from '../data.mjs'
export const plugin = { export const plugin = {
name, name,

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' import { name, version } from '../data.mjs'
const lineValues = (start, end) => { const lineValues = (start, end) => {
const { x: x1, y: y1 } = start const { x: x1, y: y1 } = start

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' import { name, version } from '../data.mjs'
const notches = ` const notches = `
<g id="notch"> <g id="notch">

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' import { name, version } from '../data.mjs'
export const plugin = { export const plugin = {
name, name,

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' import { name, version } from '../data.mjs'
import { scalebox } from './scalebox.mjs' import { scalebox } from './scalebox.mjs'
import { miniscale } from './miniscale.mjs' import { miniscale } from './miniscale.mjs'

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' import { name, version } from '../data.mjs'
export const plugin = { export const plugin = {
name, name,

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' import { name, version } from '../data.mjs'
export const plugin = { export const plugin = {
name, name,

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' import { name, version } from '../data.mjs'
import { sample, paperless, buildStylesheet } from './css.mjs' import { sample, paperless, buildStylesheet } from './css.mjs'
const grid = { const grid = {

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' import { name, version } from '../data.mjs'
const style = ` const style = `
text.title-nr { text.title-nr {

View file

@ -1,4 +1,4 @@
import { name, version } from '../package.json' import { name, version } from '../data.mjs'
export const plugin = { export const plugin = {
name, name,