@ggdna/dna-vscode 0.1.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/LICENSE +21 -0
- package/README.md +48 -0
- package/dna/_dna.json +9 -0
- package/dna/_generated.json +48 -0
- package/dna/_vars.json +4 -0
- package/dna/doc/guides/vscode-guide.md +44 -0
- package/dna/dot-claude/skills/vscode/SKILL.md +32 -0
- package/dna/dot-vscode/extensions.json +17 -0
- package/dna/dot-vscode/settings.json +348 -0
- package/package.json +41 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) ggsuite
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# dna_vscode
|
|
2
|
+
|
|
3
|
+
The DNA layer for the editor: shared VS Code settings and recommended
|
|
4
|
+
extensions.
|
|
5
|
+
|
|
6
|
+
## Guides
|
|
7
|
+
|
|
8
|
+
- `dna/doc/guides/vscode-guide.md` — what is configured, how to add a
|
|
9
|
+
setting or extension, and how a consumer overrides one
|
|
10
|
+
|
|
11
|
+
## Skills
|
|
12
|
+
|
|
13
|
+
- `/vscode` — compares installed extensions against the recommendations
|
|
14
|
+
and checks that `settings.json` parses
|
|
15
|
+
|
|
16
|
+
## Configuration
|
|
17
|
+
|
|
18
|
+
- `dna/dot-vscode/settings.json` — formatting, rulers, coverage gutters,
|
|
19
|
+
the license header template
|
|
20
|
+
- `dna/dot-vscode/extensions.json` — the recommended extensions
|
|
21
|
+
|
|
22
|
+
## Layers
|
|
23
|
+
|
|
24
|
+
Orthogonal: this layer carries only its own topic and is combined with
|
|
25
|
+
other layers by the consuming repo.
|
|
26
|
+
|
|
27
|
+
## Variables
|
|
28
|
+
|
|
29
|
+
- `dnaCopyrightHolder` — the name in the license header of every file
|
|
30
|
+
- `dnaCompany` — the author name the license header template inserts
|
|
31
|
+
|
|
32
|
+
## Usage
|
|
33
|
+
|
|
34
|
+
Declare it as a dev-dependency and initialize once:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pnpm add -D @ggdna/dna-vscode # TypeScript projects
|
|
38
|
+
dart pub add dev:dna_vscode # Dart projects
|
|
39
|
+
helix init
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
The placed test instantiates and verifies the DNA on every test run.
|
|
43
|
+
|
|
44
|
+
## Development
|
|
45
|
+
|
|
46
|
+
The `dna/` folder is hand-authored source and is never generated. The repo
|
|
47
|
+
instantiates its own DNA — run `dart test` after changes; commit first, a
|
|
48
|
+
file the DNA would overwrite must not carry uncommitted work.
|
package/dna/_dna.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
// This package is a DNA layer: dna/ is hand-authored source and is the
|
|
3
|
+
// last layer of its own instantiation.
|
|
4
|
+
"version": 1,
|
|
5
|
+
|
|
6
|
+
// No parent DNA. This layer is orthogonal: it carries only its own topic
|
|
7
|
+
// and is combined with other layers by the consumer.
|
|
8
|
+
"layers": []
|
|
9
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"layers": [
|
|
4
|
+
{
|
|
5
|
+
"name": "base",
|
|
6
|
+
"package": "helix",
|
|
7
|
+
"ecosystem": null,
|
|
8
|
+
"resolvedVersion": "1.0.1",
|
|
9
|
+
"via": null,
|
|
10
|
+
"hash": "0x705e486e88a93125"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "self",
|
|
14
|
+
"package": null,
|
|
15
|
+
"ecosystem": null,
|
|
16
|
+
"resolvedVersion": null,
|
|
17
|
+
"via": null,
|
|
18
|
+
"hash": "0x388c565943d37cae"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"claude": {
|
|
22
|
+
"claudeMdInclude": null
|
|
23
|
+
},
|
|
24
|
+
"baseVersion": "1.0.1",
|
|
25
|
+
"baseHash": "0x705e486e88a93125",
|
|
26
|
+
"instances": [
|
|
27
|
+
{
|
|
28
|
+
"path": ".claude/skills/vscode/SKILL.md",
|
|
29
|
+
"hash": "0xa331cf3abdbd1c7b"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"path": ".vscode/extensions.json",
|
|
33
|
+
"hash": "0x42dbd078830bdf05"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": ".vscode/settings.json",
|
|
37
|
+
"hash": "0x32f5972239aa0a78"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"path": "doc/guides/vscode-guide.md",
|
|
41
|
+
"hash": "0x6776b27c7cbedb98"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"path": "doc/hello_world.md",
|
|
45
|
+
"hash": "0x0903f7fc5224f6f1"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
package/dna/_vars.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
@license
|
|
3
|
+
Copyright (c) dnaCopyrightHolder
|
|
4
|
+
|
|
5
|
+
Use of this source code is governed by terms that can be
|
|
6
|
+
found in the LICENSE file in the root of this package.
|
|
7
|
+
-->
|
|
8
|
+
|
|
9
|
+
# VS Code Guide
|
|
10
|
+
|
|
11
|
+
The shared editor settings and recommended extensions every repo opens
|
|
12
|
+
with.
|
|
13
|
+
|
|
14
|
+
## What is configured
|
|
15
|
+
|
|
16
|
+
- Format on save through Prettier, pinned to the workspace config so it
|
|
17
|
+
never falls back to bundled defaults
|
|
18
|
+
- 80 character rulers, no trailing whitespace, a final newline
|
|
19
|
+
- Coverage gutters and the testing panel
|
|
20
|
+
- A license header template for every language this family writes,
|
|
21
|
+
using `dnaCompany` and `dnaCopyrightHolder`
|
|
22
|
+
- `dna/_dna.json` is associated with `jsonc`, so its comments do not show
|
|
23
|
+
as errors
|
|
24
|
+
|
|
25
|
+
## Add a setting
|
|
26
|
+
|
|
27
|
+
- Put it in `dna/dot-vscode/settings.json`, under the section comment it
|
|
28
|
+
belongs to — add a new `// ####… \n// Name \n// ####…` section if none
|
|
29
|
+
fits
|
|
30
|
+
- State why in a comment when the setting is not self-explanatory
|
|
31
|
+
|
|
32
|
+
## Add a recommended extension
|
|
33
|
+
|
|
34
|
+
- Add its id to `dna/dot-vscode/extensions.json`
|
|
35
|
+
- Give it a matching setting in `settings.json` if it needs one, e.g. a
|
|
36
|
+
`[language]`-scoped `editor.defaultFormatter`
|
|
37
|
+
|
|
38
|
+
## Override in a consuming repo
|
|
39
|
+
|
|
40
|
+
- A same-path `dna/dot-vscode/settings.json` in a later layer replaces
|
|
41
|
+
this one whole
|
|
42
|
+
- A `dna/dot-vscode/settings.overrides.json` merges instead: objects
|
|
43
|
+
deep-merge, `"key!"` replaces without merging, `"key+"` appends to an
|
|
44
|
+
array — see the helix README for the full syntax
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: vscode
|
|
3
|
+
description: Checks that installed VS Code extensions match the recommended list and that settings.json is valid JSONC. Use when the user says "/vscode" or asks whether the editor setup is complete.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!--
|
|
7
|
+
@license
|
|
8
|
+
Copyright (c) dnaCopyrightHolder
|
|
9
|
+
|
|
10
|
+
Use of this source code is governed by terms that can be
|
|
11
|
+
found in the LICENSE file in the root of this package.
|
|
12
|
+
-->
|
|
13
|
+
|
|
14
|
+
# Vscode
|
|
15
|
+
|
|
16
|
+
Read `doc/guides/vscode-guide.md` and follow it.
|
|
17
|
+
|
|
18
|
+
## 1. Check the extensions
|
|
19
|
+
|
|
20
|
+
List `.vscode/extensions.json` and compare against the extensions
|
|
21
|
+
actually installed.
|
|
22
|
+
|
|
23
|
+
Report every recommended extension that is missing.
|
|
24
|
+
|
|
25
|
+
## 2. Check the settings
|
|
26
|
+
|
|
27
|
+
Verify `.vscode/settings.json` parses as JSONC and that every
|
|
28
|
+
`editor.defaultFormatter` it sets points at an installed extension.
|
|
29
|
+
|
|
30
|
+
## 3. Report before fixing
|
|
31
|
+
|
|
32
|
+
List the findings first. Install or fix only what the user confirms.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"recommendations": [
|
|
3
|
+
"bierner.markdown-mermaid",
|
|
4
|
+
"brunnerh.insert-unicode",
|
|
5
|
+
"clemenspeters.format-json",
|
|
6
|
+
"davidanson.vscode-markdownlint",
|
|
7
|
+
"eamodio.gitlens",
|
|
8
|
+
"esbenp.prettier-vscode",
|
|
9
|
+
"hediet.vscode-drawio",
|
|
10
|
+
"nopeslide.vscode-drawio-plugin-mermaid",
|
|
11
|
+
"psioniq.psi-header",
|
|
12
|
+
"yzhang.markdown-all-in-one",
|
|
13
|
+
"ryanluker.vscode-coverage-gutters",
|
|
14
|
+
"jock.svg",
|
|
15
|
+
"luanpotter.dart-import"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
{
|
|
2
|
+
// ##############
|
|
3
|
+
// Vscode Editor
|
|
4
|
+
// ##############
|
|
5
|
+
|
|
6
|
+
"files.exclude": {
|
|
7
|
+
"**/.idea": true,
|
|
8
|
+
"**/.symlinks": true,
|
|
9
|
+
"**/build": true,
|
|
10
|
+
"**/node_modules": true
|
|
11
|
+
},
|
|
12
|
+
|
|
13
|
+
// The DNA configuration is JSONC — gg_dna parses it with comments and
|
|
14
|
+
// trailing commas. Without this, VS Code validates it as strict JSON
|
|
15
|
+
// and marks every comment as an error.
|
|
16
|
+
"files.associations": {
|
|
17
|
+
"**/dna/_dna.json": "jsonc"
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
"editor.tabSize": 2,
|
|
21
|
+
"editor.codeActionsOnSave": {
|
|
22
|
+
"source.fixAll": "always",
|
|
23
|
+
"source.organizeImports": "always"
|
|
24
|
+
},
|
|
25
|
+
"editor.formatOnSave": true,
|
|
26
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
27
|
+
|
|
28
|
+
// ##############
|
|
29
|
+
// Prettier extension
|
|
30
|
+
// ##############
|
|
31
|
+
// Pin prettier-vscode to the workspace's prettier install and config so it
|
|
32
|
+
// does not silently fall back to the bundled prettier with default options
|
|
33
|
+
// (which would emit double quotes in YAML even though .prettierrc sets
|
|
34
|
+
// singleQuote: true).
|
|
35
|
+
"prettier.requireConfig": true,
|
|
36
|
+
"prettier.useEditorConfig": false,
|
|
37
|
+
"prettier.resolveGlobalModules": false,
|
|
38
|
+
"prettier.documentSelectors": [
|
|
39
|
+
"**/*.{yaml,yml}",
|
|
40
|
+
"**/*.{json,jsonc,json5}",
|
|
41
|
+
"**/*.md",
|
|
42
|
+
"**/*.{html,css,scss}"
|
|
43
|
+
],
|
|
44
|
+
|
|
45
|
+
// Prevent the Red Hat YAML extension from claiming the YAML formatter.
|
|
46
|
+
"yaml.format.enable": false,
|
|
47
|
+
"editor.rulers": [80],
|
|
48
|
+
"editor.wordWrapColumn": 80,
|
|
49
|
+
"editor.formatOnType": true,
|
|
50
|
+
"editor.detectIndentation": false,
|
|
51
|
+
"editor.renderWhitespace": "none",
|
|
52
|
+
"files.trimTrailingWhitespace": true,
|
|
53
|
+
|
|
54
|
+
"files.autoGuessEncoding": true,
|
|
55
|
+
"files.insertFinalNewline": true,
|
|
56
|
+
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
|
|
57
|
+
"editor.smoothScrolling": true,
|
|
58
|
+
|
|
59
|
+
"editor.rename.enablePreview": false,
|
|
60
|
+
"editor.formatOnPaste": true,
|
|
61
|
+
"editor.unicodeHighlight.nonBasicASCII": false,
|
|
62
|
+
"editor.largeFileOptimizations": false,
|
|
63
|
+
"workbench.editor.enablePreview": false,
|
|
64
|
+
|
|
65
|
+
// ##############
|
|
66
|
+
// Git Editor
|
|
67
|
+
// ##############
|
|
68
|
+
|
|
69
|
+
"diffEditor.ignoreTrimWhitespace": false,
|
|
70
|
+
|
|
71
|
+
// ##############
|
|
72
|
+
// Explorer
|
|
73
|
+
// ##############
|
|
74
|
+
|
|
75
|
+
"explorer.confirmDelete": true,
|
|
76
|
+
"explorer.confirmDragAndDrop": false,
|
|
77
|
+
|
|
78
|
+
// ##############
|
|
79
|
+
// Problems Tab
|
|
80
|
+
// ##############
|
|
81
|
+
|
|
82
|
+
"problems.autoReveal": false,
|
|
83
|
+
|
|
84
|
+
// ##############
|
|
85
|
+
// Debug Tab
|
|
86
|
+
// ##############
|
|
87
|
+
|
|
88
|
+
"debug.console.collapseIdenticalLines": false,
|
|
89
|
+
"debug.inlineValues": "on",
|
|
90
|
+
|
|
91
|
+
// #############
|
|
92
|
+
// Testing
|
|
93
|
+
// #############
|
|
94
|
+
|
|
95
|
+
"testing.defaultGutterClickAction": "debug",
|
|
96
|
+
"testing.automaticallyOpenPeekView": "never",
|
|
97
|
+
"testing.automaticallyOpenTestResults": "neverOpen",
|
|
98
|
+
|
|
99
|
+
// #############
|
|
100
|
+
// Code Coverage
|
|
101
|
+
// #############
|
|
102
|
+
|
|
103
|
+
"coverage-gutters.showGutterCoverage": false,
|
|
104
|
+
"testing.coverageToolbarEnabled": true,
|
|
105
|
+
"testing.coverageBarThresholds": {
|
|
106
|
+
"red": 0,
|
|
107
|
+
"yellow": 99,
|
|
108
|
+
"green": 100
|
|
109
|
+
},
|
|
110
|
+
"coverage-gutters.coverageBaseDir": "coverage/**",
|
|
111
|
+
"coverage-gutters.showLineCoverage": true,
|
|
112
|
+
"coverage-gutters.showRulerCoverage": true,
|
|
113
|
+
|
|
114
|
+
// #############
|
|
115
|
+
// Search
|
|
116
|
+
// #############
|
|
117
|
+
|
|
118
|
+
"search.exclude": {
|
|
119
|
+
"**/.idea": true,
|
|
120
|
+
"**/.symlinks": true,
|
|
121
|
+
"**/*.o": true,
|
|
122
|
+
"**/*.symlinks": true,
|
|
123
|
+
"**/node_modules": true
|
|
124
|
+
},
|
|
125
|
+
|
|
126
|
+
"search.useReplacePreview": false,
|
|
127
|
+
|
|
128
|
+
// #############
|
|
129
|
+
// HTML
|
|
130
|
+
// #############
|
|
131
|
+
|
|
132
|
+
"html.format.wrapLineLength": 80,
|
|
133
|
+
"html.format.enable": true,
|
|
134
|
+
"[html]": {
|
|
135
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
136
|
+
},
|
|
137
|
+
"[json]": {
|
|
138
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
139
|
+
},
|
|
140
|
+
"[jsonc]": {
|
|
141
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
142
|
+
},
|
|
143
|
+
"[yaml]": {
|
|
144
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
145
|
+
},
|
|
146
|
+
"[css]": {
|
|
147
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
148
|
+
},
|
|
149
|
+
"[scss]": {
|
|
150
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
151
|
+
},
|
|
152
|
+
|
|
153
|
+
// #############
|
|
154
|
+
// Markdown
|
|
155
|
+
// #############
|
|
156
|
+
|
|
157
|
+
"[markdown]": {
|
|
158
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
159
|
+
},
|
|
160
|
+
"markdownlint.run": "onSave",
|
|
161
|
+
"markdown.extension.toc.omittedFromToc": {
|
|
162
|
+
"README.md": ["## Content"]
|
|
163
|
+
},
|
|
164
|
+
"markdown.extension.toc.levels": "2..3",
|
|
165
|
+
|
|
166
|
+
// #############
|
|
167
|
+
// SVG
|
|
168
|
+
// #############
|
|
169
|
+
|
|
170
|
+
"[svg]": {
|
|
171
|
+
"editor.defaultFormatter": "jock.svg"
|
|
172
|
+
},
|
|
173
|
+
"svg.preview.mode": "svg",
|
|
174
|
+
|
|
175
|
+
// #############
|
|
176
|
+
// XML
|
|
177
|
+
// #############
|
|
178
|
+
|
|
179
|
+
"[xml]": {
|
|
180
|
+
"editor.defaultFormatter": "DotJoshJohnson.xml"
|
|
181
|
+
},
|
|
182
|
+
|
|
183
|
+
// ###########
|
|
184
|
+
// Git
|
|
185
|
+
// ###########
|
|
186
|
+
|
|
187
|
+
"git.ignoreLimitWarning": true,
|
|
188
|
+
"git.autoRepositoryDetection": false,
|
|
189
|
+
"git.enableSmartCommit": true,
|
|
190
|
+
"git.autofetch": true,
|
|
191
|
+
"gitlens.blame.highlight.locations": ["gutter", "overview"],
|
|
192
|
+
"git.openRepositoryInParentFolders": "never",
|
|
193
|
+
"git.confirmSync": false,
|
|
194
|
+
|
|
195
|
+
// ###########
|
|
196
|
+
// Security
|
|
197
|
+
// ###########
|
|
198
|
+
|
|
199
|
+
"security.workspace.trust.untrustedFiles": "open",
|
|
200
|
+
|
|
201
|
+
// ###########
|
|
202
|
+
// CodeLens
|
|
203
|
+
// ###########
|
|
204
|
+
|
|
205
|
+
"references.preferredLocation": "view",
|
|
206
|
+
|
|
207
|
+
// #############
|
|
208
|
+
// PSI Header
|
|
209
|
+
// #############
|
|
210
|
+
|
|
211
|
+
"psi-header.variables": [["author", "dnaCompany"]],
|
|
212
|
+
|
|
213
|
+
"psi-header.templates": [
|
|
214
|
+
{
|
|
215
|
+
"language": "*",
|
|
216
|
+
"template": []
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"language": "xml",
|
|
220
|
+
"template": [
|
|
221
|
+
"@license",
|
|
222
|
+
"Copyright (c) dnaCopyrightHolder",
|
|
223
|
+
"",
|
|
224
|
+
"Use of this source code is governed by terms that can be",
|
|
225
|
+
"found in the LICENSE file in the root of this package."
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"language": "html",
|
|
230
|
+
"template": [
|
|
231
|
+
"@license",
|
|
232
|
+
"Copyright (c) dnaCopyrightHolder",
|
|
233
|
+
"",
|
|
234
|
+
"Use of this source code is governed by terms that can be",
|
|
235
|
+
"found in the LICENSE file in the root of this package."
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"language": "typescript",
|
|
240
|
+
"template": [
|
|
241
|
+
"@license",
|
|
242
|
+
"Copyright (c) dnaCopyrightHolder",
|
|
243
|
+
"",
|
|
244
|
+
"Use of this source code is governed by terms that can be",
|
|
245
|
+
"found in the LICENSE file in the root of this package."
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"language": "javascript",
|
|
250
|
+
"template": [
|
|
251
|
+
"@license",
|
|
252
|
+
"Copyright (c) dnaCopyrightHolder",
|
|
253
|
+
"",
|
|
254
|
+
"Use of this source code is governed by terms that can be",
|
|
255
|
+
"found in the LICENSE file in the root of this package."
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"language": "scss",
|
|
260
|
+
"template": [
|
|
261
|
+
"@license",
|
|
262
|
+
"Copyright (c) dnaCopyrightHolder",
|
|
263
|
+
"",
|
|
264
|
+
"Use of this source code is governed by terms that can be",
|
|
265
|
+
"found in the LICENSE file in the root of this package."
|
|
266
|
+
]
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"language": "dart",
|
|
270
|
+
"template": [
|
|
271
|
+
"@license",
|
|
272
|
+
"Copyright (c) dnaCopyrightHolder",
|
|
273
|
+
"",
|
|
274
|
+
"Use of this source code is governed by terms that can be",
|
|
275
|
+
"found in the LICENSE file in the root of this package."
|
|
276
|
+
]
|
|
277
|
+
}
|
|
278
|
+
],
|
|
279
|
+
|
|
280
|
+
"psi-header.lang-config": [
|
|
281
|
+
{
|
|
282
|
+
"language": "json",
|
|
283
|
+
"begin": "",
|
|
284
|
+
"prefix": "",
|
|
285
|
+
"suffix": "",
|
|
286
|
+
"end": "",
|
|
287
|
+
"lineLength": 80,
|
|
288
|
+
"beforeHeader": [],
|
|
289
|
+
"afterHeader": []
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"language": "xml",
|
|
293
|
+
"begin": "<!--",
|
|
294
|
+
"prefix": " ",
|
|
295
|
+
"suffix": "",
|
|
296
|
+
"lineLength": 80,
|
|
297
|
+
"end": " -->",
|
|
298
|
+
"forceToTop": true,
|
|
299
|
+
"blankLinesAfter": 1,
|
|
300
|
+
"beforeHeader": [],
|
|
301
|
+
"afterHeader": []
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"language": "html",
|
|
305
|
+
"begin": "<!--",
|
|
306
|
+
"end": "-->"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"language": "typescript",
|
|
310
|
+
"prefix": "// ",
|
|
311
|
+
"begin": "",
|
|
312
|
+
"end": ""
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"language": "scss",
|
|
316
|
+
"prefix": "// ",
|
|
317
|
+
"begin": "",
|
|
318
|
+
"end": ""
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"language": "markdown",
|
|
322
|
+
"prefix": "",
|
|
323
|
+
"begin": "<!--",
|
|
324
|
+
"end": "-->"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"language": "md",
|
|
328
|
+
"prefix": "",
|
|
329
|
+
"begin": "<!--",
|
|
330
|
+
"end": "-->"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"language": "dart",
|
|
334
|
+
"prefix": "// ",
|
|
335
|
+
"begin": "",
|
|
336
|
+
"end": ""
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
|
|
340
|
+
"psi-header.changes-tracking": {
|
|
341
|
+
"isActive": false,
|
|
342
|
+
"autoHeader": "autoSave",
|
|
343
|
+
"enforceHeader": false
|
|
344
|
+
},
|
|
345
|
+
"psi-header.config": {
|
|
346
|
+
"forceToTop": true
|
|
347
|
+
}
|
|
348
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ggdna/dna-vscode",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "DNA layer: shared VS Code settings and recommended extensions",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"dna",
|
|
7
|
+
"helix",
|
|
8
|
+
"conventions",
|
|
9
|
+
"scaffolding"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://github.com/ggdna/dna_vscode",
|
|
12
|
+
"bugs": "https://github.com/ggdna/dna_vscode/issues",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/ggdna/dna_vscode.git"
|
|
17
|
+
},
|
|
18
|
+
"type": "module",
|
|
19
|
+
"files": [
|
|
20
|
+
"dna",
|
|
21
|
+
"README.md",
|
|
22
|
+
"LICENSE"
|
|
23
|
+
],
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=22"
|
|
26
|
+
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"test:dart": "dart test",
|
|
32
|
+
"test": "pnpm run test:dart",
|
|
33
|
+
"prepublishOnly": "pnpm run test",
|
|
34
|
+
"format": "prettier --write .",
|
|
35
|
+
"format:check": "prettier --check ."
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@types/node": "^26.2.0",
|
|
39
|
+
"prettier": "^3.9.6"
|
|
40
|
+
}
|
|
41
|
+
}
|