@ggdna/dna-translate 0.3.0 → 0.5.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
|
@@ -19,6 +19,12 @@ The DNA layer that keeps documentation in sync across languages.
|
|
|
19
19
|
- `/translate` — reports missing counterparts and pairs that drifted
|
|
20
20
|
apart, then translates what is missing
|
|
21
21
|
|
|
22
|
+
## Publishing
|
|
23
|
+
|
|
24
|
+
`dna/dot-pubignore` keeps `/doc/guides/` and `/doc/templates/` out of the
|
|
25
|
+
package `dart pub publish` uploads. helix joins it with the ignore files of the
|
|
26
|
+
other layers into the project's `.pubignore`.
|
|
27
|
+
|
|
22
28
|
## Layers
|
|
23
29
|
|
|
24
30
|
Orthogonal: this layer carries only its own topic and is combined with
|
package/dna/_generated.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"name": "base",
|
|
6
6
|
"package": "helix",
|
|
7
7
|
"ecosystem": null,
|
|
8
|
-
"resolvedVersion": "1.
|
|
8
|
+
"resolvedVersion": "1.15.2",
|
|
9
9
|
"via": null,
|
|
10
10
|
"hash": "0x6883da335b415f9d"
|
|
11
11
|
},
|
|
@@ -15,23 +15,27 @@
|
|
|
15
15
|
"ecosystem": null,
|
|
16
16
|
"resolvedVersion": null,
|
|
17
17
|
"via": null,
|
|
18
|
-
"hash": "
|
|
18
|
+
"hash": "0x670eb775be06db3c"
|
|
19
19
|
}
|
|
20
20
|
],
|
|
21
21
|
"claude": {
|
|
22
22
|
"claudeMdInclude": null,
|
|
23
23
|
"claudeMdFromDna": false
|
|
24
24
|
},
|
|
25
|
-
"baseVersion": "1.
|
|
25
|
+
"baseVersion": "1.15.2",
|
|
26
26
|
"baseHash": "0x6883da335b415f9d",
|
|
27
27
|
"instances": [
|
|
28
28
|
{
|
|
29
29
|
"path": ".claude/skills/translate/SKILL.md",
|
|
30
|
-
"hash": "
|
|
30
|
+
"hash": "0x3b34cef6c2b790a8"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": ".pubignore",
|
|
34
|
+
"hash": "0x94a1d4fda57bc8fb"
|
|
31
35
|
},
|
|
32
36
|
{
|
|
33
37
|
"path": "doc/guides/translate-guide.md",
|
|
34
|
-
"hash": "
|
|
38
|
+
"hash": "0xa677037143b642e7"
|
|
35
39
|
},
|
|
36
40
|
{
|
|
37
41
|
"path": "doc/templates/blog-template-de.md",
|
|
@@ -23,7 +23,8 @@ found in the LICENSE file in the root of this package.
|
|
|
23
23
|
|
|
24
24
|
- Start a post in the language of the prompt
|
|
25
25
|
- Put english posts into `doc/blog/<yyyy>`, german ones into
|
|
26
|
-
`doc/de/blog/<yyyy
|
|
26
|
+
`doc/de/blog/<yyyy>`; a project management repo keeps them in its
|
|
27
|
+
quarter folder: `doc/<yyyy>-Q<n>/blog` and `doc/de/<yyyy>-Q<n>/blog`
|
|
27
28
|
- Copy `doc/templates/blog-template-de.md` for a german post
|
|
28
29
|
- Keep the file name in english kebab case in both languages
|
|
29
30
|
- Follow the [Blog Guide](./blog-guide.md) for everything else
|
|
@@ -27,7 +27,8 @@ Report three groups:
|
|
|
27
27
|
- pairs whose newer side changed after the older one, from `git log -1`
|
|
28
28
|
|
|
29
29
|
Cover the blog the same way: `doc/blog/<yyyy>` against
|
|
30
|
-
`doc/de/blog/<yyyy
|
|
30
|
+
`doc/de/blog/<yyyy>`, in a project management repo `doc/<yyyy>-Q<n>/blog`
|
|
31
|
+
against `doc/de/<yyyy>-Q<n>/blog`.
|
|
31
32
|
|
|
32
33
|
Stop here and report when every pair is complete and current — there is
|
|
33
34
|
nothing to translate.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ggdna/dna-translate",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "DNA layer: multi-language rules for guides, docs and README files",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dna",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@types/node": "^26.6.
|
|
31
|
+
"@types/node": "^26.6.6",
|
|
32
32
|
"prettier": "^3.9.10"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|