@webship.co/workspace-drupal-themes 0.0.0-stage → 1.0.0-alpha1
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 +41 -2
- package/commands/cmd-all-back-end-build-themes.sh +59 -0
- package/commands/cmd-all-back-end-install-themes.sh +30 -0
- package/commands/cmd-all-front-end-build-themes.sh +57 -0
- package/commands/cmd-all-front-end-install-themes.sh +30 -0
- package/commands/cmd-backup-theme.sh +22 -0
- package/commands/cmd-build-admin-theme.sh +27 -0
- package/commands/cmd-build-drupal-template.sh +35 -0
- package/commands/cmd-build-theme.sh +27 -0
- package/commands/cmd-install-admin-theme.sh +40 -0
- package/commands/cmd-install-theme.sh +45 -0
- package/commands/cmd-tools-checks.sh +20 -0
- package/commands/cmd-tools-gitlab-ci-local.sh +25 -0
- package/commands/cmd-tools-graphify.sh +27 -0
- package/commands/cmd-tools-obsidian.sh +31 -0
- package/commands/cmd-tools-ragify.sh +28 -0
- package/commands/cmd-tools-reclaim.sh +24 -0
- package/commands/cmd-tools-remove.sh +42 -0
- package/commands/cmd-tools-update-all.sh +17 -0
- package/config/workspace.themes.settings.yml +482 -0
- package/dist/src/index.d.ts +11 -0
- package/dist/src/index.js +17 -0
- package/dist/src/index.js.map +1 -0
- package/docs/AGENTS.md +43 -0
- package/docs/CLAUDE.md +7 -0
- package/docs/README.md +47 -0
- package/features/drupal-themes.feature +12 -0
- package/package.json +68 -4
|
@@ -0,0 +1,482 @@
|
|
|
1
|
+
doc:
|
|
2
|
+
name: themes
|
|
3
|
+
# The scratch project the theme builders create and destroy. The key name matters: parse_yaml
|
|
4
|
+
# flattens it to $drupal_template_drupal_theme_name, which is the variable those scripts read.
|
|
5
|
+
drupal:
|
|
6
|
+
template_drupal_theme_name: template_drupal
|
|
7
|
+
themes:
|
|
8
|
+
- flexi_pattern_lab
|
|
9
|
+
- zilch
|
|
10
|
+
- abeesparadise
|
|
11
|
+
- abovolab
|
|
12
|
+
- adaptivetheme
|
|
13
|
+
- aegan
|
|
14
|
+
- material
|
|
15
|
+
- agov_base
|
|
16
|
+
- agov_nsw
|
|
17
|
+
- agov_whitlam
|
|
18
|
+
- amazeui
|
|
19
|
+
- amptheme
|
|
20
|
+
- architect
|
|
21
|
+
- arriaga
|
|
22
|
+
- awesome
|
|
23
|
+
- awesome_zymphonies_theme
|
|
24
|
+
- badcamp_sight
|
|
25
|
+
- bank_zymphonies_theme
|
|
26
|
+
- barnettechetjlb
|
|
27
|
+
- bootstrap_barrio
|
|
28
|
+
- base_zymphonies_theme
|
|
29
|
+
- basic
|
|
30
|
+
- bassline
|
|
31
|
+
- bealestreet
|
|
32
|
+
- bear_skin
|
|
33
|
+
- beauty_salon_zymphonies_theme
|
|
34
|
+
- beep_edition
|
|
35
|
+
- beginning
|
|
36
|
+
- belgrade
|
|
37
|
+
- belle
|
|
38
|
+
- bem
|
|
39
|
+
- beryllium
|
|
40
|
+
- blocky
|
|
41
|
+
- blogz
|
|
42
|
+
- blueadmino
|
|
43
|
+
- bluemarine
|
|
44
|
+
- bluemasters
|
|
45
|
+
- bones_theme
|
|
46
|
+
- bon_voyage
|
|
47
|
+
- bootbase
|
|
48
|
+
- bootstrap
|
|
49
|
+
- bootstrap_sass
|
|
50
|
+
- bootstrapblog
|
|
51
|
+
- bootstrap_business
|
|
52
|
+
- bootstrap_clean_blog
|
|
53
|
+
- bootstrap_forms
|
|
54
|
+
- bootstrap_light
|
|
55
|
+
- bootstrap_lite
|
|
56
|
+
- bootstrap_mint
|
|
57
|
+
- bootstrap_pointnet
|
|
58
|
+
- rainbow
|
|
59
|
+
- bootstrap_rijkshuisstijl
|
|
60
|
+
- bootstrap_subtheme_rtl
|
|
61
|
+
- bootstrap4
|
|
62
|
+
- bootstrapper
|
|
63
|
+
- bourbon
|
|
64
|
+
- boxes_uikitty
|
|
65
|
+
- breeze
|
|
66
|
+
- bridge
|
|
67
|
+
- bs_base
|
|
68
|
+
- bt_theme
|
|
69
|
+
- bulma
|
|
70
|
+
- business
|
|
71
|
+
- businessgroup_zymphonies_theme
|
|
72
|
+
- business_listing_zymphonies_theme
|
|
73
|
+
- business_responsive_theme
|
|
74
|
+
- businessplus_lite
|
|
75
|
+
- busy
|
|
76
|
+
- byu_amp_theme
|
|
77
|
+
- byu_theme
|
|
78
|
+
- camaleon
|
|
79
|
+
- car_zymphonies_theme
|
|
80
|
+
- casper
|
|
81
|
+
- champs_base
|
|
82
|
+
- charity_zymphonies_theme
|
|
83
|
+
- cherryblossom
|
|
84
|
+
- civi_bartik
|
|
85
|
+
- claro
|
|
86
|
+
- classa11y
|
|
87
|
+
- d8_blog_theme
|
|
88
|
+
- clean_blog
|
|
89
|
+
- clinic_zymphonies_theme
|
|
90
|
+
- cloud_zymphonies_theme
|
|
91
|
+
- cog
|
|
92
|
+
- colonel
|
|
93
|
+
- coloradmin
|
|
94
|
+
- commerce_bootstrap
|
|
95
|
+
- uikitty_components
|
|
96
|
+
- concedra_theme
|
|
97
|
+
- conference_lite
|
|
98
|
+
- contacts_theme
|
|
99
|
+
- corolla
|
|
100
|
+
- corporate_corp_theme
|
|
101
|
+
- corporate_lite
|
|
102
|
+
- corporate_blue
|
|
103
|
+
- corporation
|
|
104
|
+
- creative_theme
|
|
105
|
+
- creative_responsive_theme
|
|
106
|
+
- stem_theme
|
|
107
|
+
- creativity
|
|
108
|
+
- credit_due
|
|
109
|
+
- da_vinci
|
|
110
|
+
- danland
|
|
111
|
+
- dawn
|
|
112
|
+
- designer
|
|
113
|
+
- devblog
|
|
114
|
+
- dg_theme
|
|
115
|
+
- diba_core
|
|
116
|
+
- dopetrope
|
|
117
|
+
- drulma
|
|
118
|
+
- drumob
|
|
119
|
+
- drupal8_custom_theme
|
|
120
|
+
- drupal8_parallax_theme
|
|
121
|
+
- premier_league
|
|
122
|
+
- drupal_light
|
|
123
|
+
- d8w3css
|
|
124
|
+
- drupal8_zymphonies_theme
|
|
125
|
+
- drupalcoders_bootstrap
|
|
126
|
+
- drupalexp_lite
|
|
127
|
+
- druppio_monopage
|
|
128
|
+
- druppio_small_business
|
|
129
|
+
- easy_news
|
|
130
|
+
- ebiz
|
|
131
|
+
- ebook_zymphonies_theme
|
|
132
|
+
- edynamic_theme
|
|
133
|
+
- eight
|
|
134
|
+
- electra
|
|
135
|
+
- eleven
|
|
136
|
+
- ember
|
|
137
|
+
- empty_theme
|
|
138
|
+
- emulsify
|
|
139
|
+
- estore
|
|
140
|
+
- everest
|
|
141
|
+
- exsen
|
|
142
|
+
- fepper
|
|
143
|
+
- flame
|
|
144
|
+
- flexi
|
|
145
|
+
- flexible
|
|
146
|
+
- flow2
|
|
147
|
+
- fontfolio
|
|
148
|
+
- form3
|
|
149
|
+
- fortytwo
|
|
150
|
+
- foundation_patterns
|
|
151
|
+
- foundation6
|
|
152
|
+
- fusion
|
|
153
|
+
- garland
|
|
154
|
+
- gesso
|
|
155
|
+
- glisseo
|
|
156
|
+
- gogland
|
|
157
|
+
- gordon
|
|
158
|
+
- govuk_design_system
|
|
159
|
+
- govcms8_uikit_starter
|
|
160
|
+
- govcms8_ui
|
|
161
|
+
- gratis
|
|
162
|
+
- great_zymphonies_theme
|
|
163
|
+
- green_theme
|
|
164
|
+
- guesthouse_lite
|
|
165
|
+
- guru
|
|
166
|
+
- helios_responsive
|
|
167
|
+
- himalaya
|
|
168
|
+
- holy
|
|
169
|
+
- hwc
|
|
170
|
+
- hops
|
|
171
|
+
- hotbed
|
|
172
|
+
- icemagic
|
|
173
|
+
- ideastorm
|
|
174
|
+
- iu
|
|
175
|
+
- industrial_zymphonies_theme
|
|
176
|
+
- insha
|
|
177
|
+
- integrity
|
|
178
|
+
- intercept_base
|
|
179
|
+
- isosceles_theme
|
|
180
|
+
- janitor
|
|
181
|
+
- jethro
|
|
182
|
+
- jouve_seven
|
|
183
|
+
- kalatheme
|
|
184
|
+
- kanji
|
|
185
|
+
- kashmir
|
|
186
|
+
- kaziranga
|
|
187
|
+
- khan
|
|
188
|
+
- lab
|
|
189
|
+
- landingpage_zymphonies_theme
|
|
190
|
+
- law_firm_theme
|
|
191
|
+
- liberty
|
|
192
|
+
- light_skeleton
|
|
193
|
+
- light_zymphonies_theme
|
|
194
|
+
- likable
|
|
195
|
+
- litejazz
|
|
196
|
+
- louie
|
|
197
|
+
- magazine_lite
|
|
198
|
+
- management
|
|
199
|
+
- marinelli
|
|
200
|
+
- matter
|
|
201
|
+
- material_base
|
|
202
|
+
- material_corporate
|
|
203
|
+
- mdc
|
|
204
|
+
- materialize
|
|
205
|
+
- mayo
|
|
206
|
+
- mbase
|
|
207
|
+
- medicare_zymphonies_theme
|
|
208
|
+
- mediteran
|
|
209
|
+
- medium_theme
|
|
210
|
+
- mediumish_blog
|
|
211
|
+
- menuistic
|
|
212
|
+
- mili
|
|
213
|
+
- milligram
|
|
214
|
+
- minima
|
|
215
|
+
- minimal
|
|
216
|
+
- mdb
|
|
217
|
+
- minimal_lite
|
|
218
|
+
- minimax
|
|
219
|
+
- mobidic
|
|
220
|
+
- mobile
|
|
221
|
+
- mobileapp_zymphonies_theme
|
|
222
|
+
- mono
|
|
223
|
+
- moonwalk
|
|
224
|
+
- mulpo
|
|
225
|
+
- multipurpose_corporate_theme
|
|
226
|
+
- musicians
|
|
227
|
+
- mytheme
|
|
228
|
+
- neato
|
|
229
|
+
- nebula
|
|
230
|
+
- nebula_demo
|
|
231
|
+
- nebula_example
|
|
232
|
+
- neon
|
|
233
|
+
- nero
|
|
234
|
+
- news_zymphonies_theme
|
|
235
|
+
- newsflash
|
|
236
|
+
- newsplus_lite
|
|
237
|
+
- nexus
|
|
238
|
+
- nightar
|
|
239
|
+
- nigraphic
|
|
240
|
+
- ninesixty
|
|
241
|
+
- nitty
|
|
242
|
+
- nittygritty
|
|
243
|
+
- addweb_drupal_back_end_theme
|
|
244
|
+
- noor
|
|
245
|
+
- octavia
|
|
246
|
+
- black_old
|
|
247
|
+
- om
|
|
248
|
+
- ombak
|
|
249
|
+
- omega
|
|
250
|
+
- onepage_zymphonies_theme
|
|
251
|
+
- onescreen
|
|
252
|
+
- openchurch_theme
|
|
253
|
+
- os_base
|
|
254
|
+
- paper
|
|
255
|
+
- paraboot
|
|
256
|
+
- paragon_adminkit
|
|
257
|
+
- paragon_themekit
|
|
258
|
+
- particle_responsive
|
|
259
|
+
- patternlab
|
|
260
|
+
- paxton
|
|
261
|
+
- blog_theme
|
|
262
|
+
- pets_zymphonies_theme
|
|
263
|
+
- photo
|
|
264
|
+
- photographer
|
|
265
|
+
- pistachio
|
|
266
|
+
- pixels
|
|
267
|
+
- pixture_reloaded
|
|
268
|
+
- platinum
|
|
269
|
+
- platon
|
|
270
|
+
- portfolio_theme
|
|
271
|
+
- pragtic
|
|
272
|
+
- prius
|
|
273
|
+
- proboci
|
|
274
|
+
- professional_responsive_theme
|
|
275
|
+
- professional_theme
|
|
276
|
+
- property_zymphonies_theme
|
|
277
|
+
- prototype
|
|
278
|
+
- qatar_zymphonies_theme
|
|
279
|
+
- qatar2022_zymphonies_theme
|
|
280
|
+
- quickseed_theme
|
|
281
|
+
- quickseed2017gci
|
|
282
|
+
- quickseedgci
|
|
283
|
+
- quickseed
|
|
284
|
+
- radix
|
|
285
|
+
- reactify
|
|
286
|
+
- red
|
|
287
|
+
- release_branch
|
|
288
|
+
- restaurant_lite
|
|
289
|
+
- restaurant_zymphonies_theme
|
|
290
|
+
- robotic
|
|
291
|
+
- root
|
|
292
|
+
- sailor
|
|
293
|
+
- sales_zymphonies_theme
|
|
294
|
+
- samara
|
|
295
|
+
- school_zymphonies_theme
|
|
296
|
+
- searchify
|
|
297
|
+
- semantica
|
|
298
|
+
- sensible
|
|
299
|
+
- seventeen
|
|
300
|
+
- shakespeare
|
|
301
|
+
- shiv
|
|
302
|
+
- shop_item
|
|
303
|
+
- showcase_lite
|
|
304
|
+
- classic_corporate_theme
|
|
305
|
+
- simpleblog
|
|
306
|
+
- simply
|
|
307
|
+
- skeletontheme
|
|
308
|
+
- sketch
|
|
309
|
+
- smallbusiness
|
|
310
|
+
- solid
|
|
311
|
+
- space
|
|
312
|
+
- spacelift
|
|
313
|
+
- spatial_theme
|
|
314
|
+
- spectre
|
|
315
|
+
- spring_bloom
|
|
316
|
+
- sshop
|
|
317
|
+
- stagb
|
|
318
|
+
- starlight
|
|
319
|
+
- startupgrowth_lite
|
|
320
|
+
- startup_zymphonies_theme
|
|
321
|
+
- store_zymphonies_theme
|
|
322
|
+
- tailwindcss
|
|
323
|
+
- tao
|
|
324
|
+
- tapestry
|
|
325
|
+
- tara
|
|
326
|
+
- teacher
|
|
327
|
+
- teacosy
|
|
328
|
+
- teatheme
|
|
329
|
+
- teka
|
|
330
|
+
- theone
|
|
331
|
+
- themage
|
|
332
|
+
- titus
|
|
333
|
+
- topplus_lite
|
|
334
|
+
- torsion
|
|
335
|
+
- travel_zymphonies_theme
|
|
336
|
+
- treetop
|
|
337
|
+
- triculin_responsive
|
|
338
|
+
- tweme
|
|
339
|
+
- twentyseventeen
|
|
340
|
+
- twentyfifteen
|
|
341
|
+
- uswds
|
|
342
|
+
- uikit
|
|
343
|
+
- uikitapi
|
|
344
|
+
- uikit_blog
|
|
345
|
+
- uikitty
|
|
346
|
+
- uikitty3
|
|
347
|
+
- uikitty_starter
|
|
348
|
+
- umami
|
|
349
|
+
- used_cars
|
|
350
|
+
- uswds_base
|
|
351
|
+
- vartheme
|
|
352
|
+
- vartheme_bs4
|
|
353
|
+
- vartheme_material
|
|
354
|
+
- ven
|
|
355
|
+
- verti
|
|
356
|
+
- visually_impaired_theme
|
|
357
|
+
- void
|
|
358
|
+
- waterloo
|
|
359
|
+
- wet4
|
|
360
|
+
- wxt_bootstrap
|
|
361
|
+
- webpackrs
|
|
362
|
+
- webtheme
|
|
363
|
+
- whitecanvas
|
|
364
|
+
- whitejazz
|
|
365
|
+
- windup
|
|
366
|
+
- wonder_zymphonies_theme
|
|
367
|
+
- writer
|
|
368
|
+
- xbase
|
|
369
|
+
- xseven
|
|
370
|
+
- xtheme
|
|
371
|
+
- yeti_theme
|
|
372
|
+
- yg_aesthetic
|
|
373
|
+
- yg_agency
|
|
374
|
+
- yg_app
|
|
375
|
+
- yg_app_one
|
|
376
|
+
- yg_architect
|
|
377
|
+
- yg_asymmetry
|
|
378
|
+
- yg_biz
|
|
379
|
+
- yg_black
|
|
380
|
+
- yg_bold
|
|
381
|
+
- yg_booster
|
|
382
|
+
- yg_business
|
|
383
|
+
- yg_business_line
|
|
384
|
+
- yg_business_one
|
|
385
|
+
- yg_business_plus
|
|
386
|
+
- yg_car_care
|
|
387
|
+
- yg_charity
|
|
388
|
+
- yg_concept
|
|
389
|
+
- yg_construction
|
|
390
|
+
- yg_construction_lite
|
|
391
|
+
- yg_corp
|
|
392
|
+
- yg_corporate
|
|
393
|
+
- yg_corporate_lite
|
|
394
|
+
- yg_creative
|
|
395
|
+
- yg_dentalcare
|
|
396
|
+
- yg_elate
|
|
397
|
+
- yg_event_organizer
|
|
398
|
+
- yg_fitness_center
|
|
399
|
+
- yg_fitness_gym
|
|
400
|
+
- yg_flew
|
|
401
|
+
- yg_flexy
|
|
402
|
+
- yg_freelancer
|
|
403
|
+
- yg_glow
|
|
404
|
+
- yg_greatness
|
|
405
|
+
- yg_hotel
|
|
406
|
+
- yg_iconic
|
|
407
|
+
- yg_insurance
|
|
408
|
+
- yg_intechnic
|
|
409
|
+
- yg_interior
|
|
410
|
+
- yg_justice
|
|
411
|
+
- yg_launcher
|
|
412
|
+
- yg_law
|
|
413
|
+
- yg_law_firm
|
|
414
|
+
- yg_learn
|
|
415
|
+
- yg_logistics
|
|
416
|
+
- yg_magazine
|
|
417
|
+
- yg_medical
|
|
418
|
+
- yg_medicare
|
|
419
|
+
- yg_multipurpose
|
|
420
|
+
- yg_music
|
|
421
|
+
- yg_newage
|
|
422
|
+
- yg_news
|
|
423
|
+
- yg_orange
|
|
424
|
+
- yg_photography
|
|
425
|
+
- yg_pixel
|
|
426
|
+
- yg_plumbing
|
|
427
|
+
- yg_profile
|
|
428
|
+
- yg_property_one
|
|
429
|
+
- yg_relic
|
|
430
|
+
- yg_restaurant
|
|
431
|
+
- yg_restaurant_lite
|
|
432
|
+
- yg_simple
|
|
433
|
+
- yg_solid
|
|
434
|
+
- yg_sports
|
|
435
|
+
- yg_sprint
|
|
436
|
+
- yg_verb
|
|
437
|
+
- zen
|
|
438
|
+
- zippy
|
|
439
|
+
- zircon
|
|
440
|
+
- ztheme
|
|
441
|
+
- zurb_clean_blog
|
|
442
|
+
- zurb_foundation
|
|
443
|
+
- zurb_template
|
|
444
|
+
admin_themes:
|
|
445
|
+
- adminimal_theme
|
|
446
|
+
- material_admin
|
|
447
|
+
- vartheme_admin
|
|
448
|
+
- vartheme_material_admin
|
|
449
|
+
- thunder_admin
|
|
450
|
+
- druadmin_lte_theme
|
|
451
|
+
- agnian_material_admin
|
|
452
|
+
- claro
|
|
453
|
+
- material_base
|
|
454
|
+
- eleven
|
|
455
|
+
- admintheme
|
|
456
|
+
- uikit_admin
|
|
457
|
+
- true_admin
|
|
458
|
+
- smart_admin_theme
|
|
459
|
+
- smarty_admin
|
|
460
|
+
- bootstrap_admin
|
|
461
|
+
- bt_admin_theme
|
|
462
|
+
- simple_admin
|
|
463
|
+
- hostinstantlyadmintheme
|
|
464
|
+
- endless_admin
|
|
465
|
+
- fortytwo_admin
|
|
466
|
+
- om_admin
|
|
467
|
+
- seaside_admin
|
|
468
|
+
|
|
469
|
+
# What this folder's items ARE, which decides what the dashboard offers on each row:
|
|
470
|
+
# sites — real projects with a DDEV environment: build, start, back up, graph, index
|
|
471
|
+
# code — repositories checked out to work on, without a site of their own
|
|
472
|
+
# files — markdown documents, edited in place
|
|
473
|
+
# ai-items — agents, skills and prompts, installable into ~/.claude
|
|
474
|
+
# media — recordings and images
|
|
475
|
+
type: code
|
|
476
|
+
|
|
477
|
+
# What the COMPOSER menu may do here: full | manifest.
|
|
478
|
+
composer: manifest
|
|
479
|
+
|
|
480
|
+
assistant:
|
|
481
|
+
name: default
|
|
482
|
+
placeholder: default
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Drupal themes workspace for Webship Workspace: the `themes/` folder as a plugin.
|
|
3
|
+
*
|
|
4
|
+
* What the package carries is placed by the installer from the manifest (the folder's settings file,
|
|
5
|
+
* its commands and its docs) and listed by --activate; the dashboard draws the workspace from the
|
|
6
|
+
* settings file like any other. Nothing to register at run time yet: this is where the folder's own
|
|
7
|
+
* rail buttons, row menus or assistant context would go.
|
|
8
|
+
*/
|
|
9
|
+
import type { PluginApi } from '@webship.co/workspace-plugin-api';
|
|
10
|
+
export declare const WORKSPACE_KEY = "themes";
|
|
11
|
+
export declare function register(api: PluginApi): void;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* The Drupal themes workspace for Webship Workspace: the `themes/` folder as a plugin.
|
|
4
|
+
*
|
|
5
|
+
* What the package carries is placed by the installer from the manifest (the folder's settings file,
|
|
6
|
+
* its commands and its docs) and listed by --activate; the dashboard draws the workspace from the
|
|
7
|
+
* settings file like any other. Nothing to register at run time yet: this is where the folder's own
|
|
8
|
+
* rail buttons, row menus or assistant context would go.
|
|
9
|
+
*/
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.WORKSPACE_KEY = void 0;
|
|
12
|
+
exports.register = register;
|
|
13
|
+
exports.WORKSPACE_KEY = 'themes';
|
|
14
|
+
function register(api) {
|
|
15
|
+
api.addAssistantContext(() => `The themes/ workspace is the Drupal themes workspace (a plugin, @webship.co/workspace-drupal-themes); its commands are the cmd-*.sh scripts in that folder.`);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAMH,4BAEC;AAJY,QAAA,aAAa,GAAG,QAAQ,CAAC;AAEtC,SAAgB,QAAQ,CAAC,GAAc;IACrC,GAAG,CAAC,mBAAmB,CAAC,GAAG,EAAE,CAAC,6JAA6J,CAAC,CAAC;AAC/L,CAAC"}
|
package/docs/AGENTS.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Themes
|
|
2
|
+
|
|
3
|
+
Contrib and private themes, checked out to work on.
|
|
4
|
+
|
|
5
|
+
Part of the **Webship Workspace** (`~/workspace`), a DDEV-only harness. The rules in the root
|
|
6
|
+
`CLAUDE.md` apply here too; what follows is what is specific to this folder.
|
|
7
|
+
|
|
8
|
+
## The rule that matters here
|
|
9
|
+
|
|
10
|
+
Everything goes through DDEV. Never a host `composer`, `drush` or `mysql`:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
ddev composer require drupal/something
|
|
14
|
+
ddev drush cr
|
|
15
|
+
ddev export-db --file=… # not mysqldump
|
|
16
|
+
ddev delete -y -O # not a dropped database
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
`ddev start` takes `-y`; **`ddev stop` does not**. Never write a `$databases` block into
|
|
20
|
+
`settings.php` — DDEV's `settings.ddev.php` owns the connection.
|
|
21
|
+
|
|
22
|
+
## Commands here
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
bash cmd-all-back-end-build-themes.sh
|
|
26
|
+
bash cmd-all-back-end-install-themes.sh
|
|
27
|
+
bash cmd-all-front-end-build-themes.sh
|
|
28
|
+
bash cmd-all-front-end-install-themes.sh
|
|
29
|
+
bash cmd-backup-theme.sh # Bootstrap.
|
|
30
|
+
bash cmd-build-admin-theme.sh # Bootstrap.
|
|
31
|
+
bash cmd-build-drupal-template.sh
|
|
32
|
+
bash cmd-build-theme.sh # Bootstrap.
|
|
33
|
+
bash cmd-install-admin-theme.sh # Bootstrap.
|
|
34
|
+
bash cmd-install-theme.sh # Bootstrap.
|
|
35
|
+
bash cmd-tools-graphify.sh # Map a project in this workspace into a queryable knowledge graph with
|
|
36
|
+
bash cmd-tools-obsidian.sh # Turn a project graph into an Obsidian vault
|
|
37
|
+
bash cmd-tools-ragify.sh # Index a project in this workspace into the Milvus vector database
|
|
38
|
+
bash cmd-tools-remove.sh # Bootstrap.
|
|
39
|
+
bash cmd-tools-update-all.sh # Find the workspace tooling from this script, so a fresh clone needs no setup.
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Every one locates the workspace from its own path, so there is nothing to export and nothing to
|
|
43
|
+
install. `--help` on any of them lists its arguments.
|
package/docs/CLAUDE.md
ADDED
package/docs/README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Themes
|
|
2
|
+
--
|
|
3
|
+
|
|
4
|
+
To Build all front-end themes:
|
|
5
|
+
```
|
|
6
|
+
bash cmd-vdo-all-front-end-build-themes.sh
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
To Install all front-end themes:
|
|
11
|
+
```
|
|
12
|
+
bash cmd-vdo-all-front-end-install-themes.sh
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
To Build all back-end themes:
|
|
17
|
+
```
|
|
18
|
+
bash cmd-vdo-all-back-end-build-themes.sh
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
To Install all back-end themes:
|
|
23
|
+
```
|
|
24
|
+
bash cmd-vdo-all-back-end-install-themes.sh
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
To build one theme:
|
|
29
|
+
You will need to have the template_drupal site.
|
|
30
|
+
if you do not have it you could run the following command
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
bash cmd-vdo-build-drupal-template.sh
|
|
34
|
+
```
|
|
35
|
+
and then you could build the theme using the templage_drupal site copy
|
|
36
|
+
with the same name of the theme and install the theme init.
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
bash cmd-vdo-build-theme.sh THEME_NAME
|
|
40
|
+
```
|
|
41
|
+
Where THEME_NAME is the name of the theme in Drupal.org
|
|
42
|
+
|
|
43
|
+
To Install a theme site:
|
|
44
|
+
```
|
|
45
|
+
bash cmd-vdo-install-theme.sh THEME_NAME
|
|
46
|
+
```
|
|
47
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Feature: The Drupal themes workspace plugin
|
|
2
|
+
Once the plugin is activated and installed, the themes workspace is on the dashboard, and the
|
|
3
|
+
Plugins page lists the plugin with its four steps.
|
|
4
|
+
|
|
5
|
+
Scenario: The workspace page is there
|
|
6
|
+
Given I am on "/themes"
|
|
7
|
+
Then I should see "Drupal themes"
|
|
8
|
+
|
|
9
|
+
Scenario: The plugin is listed on the Plugins page
|
|
10
|
+
Given I am on "/settings/plugins"
|
|
11
|
+
Then I should see "Drupal themes"
|
|
12
|
+
And I should see "@webship.co/workspace-drupal-themes"
|
package/package.json
CHANGED
|
@@ -1,6 +1,70 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webship.co/workspace-drupal-themes",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0-alpha1",
|
|
4
|
+
"description": "The Drupal themes workspace for Webship Workspace: the `themes/` folder (type code), its settings file, its 18 commands and its docs, activated as a plugin.",
|
|
5
|
+
"main": "dist/src/index.js",
|
|
6
|
+
"types": "dist/src/index.d.ts",
|
|
7
|
+
"license": "ISC",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/webship/workspace-drupal-themes.git"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist/src",
|
|
14
|
+
"commands",
|
|
15
|
+
"config",
|
|
16
|
+
"docs",
|
|
17
|
+
"features",
|
|
18
|
+
"README.md"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsc -p tsconfig.json",
|
|
22
|
+
"prepare": "npm run build",
|
|
23
|
+
"test": "npm run build && node --test dist/tests/*.test.js",
|
|
24
|
+
"lint": "tsc -p tsconfig.json --noEmit"
|
|
25
|
+
},
|
|
26
|
+
"workspacePlugin": {
|
|
27
|
+
"name": "drupal-themes",
|
|
28
|
+
"label": "Drupal themes",
|
|
29
|
+
"workspace": {
|
|
30
|
+
"key": "themes",
|
|
31
|
+
"settingsTemplate": "config/workspace.themes.settings.yml",
|
|
32
|
+
"files": [
|
|
33
|
+
"commands/cmd-all-back-end-build-themes.sh",
|
|
34
|
+
"commands/cmd-all-back-end-install-themes.sh",
|
|
35
|
+
"commands/cmd-all-front-end-build-themes.sh",
|
|
36
|
+
"commands/cmd-all-front-end-install-themes.sh",
|
|
37
|
+
"commands/cmd-backup-theme.sh",
|
|
38
|
+
"commands/cmd-build-admin-theme.sh",
|
|
39
|
+
"commands/cmd-build-drupal-template.sh",
|
|
40
|
+
"commands/cmd-build-theme.sh",
|
|
41
|
+
"commands/cmd-install-admin-theme.sh",
|
|
42
|
+
"commands/cmd-install-theme.sh",
|
|
43
|
+
"commands/cmd-tools-checks.sh",
|
|
44
|
+
"commands/cmd-tools-gitlab-ci-local.sh",
|
|
45
|
+
"commands/cmd-tools-graphify.sh",
|
|
46
|
+
"commands/cmd-tools-obsidian.sh",
|
|
47
|
+
"commands/cmd-tools-ragify.sh",
|
|
48
|
+
"commands/cmd-tools-reclaim.sh",
|
|
49
|
+
"commands/cmd-tools-remove.sh",
|
|
50
|
+
"commands/cmd-tools-update-all.sh"
|
|
51
|
+
],
|
|
52
|
+
"docs": [
|
|
53
|
+
"docs/AGENTS.md",
|
|
54
|
+
"docs/CLAUDE.md",
|
|
55
|
+
"docs/README.md"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"features": [
|
|
59
|
+
"features/drupal-themes.feature"
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@types/node": "^24.0.0",
|
|
64
|
+
"@webship.co/workspace-plugin-api": "^1.0.0-alpha1",
|
|
65
|
+
"typescript": "^5.9.0"
|
|
66
|
+
},
|
|
67
|
+
"publishConfig": {
|
|
68
|
+
"access": "public"
|
|
69
|
+
}
|
|
70
|
+
}
|