Merged in monorepo-step-1 (pull request #1080)
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
This commit is contained in:
committed by
Linus Flood
parent
667cab6fb6
commit
80100e7631
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 21 36" width="21" height="36" enable-background="new 0 0 21 36" xml:space="preserve">
|
||||
<g>
|
||||
<g>
|
||||
<path fill="#00838E" d="M13,1.2c-0.5-1-1.7-1.5-2.8-1C9.2,0.6,8.7,1.8,9.2,2.8L16.4,18L9.2,33.2C9.1,33.4,9,33.7,9,34
|
||||
c0,0.8,0.5,1.5,1.2,1.8c1.1,0.5,2.3,0,2.8-1L21,18L13,1.2z M4,1.2c-0.5-1-1.7-1.5-2.8-1C0.2,0.6-0.3,1.8,0.2,2.8L7.4,18L0.2,33.2
|
||||
C0.1,33.4,0,33.7,0,34c0,0.8,0.5,1.5,1.2,1.8c1.1,0.5,2.3,0,2.8-1L12,18L4,1.2z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 815 B |
Binary file not shown.
|
After Width: | Height: | Size: 164 B |
Binary file not shown.
|
After Width: | Height: | Size: 159 B |
@@ -0,0 +1,4 @@
|
||||
<svg width="24" height="18" viewBox="0 0 24 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M7.76522 0.476151C6.85961 0.476151 5.98116 0.783638 5.27234 1.34615C4.5636 1.9096 4.06579 2.69615 3.86047 3.57741H0.92143C0.412366 3.57741 -0.00012207 3.98992 -0.00012207 4.49896C-0.00012207 5.008 0.41239 5.42147 0.92143 5.42147H3.86047C4.14079 6.60179 4.93953 7.59179 6.03453 8.11499C7.1286 8.63812 8.40079 8.63812 9.49581 8.11499C10.5899 7.59186 11.3886 6.60186 11.6689 5.42147H23.0783C23.5874 5.42147 23.9999 5.00802 23.9999 4.49896C23.9999 3.98989 23.5873 3.57741 23.0783 3.57741H11.6689C11.4636 2.69615 10.9658 1.9096 10.2571 1.34615C9.54833 0.783638 8.66988 0.476151 7.76515 0.476151H7.76522ZM7.76522 6.67967V6.67873C6.88773 6.67873 6.09648 6.15092 5.76084 5.33999C5.42522 4.52999 5.61084 3.59718 6.23145 2.97654C6.85113 2.35592 7.7849 2.17029 8.5949 2.50593C9.40584 2.84154 9.93365 3.6328 9.93365 4.51031C9.93365 5.08499 9.70583 5.63718 9.29897 6.04405C8.89209 6.45092 8.3399 6.67873 7.76522 6.67873V6.67967Z" fill="#00838E"/>
|
||||
<path d="M16.2675 9.47711C15.3618 9.47805 14.4843 9.7846 13.7755 10.348C13.0659 10.9106 12.569 11.6971 12.3637 12.5784H0.92143C0.412366 12.5784 -0.00012207 12.9918 -0.00012207 13.5009C-0.00012207 14.0099 0.41239 14.4224 0.92143 14.4224H12.3308C12.6111 15.6028 13.4099 16.5928 14.5039 17.116C15.5989 17.6391 16.8711 17.6391 17.9652 17.116C19.0602 16.5928 19.8589 15.6028 20.1393 14.4224H23.0783C23.5874 14.4224 23.9999 14.0099 23.9999 13.5009C23.9999 12.9918 23.5873 12.5784 23.0783 12.5784H20.1393C19.9349 11.7028 19.4418 10.9209 18.7396 10.3584C18.0374 9.79586 17.1674 9.48556 16.2673 9.47711H16.2675ZM16.2675 15.659C15.39 15.659 14.5997 15.1303 14.264 14.3203C13.9275 13.5094 14.1131 12.5765 14.7337 11.9559C15.3543 11.3362 16.2871 11.1506 17.0971 11.4862C17.9081 11.8218 18.4368 12.6122 18.4368 13.4897C18.4368 14.0653 18.2081 14.6165 17.8012 15.0234C17.3943 15.4303 16.8431 15.659 16.2675 15.659Z" fill="#00838E"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
Reference in New Issue
Block a user