I'm trying to see if I can contribute a fix to a couple of issues we've been having with full calendar.
I've cloned the full calendar repo using git clone --recursive git://github.com/fullcalendar/fullcalendar.git
and run yarn install
.
I've gone into our project used npm link
to link up the packages like so:
npm link \
~/dev/fullcalendar/packages/common \
~/dev/fullcalendar/packages/core \
~/dev/fullcalendar/packages/interaction \
~/dev/fullcalendar/packages-premium/premium-common \
~/dev/fullcalendar/packages-premium/resource-common \
~/dev/fullcalendar/packages-premium/resource-timeline \
~/dev/fullcalendar/packages-premium/scrollgrid \
~/dev/fullcalendar/packages-premium/timeline \
~/dev/fullcalendar/packages-contrib/vue
However, the packages don't seem to be playing nice with each other, seemingly they can't see eachother, so I get many, many errors when I try to run the project such as
ERROR in /Users/abarratt/dev/main/src/PODFather-Main/symfather/node_modules/@fullcalendar/common/main.d.ts(96,36):
96:36 Cannot find module './util/scrollbar-width' or its corresponding type declarations.
94 | export { CssDimValue, ScrollerLike, SectionConfig, ColProps, ChunkConfig, hasShrinkWidth, renderMicroColGroup, getScrollGridClassNames, getSectionClassNames, getSectionHasLiquidHeight, getAllowYScrolling, renderChunkContent, computeShrinkWidth, ChunkContentCallbackArgs, sanitizeShrinkWidth, ChunkConfigRowContent, ChunkConfigContent, isColPropsEqual, renderScrollShim, getStickyFooterScrollbar, getStickyHeaderDates, } from './scrollgrid/util';
95 | export { Scroller, ScrollerProps, OverflowValue } from './scrollgrid/Scroller';
> 96 | export { getScrollbarWidths } from './util/scrollbar-width';
| ^
97 | export { RefMap } from './util/RefMap';
98 | export { getIsRtlScrollbarOnLeft } from './util/scrollbar-side';
99 | export { NowTimer } from './NowTimer';
I'm assuming there's some yarn workspaces vs npm battle going on here but perhaps it's just something simple I need to tweak, or some step I've neglected.
Any help would be much appreciated :)