1.1.4 • Published 3 years ago
@oss-docs/sync v1.1.4
@oss-docs/sync
This is the CLI which powers a docs translation repo. It's job is to handle a few things:
- Pulling translations into the app repo (
docs-sync pull
) - Grabbing the english files from the localization repo (
docs-sync get-en
) - Validating the changes in the localization repo (
docs-sync validate-against-en
) - Updating a set of GitHub issues (
update-github-issues
)
localize.json
This CLI expects you to have a localize.json
in the root of your localization repo.
{
"app": "microsft/TypeScript-Website#v2",
"issues": {
"pt": 23,
"zh": 44
},
"docsRoots": [
{ "name": "Playground", "from": "packages/playground-examples/copy/", "to": "docs/playground" },
{ "name": "TSConfig Reference", "from": "packages/tsconfig-reference/copy/", "to": "docs/tsconfig" },
{ "name": "Website Copy", "from": "packages/typescriptlang-org/src/copy/", "to": "docs/typescriptlang" },
{ "name": "Handbook", "from": "packages/documentation/copy/", "to": "docs/documentation" }
],
"validate": {
"ignoreFiles": ["docs/playground/*.js"]
}
}
1.1.4
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
0.4.1
3 years ago
0.4.0
3 years ago
0.2.10
3 years ago
0.3.0
3 years ago
0.3.1
3 years ago
0.2.9
3 years ago
0.2.8
3 years ago
0.2.7
3 years ago
0.2.5
3 years ago
0.2.4
3 years ago
0.2.1
3 years ago
0.2.3
3 years ago
0.2.2
3 years ago
0.2.0
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago