@ggdna/dna-index 0.2.0 → 0.3.1
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 +6 -0
- package/dna/_dna.json +4 -0
- package/dna/_generated.json +10 -4
- package/dna/doc/guides/index-guide.md +3 -3
- package/dna/dot-claude/skills/index/SKILL.md +2 -2
- package/dna/dot-pubignore +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,6 +17,12 @@ The DNA layer that gives every repo an `index.jsonc` describing itself.
|
|
|
17
17
|
- `/index` — compares the index against the code that is actually there
|
|
18
18
|
and reports entries that no longer exist
|
|
19
19
|
|
|
20
|
+
## Publishing
|
|
21
|
+
|
|
22
|
+
`dna/dot-pubignore` keeps `/doc/guides/` and `/doc/templates/` out of the
|
|
23
|
+
package `dart pub publish` uploads. helix joins it with the ignore files of the
|
|
24
|
+
other layers into the project's `.pubignore`.
|
|
25
|
+
|
|
20
26
|
## Layers
|
|
21
27
|
|
|
22
28
|
Orthogonal: this layer carries only its own topic and is combined with
|
package/dna/_dna.json
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
// last layer of its own instantiation.
|
|
4
4
|
"version": 2,
|
|
5
5
|
|
|
6
|
+
// Published as a DNA layer: helix requires a tag on every section of
|
|
7
|
+
// dna/ markdown, so the layers above can override each one.
|
|
8
|
+
"isLayer": true,
|
|
9
|
+
|
|
6
10
|
// No parent DNA. This layer is orthogonal: it carries only its own topic
|
|
7
11
|
// and is combined with dna_dart, dna-ts and other layers by the consumer.
|
|
8
12
|
"layers": [],
|
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.16.0",
|
|
9
9
|
"via": null,
|
|
10
10
|
"hash": "0x6883da335b415f9d"
|
|
11
11
|
},
|
|
@@ -15,20 +15,26 @@
|
|
|
15
15
|
"ecosystem": null,
|
|
16
16
|
"resolvedVersion": null,
|
|
17
17
|
"via": null,
|
|
18
|
-
"hash": "
|
|
18
|
+
"hash": "0xbe90f34600be3cca"
|
|
19
19
|
}
|
|
20
20
|
],
|
|
21
21
|
"claude": {
|
|
22
22
|
"claudeMdInclude": null,
|
|
23
|
-
"claudeMdFromDna": false
|
|
23
|
+
"claudeMdFromDna": false,
|
|
24
|
+
"blockHash": null
|
|
24
25
|
},
|
|
25
|
-
"baseVersion": "1.
|
|
26
|
+
"baseVersion": "1.16.0",
|
|
26
27
|
"baseHash": "0x6883da335b415f9d",
|
|
28
|
+
"configHash": "0x0d4ac600e4df748f",
|
|
27
29
|
"instances": [
|
|
28
30
|
{
|
|
29
31
|
"path": ".claude/skills/index/SKILL.md",
|
|
30
32
|
"hash": "0xc47429e51622cd7b"
|
|
31
33
|
},
|
|
34
|
+
{
|
|
35
|
+
"path": ".pubignore",
|
|
36
|
+
"hash": "0xf54303d9193038d4"
|
|
37
|
+
},
|
|
32
38
|
{
|
|
33
39
|
"path": "doc/guides/index-guide.md",
|
|
34
40
|
"hash": "0xc684cc8895b98403"
|
|
@@ -8,20 +8,20 @@ found in the LICENSE file in the root of this package.
|
|
|
8
8
|
|
|
9
9
|
# Index Guide
|
|
10
10
|
|
|
11
|
-
## Create an index.jsonc
|
|
11
|
+
## @index Create an index.jsonc
|
|
12
12
|
|
|
13
13
|
- If not present:
|
|
14
14
|
- Copy `doc/templates/index-template.jsonc` to `index.jsonc`
|
|
15
15
|
- Keep the fields of the template, add none of your own
|
|
16
16
|
- Keep the comments: they say what belongs in each field
|
|
17
17
|
|
|
18
|
-
## Use index.jsonc for planning
|
|
18
|
+
## @index-jsonc Use index.jsonc for planning
|
|
19
19
|
|
|
20
20
|
- Read the index file before planning a ticket
|
|
21
21
|
- If needed, also read the index files of all ocean repos
|
|
22
22
|
- Then decide which repos you need for your ticket
|
|
23
23
|
|
|
24
|
-
## Update index.jsonc before each publish
|
|
24
|
+
## @index-jsonc-before Update index.jsonc before each publish
|
|
25
25
|
|
|
26
26
|
- Update the index file before publishing each ticket
|
|
27
27
|
- Write as short and token-saving as possible
|
|
@@ -16,7 +16,7 @@ found in the LICENSE file in the root of this package.
|
|
|
16
16
|
Read `doc/guides/index-guide.md` and `doc/templates/index-template.jsonc`
|
|
17
17
|
and follow them.
|
|
18
18
|
|
|
19
|
-
## 1. Check whether the index is current
|
|
19
|
+
## @check 1. Check whether the index is current
|
|
20
20
|
|
|
21
21
|
Report a missing `index.jsonc`.
|
|
22
22
|
|
|
@@ -26,6 +26,6 @@ is actually there — public entry points, exported classes, commands.
|
|
|
26
26
|
Report every entry that no longer exists and every interface that is
|
|
27
27
|
missing.
|
|
28
28
|
|
|
29
|
-
## 2. Update
|
|
29
|
+
## @update 2. Update
|
|
30
30
|
|
|
31
31
|
Write the index, then show the diff before committing.
|