@ggdna/dna-vscode 0.3.0 → 0.4.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 +4 -0
- package/dna/_dna.json +4 -4
- package/dna/_generated.json +1 -1
- package/package.json +1 -1
- package/dna/_vars copy.json +0 -4
package/README.md
CHANGED
|
@@ -37,6 +37,10 @@ other layers by the consuming repo.
|
|
|
37
37
|
- `dnaCopyrightHolder` — the name in the license header of every file
|
|
38
38
|
- `dnaCompany` — the author name the license header template inserts
|
|
39
39
|
|
|
40
|
+
They name the organization, so they are never inherited: every layer or
|
|
41
|
+
project listing this one sets them in its own `dna/_vars.json`.
|
|
42
|
+
`helix init` and `helix add` ask for the missing ones.
|
|
43
|
+
|
|
40
44
|
## Usage
|
|
41
45
|
|
|
42
46
|
Declare it as a dev-dependency and initialize once:
|
package/dna/_dna.json
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
// and is combined with other layers by the consumer.
|
|
8
8
|
"layers": [],
|
|
9
9
|
|
|
10
|
-
// The copyright header
|
|
11
|
-
// inherited: every layer listing this
|
|
12
|
-
// its own dna/_vars.json.
|
|
13
|
-
"mustOverride": { "dnaCopyrightHolder": true }
|
|
10
|
+
// The copyright header and the psi-header author name the
|
|
11
|
+
// organization, so they are never inherited: every layer listing this
|
|
12
|
+
// one sets dnaCopyrightHolder and dnaCompany in its own dna/_vars.json.
|
|
13
|
+
"mustOverride": { "dnaCopyrightHolder": true, "dnaCompany": true }
|
|
14
14
|
}
|
package/dna/_generated.json
CHANGED
package/package.json
CHANGED
package/dna/_vars copy.json
DELETED