Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Oct 4, 2022. It is now read-only.
/javascriptPublic archive

Monorepo for all the JavaScript within Yoast

NotificationsYou must be signed in to change notification settings

Yoast/javascript

Repository files navigation

❗This repository has been archived. Please create your issues and PRs onhttps://github.com/Yoast/wordpress-seo. ❗

Packages

Monorepo for all the JavaScript within Yoast.

javascript/packages

This monorepo includes reusable packages:

All new package should bescoped with@yoast/ , so they can be published as part of theYoast organisation. When creating a new package with translations, please mind that they need to be added to the pipeline (for context see this issue).

javascript/apps

This monorepo includes apps for testing purposes. These apps are not published. Apps include:

General file structure of a package

  • /src. Source files
  • /tests. Unit tests.
  • /tools. Tooling necessary to build or test.
  • /package.json

Useful commands

The following commands can be executed from the javascript project root:

  • yarn install, will install all dependencies for all packages.
  • yarn lint, will run linting for all packages.
  • yarn test, will run tests for all packages.
  • yarn link-all, will runyarn link for all packages.
  • yarn unlink-all, will runyarn unlink for all packages.

What lives where?

https://github.com/Yoast/YoastSEO.js moved topackages/yoastseo.https://github.com/Yoast/yoast-components moved topackages/yoast-components.

Moving pull requests & branches

These need to be moved manually. For your convenience theyarn transfer-branch command exists. It has 3 arguments:

  • Package: Which package to transfer to/from, has the following options:

    • yoastseo
    • yoast-components
  • Base branch: Which branch the branch you want to move is based on. It is the base branch in a pull request.

  • Branch to move: The branch you want to move.

These arguments are positional. Thinkyarn transfer-branch [package] [base-branch] [branch-to-move].

After moving the branch connected to a pull request you need to manually recreate the pull request here. That should be a matter of copy & pasting and linking to the original PR for archive purposes.


[8]ページ先頭

©2009-2025 Movatter.jp