diff --git a/CHANGELOG.md b/CHANGELOG.md index 78aff4e5438..03b2974ab8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -741,16 +741,6 @@ - Migrated from Rollup to Esbuild for all builds - The `pctBasedOn()` helper method for pattern config was moved to config-helpers We did not make this a breaking change since it's only used internally. -### i18n - -#### Changed - - - Migrated from Rollup to Esbuild for all builds - -#### Fixed - - - Added missing lab namespace for English - ### models #### Changed @@ -890,12 +880,6 @@ ## 2.20.2 (2022-01-27) -### i18n - -#### Fixed - - - Patterns options were always in English due to symlinks being used - ## 2.20.1 (2022-01-27) @@ -1243,12 +1227,6 @@ - Added support for `settings.scale` -### i18n - -#### Fixed - - - Fixed issue that was causing plugin translations to always be in English - ## 2.19.9 (2022-01-09) @@ -1687,13 +1665,6 @@ - Pattern.on() is now chainable as it returns the Pattern object -### i18n - -#### Fixed - - - Fixed bug in resolving of shared pattern options - - Removed optional chaining which broke node v12 support - ### snapseries #### Added @@ -1740,16 +1711,6 @@ - Handle path.offset() of very short curves with control points on the start or end point Closes [#1257](https://github.com/freesewing/freesewing/issues/1257) -### i18n - -#### Added - - - Added translations for Yuri - -#### Fixed - - - Added optional chaining so missing options always lead to clear error message - ## 2.17.4 (2021-08-20) @@ -1762,12 +1723,6 @@ ## 2.17.3 (2021-08-16) -### i18n - -#### Added - - - New translations - ## 2.17.2 (2021-08-15) @@ -1783,12 +1738,6 @@ - Added new ffsa option to let the user control the extra SA for flat-felled seams Closes [#1251](https://github.com/freesewing/freesewing/issues/1251) -### i18n - -#### Added - - - Added new ffsa option for simon & simone - ### models #### Added @@ -1929,21 +1878,9 @@ - Fix a bug in `path.shiftAlong` where no point is returned if the distance to shift is a fraction of one step (1/25mm) into a new path segment See [#1140](https://github.com/freesewing/freesewing/issues/1140) -### i18n - -#### Changed - - - Changed antman references to antperson - ## 2.16.2 (2021-05-05) -### i18n - -#### Changed - - - String updates - ## 2.16.1 (2021-05-30) @@ -2151,12 +2088,6 @@ - Changed `department` setting in config in line with new grouping -### i18n - -#### Added - - - New translations for pattern filter - ## 2.16.0 (2021-05-24) @@ -2185,12 +2116,6 @@ - Fixed third button not showing up See [#973](https://github.com/freesewing/freesewing/issues/973) -### i18n - -#### Changed - - - Changes to cfp strings - ## 2.15.4 (2021-05-08) @@ -2322,13 +2247,6 @@ - Don't round coordinates internally to avoid path.split misses -### i18n - -#### Added - - - Added translation for new Titan options - - Added translations for Charlie - ## 2.14.0 (2021-03-07) @@ -2344,12 +2262,6 @@ - Replaced grainline indicator on pocket with cut-on-fold indicator -### i18n - -#### Added - - - Added translations for Cornelius - ## 2.13.2 (2021-02-21) @@ -2451,12 +2363,6 @@ - Make sure roudEnd and roundStart points are always available -### i18n - -#### Added - - - Translation for Hortensia - ## 2.12.1 (2021-01-27) @@ -2581,16 +2487,6 @@ - Removed unused lengthBonus option -### i18n - -#### Changed - - - New strings for new features - -#### Fixed - - - Type in Simon title - ## 2.10.7 (2020-11-18) @@ -2606,12 +2502,6 @@ ## 2.10.5 (2020-11-14) -### i18n - -#### Fixed - - - Added missing `cty.` translations to non-English language files - ## 2.10.4 (2020-11-13) @@ -2674,18 +2564,6 @@ - Added the `info` type to raised events - Added support for conditional loading of plugins -### i18n - -#### Added - - - Added translations for plugin-title - - Added translations for teagan - - Added some translations for the UI - -#### Fixed - - - Replaced a few identical files with symlinks - ## 2.8.1 (2020-08-16) @@ -3079,13 +2957,6 @@ - [Properly escape quotes in imperial units](https://github.com/freesewing/freesewing/issues/437) -### i18n - -#### Changed - - - Added translations for Titan - - Removed `Circumference` suffix from measurement names - ### models #### Changed @@ -3138,12 +3009,6 @@ - utils now includes `Bezier` which holds the bezier-js library so you don't need to re-import it - We no longer set the plugin configuration/data object to fall in `pattern.use()` -### i18n - -#### Changed - - - Changes to support the renaming of @freesewing/fu to @freesewing/florence - ## 2.5.0 (2020-04-05) @@ -3153,21 +3018,9 @@ - Diana is a top with a draped neck -### i18n - -#### Added - - - title, description, and options for Dianna - ## 2.4.6 (2020-03-23) -### i18n - -#### Fixed - - - Fixed an bug in the i18n package - ## 2.4.5 (2020-03-19) @@ -3219,21 +3072,9 @@ ## 2.4.3 (2020-03-12) -### i18n - -#### Added - - - Added more translations - ## 2.4.2 (2020-03-08) -### i18n - -#### Added - - - Added more strings - ## 2.4.1 (2020-03-04) @@ -3400,22 +3241,6 @@ - Added the `Path.noop()` method - Added the `Path.insop()` methods -### i18n - -#### Added - - - Added translations for Breanna - -#### Changed - - - Added/Updated strings for the 2.2 frontend changes - - Changed `Joost De Cock` to `Joost` because spam filters don't like cock - -#### Removed - - - Removed the files for homepage translation, and moved that content to markdown - - Removed the files for editor translation, as it is no longer used - ### models #### Changed @@ -3468,21 +3293,9 @@ ## 2.1.3 (2019-10-18) -### i18n - -#### Added - - - More translated strings - ## 2.1.2 (2019-10-14) -### i18n - -#### Fixed - - - Fixed issue where symlinks were causing all languages to export English strings - ## 2.1.1 (2019-10-13) @@ -3531,12 +3344,6 @@ - The pattern super constructor now sets a `config` property that holds the pattern configuration. This means that unlike before, there is no need to instantiate a pattern to access its config. You can just import the pattern, and it's config property will contain the pattern config. -### i18n - -#### Added - - - Added translations for Penelope, Waralee, and Simone - ## 2.0.4 (2019-09-27) @@ -3578,12 +3385,6 @@ - [#102](https://github.com/freesewing/freesewing.org/issues/102): Fixed 'Snippets not defined' error when drafting a seperate button placket - [#103](https://github.com/freesewing/freesewing.org/issues/103): Fixed 'hemSa not defined' when drafting paperless Simon without seam allowance -### i18n - -#### Added - - - [#90](https://github.com/freesewing/freesewing/issues/90): Added missing option translations for Benjamin, Florent, Sandy, Shin, and Theo - ## 2.0.1 (2019-09-01) @@ -3787,12 +3588,6 @@ ### core -#### Added - - - Initial release - -### i18n - #### Added - Initial release diff --git a/config/build-order.mjs b/config/build-order.mjs index d25a8292e8e..e632217dc20 100644 --- a/config/build-order.mjs +++ b/config/build-order.mjs @@ -9,7 +9,6 @@ import { designs, plugins, packages } from './software/index.mjs' const first = ['core', 'remark-jargon', 'snapseries'] const blocks = ['brian', 'titan', 'bella', 'breanna'] const extended = ['bent', 'simon', 'carlton', 'ursula'] -const last = ['i18n'] export const buildOrder = [ // First build FreeSewing core library and config-helpers @@ -31,7 +30,5 @@ export const buildOrder = [ Object.keys(designs).filter((id) => [...blocks, ...extended].indexOf(id) === -1), // Finally build the rest of the packages - Object.keys(packages).filter((id) => first.indexOf(id) === -1 && last.indexOf(id) === -1), - - last, + Object.keys(packages).filter((id) => first.indexOf(id) === -1), ] diff --git a/config/dependencies.yaml b/config/dependencies.yaml index 76d0c272d18..7c8103d4f1e 100644 --- a/config/dependencies.yaml +++ b/config/dependencies.yaml @@ -285,7 +285,7 @@ lab: 'lodash.get': *_get 'lodash.orderby': *_orderby 'lodash.set': *_set - 'lodash.debouce': '^4.0.8' + 'lodash.debounce': '^4.0.8' 'next': *next 'next-i18next': &nextI18next '14.0.0' 'react': *react diff --git a/package.json b/package.json index bc434f7a93f..a52c9f429e2 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "prettier": "npx prettier --write 'config/*' 'config/**/*' 'packages/**/src/*.mjs' 'packages/i18n/src/locales/**/*.*' 'packages/**/tests/*.mjs'", "reconfigure": "all-contributors generate && node --experimental-json-modules --no-warnings scripts/reconfigure.mjs", "prerelease": "lerna version --no-git-tag-version --no-push && yarn reconfigure && yarn buildall", - "buildall": "lerna run cibuild_step0 && lerna run cibuild_step1 && lerna run cibuild_step2 && lerna run cibuild_step3 && lerna run cibuild_step4 && lerna run cibuild_step5 && lerna run cibuild_step6 && lerna run cibuild_step7", + "buildall": "lerna run cibuild_step0 && lerna run cibuild_step1 && lerna run cibuild_step2 && lerna run cibuild_step3 && lerna run cibuild_step4 && lerna run cibuild_step5 && lerna run cibuild_step6", "build": "yarn buildall", "wbuild": "yarn wbuildall", "testall": "node scripts/testall.js", @@ -43,7 +43,7 @@ "checkdocs": "remark markdown --quiet --frail", "strapi:translate": "node scripts/strapi-en-to-other.mjs", "fixdocs": "remark markdown --quiet --frail --output", - "wbuildall": "lerna run wcibuild_step0 && lerna run wcibuild_step1 && lerna run wcibuild_step2 && lerna run wcibuild_step3 && lerna run wcibuild_step4 && lerna run wcibuild_step5 && lerna run wcibuild_step6 && lerna run wcibuild_step7", + "wbuildall": "lerna run wcibuild_step0 && lerna run wcibuild_step1 && lerna run wcibuild_step2 && lerna run wcibuild_step3 && lerna run wcibuild_step4 && lerna run wcibuild_step5 && lerna run wcibuild_step6", "prepare": "husky install" }, "repository": { diff --git a/sites/lab/package.json b/sites/lab/package.json index d93ad574d82..433a9da1165 100644 --- a/sites/lab/package.json +++ b/sites/lab/package.json @@ -38,12 +38,12 @@ "d3-dispatch": "3.0.1", "d3-drag": "3.0.0", "d3-selection": "3.0.0", - "lodash.debounce": "^4.0.8", "daisyui": "3.1.7", "i18next": "23.2.6", "lodash.get": "4.4.2", "lodash.orderby": "4.6.0", "lodash.set": "4.3.2", + "lodash.debounce": "^4.0.8", "next": "13.4.7", "next-i18next": "14.0.0", "react": "18.2.0", @@ -68,8 +68,8 @@ "autoprefixer": "10.4.14", "eslint-config-next": "13.4.7", "js-yaml": "4.1.0", - "playwright": "^1.32.3", "postcss": "8.4.24", + "playwright": "^1.32.3", "remark-extract-frontmatter": "3.2.0", "remark-mdx-frontmatter": "3.0.0", "tailwindcss": "3.3.2", diff --git a/sites/shared/package.json b/sites/shared/package.json index 7a8cddfad1e..c6efc838e66 100644 --- a/sites/shared/package.json +++ b/sites/shared/package.json @@ -43,7 +43,6 @@ "react": "18.2.0", "react-dom": "18.2.0", "react-markdown": "8.0.7", - "react-sizeme": "3.0.2", "react-timeago": "7.1.0", "react-zoom-pan-pinch": "3.1.0", "rehype-autolink-headings": "6.1.1", diff --git a/yarn.lock b/yarn.lock index 7444b74fc11..e2b4e87bda2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1571,7 +1571,7 @@ resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310" integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== -"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.14.0", "@babel/runtime@^7.17.8", "@babel/runtime@^7.18.6", "@babel/runtime@^7.18.9", "@babel/runtime@^7.20.13", "@babel/runtime@^7.20.6", "@babel/runtime@^7.20.7", "@babel/runtime@^7.22.5", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4": +"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.14.0", "@babel/runtime@^7.17.8", "@babel/runtime@^7.18.6", "@babel/runtime@^7.18.9", "@babel/runtime@^7.20.13", "@babel/runtime@^7.20.7", "@babel/runtime@^7.22.5", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.22.5.tgz#8564dd588182ce0047d55d7a75e93921107b57ec" integrity sha512-ecjvYlnAaZ/KVneE/OdKYBYfgXV3Ptu6zQWmgEF7vwKhQnvVS6bjMD2XYgj+SNvQ1GfK/pjgokfPkC/2CO8CuA== @@ -3351,21 +3351,6 @@ get-random-values-esm "^1.0.0" lodash "^4.17.21" -"@sanity/cli@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@sanity/cli/-/cli-3.13.0.tgz#d3330d6ad2bf833c81c5fb2f44ffa3340d24377a" - integrity sha512-53U6y47O/2fdgxaidf9EvYwj8KVlAl+sR923qCazjATDq5hww8WBSiSMo+xAl2ZKtcD7+WvuAqWvlaRd2F3DIA== - dependencies: - "@babel/traverse" "^7.19.0" - "@vercel/frameworks" "1.4.2" - "@vercel/fs-detectors" "3.9.2" - chalk "^4.1.2" - esbuild "^0.16.5" - esbuild-register "^3.4.1" - get-it "^8.0.9" - golden-fleece "^1.0.9" - pkg-dir "^5.0.0" - "@sanity/cli@3.14.0": version "3.14.0" resolved "https://registry.yarnpkg.com/@sanity/cli/-/cli-3.14.0.tgz#586feffd120a013353df2ce9bcd5c38528c93579" @@ -3381,16 +3366,7 @@ golden-fleece "^1.0.9" pkg-dir "^5.0.0" -"@sanity/client@^6.0.0", "@sanity/client@^6.1.1", "@sanity/client@^6.1.2": - version "6.1.5" - resolved "https://registry.yarnpkg.com/@sanity/client/-/client-6.1.5.tgz#4cd4b5f57f4c89598e6c42bbebde65778dec559b" - integrity sha512-X0Du8McoE2564AqAuSlwsQ2i9cHMfPos/a+cslmcTWXY3leV/QKzpqHQomuDlfEmkIhoFZW1UL33+MTxw7+Miw== - dependencies: - "@sanity/eventsource" "^5.0.0" - get-it "^8.1.0" - rxjs "^7.0.0" - -"@sanity/client@^6.1.5": +"@sanity/client@^6.0.0", "@sanity/client@^6.1.1", "@sanity/client@^6.1.2", "@sanity/client@^6.1.5": version "6.1.5" resolved "https://registry.yarnpkg.com/@sanity/client/-/client-6.1.5.tgz#4cd4b5f57f4c89598e6c42bbebde65778dec559b" integrity sha512-X0Du8McoE2564AqAuSlwsQ2i9cHMfPos/a+cslmcTWXY3leV/QKzpqHQomuDlfEmkIhoFZW1UL33+MTxw7+Miw== @@ -5537,11 +5513,6 @@ base64url@^3.0.1: resolved "https://registry.yarnpkg.com/base64url/-/base64url-3.0.1.tgz#6399d572e2bc3f90a9a8b22d5dbb0a32d33f788d" integrity sha512-ir1UPr3dkwexU7FdV8qBBbNDRUhMmIekYMFZfi+C/sLNnRESKPl23nB9b2pltqfOQNnGzsDdId90AEtG5tCx4A== -batch-processor@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/batch-processor/-/batch-processor-1.0.0.tgz#75c95c32b748e0850d10c2b168f6bdbe9891ace8" - integrity sha512-xoLQD8gmmR32MeuBHgH0Tzd5PuSZx71ZsbhVxOCRbgktZEPe4SQy7s9Z50uPp0F/f7iw2XmkHN2xkgbMfckMDA== - batch@0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16" @@ -8019,13 +7990,6 @@ elegant-spinner@^1.0.1: resolved "https://registry.yarnpkg.com/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e" integrity sha512-B+ZM+RXvRqQaAmkMlO/oSe5nMUOaUnyfGYCEHoR8wrXsZR2mA0XVibsxV1bvTwxdRWah1PkQqso2EzhILGHtEQ== -element-resize-detector@^1.2.2: - version "1.2.4" - resolved "https://registry.yarnpkg.com/element-resize-detector/-/element-resize-detector-1.2.4.tgz#3e6c5982dd77508b5fa7e6d5c02170e26325c9b1" - integrity sha512-Fl5Ftk6WwXE0wqCgNoseKWndjzZlDCwuPTcoVZfCP9R3EHQF8qUtr3YUPNETegRBOKqQKPW3n4kiIWngGi8tKg== - dependencies: - batch-processor "1.0.0" - elkjs@^0.8.2: version "0.8.2" resolved "https://registry.yarnpkg.com/elkjs/-/elkjs-0.8.2.tgz#c37763c5a3e24e042e318455e0147c912a7c248e" @@ -11010,13 +10974,6 @@ into-stream@^6.0.0: from2 "^2.3.0" p-is-promise "^3.0.0" -invariant@^2.2.4: - version "2.2.4" - resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" - integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== - dependencies: - loose-envify "^1.0.0" - ip-regex@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9" @@ -12670,7 +12627,7 @@ longest-streak@^3.0.0: resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-3.1.0.tgz#62fa67cd958742a1574af9f39866364102d90cd4" integrity sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g== -loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1, loose-envify@^1.4.0: +loose-envify@^1.1.0, loose-envify@^1.3.1, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== @@ -16575,16 +16532,6 @@ react-simplemde-editor@^5.2.0: dependencies: "@types/codemirror" "~5.60.5" -react-sizeme@3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/react-sizeme/-/react-sizeme-3.0.2.tgz#4a2f167905ba8f8b8d932a9e35164e459f9020e4" - integrity sha512-xOIAOqqSSmKlKFJLO3inBQBdymzDuXx4iuwkNcJmC96jeiOg5ojByvL+g3MW9LPEsojLbC6pf68zOfobK8IPlw== - dependencies: - element-resize-detector "^1.2.2" - invariant "^2.2.4" - shallowequal "^1.1.0" - throttle-debounce "^3.0.1" - react-style-proptype@^3.2.2: version "3.2.2" resolved "https://registry.yarnpkg.com/react-style-proptype/-/react-style-proptype-3.2.2.tgz#d8e998e62ce79ec35b087252b90f19f1c33968a0" @@ -19300,11 +19247,6 @@ thread-stream@^2.0.0: dependencies: real-require "^0.2.0" -throttle-debounce@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/throttle-debounce/-/throttle-debounce-3.0.1.tgz#32f94d84dfa894f786c9a1f290e7a645b6a19abb" - integrity sha512-dTEWWNu6JmeVXY0ZYoPuH5cRIwc0MeGbJwah9KUNYSJwommQpCzTySTpEe8Gs1J23aeWEuAobe4Ag7EHVt/LOg== - throttle-debounce@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/throttle-debounce/-/throttle-debounce-5.0.0.tgz#a17a4039e82a2ed38a5e7268e4132d6960d41933"