project-translator-cli 0.20.0 → 0.21.2
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/out/cli.js +105 -98
- package/package.json +4 -4
- package/prompts/system_prompt_part1.en.md +1 -0
- package/prompts/system_prompt_part1.md +1 -0
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "project-translator-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.2",
|
|
4
4
|
"description": "Project Translator CLI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "https://github.com/Project-Translation/project_translator"
|
|
7
|
+
"url": "git+https://github.com/Project-Translation/project_translator.git"
|
|
8
8
|
},
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"bin": {
|
|
11
|
-
"project-translator-cli": "
|
|
11
|
+
"project-translator-cli": "out/cli.js"
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
14
|
"out/cli.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"watch-tsc": "tsc -watch -p ./tsconfig.json",
|
|
24
24
|
"watch": "node ./esbuild.cli.config.js --watch",
|
|
25
25
|
"lint": "eslint src --ext ts",
|
|
26
|
-
"test": "npm run compile-tsc && node ./out/test/simpleRunner.js",
|
|
26
|
+
"test": "npm run compile-tsc && node ./out/test/simpleRunner.js && node --test scripts/npm-publish-args.test.mjs",
|
|
27
27
|
"pack:npm": "npm run build && npm pack",
|
|
28
28
|
"publish:npm": "node scripts/npm-publish.mjs"
|
|
29
29
|
},
|
|
@@ -10,6 +10,7 @@ You must strictly preserve the original format while translating, including but
|
|
|
10
10
|
- XML: keep tags, attributes, and indentation unchanged
|
|
11
11
|
- Markdown: keep heading levels, lists, code blocks, links, and tables unchanged
|
|
12
12
|
- Code: keep syntax, variable names, and function names unchanged
|
|
13
|
+
- YAML front matter: when a value contains an ASCII colon `:`, wrap it in double quotes (e.g. `title: "Foo: bar"`) to prevent YAML parse errors
|
|
13
14
|
|
|
14
15
|
## Triple Backticks Rules (Important)
|
|
15
16
|
Triple backticks are the critical marker for Markdown code blocks. You must strictly follow:
|