@webship.co/workspace-drupal-site-templates 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.
Files changed (44) hide show
  1. package/README.md +57 -2
  2. package/commands/cmd-archimedes-project.sh +33 -0
  3. package/commands/cmd-byte-project.sh +33 -0
  4. package/commands/cmd-caresphere-project.sh +33 -0
  5. package/commands/cmd-convene-project.sh +33 -0
  6. package/commands/cmd-convivial_gov-project.sh +33 -0
  7. package/commands/cmd-dashi-project.sh +45 -0
  8. package/commands/cmd-everbright-project.sh +33 -0
  9. package/commands/cmd-forma-project.sh +33 -0
  10. package/commands/cmd-goodwell-project.sh +48 -0
  11. package/commands/cmd-haven-project.sh +33 -0
  12. package/commands/cmd-healthcare-project.sh +33 -0
  13. package/commands/cmd-hourglass_inc-project.sh +48 -0
  14. package/commands/cmd-local-project.sh +33 -0
  15. package/commands/cmd-lupus_decoupled_starter-project.sh +33 -0
  16. package/commands/cmd-mercury_demo-project.sh +33 -0
  17. package/commands/cmd-provus_edu-project.sh +33 -0
  18. package/commands/cmd-pulse-project.sh +33 -0
  19. package/commands/cmd-summit-project.sh +33 -0
  20. package/commands/cmd-tools-checks.sh +20 -0
  21. package/commands/cmd-tools-clone.sh +27 -0
  22. package/commands/cmd-tools-graphify.sh +27 -0
  23. package/commands/cmd-tools-obsidian.sh +31 -0
  24. package/commands/cmd-tools-ragify.sh +28 -0
  25. package/commands/cmd-tools-reclaim.sh +24 -0
  26. package/commands/cmd-tools-remove.sh +46 -0
  27. package/commands/cmd-tools-screen.sh +21 -0
  28. package/commands/cmd-webapi_starter-1-0-x-project.sh +45 -0
  29. package/commands/cmd-webship_portal-1-0-x-project.sh +40 -0
  30. package/commands/cmd-webship_starter-1-0-x-project.sh +40 -0
  31. package/commands/cmd-webships_project-1-0-x-project.sh +42 -0
  32. package/commands/cmd-webships_starter-1-0-x-project.sh +45 -0
  33. package/commands/cmd-website-1-0-x-project.sh +36 -0
  34. package/commands/cmd-website_starter-1-0-x-project.sh +40 -0
  35. package/commands/cmd-website_starter-project.sh +47 -0
  36. package/config/workspace.site-templates.settings.yml +35 -0
  37. package/dist/src/index.d.ts +11 -0
  38. package/dist/src/index.js +17 -0
  39. package/dist/src/index.js.map +1 -0
  40. package/docs/AGENTS.md +112 -0
  41. package/docs/CLAUDE.md +7 -0
  42. package/docs/README.md +67 -0
  43. package/features/drupal-site-templates.feature +12 -0
  44. package/package.json +84 -4
