@tssuite/dna-ggsuite 0.2.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 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,55 @@
1
+ # dna_ggsuite
2
+
3
+ The DNA of every ggsuite repo: one dependency that pulls in the whole set
4
+ of topic layers.
5
+
6
+ Add this one layer and a repo gets the README structure, the guides, the
7
+ translations, the index, the blog format, the install guides, the VS Code
8
+ settings, the clean code and test conventions, and the gg workflow.
9
+
10
+ ## Layers
11
+
12
+ | Layer | What it brings |
13
+ | --- | --- |
14
+ | [dna_readme](https://github.com/ggdna/dna_readme) | README structure and templates |
15
+ | [dna_guides](https://github.com/ggdna/dna_guides) | developer and AI guides |
16
+ | [dna_translate](https://github.com/ggdna/dna_translate) | multi-language docs, de and en in sync |
17
+ | [dna_index](https://github.com/ggdna/dna_index) | index and navigation files |
18
+ | [dna_blog](https://github.com/ggdna/dna_blog) | blog format, templates, layout |
19
+ | [dna_install](https://github.com/ggdna/dna_install) | install guides: editor, node, Azure, tooling |
20
+ | [dna_vscode](https://github.com/ggdna/dna_vscode) | shared editor settings and extensions |
21
+ | [dna_clean_code](https://github.com/ggdna/dna_clean_code) | how code is written and tested, incl. the Dart specifics |
22
+ | [dna_gg](https://github.com/ggdna/dna_gg) | the gg workflow, and the scripts it calls |
23
+
24
+ This layer carries no files of its own — it exists to compose the ones
25
+ above. Everything a ggsuite repo sees comes from them.
26
+
27
+ ## Variables
28
+
29
+ - `dnaCopyrightHolder` — the name in the license header of every file,
30
+ set to `ggsuite` here
31
+
32
+ ## Usage
33
+
34
+ Declare it as a dev-dependency and initialize once:
35
+
36
+ ```bash
37
+ pnpm add -D @tssuite/dna-ggsuite # TypeScript projects
38
+ dart pub add dev:dna_ggsuite # Dart projects
39
+ gg dna init
40
+ ```
41
+
42
+ The placed test instantiates and verifies the DNA on every test run.
43
+
44
+ ## Renamed
45
+
46
+ Up to 0.1.0 this package was called `gg_dna_ggsuite`
47
+ (`@tssuite/gg-dna-ggsuite` on npm). A published package cannot be
48
+ renamed, so 0.2.0 continues under the new name and the old one is
49
+ discontinued.
50
+
51
+ ## Development
52
+
53
+ The `dna/` folder is hand-authored source and is never generated. The repo
54
+ instantiates its own DNA — run `dart test` after changes; commit first, a
55
+ file the DNA would overwrite must not carry uncommitted work.
package/dna/_dna.json ADDED
@@ -0,0 +1,20 @@
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
+ // The ggsuite umbrella: it pulls in every topic layer, so adding this
7
+ // one layer gives a repo the whole set. Parents first, this layer wins.
8
+ // dna_scripts comes along through dna_gg, which calls those scripts.
9
+ "layers": [
10
+ "dna_readme",
11
+ "dna_guides",
12
+ "dna_translate",
13
+ "dna_index",
14
+ "dna_blog",
15
+ "dna_install",
16
+ "dna_vscode",
17
+ "dna_clean_code",
18
+ "dna_gg"
19
+ ]
20
+ }
@@ -0,0 +1,396 @@
1
+ {
2
+ "version": 1,
3
+ "layers": [
4
+ {
5
+ "name": "base",
6
+ "package": "helix",
7
+ "ecosystem": null,
8
+ "resolvedVersion": "1.1.0",
9
+ "via": null,
10
+ "hash": "0x705e486e88a93125"
11
+ },
12
+ {
13
+ "name": "dna-readme",
14
+ "package": "@ggdna/dna-readme",
15
+ "ecosystem": "node",
16
+ "resolvedVersion": "0.1.0",
17
+ "via": null,
18
+ "hash": "0xb8eeee4e2937ca0d"
19
+ },
20
+ {
21
+ "name": "dna-guides",
22
+ "package": "@ggdna/dna-guides",
23
+ "ecosystem": "node",
24
+ "resolvedVersion": "0.1.0",
25
+ "via": null,
26
+ "hash": "0x3bd4be7c009270a6"
27
+ },
28
+ {
29
+ "name": "dna-translate",
30
+ "package": "@ggdna/dna-translate",
31
+ "ecosystem": "node",
32
+ "resolvedVersion": "0.1.0",
33
+ "via": null,
34
+ "hash": "0x1c92ce37a7ede19b"
35
+ },
36
+ {
37
+ "name": "dna-index",
38
+ "package": "@ggdna/dna-index",
39
+ "ecosystem": "node",
40
+ "resolvedVersion": "0.1.0",
41
+ "via": null,
42
+ "hash": "0x1d92b0add37a1ac7"
43
+ },
44
+ {
45
+ "name": "dna-blog",
46
+ "package": "@ggdna/dna-blog",
47
+ "ecosystem": "node",
48
+ "resolvedVersion": "0.1.0",
49
+ "via": null,
50
+ "hash": "0x2aafe5211ebd4365"
51
+ },
52
+ {
53
+ "name": "dna-install",
54
+ "package": "@ggdna/dna-install",
55
+ "ecosystem": "node",
56
+ "resolvedVersion": "0.1.0",
57
+ "via": null,
58
+ "hash": "0xbe88eb4256745ee1"
59
+ },
60
+ {
61
+ "name": "dna-vscode",
62
+ "package": "@ggdna/dna-vscode",
63
+ "ecosystem": "node",
64
+ "resolvedVersion": "0.1.0",
65
+ "via": null,
66
+ "hash": "0x388c565943d37cae"
67
+ },
68
+ {
69
+ "name": "dna-clean-code",
70
+ "package": "@ggdna/dna-clean-code",
71
+ "ecosystem": "node",
72
+ "resolvedVersion": "0.1.0",
73
+ "via": null,
74
+ "hash": "0xacaa785dad36b047"
75
+ },
76
+ {
77
+ "name": "dna-scripts",
78
+ "package": "dna_scripts",
79
+ "ecosystem": "pub",
80
+ "resolvedVersion": "0.1.0",
81
+ "via": "dna-gg",
82
+ "hash": "0x9ee08ef13ab4c8d3"
83
+ },
84
+ {
85
+ "name": "dna-gg",
86
+ "package": "@ggdna/dna-gg",
87
+ "ecosystem": "node",
88
+ "resolvedVersion": "0.1.1",
89
+ "via": null,
90
+ "hash": "0xb7b292a1a91dd05f"
91
+ },
92
+ {
93
+ "name": "self",
94
+ "package": null,
95
+ "ecosystem": null,
96
+ "resolvedVersion": null,
97
+ "via": null,
98
+ "hash": "0x72dd616194a8dbe1"
99
+ }
100
+ ],
101
+ "claude": {
102
+ "claudeMdInclude": null
103
+ },
104
+ "baseVersion": "1.1.0",
105
+ "baseHash": "0x705e486e88a93125",
106
+ "instances": [
107
+ {
108
+ "path": ".claude/skills/blog/SKILL.md",
109
+ "hash": "0xaa8c556ad7ace267"
110
+ },
111
+ {
112
+ "path": ".claude/skills/cleanup/SKILL.md",
113
+ "hash": "0xc5c7b7940ab51b83"
114
+ },
115
+ {
116
+ "path": ".claude/skills/code/SKILL.md",
117
+ "hash": "0x2e5533a3705cb7a3"
118
+ },
119
+ {
120
+ "path": ".claude/skills/commit/SKILL.md",
121
+ "hash": "0xad0e75ab4d725133"
122
+ },
123
+ {
124
+ "path": ".claude/skills/guide/SKILL.md",
125
+ "hash": "0x8e9f12ade1bf777a"
126
+ },
127
+ {
128
+ "path": ".claude/skills/index/SKILL.md",
129
+ "hash": "0xc47429e51622cd7b"
130
+ },
131
+ {
132
+ "path": ".claude/skills/install/SKILL.md",
133
+ "hash": "0x29c4ded946b50053"
134
+ },
135
+ {
136
+ "path": ".claude/skills/publish/SKILL.md",
137
+ "hash": "0xb8e70eff3563f75d"
138
+ },
139
+ {
140
+ "path": ".claude/skills/push/SKILL.md",
141
+ "hash": "0x76c357ca9933317d"
142
+ },
143
+ {
144
+ "path": ".claude/skills/readme/SKILL.md",
145
+ "hash": "0x6d58a0e09d4ca150"
146
+ },
147
+ {
148
+ "path": ".claude/skills/review-heavy/SKILL.md",
149
+ "hash": "0xdc2826a30955f359"
150
+ },
151
+ {
152
+ "path": ".claude/skills/review-light/SKILL.md",
153
+ "hash": "0xad35f3cb30f549dd"
154
+ },
155
+ {
156
+ "path": ".claude/skills/scripts/SKILL.md",
157
+ "hash": "0xa12593aa0af31ed2"
158
+ },
159
+ {
160
+ "path": ".claude/skills/test/SKILL.md",
161
+ "hash": "0x9d1d85ae314437ea"
162
+ },
163
+ {
164
+ "path": ".claude/skills/ticket/SKILL.md",
165
+ "hash": "0xbc13efe6fa9af962"
166
+ },
167
+ {
168
+ "path": ".claude/skills/translate/SKILL.md",
169
+ "hash": "0x9ade789b3ae72f2e"
170
+ },
171
+ {
172
+ "path": ".claude/skills/vscode/SKILL.md",
173
+ "hash": "0xa331cf3abdbd1c7b"
174
+ },
175
+ {
176
+ "path": ".github/workflows/quick_check.yaml",
177
+ "hash": "0xa61b5062f48e430c"
178
+ },
179
+ {
180
+ "path": ".vscode/extensions.json",
181
+ "hash": "0x42dbd078830bdf05"
182
+ },
183
+ {
184
+ "path": ".vscode/settings.json",
185
+ "hash": "0x32f5972239aa0a78"
186
+ },
187
+ {
188
+ "path": "doc/guides/blog-guide.md",
189
+ "hash": "0x3f3325c5c29dbdc5"
190
+ },
191
+ {
192
+ "path": "doc/guides/code-guide-dart.md",
193
+ "hash": "0x90920ff64d069fc1"
194
+ },
195
+ {
196
+ "path": "doc/guides/code-guide-typescript.md",
197
+ "hash": "0xdcae3a0ceb8c859d"
198
+ },
199
+ {
200
+ "path": "doc/guides/code-guide.md",
201
+ "hash": "0x20e15676e7fd9bf8"
202
+ },
203
+ {
204
+ "path": "doc/guides/develop-guide.md",
205
+ "hash": "0xbd9fa5efab7af735"
206
+ },
207
+ {
208
+ "path": "doc/guides/develop-without-ai-guide.md",
209
+ "hash": "0xe74449f72357f23c"
210
+ },
211
+ {
212
+ "path": "doc/guides/dna-guides-guide.md",
213
+ "hash": "0xcf198eaba8b70528"
214
+ },
215
+ {
216
+ "path": "doc/guides/doc-guide.md",
217
+ "hash": "0xf89e7fbaa6f27a40"
218
+ },
219
+ {
220
+ "path": "doc/guides/for-ai/ai-dev-guide.md",
221
+ "hash": "0x3d2812a1dfb025cf"
222
+ },
223
+ {
224
+ "path": "doc/guides/for-ai/ai-review-guide.md",
225
+ "hash": "0x76b2e9fb473bd380"
226
+ },
227
+ {
228
+ "path": "doc/guides/for-ai/review-heavy-guide.md",
229
+ "hash": "0x556635f9329c4fc1"
230
+ },
231
+ {
232
+ "path": "doc/guides/index-guide.md",
233
+ "hash": "0xc684cc8895b98403"
234
+ },
235
+ {
236
+ "path": "doc/guides/install-guide.md",
237
+ "hash": "0x4c0b8fb54b2c4636"
238
+ },
239
+ {
240
+ "path": "doc/guides/install-guide/install-azure-cli-guide.md",
241
+ "hash": "0xe0206afa5fc5b085"
242
+ },
243
+ {
244
+ "path": "doc/guides/install-guide/install-azure-npm-feed-guide.md",
245
+ "hash": "0x902df0b6dc38a92b"
246
+ },
247
+ {
248
+ "path": "doc/guides/install-guide/install-brew-on-mac-guide.md",
249
+ "hash": "0x5bf663dc011c4330"
250
+ },
251
+ {
252
+ "path": "doc/guides/install-guide/install-corepack-guide.md",
253
+ "hash": "0x906ecd19a3b2366b"
254
+ },
255
+ {
256
+ "path": "doc/guides/install-guide/install-flutter-guide.md",
257
+ "hash": "0x883c40d890bd3d5e"
258
+ },
259
+ {
260
+ "path": "doc/guides/install-guide/install-gg-guide.md",
261
+ "hash": "0xa093431b02c398d6"
262
+ },
263
+ {
264
+ "path": "doc/guides/install-guide/install-gg-workspace-guide.md",
265
+ "hash": "0x846766914bb56a84"
266
+ },
267
+ {
268
+ "path": "doc/guides/install-guide/install-github-cli-guide.md",
269
+ "hash": "0xcce9cbcd56f78b1f"
270
+ },
271
+ {
272
+ "path": "doc/guides/install-guide/install-node-mac-guide.md",
273
+ "hash": "0x1f4eb7cf63b5c9db"
274
+ },
275
+ {
276
+ "path": "doc/guides/install-guide/install-node-win-guide.md",
277
+ "hash": "0x782756eb0ff83a0d"
278
+ },
279
+ {
280
+ "path": "doc/guides/install-guide/install-vscode-guide.md",
281
+ "hash": "0xa0da6a6877bb94c2"
282
+ },
283
+ {
284
+ "path": "doc/guides/readme-dna-guide.md",
285
+ "hash": "0xe4da5d4b98181236"
286
+ },
287
+ {
288
+ "path": "doc/guides/readme-guide.md",
289
+ "hash": "0x16b48114a38e395f"
290
+ },
291
+ {
292
+ "path": "doc/guides/scripts-guide.md",
293
+ "hash": "0x426857c389049083"
294
+ },
295
+ {
296
+ "path": "doc/guides/test-guide-dart.md",
297
+ "hash": "0x0d3f63cd348a4aaa"
298
+ },
299
+ {
300
+ "path": "doc/guides/test-guide-typescript.md",
301
+ "hash": "0xd7c89e8faff8341e"
302
+ },
303
+ {
304
+ "path": "doc/guides/test-guide.md",
305
+ "hash": "0x01268029d45515a3"
306
+ },
307
+ {
308
+ "path": "doc/guides/translate-guide.md",
309
+ "hash": "0x636217bf10513749"
310
+ },
311
+ {
312
+ "path": "doc/guides/vscode-guide.md",
313
+ "hash": "0x6776b27c7cbedb98"
314
+ },
315
+ {
316
+ "path": "doc/hello_world.md",
317
+ "hash": "0x0903f7fc5224f6f1"
318
+ },
319
+ {
320
+ "path": "doc/templates/blog-template-de.md",
321
+ "hash": "0x4f48f2db12a5ca19"
322
+ },
323
+ {
324
+ "path": "doc/templates/blog-template.md",
325
+ "hash": "0x72f96f22e4ee4851"
326
+ },
327
+ {
328
+ "path": "doc/templates/index-template.jsonc",
329
+ "hash": "0x16c3a8d50c72ed6d"
330
+ },
331
+ {
332
+ "path": "doc/templates/readme-dna-template.md",
333
+ "hash": "0x3d60299e4fd61d1b"
334
+ },
335
+ {
336
+ "path": "doc/templates/readme-template.md",
337
+ "hash": "0xbc3cb615f24ba857"
338
+ },
339
+ {
340
+ "path": "scripts/delete-feature-branch.js",
341
+ "hash": "0x219ac0a3635ee644"
342
+ },
343
+ {
344
+ "path": "scripts/functions/colors.js",
345
+ "hash": "0xdfd97f3804665811"
346
+ },
347
+ {
348
+ "path": "scripts/functions/current-branch.js",
349
+ "hash": "0xb9ebbadf45893278"
350
+ },
351
+ {
352
+ "path": "scripts/functions/directories.js",
353
+ "hash": "0x148d4ebb8aa75523"
354
+ },
355
+ {
356
+ "path": "scripts/functions/get-repo-urls.js",
357
+ "hash": "0x4c7b3897973acec3"
358
+ },
359
+ {
360
+ "path": "scripts/functions/get-version.js",
361
+ "hash": "0xfe46316558755cf2"
362
+ },
363
+ {
364
+ "path": "scripts/functions/is-clean-repo.js",
365
+ "hash": "0x8aa95ca51d9d6517"
366
+ },
367
+ {
368
+ "path": "scripts/functions/is-main-up-to-date.js",
369
+ "hash": "0xe1ab1826d0ddd039"
370
+ },
371
+ {
372
+ "path": "scripts/functions/pull-request-url.js",
373
+ "hash": "0x5398755a61a59928"
374
+ },
375
+ {
376
+ "path": "scripts/functions/run-command.js",
377
+ "hash": "0x085b390fcb9256ab"
378
+ },
379
+ {
380
+ "path": "scripts/functions/sync-folders.js",
381
+ "hash": "0x4f83165fd92ec49d"
382
+ },
383
+ {
384
+ "path": "scripts/rename-class.js",
385
+ "hash": "0xa9daec4f3ea514b7"
386
+ },
387
+ {
388
+ "path": "scripts/setup-github-repo.js",
389
+ "hash": "0x5907588070a580ca"
390
+ },
391
+ {
392
+ "path": "scripts/wait-for-pr.js",
393
+ "hash": "0x1360c661984b78a8"
394
+ }
395
+ ]
396
+ }
package/dna/_vars.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "dnaCopyrightHolder": "ggsuite"
3
+ }
package/package.json ADDED
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "@tssuite/dna-ggsuite",
3
+ "version": "0.2.0",
4
+ "description": "DNA of all ggsuite repos: every topic layer in one dependency",
5
+ "keywords": [
6
+ "dna",
7
+ "helix",
8
+ "conventions",
9
+ "scaffolding"
10
+ ],
11
+ "homepage": "https://github.com/ggsuite/dna_ggsuite",
12
+ "bugs": "https://github.com/ggsuite/dna_ggsuite/issues",
13
+ "license": "MIT",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/ggsuite/dna_ggsuite.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
+ "dependencies": {
42
+ "@ggdna/dna-blog": "^0.1.0",
43
+ "@ggdna/dna-clean-code": "^0.1.0",
44
+ "@ggdna/dna-gg": "^0.1.1",
45
+ "@ggdna/dna-guides": "^0.1.0",
46
+ "@ggdna/dna-index": "^0.1.0",
47
+ "@ggdna/dna-install": "^0.1.0",
48
+ "@ggdna/dna-readme": "^0.1.0",
49
+ "@ggdna/dna-translate": "^0.1.0",
50
+ "@ggdna/dna-vscode": "^0.1.0"
51
+ }
52
+ }