1
0
Fork 0
Commit graph

50062 commits

Author SHA1 Message Date
Joost De Cock
721dce0aa4 New translations en.md (Ukrainian) 2022-09-28 14:24:23 +02:00
dependabot[bot]
55ab9e2735
chore(deps-dev): bump all-contributors-cli from 6.20.4 to 6.21.0
Bumps [all-contributors-cli](https://github.com/all-contributors/all-contributors-cli) from 6.20.4 to 6.21.0.
- [Release notes](https://github.com/all-contributors/all-contributors-cli/releases)
- [Commits](https://github.com/all-contributors/all-contributors-cli/compare/v6.20.4...v6.21.0)

---
updated-dependencies:
- dependency-name: all-contributors-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-28 04:08:09 +00:00
Enoch Riese
0a87e56b68 add markdown parser to eslint 2022-09-27 22:42:46 -05:00
Benjamin F
9273b33003 fix(charlie): Unhide accidentally-hidden seam for Fly Extension part. 2022-09-27 18:07:03 -07:00
Joost De Cock
71904f240c fix(plugin-round): Hide path by default 2022-09-27 23:59:52 +02:00
anna-puk
995849cd72 used prettier to clean up formatting 2022-09-27 22:33:45 +02:00
anna-puk
8896e04d4f used lint to clean up code 2022-09-27 22:29:09 +02:00
Joost De Cock
f2cef46eb0 chore(markdown): Updated Point api docs for v3 (wip) 2022-09-27 19:15:57 +02:00
Joost De Cock
b57b31056b chore(markdown): Updated Design api docs for v3 2022-09-27 19:15:42 +02:00
Joost De Cock
8955cdeec8 feat(examples): Added two more examples 2022-09-27 18:24:55 +02:00
Joost De Cock
ede3c137bc chore(docs): Updated Path api docs for v3 2022-09-27 18:24:35 +02:00
Joost De Cock
3cb5384df5 feat(core): Added path.addText and path.setText methods
Also added a parameter to path.reverse to make it a deep clone.
2022-09-27 18:22:56 +02:00
Joost De Cock
ba2eef45ff feat(shared): Example component now runs example code 2022-09-27 18:20:46 +02:00
Joost De Cock
920fe39d97 feat(plugintest): Added rotation option for scalebox 2022-09-27 14:13:25 +02:00
Joost De Cock
f56e67d007 chore(plugin-title): Changes for v3. See #2856 2022-09-27 14:08:32 +02:00
Joost De Cock
3e445a8401 chore(plugin-theme): Changes for v3. See #2856 2022-09-27 14:01:25 +02:00
Joost De Cock
ddd5b296b3 chore(plugin-sprinkle): Changes for v3. See #2856 2022-09-27 13:43:38 +02:00
Joost De Cock
b4da96da07 chore(plugin-scalebox): Changes for v3. See #2856 2022-09-27 13:41:44 +02:00
Joost De Cock
07d7f2defc fix(plugintest): Force radius to number 2022-09-27 12:36:14 +02:00
Joost De Cock
f5f5968f3b fix(shared): Issue with boolean options 2022-09-27 12:31:07 +02:00
Joost De Cock
11e45c30db chore(plugin-notches): Changes for v3. See #2856 2022-09-27 11:59:35 +02:00
Joost De Cock
026d090351 chore(plugin-mirror): Changes for v3. See #2856 2022-09-27 11:57:31 +02:00
Joost De Cock
3212e5eedc chore(plugin-measurements): Changes for v3. See #2856 2022-09-27 11:55:44 +02:00
Joost De Cock
88e5339b37 chore(plugin-grainline): Changes for v3. See #2856 2022-09-27 11:42:54 +02:00
Joost De Cock
b851e69ec8 chore(plugin-gore): Changes for v3. See #2856 2022-09-27 11:40:41 +02:00
dependabot[bot]
f366f1aaee
chore(deps-dev): bump @types/node from 18.7.18 to 18.7.23
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.7.18 to 18.7.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 04:09:23 +00:00
dependabot[bot]
0a9779fd2e
chore(deps): bump mongoose from 6.6.1 to 6.6.2
Bumps [mongoose](https://github.com/Automattic/mongoose) from 6.6.1 to 6.6.2.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/6.6.1...6.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 04:02:29 +00:00
Benjamin F
1a81df20a5 fix(hi): Unhide accidentally-hidden seam. 2022-09-26 17:29:38 -07:00
Benjamin F
fe61834103 fix(lunetius): Unhide accidentally-hidden seam. 2022-09-26 15:40:13 -07:00
nikhil
ffdc72fbef chore(eslint): Fail the new git workflow if git diff fails 2022-09-26 17:55:45 -04:00
anna-puk
598ed71874 updated based on PR feedback 2022-09-26 23:24:05 +02:00
nikhil
599cf9b741 chore(eslint): Fix git diff in the new lint workflow 2022-09-26 17:01:50 -04:00
nikhil
7fb41b3740 chore(eslint): Add a lint workflow that only assesses _changed_ files
This is particularly helpful right now, since we haven't yet gotten all our files to pass the main lint workflow.
2022-09-26 17:01:50 -04:00
nikhil
a9ea6e7c76 chore(eslint): Default to 'shared-node-browser' after all
...because it turns out we have a long tail of JS files that can, and do, rely on universal builtins like `console`.

This reverts part of commit efb88bd808fd593413dd6cb6fdc5d9d27b866ba4.
2022-09-26 17:01:50 -04:00
nikhil
a24e93354f fix(current lint check): Remove .babelrc palimpsests
The current GitHub linting workflow (which, thanks to its reliance on lerna, only runs lint in workspaces that specify a `lint` command--needs to be fixed) has been failing for a new reason since commit dd9510537c9857a9f41c155c933b893c5855d32d (the workflow was already failing in the `develop` branch for unrelated reasons).

dd9510537c9857a9f41c155c933b893c5855d32d reintroduced Babel to the monorepo, not for any kind of transpilation step but for usage by `eslint`. This wasn't an issue for `eslint` commands executed from the monorepo root, but it's an issue for the lint workflow: that workflow uses `lerna run lint` to run `eslint` from within workspace directories, and the workspace directories that implement `lint` commands also happen to have legacy `.babelrc` files that reference no-longer-installed Babel plugins.

This commit removes the old `.babelrc` files, which should fix the lint workflow in its current form. (I will soon be updating the lint workflow to cover all workspaces, but I've yet to decide what that will look like.)
2022-09-26 17:01:50 -04:00
nikhil
003e120f52 chore(eslint): Remove all remaining package-specific .eslintrc files 2022-09-26 17:01:50 -04:00
nikhil
7046a14bc2 chore(eslint): Remove the plugin-specific .eslintrc files 2022-09-26 17:01:50 -04:00
nikhil
fd21b37adc chore(eslint): Ignore more types of files 2022-09-26 17:01:50 -04:00
nikhil
067f3958ae chore(eslint): (Slightly) improve linting of packages/i18n 2022-09-26 17:01:50 -04:00
nikhil
1430d48910 chore(eslint): More work on the root .eslintrc
* Remove the site-specific and `packages/new-design`-specific `.eslintrc` files
* Use `eslint-config-next` where appropriate (this fixes linting for sites/shared, bringing it in line with the other sites)
* Be more strict about which envs/globals are allowed in any given JavaScript file; assume none by default.
2022-09-26 17:01:46 -04:00
nikhil
95be9f6ea1 chore(eslint): Support JSON files 2022-09-26 17:00:30 -04:00
nikhil
d9527ac15e chore(eslint): Convert the root .eslintrc.yml to .eslintrc.cjs
(preparing for further changes)
2022-09-26 16:58:39 -04:00
nikhil
db262265f0 chore(eslint): Remove the design-specific .eslintrc files
Also remove the `config/templates/design`-specific .eslintrc
2022-09-26 16:58:39 -04:00
nikhil
15d092492f chore(eslint): Ignore dist directories 2022-09-26 16:58:39 -04:00
nikhil
89e5105b12 chore(eslint): Support Markdown files
This includes JS linting support for the `js` code blocks in our Markdown files. Note that some of those code blocks use C-style syntax to document input and output types (e.g. `Pattern pattern.on(string hook, function method)`), which means those code blocks will start producing lint errors when those Markdown files are touched (those lint errors also happen to be rather obtuse, e.g. `Parsing error: Missing semicolon.`). One solution might be to install [`typescript-eslint`](https://typescript-eslint.io/) and convert the offending code blocks into syntactically valid TypeScript, as long as that doesn't confuse new developers into trying to put TypeScript in their FreeSewing files.
2022-09-26 16:58:38 -04:00
nikhil
ecdb466af3 chore(eslint): Support JSON module imports
Also fix a few violations of the `export-with-import-assertions` rule, places where we import specific top-level keys from JSON files in violation of [the current spec](https://github.com/tc39/proposal-json-modules#why-dont-json-modules-support-named-exports).
2022-09-26 16:58:38 -04:00
anna-puk
3a738beba7 Merge remote-tracking branch 'upstream/develop' into unice-revival-(PR-version) 2022-09-26 22:05:31 +02:00
Enoch Riese
6b19c23bca Merge branch 'develop' into eriese-fix-builds 2022-09-26 13:54:09 -04:00
Joost De Cock
ab2a86d77c chore(shared): Removed debug statement 2022-09-26 17:35:30 +02:00
Joost De Cock
35c9a877e2 fix(plugin-dimension): Fix rmad, closes #2860 2022-09-26 12:03:32 +02:00