tolkbot 0.0.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # tolkbot
2
2
 
3
- The command-line tool for [TolkBot](https://tolkbot.ai), which translates the i18n files in a GitHub repository and opens pull requests with the result.
3
+ The command-line interface for [TolkBot](https://tolkbot.ai), which translates the i18n files in a GitHub repository.
4
4
 
5
- This version is a placeholder. The CLI hasn't been released yet, and running this package only prints a notice.
5
+ ```shell
6
+ npx tolkbot validate
7
+ npm install -g tolkbot
8
+ ```
9
+
10
+ This package holds no code of its own. It installs [`@tolkbot/cli`](https://www.npmjs.com/package/@tolkbot/cli) at the same version and gives you the `tolkbot` command.
11
+
12
+ Docs: https://docs.tolkbot.ai/docs/cli-installation
package/bin/tolkbot.js ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+
3
+ import "@tolkbot/cli";
package/package.json CHANGED
@@ -1,12 +1,28 @@
1
1
  {
2
- "name": "tolkbot",
3
- "version": "0.0.1",
4
- "description": "CLI for TolkBot, AI translation for the i18n files in a GitHub repository. Not released yet.",
5
- "homepage": "https://tolkbot.ai",
6
- "bin": {
7
- "tolkbot": "index.js"
8
- },
9
- "files": [
10
- "index.js"
11
- ]
12
- }
2
+ "name": "tolkbot",
3
+ "version": "0.1.0",
4
+ "description": "Command-line interface for TolkBot: AI translation for the i18n files in a GitHub repository.",
5
+ "license": "UNLICENSED",
6
+ "homepage": "https://tolkbot.ai",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/duoworks/tolkbot.git",
10
+ "directory": "packages/tolkbot"
11
+ },
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "engines": {
16
+ "node": ">=22.22.0"
17
+ },
18
+ "bin": {
19
+ "tolkbot": "./bin/tolkbot.js"
20
+ },
21
+ "type": "module",
22
+ "files": [
23
+ "bin"
24
+ ],
25
+ "dependencies": {
26
+ "@tolkbot/cli": "0.1.0"
27
+ }
28
+ }
package/index.js DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env node
2
- console.error(
3
- "The TolkBot CLI hasn't been released yet. See https://tolkbot.ai for updates.",
4
- );
5
- process.exitCode = 1;