package/README.md CHANGED
@@ -1,3 +1,58 @@
1
- # Temporary Holding Version
1
+ # @webship.co/workspace-drupal-site-templates
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The **Drupal site templates** workspace of the [Webship Workspace](https://github.com/webship/workspace) dashboard:
4
+ the `site-templates/` folder (type `sites`), its settings file (`core/config/workspace.site-templates.settings.yml`),
5
+ its commands and its docs, as a plugin.
6
+
7
+ ## Use it
8
+
9
+ ```bash
10
+ cd ~/workspace
11
+ bash core/scripts/plugins.sh --require github:webship/workspace-drupal-site-templates
12
+ bash core/scripts/plugins.sh --activate drupal-site-templates # puts `site-templates` on the workspaces list of settings.yml
13
+ bash core/scripts/plugins.sh --install drupal-site-templates # the folder, its settings file (once), its commands, its docs (once)
14
+ ```
15
+
16
+ The settings file and the docs are placed once and never overwritten: they hold what you put there.
17
+ `--deactivate` takes the workspace off the list; the folder and its content stay.
18
+
19
+ ## The commands
20
+
21
+ | Command |
22
+ | --- |
23
+ | `cmd-archimedes-project.sh` |
24
+ | `cmd-byte-project.sh` |
25
+ | `cmd-caresphere-project.sh` |
26
+ | `cmd-convene-project.sh` |
27
+ | `cmd-convivial_gov-project.sh` |
28
+ | `cmd-dashi-project.sh` |
29
+ | `cmd-everbright-project.sh` |
30
+ | `cmd-forma-project.sh` |
31
+ | `cmd-goodwell-project.sh` |
32
+ | `cmd-haven-project.sh` |
33
+ | `cmd-healthcare-project.sh` |
34
+ | `cmd-hourglass_inc-project.sh` |
35
+ | `cmd-local-project.sh` |
36
+ | `cmd-lupus_decoupled_starter-project.sh` |
37
+ | `cmd-mercury_demo-project.sh` |
38
+ | `cmd-provus_edu-project.sh` |
39
+ | `cmd-pulse-project.sh` |
40
+ | `cmd-summit-project.sh` |
41
+ | `cmd-tools-checks.sh` |
42
+ | `cmd-tools-clone.sh` |
43
+ | `cmd-tools-graphify.sh` |
44
+ | `cmd-tools-obsidian.sh` |
45
+ | `cmd-tools-ragify.sh` |
46
+ | `cmd-tools-reclaim.sh` |
47
+ | `cmd-tools-remove.sh` |
48
+ | `cmd-tools-screen.sh` |
49
+ | `cmd-webapi_starter-1-0-x-project.sh` |
50
+ | `cmd-webship_portal-1-0-x-project.sh` |
51
+ | `cmd-webship_starter-1-0-x-project.sh` |
52
+ | `cmd-webships_project-1-0-x-project.sh` |
53
+ | `cmd-webships_starter-1-0-x-project.sh` |
54
+ | `cmd-website-1-0-x-project.sh` |
55
+ | `cmd-website_starter-1-0-x-project.sh` |
56
+ | `cmd-website_starter-project.sh` |
57
+
58
+ The bash functions these commands call live in the dashboard's `core/scripts/functions`.
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Archimedes (Drupal CMS site template)
4
+
5
+ # Build and install Drupal CMS with the Archimedes site template.
6
+ # drupal/archimedes — https://new.drupal.org/site-template/archimedes
7
+
8
+ # Bootstrap.
9
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
10
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
11
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
12
+
13
+ # Load workspace settings and extra lists.
14
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.site-templates.settings.yml);
15
+
16
+ # Site template.
17
+ site_template_name="archimedes";
18
+ site_template_title="Archimedes";
19
+ site_template_package="drupal/archimedes";
20
+
21
+ # Distribution.
22
+ distribution_name="drupal_cms";
23
+ distribution_title="Drupal CMS";
24
+ distribution_webroot="web";
25
+ distribution_profile_repo="drupal/cms";
26
+ distribution_project_template="drupal/cms";
27
+
28
+ ARGPARSE_DESCRIPTION="Build and install a ${distribution_title} site with the Archimedes site template"
29
+ source ${WORKSPACE_SCRIPTS}/args/arg-site-template.sh || exit 1 ;
30
+
31
+ shift $#;
32
+
33
+ build_site_template ;
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Byte (Drupal CMS site template)
4
+
5
+ # Build and install Drupal CMS with the Byte site template.
6
+ # drupal/byte — https://new.drupal.org/site-template/byte
7
+
8
+ # Bootstrap.
9
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
10
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
11
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
12
+
13
+ # Load workspace settings and extra lists.
14
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.site-templates.settings.yml);
15
+
16
+ # Site template.
17
+ site_template_name="byte";
18
+ site_template_title="Byte";
19
+ site_template_package="drupal/byte";
20
+
21
+ # Distribution.
22
+ distribution_name="drupal_cms";
23
+ distribution_title="Drupal CMS";
24
+ distribution_webroot="web";
25
+ distribution_profile_repo="drupal/cms";
26
+ distribution_project_template="drupal/cms";
27
+
28
+ ARGPARSE_DESCRIPTION="Build and install a ${distribution_title} site with the Byte site template"
29
+ source ${WORKSPACE_SCRIPTS}/args/arg-site-template.sh || exit 1 ;
30
+
31
+ shift $#;
32
+
33
+ build_site_template ;
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: CareSphere (Drupal CMS site template)
4
+
5
+ # Build and install Drupal CMS with the CareSphere site template.
6
+ # drupal/caresphere — https://new.drupal.org/site-template/caresphere
7
+
8
+ # Bootstrap.
9
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
10
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
11
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
12
+
13
+ # Load workspace settings and extra lists.
14
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.site-templates.settings.yml);
15
+
16
+ # Site template.
17
+ site_template_name="caresphere";
18
+ site_template_title="CareSphere";
19
+ site_template_package="drupal/caresphere";
20
+
21
+ # Distribution.
22
+ distribution_name="drupal_cms";
23
+ distribution_title="Drupal CMS";
24
+ distribution_webroot="web";
25
+ distribution_profile_repo="drupal/cms";
26
+ distribution_project_template="drupal/cms";
27
+
28
+ ARGPARSE_DESCRIPTION="Build and install a ${distribution_title} site with the CareSphere site template"
29
+ source ${WORKSPACE_SCRIPTS}/args/arg-site-template.sh || exit 1 ;
30
+
31
+ shift $#;
32
+
33
+ build_site_template ;
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Convene (Drupal CMS site template)
4
+
5
+ # Build and install Drupal CMS with the Convene site template.
6
+ # drupal/convene — https://new.drupal.org/site-template/convene
7
+
8
+ # Bootstrap.
9
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
10
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
11
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
12
+
13
+ # Load workspace settings and extra lists.
14
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.site-templates.settings.yml);
15
+
16
+ # Site template.
17
+ site_template_name="convene";
18
+ site_template_title="Convene";
19
+ site_template_package="drupal/convene";
20
+
21
+ # Distribution.
22
+ distribution_name="drupal_cms";
23
+ distribution_title="Drupal CMS";
24
+ distribution_webroot="web";
25
+ distribution_profile_repo="drupal/cms";
26
+ distribution_project_template="drupal/cms";
27
+
28
+ ARGPARSE_DESCRIPTION="Build and install a ${distribution_title} site with the Convene site template"
29
+ source ${WORKSPACE_SCRIPTS}/args/arg-site-template.sh || exit 1 ;
30
+
31
+ shift $#;
32
+
33
+ build_site_template ;
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Convivial Gov (Drupal CMS site template)
4
+
5
+ # Build and install Drupal CMS with the Convivial Gov site template.
6
+ # drupal/convivial_gov — https://new.drupal.org/site-template/convivial_gov
7
+
8
+ # Bootstrap.
9
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
10
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
11
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
12
+
13
+ # Load workspace settings and extra lists.
14
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.site-templates.settings.yml);
15
+
16
+ # Site template.
17
+ site_template_name="convivial_gov";
18
+ site_template_title="Convivial Gov";
19
+ site_template_package="drupal/convivial_gov";
20
+
21
+ # Distribution.
22
+ distribution_name="drupal_cms";
23
+ distribution_title="Drupal CMS";
24
+ distribution_webroot="web";
25
+ distribution_profile_repo="drupal/cms";
26
+ distribution_project_template="drupal/cms";
27
+
28
+ ARGPARSE_DESCRIPTION="Build and install a ${distribution_title} site with the Convivial Gov site template"
29
+ source ${WORKSPACE_SCRIPTS}/args/arg-site-template.sh || exit 1 ;
30
+
31
+ shift $#;
32
+
33
+ build_site_template ;
@@ -0,0 +1,45 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Dashi ^1 (Drupal CMS site template)
4
+
5
+ # Build and install Drupal CMS with the Dashi site template.
6
+ # drupal/dashi — https://new.drupal.org/site-template/dashi
7
+ #
8
+ # Umami's recipes carried forward for Drupal CMS, in English and Spanish, rebuilt on the Canvas page builder.
9
+
10
+ # Bootstrap.
11
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
12
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
13
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
14
+
15
+ # Load workspace settings and extra lists.
16
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.site-templates.settings.yml);
17
+
18
+ # Site template.
19
+ site_template_name="dashi";
20
+ site_template_title="Dashi";
21
+ site_template_package="drupal/dashi";
22
+
23
+ # The major release this command tracks, and what its name says. Stated rather than left
24
+ # open: an unconstrained require takes whatever is newest, so the same command would build
25
+ # a different major the day one ships. `--site-template-version` overrides it.
26
+ site_template_version="^1";
27
+
28
+ # NOT in the Drupal CMS installer's curated list, so there is nothing to pick in the browser:
29
+ # the package is always required first, on every path.
30
+
31
+ # Distribution.
32
+ distribution_name="drupal_cms";
33
+ distribution_title="Drupal CMS";
34
+ distribution_webroot="web";
35
+ distribution_profile_repo="drupal/cms";
36
+ distribution_project_template="drupal/cms";
37
+
38
+ ARGPARSE_DESCRIPTION="Build and install a ${distribution_title} site with the Dashi site template"
39
+ source ${WORKSPACE_SCRIPTS}/args/arg-site-template.sh || exit 1 ;
40
+
41
+ shift $#;
42
+
43
+ SITE_TEMPLATE_VERSION="${SITE_TEMPLATE_VERSION:-${site_template_version}}";
44
+
45
+ build_site_template ;
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Everbright (Drupal CMS site template)
4
+
5
+ # Build and install Drupal CMS with the Everbright site template.
6
+ # drupal/everbright — https://new.drupal.org/site-template/everbright
7
+
8
+ # Bootstrap.
9
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
10
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
11
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
12
+
13
+ # Load workspace settings and extra lists.
14
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.site-templates.settings.yml);
15
+
16
+ # Site template.
17
+ site_template_name="everbright";
18
+ site_template_title="Everbright";
19
+ site_template_package="drupal/everbright";
20
+
21
+ # Distribution.
22
+ distribution_name="drupal_cms";
23
+ distribution_title="Drupal CMS";
24
+ distribution_webroot="web";
25
+ distribution_profile_repo="drupal/cms";
26
+ distribution_project_template="drupal/cms";
27
+
28
+ ARGPARSE_DESCRIPTION="Build and install a ${distribution_title} site with the Everbright site template"
29
+ source ${WORKSPACE_SCRIPTS}/args/arg-site-template.sh || exit 1 ;
30
+
31
+ shift $#;
32
+
33
+ build_site_template ;
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Forma (Drupal CMS site template)
4
+
5
+ # Build and install Drupal CMS with the Forma site template.
6
+ # drupal/forma — https://new.drupal.org/site-template/forma
7
+
8
+ # Bootstrap.
9
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
10
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
11
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
12
+
13
+ # Load workspace settings and extra lists.
14
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.site-templates.settings.yml);
15
+
16
+ # Site template.
17
+ site_template_name="forma";
18
+ site_template_title="Forma";
19
+ site_template_package="drupal/forma";
20
+
21
+ # Distribution.
22
+ distribution_name="drupal_cms";
23
+ distribution_title="Drupal CMS";
24
+ distribution_webroot="web";
25
+ distribution_profile_repo="drupal/cms";
26
+ distribution_project_template="drupal/cms";
27
+
28
+ ARGPARSE_DESCRIPTION="Build and install a ${distribution_title} site with the Forma site template"
29
+ source ${WORKSPACE_SCRIPTS}/args/arg-site-template.sh || exit 1 ;
30
+
31
+ shift $#;
32
+
33
+ build_site_template ;
@@ -0,0 +1,48 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Goodwell ^1 (Drupal CMS site template)
4
+
5
+ # Build and install Drupal CMS with the Goodwell site template.
6
+ # drupal/goodwell — https://new.drupal.org/site-template/goodwell-recipe
7
+ #
8
+ # An insurance site: product pages, FAQ sections, landing pages and a blog, with Webform.
9
+
10
+ # Bootstrap.
11
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
12
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
13
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
14
+
15
+ # Load workspace settings and extra lists.
16
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.site-templates.settings.yml);
17
+
18
+ # Site template.
19
+ site_template_name="goodwell";
20
+ site_template_title="Goodwell";
21
+ site_template_package="drupal/goodwell";
22
+
23
+ # The major release this command tracks, and what its name says. Stated rather than left
24
+ # open: an unconstrained require takes whatever is newest, so the same command would build
25
+ # a different major the day one ships. `--site-template-version` overrides it.
26
+ site_template_version="^1";
27
+
28
+ # Listed in the Drupal CMS installer's own site-templates.yml, so the default build is the
29
+ # plain `composer create-project drupal/cms` the project page publishes and the installer
30
+ # fetches the recipe when it is picked. --install and an explicit --site-template-version
31
+ # still require it, since drush cannot download anything.
32
+ site_template_listed="yes";
33
+
34
+ # Distribution.
35
+ distribution_name="drupal_cms";
36
+ distribution_title="Drupal CMS";
37
+ distribution_webroot="web";
38
+ distribution_profile_repo="drupal/cms";
39
+ distribution_project_template="drupal/cms";
40
+
41
+ ARGPARSE_DESCRIPTION="Build and install a ${distribution_title} site with the Goodwell site template"
42
+ source ${WORKSPACE_SCRIPTS}/args/arg-site-template.sh || exit 1 ;
43
+
44
+ shift $#;
45
+
46
+ SITE_TEMPLATE_VERSION="${SITE_TEMPLATE_VERSION:-${site_template_version}}";
47
+
48
+ build_site_template ;
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Haven (Drupal CMS site template)
4
+
5
+ # Build and install Drupal CMS with the Haven site template.
6
+ # drupal/haven — https://new.drupal.org/site-template/haven
7
+
8
+ # Bootstrap.
9
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
10
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
11
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
12
+
13
+ # Load workspace settings and extra lists.
14
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.site-templates.settings.yml);
15
+
16
+ # Site template.
17
+ site_template_name="haven";
18
+ site_template_title="Haven";
19
+ site_template_package="drupal/haven";
20
+
21
+ # Distribution.
22
+ distribution_name="drupal_cms";
23
+ distribution_title="Drupal CMS";
24
+ distribution_webroot="web";
25
+ distribution_profile_repo="drupal/cms";
26
+ distribution_project_template="drupal/cms";
27
+
28
+ ARGPARSE_DESCRIPTION="Build and install a ${distribution_title} site with the Haven site template"
29
+ source ${WORKSPACE_SCRIPTS}/args/arg-site-template.sh || exit 1 ;
30
+
31
+ shift $#;
32
+
33
+ build_site_template ;
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Healthcare (Drupal CMS site template)
4
+
5
+ # Build and install Drupal CMS with the Healthcare site template.
6
+ # drupal/healthcare — https://new.drupal.org/site-template/healthcare
7
+
8
+ # Bootstrap.
9
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
10
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
11
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
12
+
13
+ # Load workspace settings and extra lists.
14
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.site-templates.settings.yml);
15
+
16
+ # Site template.
17
+ site_template_name="healthcare";
18
+ site_template_title="Healthcare";
19
+ site_template_package="drupal/healthcare";
20
+
21
+ # Distribution.
22
+ distribution_name="drupal_cms";
23
+ distribution_title="Drupal CMS";
24
+ distribution_webroot="web";
25
+ distribution_profile_repo="drupal/cms";
26
+ distribution_project_template="drupal/cms";
27
+
28
+ ARGPARSE_DESCRIPTION="Build and install a ${distribution_title} site with the Healthcare site template"
29
+ source ${WORKSPACE_SCRIPTS}/args/arg-site-template.sh || exit 1 ;
30
+
31
+ shift $#;
32
+
33
+ build_site_template ;
@@ -0,0 +1,48 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Hourglass Corporate ^1 (Drupal CMS site template)
4
+
5
+ # Build and install Drupal CMS with the Hourglass Corporate site template.
6
+ # drupal/hourglass_inc — https://new.drupal.org/site-template/hourglass-corporate
7
+ #
8
+ # A corporate B2B and SaaS site, built with Canvas and Single Directory Components.
9
+
10
+ # Bootstrap.
11
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
12
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
13
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
14
+
15
+ # Load workspace settings and extra lists.
16
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.site-templates.settings.yml);
17
+
18
+ # Site template.
19
+ site_template_name="hourglass_inc";
20
+ site_template_title="Hourglass Corporate";
21
+ site_template_package="drupal/hourglass_inc";
22
+
23
+ # The major release this command tracks, and what its name says. Stated rather than left
24
+ # open: an unconstrained require takes whatever is newest, so the same command would build
25
+ # a different major the day one ships. `--site-template-version` overrides it.
26
+ site_template_version="^1";
27
+
28
+ # Listed in the Drupal CMS installer's own site-templates.yml, so the default build is the
29
+ # plain `composer create-project drupal/cms` the project page publishes and the installer
30
+ # fetches the recipe when it is picked. --install and an explicit --site-template-version
31
+ # still require it, since drush cannot download anything.
32
+ site_template_listed="yes";
33
+
34
+ # Distribution.
35
+ distribution_name="drupal_cms";
36
+ distribution_title="Drupal CMS";
37
+ distribution_webroot="web";
38
+ distribution_profile_repo="drupal/cms";
39
+ distribution_project_template="drupal/cms";
40
+
41
+ ARGPARSE_DESCRIPTION="Build and install a ${distribution_title} site with the Hourglass Corporate site template"
42
+ source ${WORKSPACE_SCRIPTS}/args/arg-site-template.sh || exit 1 ;
43
+
44
+ shift $#;
45
+
46
+ SITE_TEMPLATE_VERSION="${SITE_TEMPLATE_VERSION:-${site_template_version}}";
47
+
48
+ build_site_template ;
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Local (Drupal CMS site template)
4
+
5
+ # Build and install Drupal CMS with the Local site template.
6
+ # drupal/local — https://new.drupal.org/site-template/local
7
+
8
+ # Bootstrap.
9
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
10
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
11
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
12
+
13
+ # Load workspace settings and extra lists.
14
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.site-templates.settings.yml);
15
+
16
+ # Site template.
17
+ site_template_name="local";
18
+ site_template_title="Local";
19
+ site_template_package="drupal/local";
20
+
21
+ # Distribution.
22
+ distribution_name="drupal_cms";
23
+ distribution_title="Drupal CMS";
24
+ distribution_webroot="web";
25
+ distribution_profile_repo="drupal/cms";
26
+ distribution_project_template="drupal/cms";
27
+
28
+ ARGPARSE_DESCRIPTION="Build and install a ${distribution_title} site with the Local site template"
29
+ source ${WORKSPACE_SCRIPTS}/args/arg-site-template.sh || exit 1 ;
30
+
31
+ shift $#;
32
+
33
+ build_site_template ;
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Nuxt Starter (Drupal CMS site template)
4
+
5
+ # Build and install Drupal CMS with the Nuxt Starter site template.
6
+ # drupal/lupus_decoupled_starter — https://new.drupal.org/site-template/lupus_decoupled_starter
7
+
8
+ # Bootstrap.
9
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
10
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
11
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
12
+
13
+ # Load workspace settings and extra lists.
14
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.site-templates.settings.yml);
15
+
16
+ # Site template.
17
+ site_template_name="lupus_decoupled_starter";
18
+ site_template_title="Nuxt Starter";
19
+ site_template_package="drupal/lupus_decoupled_starter";
20
+
21
+ # Distribution.
22
+ distribution_name="drupal_cms";
23
+ distribution_title="Drupal CMS";
24
+ distribution_webroot="web";
25
+ distribution_profile_repo="drupal/cms";
26
+ distribution_project_template="drupal/cms";
27
+
28
+ ARGPARSE_DESCRIPTION="Build and install a ${distribution_title} site with the Nuxt Starter site template"
29
+ source ${WORKSPACE_SCRIPTS}/args/arg-site-template.sh || exit 1 ;
30
+
31
+ shift $#;
32
+
33
+ build_site_template ;
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Mercury Demo (Drupal CMS site template)
4
+
5
+ # Build and install Drupal CMS with the Mercury Demo site template.
6
+ # drupal/mercury_demo — https://new.drupal.org/site-template/mercury_demo
7
+
8
+ # Bootstrap.
9
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
10
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
11
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
12
+
13
+ # Load workspace settings and extra lists.
14
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.site-templates.settings.yml);
15
+
16
+ # Site template.
17
+ site_template_name="mercury_demo";
18
+ site_template_title="Mercury Demo";
19
+ site_template_package="drupal/mercury_demo";
20
+
21
+ # Distribution.
22
+ distribution_name="drupal_cms";
23
+ distribution_title="Drupal CMS";
24
+ distribution_webroot="web";
25
+ distribution_profile_repo="drupal/cms";
26
+ distribution_project_template="drupal/cms";
27
+
28
+ ARGPARSE_DESCRIPTION="Build and install a ${distribution_title} site with the Mercury Demo site template"
29
+ source ${WORKSPACE_SCRIPTS}/args/arg-site-template.sh || exit 1 ;
30
+
31
+ shift $#;
32
+
33
+ build_site_template ;
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # workspace-name: Provus EDU (Drupal CMS site template)
4
+
5
+ # Build and install Drupal CMS with the Provus EDU site template.
6
+ # drupal/provus_edu — https://new.drupal.org/site-template/provus_edu
7
+
8
+ # Bootstrap.
9
+ # Find the workspace tooling from this script, so a fresh clone needs no setup.
10
+ WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
11
+ source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
12
+
13
+ # Load workspace settings and extra lists.
14
+ eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.site-templates.settings.yml);
15
+
16
+ # Site template.
17
+ site_template_name="provus_edu";
18
+ site_template_title="Provus EDU";
19
+ site_template_package="drupal/provus_edu";
20
+
21
+ # Distribution.
22
+ distribution_name="drupal_cms";
23
+ distribution_title="Drupal CMS";
24
+ distribution_webroot="web";
25
+ distribution_profile_repo="drupal/cms";
26
+ distribution_project_template="drupal/cms";
27
+
28
+ ARGPARSE_DESCRIPTION="Build and install a ${distribution_title} site with the Provus EDU site template"
29
+ source ${WORKSPACE_SCRIPTS}/args/arg-site-template.sh || exit 1 ;
30
+
31
+ shift $#;
32
+
33
+ build_site_template ;