Migrate to a monorepo setup - step 1 * Move web to subfolder /apps/scandic-web * Yarn + transitive deps - Move to yarn - design-system package removed for now since yarn doesn't support the parameter for token (ie project currently broken) - Add missing transitive dependencies as Yarn otherwise prevents these imports - VS Code doesn't pick up TS path aliases unless you open /apps/scandic-web instead of root (will be fixed with monorepo) * Pin framer-motion to temporarily fix typing issue https://github.com/adobe/react-spectrum/issues/7494 * Pin zod to avoid typ error There seems to have been a breaking change in the types returned by zod where error is now returned as undefined instead of missing in the type. We should just handle this but to avoid merge conflicts just pin the dependency for now. * Pin react-intl version Pin version of react-intl to avoid tiny type issue where formatMessage does not accept a generic any more. This will be fixed in a future commit, but to avoid merge conflicts just pin for now. * Pin typescript version Temporarily pin version as newer versions as stricter and results in a type error. Will be fixed in future commit after merge. * Setup workspaces * Add design-system as a monorepo package * Remove unused env var DESIGN_SYSTEM_ACCESS_TOKEN * Fix husky for monorepo setup * Update netlify.toml * Add lint script to root package.json * Add stub readme * Fix react-intl formatMessage types * Test netlify.toml in root * Remove root toml * Update netlify.toml publish path * Remove package-lock.json * Update build for branch/preview builds Approved-by: Linus Flood
9 lines
1.1 KiB
XML
9 lines
1.1 KiB
XML
<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.5 0C15.5829 0 19.8216 3.61135 20.7919 8.40987H8.74414V0.146565C9.31575 0.0498319 9.90201 0 10.5 0ZM4.50532 1.87871C2.32735 3.39419 0.753234 5.71577 0.208008 8.40962H4.50532V1.87871ZM4.50532 19.1213C2.32735 17.6058 0.753234 15.2842 0.208008 12.5904H4.50532V19.1213ZM10.5 21.0002C9.90201 21.0002 9.31575 20.9504 8.74414 20.8537V12.5904H20.7919C19.8216 17.3889 15.5829 21.0002 10.5 21.0002Z" fill="#006AA7"/>
|
|
<path d="M4.50544 8.40918H0.208124C0.0703517 9.08338 0 9.78396 0 10.4992C0 11.2144 0.0703517 11.915 0.208124 12.5892H4.50544V8.40918Z" fill="#FECC00"/>
|
|
<path d="M20.7919 8.40918H8.74414V12.5892H20.7919C20.9296 11.915 21 11.2144 21 10.4992C21 9.78396 20.9296 9.08338 20.7919 8.40918Z" fill="#FECC00"/>
|
|
<path d="M8.74455 8.40979V0.146484C7.18802 0.407369 5.74874 1.01121 4.50586 1.87888V8.40979H8.74455Z" fill="#FECC00"/>
|
|
<path d="M4.50586 12.5908V19.1217C5.74874 19.9865 7.18802 20.5903 8.74455 20.8541V12.5908H4.50586Z" fill="#FECC00"/>
|
|
<path d="M8.74455 8.40918H4.50586V12.5892H8.74455V8.40918Z" fill="#FECC00"/>
|
|
</svg>
|