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
@@ -0,0 +1,8 @@
|
||||
<?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 36.1 12.2" enable-background="new 0 0 36.1 12.2" xml:space="preserve">
|
||||
<path fill="#333" d="M2,0c0.3,0,0.6,0.1,0.8,0.2L18,7.4l15.2-7.2c1-0.5,2.2,0,2.6,1.1c0.5,1.1,0,2.3-1,2.8L18,12L1.2,4
|
||||
c-1-0.5-1.5-1.7-1-2.8C0.5,0.5,1.2,0,2,0z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 613 B |
@@ -0,0 +1,3 @@
|
||||
<svg id="arrow-down" width="24" height="24" viewBox="0 0 24 24" fill="#404040" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M21.7078 7.29179C21.3186 6.90262 20.6877 6.90248 20.2984 7.29146L11.806 15.776L3.31355 7.29146C2.92421 6.90248 2.29329 6.90262 1.90412 7.29179C1.5147 7.68121 1.51485 8.31263 1.90445 8.70187L10.3955 17.1851L10.3917 17.1889L11.8015 18.5987L11.806 18.5942L11.8104 18.5987L13.2202 17.1889L13.2164 17.1851L21.7075 8.70187C22.0971 8.31263 22.0972 7.68121 21.7078 7.29179Z" fill="inherit"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 555 B |
|
After Width: | Height: | Size: 196 B |
@@ -0,0 +1,3 @@
|
||||
<svg width="22" height="14" viewBox="0 0 22 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M2 2L11 11L20 2" stroke="#00838E" stroke-width="3" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 188 B |
@@ -0,0 +1,3 @@
|
||||
<svg id="arrow-down" width="24" height="24" viewBox="0 0 24 24" fill="#00838E" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M21.7078 7.29179C21.3186 6.90262 20.6877 6.90248 20.2984 7.29146L11.806 15.776L3.31355 7.29146C2.92421 6.90248 2.29329 6.90262 1.90412 7.29179C1.5147 7.68121 1.51485 8.31263 1.90445 8.70187L10.3955 17.1851L10.3917 17.1889L11.8015 18.5987L11.806 18.5942L11.8104 18.5987L13.2202 17.1889L13.2164 17.1851L21.7075 8.70187C22.0971 8.31263 22.0972 7.68121 21.7078 7.29179Z" fill="inherit"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 555 B |
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="61px" height="31px" viewBox="0 0 61 31" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="Page-1" stroke="none" stroke-width="3" fill="none" fill-rule="evenodd" stroke-linecap="square">
|
||||
<g id="Group" transform="translate(1.000000, 1.000000)" stroke="#ffffff" stroke-width="3">
|
||||
<path d="M30,3 L51.819295,26.2" id="Line" transform="translate(40.909647, 14.600000) scale(-1, 1) translate(-40.909647, -14.600000) "></path>
|
||||
<path d="M29.5343022,0 L43.6764378,14.3542677" id="Line" transform="translate(36.605370, 7.177134) scale(-1, 1) translate(-36.605370, -7.177134) "></path>
|
||||
<path d="M15.2485879,0 L29.3907235,14.3542677" id="Line"></path>
|
||||
<path d="M8.18070504,3 L30,26.2" id="Line"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 895 B |
|
After Width: | Height: | Size: 197 B |
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="22px" height="22px" viewBox="0 0 22 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 53.2 (72643) - https://sketchapp.com -->
|
||||
<title>downInCircle</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<g id="UI-Desktop" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="Artboard" transform="translate(-90.000000, -12.000000)">
|
||||
<g id="downInCircle" transform="translate(90.000000, 12.000000)">
|
||||
<rect id="Rectangle" x="3" y="3" width="16" height="16"></rect>
|
||||
<g id="Group" transform="translate(11.071068, 9.071068) rotate(-45.000000) translate(-11.071068, -9.071068) translate(6.071068, 4.071068)" fill="#FFFFFF">
|
||||
<rect id="Rectangle" x="0" y="0" width="1.5" height="10"></rect>
|
||||
<rect id="Rectangle" x="0" y="8.5" width="10" height="1.5"></rect>
|
||||
</g>
|
||||
<circle id="Oval" stroke="#FFFFFF" opacity="0.800000012" cx="11" cy="11" r="10.5"></circle>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 179 B |
@@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3 8L12 17L21 8" stroke="black" stroke-width="3" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 186 B |
@@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3 8L12 17L21 8" stroke="#8D3A7C" stroke-width="3" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 188 B |