yari icon indicating copy to clipboard operation
yari copied to clipboard

refactor(sync-translated-content): move from /build to /tool

Open caugner opened this issue 3 years ago • 1 comments

Summary

Moves build/sync-translated-content.ts to tool/sync-translated-content.ts, because it is only used by tool/cli.ts.


Screenshots

n/a


How did you test this change?

Ran yarn tool sync-translated-content locally.

caugner avatar Sep 14 '22 14:09 caugner

This pull request has merge conflicts that must be resolved before it can be merged.

github-actions[bot] avatar Sep 15 '22 13:09 github-actions[bot]

Would this have an impact on https://github.com/mdn/translated-content/blob/main/.github/workflows/sync-translated-content.yml

nschonni avatar Oct 20 '22 14:10 nschonni

Would this have an impact on https://github.com/mdn/translated-content/blob/main/.github/workflows/sync-translated-content.yml

No, because that workflow runs yarn content which is essentially an alias for yari-tool as defined as a binary here:

https://github.com/mdn/yari/blob/b340b9afcdf7dc1b95db05ce6c46f3c46afda639/package.json#L11

caugner avatar Oct 20 '22 16:10 caugner

This pull request has merge conflicts that must be resolved before it can be merged.

github-actions[bot] avatar Oct 25 '22 20:10 github-actions[bot]