1
0
Fork 0
Commit graph

8803 commits

Author SHA1 Message Date
joostdecock
a1a337c318 fix(new-design): Fix banner import 2023-07-21 16:37:14 +02:00
joostdecock
55a6c2c52b fix: Don't run prebuild steps in linter 2023-07-21 16:31:43 +02:00
Joost De Cock
1527ee3fa1 Merge branch 'develop' into joost 2023-07-19 19:11:40 +02:00
Joost De Cock
dc05143840 feat(sites): Overhauled prebuild system 2023-07-19 19:08:41 +02:00
dependabot[bot]
ff2dcbf13e
chore(deps-dev): bump eslint from 8.44.0 to 8.45.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.44.0 to 8.45.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.44.0...v8.45.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 04:27:17 +00:00
joostdecock
66abecbc9c Merge branch 'crowdin' into develop 2023-07-17 08:08:23 +02:00
Joost De Cock
cd42f69ffa New translations en.json (Ukrainian)
[ci skip]
2023-07-17 07:25:20 +02:00
Joost De Cock
c64793b449 New translations en.json (German)
[ci skip]
2023-07-17 07:25:17 +02:00
Joost De Cock
6e742e7fe0 New translations en.json (Spanish)
[ci skip]
2023-07-17 07:25:16 +02:00
dependabot[bot]
7366886ae5
chore(deps): bump bezier-js from 6.1.3 to 6.1.4
Bumps [bezier-js](https://github.com/Pomax/bezierjs) from 6.1.3 to 6.1.4.
- [Commits](https://github.com/Pomax/bezierjs/compare/v6.1.3...v6.1.4)

---
updated-dependencies:
- dependency-name: bezier-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 05:00:30 +00:00
Joost De Cock
f5ea9cb6cd
Merge pull request #4467 from freesewing/joost
Layout changes to sites - New navigation based on sitenav
2023-07-16 08:00:58 +02:00
joostdecock
3e4a576be7 fix(react-components): removed debug output 2023-07-15 10:39:09 +02:00
dependabot[bot]
421563370a
chore(deps): bump unist-util-visit from 4.1.2 to 5.0.0
Bumps [unist-util-visit](https://github.com/syntax-tree/unist-util-visit) from 4.1.2 to 5.0.0.
- [Release notes](https://github.com/syntax-tree/unist-util-visit/releases)
- [Commits](https://github.com/syntax-tree/unist-util-visit/compare/4.1.2...5.0.0)

---
updated-dependencies:
- dependency-name: unist-util-visit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 04:36:33 +00:00
dependabot[bot]
9490b827db
Bump eslint from 8.43.0 to 8.44.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.43.0 to 8.44.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.43.0...v8.44.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 04:08:41 +00:00
Joost De Cock
d4100b5542
Merge branch 'develop' into dependabot/npm_and_yarn/unist-util-remove-4.0.0 2023-07-10 19:56:19 +02:00
joostdecock
f3e5b8d987 Merge branch 'develop' into i18n 2023-07-10 08:27:20 +02:00
github-actions
7635c63b65 [dependabot skip] chore(deps): bumped dependabot/npm_and_yarn/nodemon-3.0.1 changes in config/dependencies.yaml 2023-07-10 04:53:22 +00:00
github-actions
32844c6568 [dependabot skip] chore(deps): bumped dependabot/npm_and_yarn/unist-util-remove-4.0.0 changes in config/dependencies.yaml 2023-07-10 04:47:49 +00:00
dependabot[bot]
bbd5024383
Bump unist-util-remove from 3.1.1 to 4.0.0
Bumps [unist-util-remove](https://github.com/syntax-tree/unist-util-remove) from 3.1.1 to 4.0.0.
- [Release notes](https://github.com/syntax-tree/unist-util-remove/releases)
- [Commits](https://github.com/syntax-tree/unist-util-remove/compare/3.1.1...4.0.0)

---
updated-dependencies:
- dependency-name: unist-util-remove
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 04:45:17 +00:00
Joost De Cock
af333e406e New translations en.json (Ukrainian)
[ci skip]
2023-07-09 21:35:21 +02:00
Joost De Cock
0f20c34d20 New translations en.json (German)
[ci skip]
2023-07-09 21:35:20 +02:00
Joost De Cock
8e4d08e495 New translations en.json (Spanish)
[ci skip]
2023-07-09 21:35:14 +02:00
Joost De Cock
744174aa63
Merge pull request #4386 from freesewing/dependabot/npm_and_yarn/eslint-8.44.0
chore(deps-dev): bump eslint from 8.43.0 to 8.44.0
2023-07-08 16:56:36 +02:00
dependabot[bot]
52c6a5e9f9
chore(deps-dev): bump eslint from 8.43.0 to 8.44.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.43.0 to 8.44.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.43.0...v8.44.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-04 10:36:07 +00:00
joostdecock
8713993242 feat(core): Pass pattern to insertText hook 2023-07-02 19:40:43 +02:00
joostdecock
d01236afb2 breaking(i18n): The @freesewing/i18n package is no more
This concludes the initial migration of our translation to the new v3
structure.

We no longer publish a `@freesewing/i18n` package with the translations
for our project, instead each design has a `i18n` names export that
holds the strings for that design.

The plugins still need to be ported, and `plugin-i18n` needs to be
adapted, but the main work is done.
2023-07-02 19:07:17 +02:00
joostdecock
8fde32950c fix(core): Make mergeI18n methos more robust 2023-07-02 13:50:46 +02:00
joostdecock
fe61e85fa9 Merge branch 'develop' into i18n3 2023-06-26 18:50:52 +02:00
dependabot[bot]
c6dd447d07
chore(deps-dev): bump eslint from 8.42.0 to 8.43.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.42.0 to 8.43.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.42.0...v8.43.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 05:10:58 +00:00
joostdecock
9863ac21d8 fix(react-components): Bug in how defs is added 2023-06-24 10:39:09 +02:00
joostdecock
714c4ae368 feat(core): Added snippet.scale() and snippet.rotate() methods 2023-06-21 11:46:35 +02:00
Enoch Riese
64bffa5ff9 fix (designs) add missing measurements to design configs 2023-06-20 18:18:39 -05:00
joostdecock
73dc20e1d2 fix(core): Make mergeI18n options optional 2023-06-17 20:15:33 +02:00
Joost De Cock
1264a07afe
Merge branch 'develop' into i18n3 2023-06-17 20:11:44 +02:00
joostdecock
e8613c4e89 fix: linter warning 2023-06-17 13:47:37 +02:00
joostdecock
e35136e755 fix: Linter warnings 2023-06-17 13:44:08 +02:00
joostdecock
8450385602 fix(new-design): Don't rely on reconfigure for build 2023-06-17 13:40:48 +02:00
joostdecock
783e1fa683 chore: Linter warings 2023-06-17 13:28:17 +02:00
joostdecock
6da48ce4aa feat(react-components): Added PatternXray component 2023-06-17 13:20:05 +02:00
joostdecock
26f937db9d chore: Don't run reconfigure prior to build 2023-06-16 20:08:58 +02:00
Joost De Cock
fa2dee585c
Merge pull request #4293 from trentonTrama/fix/issue-4290/support-windows-paths-in-new-design
fix(new-design): Import using absolute identifier
2023-06-15 20:29:25 +02:00
Trenton Trama
141ed19a8f fix(new-design): Import using absolute identifier
Fixes #4290

Prepends `file://` schema during the import of template data to support
windows paths.
2023-06-15 11:07:40 -05:00
joostdecock
01e2d4e41a Merge branch 'develop' into joost 2023-06-12 18:22:14 +02:00
joostdecock
c5753abdc0 feat(core): Allow toAbs for non-snapped values too 2023-06-11 18:04:49 +02:00
joostdecock
264a441c35 fix(shared): Check for text attributes before using them 2023-06-11 18:04:28 +02:00
joostdecock
631ea8a50d feat(core): New mergeOptions method and passing mergedOtions to toAbs
When using toAbs for all but the most trivial cases, one needs access to
the options. Unlike measurements which are always there, options aren't
always set since they are only set when they differ from the default.

This would shift a lot of responsibility on the pattern designer who
would have to check whether an option is set, and if it's not use the
default which in turn depends on what type of an option it is (and it's
pct for example you have to remember to divide it by 100 and so on).

This feels footgun-y so instead I've added a `mergeOptions` method that
merges the options passed by the user with the defaults from the pattern
config so that you have a simple object with all option values.

This should get passed to `toAbs()` as the 3rd parameter.
2023-06-11 14:16:07 +02:00
joostdecock
c1fdf83088 feat(core): Consistent debug output style 2023-06-11 09:41:32 +02:00
joostdecock
46f547eb14 feat(core): Log message formatting improvements 2023-06-11 09:36:16 +02:00
joostdecock
88f74a4e5e feat(core): better log message formatting 2023-06-11 09:30:53 +02:00
joostdecock
66841b6a7f feat(core): Added new translation proposal for designs 2023-06-09 20:44:19 +02:00