@ggdna/dna-vscode 0.4.0 → 0.5.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 CHANGED
@@ -27,6 +27,12 @@ extensions.
27
27
  the license header template
28
28
  - `dna/dot-vscode/extensions.json` — the recommended extensions
29
29
 
30
+ ## Publishing
31
+
32
+ `dna/dot-pubignore` keeps `/doc/guides/` out of the package `dart pub publish`
33
+ uploads. helix joins it with the ignore files of the other layers into the
34
+ project's `.pubignore`.
35
+
30
36
  ## Layers
31
37
 
32
38
  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 other layers by the consumer.
8
12
  "layers": [],
@@ -5,7 +5,7 @@
5
5
  "name": "base",
6
6
  "package": "helix",
7
7
  "ecosystem": null,
8
- "resolvedVersion": "1.12.0",
8
+ "resolvedVersion": "1.16.0",
9
9
  "via": null,
10
10
  "hash": "0x6883da335b415f9d"
11
11
  },
@@ -15,15 +15,17 @@
15
15
  "ecosystem": null,
16
16
  "resolvedVersion": null,
17
17
  "via": null,
18
- "hash": "0xb1b916118eb63333"
18
+ "hash": "0x29b7af8b13ad4da5"
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.12.0",
26
+ "baseVersion": "1.16.0",
26
27
  "baseHash": "0x6883da335b415f9d",
28
+ "configHash": "0xe70628005df0298b",
27
29
  "instances": [
28
30
  {
29
31
  "path": ".claude/skills/vscode/SKILL.md",
@@ -37,6 +39,10 @@
37
39
  "path": ".prettierrc",
38
40
  "hash": "0xf2be2549d1b502ae"
39
41
  },
42
+ {
43
+ "path": ".pubignore",
44
+ "hash": "0x7f52f02daa607801"
45
+ },
40
46
  {
41
47
  "path": ".vscode/extensions.json",
42
48
  "hash": "0x42dbd078830bdf05"
@@ -11,7 +11,7 @@ found in the LICENSE file in the root of this package.
11
11
  The shared editor settings and recommended extensions every repo opens
12
12
  with.
13
13
 
14
- ## What is configured
14
+ ## @configured What is configured
15
15
 
16
16
  - Format on save through Prettier, pinned to the workspace config so it
17
17
  never falls back to bundled defaults
@@ -22,20 +22,20 @@ with.
22
22
  - `dna/_dna.json` is associated with `jsonc`, so its comments do not show
23
23
  as errors
24
24
 
25
- ## Add a setting
25
+ ## @setting Add a setting
26
26
 
27
27
  - Put it in `dna/dot-vscode/settings.json`, under the section comment it
28
28
  belongs to — add a new `// ####… \n// Name \n// ####…` section if none
29
29
  fits
30
30
  - State why in a comment when the setting is not self-explanatory
31
31
 
32
- ## Add a recommended extension
32
+ ## @recommended Add a recommended extension
33
33
 
34
34
  - Add its id to `dna/dot-vscode/extensions.json`
35
35
  - Give it a matching setting in `settings.json` if it needs one, e.g. a
36
36
  `[language]`-scoped `editor.defaultFormatter`
37
37
 
38
- ## Override in a consuming repo
38
+ ## @override Override in a consuming repo
39
39
 
40
40
  - A same-path `dna/dot-vscode/settings.json` in a later layer replaces
41
41
  this one whole
@@ -15,18 +15,18 @@ found in the LICENSE file in the root of this package.
15
15
 
16
16
  Read `doc/guides/vscode-guide.md` and follow it.
17
17
 
18
- ## 1. Check the extensions
18
+ ## @extensions 1. Check the extensions
19
19
 
20
20
  List `.vscode/extensions.json` and compare against the extensions
21
21
  actually installed.
22
22
 
23
23
  Report every recommended extension that is missing.
24
24
 
25
- ## 2. Check the settings
25
+ ## @settings 2. Check the settings
26
26
 
27
27
  Verify `.vscode/settings.json` parses as JSONC and that every
28
28
  `editor.defaultFormatter` it sets points at an installed extension.
29
29
 
30
- ## 3. Report before fixing
30
+ ## @report 3. Report before fixing
31
31
 
32
32
  List the findings first. Install or fix only what the user confirms.
@@ -0,0 +1 @@
1
+ /doc/guides/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ggdna/dna-vscode",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
4
4
  "description": "DNA layer: shared VS Code settings and recommended extensions",
5
5
  "keywords": [
6
6
  "dna",