1
0
Fork 0

chore: Move linedrawings

This commit is contained in:
joostdecock 2024-12-08 14:01:55 +01:00
parent 2357fdfaca
commit e36c98ea5b
40 changed files with 161 additions and 3 deletions

View file

@ -79,9 +79,13 @@ packageJson:
".":
"internal": "./src/index.mjs"
"default": "./dist/index.mjs"
# Legacy
"./linedrawings": "./src/linedrawings/index.mjs"
"./pattern": "./src/pattern/index.mjs"
"./xray": "./src/pattern-xray/index.mjs"
# Components
"./components/LineDrawing": "./components/LineDrawing/index.mjs"
# Config
"./config/freesewing": "./config/freesewing/index.mjs"
# Context
"./context/loadingStatus": "./context/loadingStatus/index.mjs"

View file

@ -35,7 +35,10 @@ import { Uma, UmaFront, UmaBack } from './uma.mjs'
import { Umbra, UmbraFront, UmbraBack } from './umbra.mjs'
import { Wahid, WahidFront, WahidBack } from './wahid.mjs'
export const lineDrawingsFront = {
/*
* Bundle all fronts
*/
const lineDrawingsFront = {
aaron: AaronFront,
albert: AlbertFront,
bee: BeeFront,
@ -74,7 +77,10 @@ export const lineDrawingsFront = {
wahid: WahidFront,
}
export const lineDrawingsBack = {
/*
* Bundle all backs
*/
const lineDrawingsBack = {
aaron: AaronBack,
bella: BellaBack,
bent: BentBack,
@ -103,7 +109,10 @@ export const lineDrawingsBack = {
wahid: WahidBack,
}
export const lineDrawings = {
/*
* Bundle all linedrawings
*/
const lineDrawings = {
aaron: Aaron,
albert: Albert,
bee: Bee,
@ -141,3 +150,147 @@ export const lineDrawings = {
umbra: Umbra,
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,
}

View file

@ -27,6 +27,7 @@
"./linedrawings": "./src/linedrawings/index.mjs",
"./pattern": "./src/pattern/index.mjs",
"./xray": "./src/pattern-xray/index.mjs",
"./components/LineDrawing": "./components/LineDrawing/index.mjs",
"./config/freesewing": "./config/freesewing/index.mjs",
"./context/loadingStatus": "./context/loadingStatus/index.mjs",
"./hooks/useBackend": "./hooks/useBackend/index.mjs",