chore: Move linedrawings
This commit is contained in:
parent
2357fdfaca
commit
e36c98ea5b
40 changed files with 161 additions and 3 deletions
|
@ -79,9 +79,13 @@ packageJson:
|
||||||
".":
|
".":
|
||||||
"internal": "./src/index.mjs"
|
"internal": "./src/index.mjs"
|
||||||
"default": "./dist/index.mjs"
|
"default": "./dist/index.mjs"
|
||||||
|
# Legacy
|
||||||
"./linedrawings": "./src/linedrawings/index.mjs"
|
"./linedrawings": "./src/linedrawings/index.mjs"
|
||||||
"./pattern": "./src/pattern/index.mjs"
|
"./pattern": "./src/pattern/index.mjs"
|
||||||
"./xray": "./src/pattern-xray/index.mjs"
|
"./xray": "./src/pattern-xray/index.mjs"
|
||||||
|
# Components
|
||||||
|
"./components/LineDrawing": "./components/LineDrawing/index.mjs"
|
||||||
|
# Config
|
||||||
"./config/freesewing": "./config/freesewing/index.mjs"
|
"./config/freesewing": "./config/freesewing/index.mjs"
|
||||||
# Context
|
# Context
|
||||||
"./context/loadingStatus": "./context/loadingStatus/index.mjs"
|
"./context/loadingStatus": "./context/loadingStatus/index.mjs"
|
||||||
|
|
|
@ -35,7 +35,10 @@ import { Uma, UmaFront, UmaBack } from './uma.mjs'
|
||||||
import { Umbra, UmbraFront, UmbraBack } from './umbra.mjs'
|
import { Umbra, UmbraFront, UmbraBack } from './umbra.mjs'
|
||||||
import { Wahid, WahidFront, WahidBack } from './wahid.mjs'
|
import { Wahid, WahidFront, WahidBack } from './wahid.mjs'
|
||||||
|
|
||||||
export const lineDrawingsFront = {
|
/*
|
||||||
|
* Bundle all fronts
|
||||||
|
*/
|
||||||
|
const lineDrawingsFront = {
|
||||||
aaron: AaronFront,
|
aaron: AaronFront,
|
||||||
albert: AlbertFront,
|
albert: AlbertFront,
|
||||||
bee: BeeFront,
|
bee: BeeFront,
|
||||||
|
@ -74,7 +77,10 @@ export const lineDrawingsFront = {
|
||||||
wahid: WahidFront,
|
wahid: WahidFront,
|
||||||
}
|
}
|
||||||
|
|
||||||
export const lineDrawingsBack = {
|
/*
|
||||||
|
* Bundle all backs
|
||||||
|
*/
|
||||||
|
const lineDrawingsBack = {
|
||||||
aaron: AaronBack,
|
aaron: AaronBack,
|
||||||
bella: BellaBack,
|
bella: BellaBack,
|
||||||
bent: BentBack,
|
bent: BentBack,
|
||||||
|
@ -103,7 +109,10 @@ export const lineDrawingsBack = {
|
||||||
wahid: WahidBack,
|
wahid: WahidBack,
|
||||||
}
|
}
|
||||||
|
|
||||||
export const lineDrawings = {
|
/*
|
||||||
|
* Bundle all linedrawings
|
||||||
|
*/
|
||||||
|
const lineDrawings = {
|
||||||
aaron: Aaron,
|
aaron: Aaron,
|
||||||
albert: Albert,
|
albert: Albert,
|
||||||
bee: Bee,
|
bee: Bee,
|
||||||
|
@ -141,3 +150,147 @@ export const lineDrawings = {
|
||||||
umbra: Umbra,
|
umbra: Umbra,
|
||||||
wahid: Wahid,
|
wahid: Wahid,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Named exports
|
||||||
|
*/
|
||||||
|
export {
|
||||||
|
// Bundles
|
||||||
|
lineDrawings,
|
||||||
|
lineDrawingsBack,
|
||||||
|
lineDrawingsFront,
|
||||||
|
// Aaron
|
||||||
|
Aaron,
|
||||||
|
AaronFront,
|
||||||
|
AaronBack,
|
||||||
|
// Albert
|
||||||
|
Albert,
|
||||||
|
AlbertFront,
|
||||||
|
// Bee
|
||||||
|
Bee,
|
||||||
|
BeeFront,
|
||||||
|
// Bella
|
||||||
|
Bella,
|
||||||
|
BellaFront,
|
||||||
|
BellaBack,
|
||||||
|
// Benjamin
|
||||||
|
Benjamin,
|
||||||
|
BenjaminFront,
|
||||||
|
// Bent
|
||||||
|
Bent,
|
||||||
|
BentFront,
|
||||||
|
BentBack,
|
||||||
|
// Bibi
|
||||||
|
Bibi,
|
||||||
|
BibiFront,
|
||||||
|
BibiBack,
|
||||||
|
// Bob
|
||||||
|
Bob,
|
||||||
|
BobFront,
|
||||||
|
BobBack,
|
||||||
|
// Breanna
|
||||||
|
Breanna,
|
||||||
|
BreannaFront,
|
||||||
|
BreannaBack,
|
||||||
|
// Brian
|
||||||
|
Brian,
|
||||||
|
BrianFront,
|
||||||
|
BrianBack,
|
||||||
|
// Bruce
|
||||||
|
Bruce,
|
||||||
|
BruceFront,
|
||||||
|
BruceBack,
|
||||||
|
// Carlita
|
||||||
|
Carlita,
|
||||||
|
CarlitaFront,
|
||||||
|
CarlitaBack,
|
||||||
|
// Carlton
|
||||||
|
Carlton,
|
||||||
|
CarltonFront,
|
||||||
|
CarltonBack,
|
||||||
|
// Cathrin
|
||||||
|
Cathrin,
|
||||||
|
CathrinFront,
|
||||||
|
CathrinBack,
|
||||||
|
// Charlie
|
||||||
|
Charlie,
|
||||||
|
CharlieFront,
|
||||||
|
CharlieBack,
|
||||||
|
// Cornelius
|
||||||
|
Cornelius,
|
||||||
|
CorneliusFront,
|
||||||
|
CorneliusBack,
|
||||||
|
// Diana
|
||||||
|
Diana,
|
||||||
|
DianaFront,
|
||||||
|
DianaBack,
|
||||||
|
// Florence
|
||||||
|
Florence,
|
||||||
|
FlorenceFront,
|
||||||
|
// Florent
|
||||||
|
Florent,
|
||||||
|
FlorentFront,
|
||||||
|
// Gozer
|
||||||
|
Gozer,
|
||||||
|
GozerFront,
|
||||||
|
GozerBack,
|
||||||
|
// Hi
|
||||||
|
Hi,
|
||||||
|
HiFront,
|
||||||
|
// Holmes
|
||||||
|
Holmes,
|
||||||
|
HolmesFront,
|
||||||
|
// Hortensia
|
||||||
|
Hortensia,
|
||||||
|
HortensiaFront,
|
||||||
|
// Huey
|
||||||
|
Huey,
|
||||||
|
HueyFront,
|
||||||
|
HueyBack,
|
||||||
|
// Hugo
|
||||||
|
Hugo,
|
||||||
|
HugoFront,
|
||||||
|
HugoBack,
|
||||||
|
// Lucy
|
||||||
|
Lucy,
|
||||||
|
LucyFront,
|
||||||
|
// Lumina
|
||||||
|
Lumina,
|
||||||
|
LuminaFront,
|
||||||
|
LuminaBack,
|
||||||
|
// Lumira
|
||||||
|
Lumira,
|
||||||
|
LumiraFront,
|
||||||
|
LumiraBack,
|
||||||
|
// Lunetius
|
||||||
|
Lunetius,
|
||||||
|
LunetiusFront,
|
||||||
|
// Noble
|
||||||
|
Noble,
|
||||||
|
NobleFront,
|
||||||
|
NobleBack,
|
||||||
|
// Simon
|
||||||
|
Simon,
|
||||||
|
SimonFront,
|
||||||
|
SimonBack,
|
||||||
|
// Teagan
|
||||||
|
Teagan,
|
||||||
|
TeaganFront,
|
||||||
|
TeaganBack,
|
||||||
|
// Tristan
|
||||||
|
Tristan,
|
||||||
|
TristanFront,
|
||||||
|
TristanBack,
|
||||||
|
// Uma
|
||||||
|
Uma,
|
||||||
|
UmaFront,
|
||||||
|
UmaBack,
|
||||||
|
// Umbra
|
||||||
|
Umbra,
|
||||||
|
UmbraFront,
|
||||||
|
UmbraBack,
|
||||||
|
// Wahid
|
||||||
|
Wahid,
|
||||||
|
WahidFront,
|
||||||
|
WahidBack,
|
||||||
|
}
|
|
@ -27,6 +27,7 @@
|
||||||
"./linedrawings": "./src/linedrawings/index.mjs",
|
"./linedrawings": "./src/linedrawings/index.mjs",
|
||||||
"./pattern": "./src/pattern/index.mjs",
|
"./pattern": "./src/pattern/index.mjs",
|
||||||
"./xray": "./src/pattern-xray/index.mjs",
|
"./xray": "./src/pattern-xray/index.mjs",
|
||||||
|
"./components/LineDrawing": "./components/LineDrawing/index.mjs",
|
||||||
"./config/freesewing": "./config/freesewing/index.mjs",
|
"./config/freesewing": "./config/freesewing/index.mjs",
|
||||||
"./context/loadingStatus": "./context/loadingStatus/index.mjs",
|
"./context/loadingStatus": "./context/loadingStatus/index.mjs",
|
||||||
"./hooks/useBackend": "./hooks/useBackend/index.mjs",
|
"./hooks/useBackend": "./hooks/useBackend/index.mjs",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue