1
0
Fork 0
freesewing/config/dependencies.yaml

410 lines
11 KiB
YAML
Raw Normal View History

_types:
chore: Re-structure workspaces, enforce build order These are some changes in the way the monorepo is structured, that are aimed at making it easier to get started. There are two important changes: **Multiple workspaces** We had a yarn workspaces setup at `packages/*`. But our monorepo has grown to 92 packages which can be overwhelming for people not familiar with the package names. To remedy this, I've split it into 4 different workspaces: - `designs/*`: Holds FreeSewing designs (think patterns) - `plugins/*`: Holds FreeSewing plugins - `packages/*`: Holds other packages published on NPM - `sites/*`: Holds software that is not published as an NPM package, such as our various websites and backend API This should make it easier to find things, and to answer questions like *where do I find the code for the plugins*. **Updated reconfigure script to handle build order** One problem when bootstrapping the repo is inter-dependencies between packages. For example, building a pattern will only work once `plugin-bundle` is built. Which will only work once all plugins in the bundle or built. And that will only work when `core` is built, and so on. This can be frustrating for new users as `yarn buildall` will fail. And it gets overlooked by seasoned devs because they're likely to have every package built in their repo so this issue doesn't concern them. To remedy this, we now have a `config/build-order.mjs` file and the updated `/scripts/reconfigure.mjs` script will enforce the build order so that things *just work*.
2022-06-16 17:11:31 +02:00
design:
peer:
2022-12-23 15:25:39 +01:00
'@freesewing/core': &freesewing '{{version}}'
'@freesewing/plugin-bundle': *freesewing
dev:
'mocha': &mocha '10.2.0'
'chai': &chai '4.3.7'
'@freesewing/models': *freesewing
'@freesewing/plugin-timing': *freesewing
plugin:
peer:
'@freesewing/core': *freesewing
dev:
'mocha': *mocha
'chai': *chai
aaron:
peer:
'@freesewing/brian': *freesewing
'@freesewing/plugin-bust': *freesewing
2021-10-27 18:43:00 +02:00
bee:
peer:
'@freesewing/bella': *freesewing
bent:
peer:
'@freesewing/brian': *freesewing
2021-06-13 12:35:52 +02:00
'@freesewing/plugin-mirror': *freesewing
'@freesewing/plugin-bust': *freesewing
breanna:
peer:
'@freesewing/brian': *freesewing
brian:
peer:
'@freesewing/plugin-mirror': *freesewing
'@freesewing/plugin-bust': *freesewing
carlita:
peer:
'@freesewing/brian': *freesewing
'@freesewing/bent': *freesewing
'@freesewing/carlton': *freesewing
'@freesewing/plugin-bust': *freesewing
2021-08-30 19:54:04 +02:00
'@freesewing/plugin-mirror': *freesewing
carlton:
peer:
'@freesewing/brian': *freesewing
'@freesewing/bent': *freesewing
2021-08-30 19:54:04 +02:00
'@freesewing/plugin-mirror': *freesewing
'@freesewing/plugin-bust': *freesewing
charlie:
peer:
'@freesewing/plugin-annotations': *freesewing
'@freesewing/plugin-mirror': *freesewing
'@freesewing/titan': *freesewing
2022-11-13 14:10:28 -08:00
'@freesewing/snapseries': *freesewing
core:
_:
'bezier-js': '6.1.4'
2023-02-27 18:58:47 -06:00
'bin-pack-with-constraints': '1.0.1'
2022-12-23 15:25:39 +01:00
'hooks': '0.3.2'
2022-12-17 16:48:36 +01:00
'lodash.get': &_get '4.4.2'
'lodash.set': &_set '4.3.2'
'lodash.unset': &_unset '4.5.2'
'lodash.clonedeep': '^4.5.0'
2021-04-23 17:45:42 +02:00
dev:
'eslint': &eslint '8.46.0'
2022-12-23 15:25:39 +01:00
'nyc': '15.1.0'
2023-02-23 19:15:20 +02:00
'mocha': *mocha
'chai': *chai
'sinon': &sinon '^15.0.1'
diana:
peer:
'@freesewing/brian': *freesewing
'@freesewing/plugin-bust': *freesewing
examples:
peer:
'@freesewing/plugin-mirror': *freesewing
'@freesewing/plugin-gore': *freesewing
2020-02-22 14:20:21 +01:00
holmes:
2020-03-15 10:43:11 +01:00
_:
'@freesewing/plugin-gore': *freesewing
2020-02-22 14:20:21 +01:00
peer:
'@freesewing/plugin-bust': *freesewing
2020-03-15 10:43:11 +01:00
huey:
peer:
'@freesewing/brian': *freesewing
'@freesewing/plugin-bust': *freesewing
hugo:
peer:
'@freesewing/brian': *freesewing
'@freesewing/plugin-bust': *freesewing
i18n:
dev:
'js-yaml': &jsyaml '4.1.0'
'recursive-readdir': '^2.2.3'
jaeger:
peer:
'@freesewing/brian': *freesewing
'@freesewing/bent': *freesewing
'@freesewing/plugin-bust': *freesewing
2021-08-30 20:46:39 +02:00
'@freesewing/plugin-mirror': *freesewing
new-design:
_:
'axios': '1.4.0'
2022-12-23 15:25:39 +01:00
'chalk': '5.0.1'
'execa': '7.2.0'
2022-12-23 15:25:39 +01:00
'mustache': '4.2.0'
'ora': '7.0.1'
2022-12-23 15:25:39 +01:00
'prompts': '2.4.2'
2022-12-28 16:15:01 +01:00
'recursive-readdir': '2.2.3'
2022-06-19 23:23:10 +00:00
noble:
2022-06-22 09:41:07 +02:00
peer:
2022-06-19 23:23:10 +00:00
'@freesewing/bella': *freesewing
paco:
peer:
'@freesewing/titan': *freesewing
2022-11-13 14:10:28 -08:00
'@freesewing/snapseries': *freesewing
2019-05-20 16:24:45 +02:00
plugin-bundle:
dev:
2023-02-16 23:57:44 +00:00
'@freesewing/plugin-annotations': *freesewing
'@freesewing/plugin-mirror': *freesewing
'@freesewing/plugin-round': *freesewing
'@freesewing/plugin-sprinkle': *freesewing
plugintest:
peer:
2023-02-16 23:57:44 +00:00
'@freesewing/plugin-annotations': *freesewing
'@freesewing/plugin-bust': *freesewing
'@freesewing/plugin-flip': *freesewing
'@freesewing/plugin-gore': *freesewing
'@freesewing/plugin-i18n': *freesewing
'@freesewing/plugin-measurements': *freesewing
'@freesewing/plugin-mirror': *freesewing
'@freesewing/plugin-round': *freesewing
'@freesewing/plugin-sprinkle': *freesewing
'@freesewing/plugin-svgattr': *freesewing
'@freesewing/plugin-theme': *freesewing
2023-06-07 10:06:30 -05:00
react-components:
_:
html-react-parser: "^4.0.0"
2023-06-07 10:06:30 -05:00
peer:
react: '>=14'
rehype-jargon:
_:
'unist-util-visit': &unist-util-visit '5.0.0'
'hast-util-from-html': '1.0.2'
rehype-highlight-lines:
_:
'unist-util-remove': '4.0.0'
2022-11-13 14:10:28 -08:00
sandy:
2022-12-17 16:48:36 +01:00
peer:
'@freesewing/snapseries': *freesewing
2022-11-13 14:10:28 -08:00
shin:
2022-12-17 16:48:36 +01:00
peer:
'@freesewing/snapseries': *freesewing
simon:
peer:
'@freesewing/brian': *freesewing
'@freesewing/plugin-bust': *freesewing
'@freesewing/plugin-flip': *freesewing
2019-09-25 18:02:05 +02:00
simone:
peer:
'@freesewing/brian': *freesewing
'@freesewing/simon': *freesewing
'@freesewing/plugin-flip': *freesewing
'@freesewing/plugin-bust': *freesewing
2020-03-15 10:53:05 +01:00
sven:
peer:
'@freesewing/brian': *freesewing
'@freesewing/plugin-bust': *freesewing
tamiko:
peer:
'@freesewing/plugin-bust': *freesewing
teagan:
peer:
'@freesewing/brian': *freesewing
'@freesewing/plugin-bust': *freesewing
2022-11-13 14:10:28 -08:00
titan:
2022-12-17 16:48:36 +01:00
peer:
'@freesewing/snapseries': *freesewing
2022-11-13 14:10:28 -08:00
trayvon:
2022-12-17 16:48:36 +01:00
peer:
'@freesewing/snapseries': *freesewing
wahid:
peer:
'@freesewing/brian': *freesewing
'@freesewing/plugin-bust': *freesewing
2021-09-02 18:24:14 +02:00
yuri:
peer:
'@freesewing/brian': *freesewing
'@freesewing/plugin-bust': *freesewing
2022-12-17 16:48:36 +01:00
# Sites go here
backend:
_:
'@aws-sdk/client-sesv2': '3.382.0'
'@prisma/client': &prisma '5.0.0'
'bcryptjs': '2.4.3'
'cors': '2.8.5'
'crypto': '1.0.1'
'dotenv': '16.3.1'
2022-12-17 16:48:36 +01:00
'express': '4.18.2'
'js-yaml': *jsyaml
'lodash.get': *_get
'mustache': '4.2.0'
'otplib': '12.0.1'
'passport': '0.6.0'
'passport-http': '0.3.0'
2022-12-30 17:22:35 +01:00
'passport-jwt': '4.0.1'
'pino': '8.14.2'
'qrcode': '1.5.3'
'swagger-ui-dist': '5.3.1'
'swagger-ui-express': '5.0.0'
2022-12-17 16:48:36 +01:00
dev:
'chai': *chai
'chai-http': '4.4.0'
'esbuild': '0.18.17'
2022-12-17 16:48:36 +01:00
'mocha': *mocha
'mocha-steps': '1.3.0'
'nodemon': '3.0.1'
2022-12-23 15:25:39 +01:00
'prisma': *prisma
2022-12-17 16:48:36 +01:00
dev:
_:
'@mdx-js/loader': &mdx '2.3.0'
2022-12-17 16:48:36 +01:00
'@mdx-js/mdx': *mdx
'@mdx-js/react': *mdx
'@mdx-js/runtime': &mdxRuntime '2.0.0-next.9'
'@next/bundle-analyzer': &next '13.4.12'
'@tailwindcss/typography': &tailwindTypography '0.5.9'
'algoliasearch': '4.19.1'
'daisyui': &daisyui '3.5.0'
2022-12-17 16:48:36 +01:00
'lodash.get': *_get
'lodash.orderby': &_orderby '4.6.0'
'lodash.set': *_set
'next': *next
'react': &react '18.2.0'
'react-copy-to-clipboard': &reactCopyToClipboard '5.1.0'
'react-dom': *react
'react-hotkeys-hook': &reactHotkeysHook '4.4.1'
'react-instantsearch-dom': &reactInstantsearchDom '6.40.4'
'react-instantsearch-hooks-web': '6.47.3'
'react-markdown': &reactMarkdown '8.0.7'
'react-swipeable': &reactSwipeable '7.0.1'
2022-12-17 16:48:36 +01:00
'react-timeago': &reactTimeago '7.1.0'
'rehype-autolink-headings': &rehypeAutolinkHeadings '6.1.1'
'rehype-highlight': &rehypeHighlight '6.0.0'
'rehype-sanitize': &rehypeSanitize '5.0.1'
'rehype-slug': &rehypeSlug '5.1.0'
'rehype-stringify': &rehypeStringify '9.0.3'
# see: https://github.com/npm/cli/issues/2610#issuecomment-1295371753
'remark-copy-linked-files': &remarkCopyLinkedFiles 'git+https://git@github.com/joostdecock/remark-copy-linked-files'
2022-12-17 16:48:36 +01:00
'remark-gfm': &remarkGfm '3.0.1'
dev: &nextSiteDevDependencies
'@playwright/test': '^1.32.3'
'autoprefixer': '10.4.14'
2022-12-17 16:48:36 +01:00
'eslint-config-next': *next
'js-yaml': &jsYaml '4.1.0'
'postcss': &postcss '8.4.27'
'playwright': '^1.32.3'
2022-12-17 16:48:36 +01:00
'remark-extract-frontmatter': '3.2.0'
'remark-mdx-frontmatter': '3.0.0'
'tailwindcss': &tailwindcss '3.3.3'
2022-12-17 16:48:36 +01:00
'yaml-loader': '0.8.0'
lab:
_:
'@headlessui/react': &headlessUiReact '1.7.16'
2022-12-17 16:48:36 +01:00
'@mdx-js/loader': *mdx
'@mdx-js/mdx': *mdx
'@mdx-js/react': *mdx
'@mdx-js/runtime': *mdxRuntime
'@tailwindcss/typography': *tailwindTypography
'algoliasearch': &algoliasearch '4.19.1'
2022-12-17 16:48:36 +01:00
'd3-dispatch': '3.0.1'
'd3-drag': '3.0.0'
'd3-selection': '3.0.0'
'daisyui': *daisyui
'i18next': &i18next '23.4.1'
2022-12-17 16:48:36 +01:00
'lodash.get': *_get
'lodash.orderby': *_orderby
'lodash.set': *_set
'next': *next
'next-i18next': &nextI18next '14.0.0'
2022-12-17 16:48:36 +01:00
'react': *react
'react-copy-to-clipboard': *reactCopyToClipboard
'react-hotkeys-hook': *reactHotkeysHook
'react-i18next': &reactI18next '13.0.3'
2022-12-17 16:48:36 +01:00
'react-instantsearch-dom': *reactInstantsearchDom
'react-markdown': *reactMarkdown
'react-swipeable': *reactSwipeable
'react-timeago': *reactTimeago
'rehype-autolink-headings': *rehypeAutolinkHeadings
'rehype-highlight': *rehypeHighlight
'rehype-sanitize': *rehypeSanitize
'rehype-slug': *rehypeSlug
'rehype-stringify': *rehypeStringify
'remark-copy-linked-files': *remarkCopyLinkedFiles
'remark-gfm': *remarkGfm
'remark-mdx-frontmatter': '3.0.0'
dev:
*nextSiteDevDependencies
2022-12-17 16:48:36 +01:00
org:
_:
2023-06-09 18:26:26 +02:00
'@bugsnag/js': &bugsnag 7.20.2
'@bugsnag/plugin-react': 7.19.0
2022-12-17 16:48:36 +01:00
'@mdx-js/loader': *mdx
'@mdx-js/mdx': *mdx
'@mdx-js/react': *mdx
'@mdx-js/runtime': *mdxRuntime
'@sanity/client': '^6.1.2'
2022-12-17 16:48:36 +01:00
'@tailwindcss/typography': *tailwindTypography
'algoliasearch': *algoliasearch
'react-copy-to-clipboard': 5.1.0
2022-12-17 16:48:36 +01:00
'daisyui': *daisyui
'echarts': 5.4.2
'echarts-for-react': 3.0.2
'jotai': &jotai '2.2.3'
'jotai-location': &jotai-location '0.5.1'
2022-12-17 16:48:36 +01:00
'lodash.get': *_get
'lodash.orderby': *_orderby
'lodash.set': *_set
'luxon': '3.3.0'
2022-12-17 16:48:36 +01:00
'next': *next
2023-01-27 20:39:09 +01:00
'react-dropzone': '14.2.3'
2022-12-17 16:48:36 +01:00
'react-hotkeys-hook': *reactHotkeysHook
'react-instantsearch-dom': *reactInstantsearchDom
2023-06-09 18:26:26 +02:00
'react-hot-toast': 2.4.1
2022-12-17 16:48:36 +01:00
'react-markdown': *reactMarkdown
'react-swipeable': *reactSwipeable
'react-timeago': *reactTimeago
'rehype-autolink-headings': *rehypeAutolinkHeadings
'rehype-highlight': *rehypeHighlight
'rehype-sanitize': *rehypeSanitize
'rehype-slug': *rehypeSlug
'rehype-stringify': *rehypeStringify
'remark-copy-linked-files': *remarkCopyLinkedFiles
'remark-gfm': *remarkGfm
'remark-mdx-frontmatter': '3.0.0'
2023-03-24 16:33:14 +01:00
'use-persisted-state': &use-persisted-state 0.3.3
'yaml-loader': 0.8.0
2022-12-17 16:48:36 +01:00
dev: *nextSiteDevDependencies
sanity:
_:
'@sanity/vision': &sanity '3.14.5'
'easymde': '2.18.0'
2022-12-17 16:48:36 +01:00
'react': *react
'react-dom': *react
'react-is': *react
2022-12-23 15:25:39 +01:00
'sanity': *sanity
'styled-components': '5.3.11'
'sanity-plugin-markdown': '4.1.0'
2022-12-17 16:48:36 +01:00
dev:
'@sanity/eslint-config-studio': '3.0.0'
2023-01-04 13:03:44 +01:00
'eslint': *eslint
'prettier': '3.0.0'
'typescript': '5.1.6'
'@sanity/cli': '3.14.4'
2022-12-17 16:48:36 +01:00
shared:
_:
'@headlessui/react': *headlessUiReact
'@next/mdx': '13.4.12'
'@resvg/resvg-js': '2.4.1'
2022-12-17 16:48:36 +01:00
'@tailwindcss/typography': *tailwindTypography
2022-12-23 15:25:39 +01:00
'Buffer': '0.0.0'
'd3-dispatch': '3.0.1'
'd3-drag': '3.0.0'
'd3-selection': '3.0.0'
2022-12-17 16:48:36 +01:00
'daisyui': *daisyui
2022-12-23 15:25:39 +01:00
'feed': '4.2.2'
'file-saver': '2.0.5'
'front-matter': '4.0.2'
'highlight.js': '11.8.0'
'github-slugger': '2.0.0'
'jotai': *jotai
'jotai-location': *jotai-location
2022-12-23 15:25:39 +01:00
'lodash.clonedeep': '4.5.0'
'lodash.debounce': '^4.0.8'
2022-12-17 16:48:36 +01:00
'lodash.orderby': *_orderby
'lodash.unset': *_unset
'lodash.get': *_get
'mdast-util-toc': '7.0.0'
'mermaid': '10.3.0'
'ora': '7.0.1'
2022-12-17 16:48:36 +01:00
'pdfkit': '0.13.0'
'postcss-for': '2.1.1'
'react': *react
'react-dom': *react
'react-markdown': *reactMarkdown
'react-timeago': *reactTimeago
'react-zoom-pan-pinch': '3.1.0'
2022-12-17 16:48:36 +01:00
'rehype-autolink-headings': *rehypeAutolinkHeadings
'rehype-highlight': *rehypeHighlight
'remark-frontmatter': '4.0.1'
'remark-mdx-frontmatter': '3.0.0'
2022-12-23 15:25:39 +01:00
'remark-smartypants': '2.0.0'
'sharp': '0.32.4'
2023-07-21 20:11:39 +02:00
# see: https://github.com/npm/cli/issues/2610#issuecomment-1295371753
'svg-to-pdfkit': 'https://git@github.com/eriese/SVG-to-PDFKit'
'tlds': '1.240.0'
'to-vfile': '8.0.0'
2023-01-06 10:24:03 +01:00
'unist-util-visit': *unist-util-visit
2023-03-24 16:33:14 +01:00
'use-persisted-state': *use-persisted-state
2022-12-23 15:25:39 +01:00
'web-worker': '1.2.0'
dev:
'recursive-readdir': '^2.2.3'
2023-05-24 16:18:59 +02:00
'html-to-text': '^9.0.5'