create-berna-stencil 2.0.2 → 2.0.4

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 (170) hide show
  1. package/LICENSE +170 -0
  2. package/NOTICE +5 -0
  3. package/README.md +4 -4
  4. package/bin/create.js +26 -5
  5. package/docs/Head and SEO.md +23 -0
  6. package/package.json +60 -58
  7. package/src/backend/_core/vendor/composer/autoload_static.php +10 -10
  8. package/src/backend/_core/vendor/composer/installed.json +6 -6
  9. package/src/backend/_core/vendor/composer/installed.php +2 -2
  10. package/src/backend/_core/vendor/graham-campbell/result-type/.gitattributes +9 -0
  11. package/src/backend/_core/vendor/graham-campbell/result-type/.github/CODE_OF_CONDUCT.md +132 -0
  12. package/src/backend/_core/vendor/graham-campbell/result-type/.github/CONTRIBUTING.md +31 -0
  13. package/src/backend/_core/vendor/graham-campbell/result-type/.github/FUNDING.yml +2 -0
  14. package/src/backend/_core/vendor/graham-campbell/result-type/.github/SECURITY.md +14 -0
  15. package/src/backend/_core/vendor/graham-campbell/result-type/.github/workflows/stale.yml +11 -0
  16. package/src/backend/_core/vendor/graham-campbell/result-type/.github/workflows/tests.yml +40 -0
  17. package/src/backend/_core/vendor/graham-campbell/result-type/CHANGELOG.md +53 -0
  18. package/src/backend/_core/vendor/graham-campbell/result-type/LICENSE +21 -21
  19. package/src/backend/_core/vendor/graham-campbell/result-type/README.md +42 -0
  20. package/src/backend/_core/vendor/graham-campbell/result-type/composer.json +33 -33
  21. package/src/backend/_core/vendor/graham-campbell/result-type/phpunit.xml.dist +13 -0
  22. package/src/backend/_core/vendor/graham-campbell/result-type/src/Error.php +121 -121
  23. package/src/backend/_core/vendor/graham-campbell/result-type/src/Result.php +69 -69
  24. package/src/backend/_core/vendor/graham-campbell/result-type/src/Success.php +120 -120
  25. package/src/backend/_core/vendor/graham-campbell/result-type/tests/ResultTest.php +95 -0
  26. package/src/backend/_core/vendor/phpoption/phpoption/.gitattributes +13 -0
  27. package/src/backend/_core/vendor/phpoption/phpoption/.github/CODE_OF_CONDUCT.md +132 -0
  28. package/src/backend/_core/vendor/phpoption/phpoption/.github/CONTRIBUTING.md +30 -0
  29. package/src/backend/_core/vendor/phpoption/phpoption/.github/FUNDING.yml +2 -0
  30. package/src/backend/_core/vendor/phpoption/phpoption/.github/SECURITY.md +14 -0
  31. package/src/backend/_core/vendor/phpoption/phpoption/.github/workflows/static.yml +40 -0
  32. package/src/backend/_core/vendor/phpoption/phpoption/.github/workflows/tests.yml +40 -0
  33. package/src/backend/_core/vendor/phpoption/phpoption/LICENSE +200 -200
  34. package/src/backend/_core/vendor/phpoption/phpoption/Makefile +17 -0
  35. package/src/backend/_core/vendor/phpoption/phpoption/README.md +201 -0
  36. package/src/backend/_core/vendor/phpoption/phpoption/composer.json +50 -50
  37. package/src/backend/_core/vendor/phpoption/phpoption/phpstan-baseline.neon +44 -0
  38. package/src/backend/_core/vendor/phpoption/phpoption/phpstan.neon.dist +7 -0
  39. package/src/backend/_core/vendor/phpoption/phpoption/phpunit.xml.dist +13 -0
  40. package/src/backend/_core/vendor/phpoption/phpoption/src/PhpOption/LazyOption.php +175 -175
  41. package/src/backend/_core/vendor/phpoption/phpoption/src/PhpOption/None.php +136 -136
  42. package/src/backend/_core/vendor/phpoption/phpoption/src/PhpOption/Option.php +434 -434
  43. package/src/backend/_core/vendor/phpoption/phpoption/src/PhpOption/Some.php +169 -169
  44. package/src/backend/_core/vendor/phpoption/phpoption/tests/PhpOption/Tests/EnsureTest.php +72 -0
  45. package/src/backend/_core/vendor/phpoption/phpoption/tests/PhpOption/Tests/LazyOptionTest.php +357 -0
  46. package/src/backend/_core/vendor/phpoption/phpoption/tests/PhpOption/Tests/NoneTest.php +153 -0
  47. package/src/backend/_core/vendor/phpoption/phpoption/tests/PhpOption/Tests/OptionTest.php +166 -0
  48. package/src/backend/_core/vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php +194 -0
  49. package/src/backend/_core/vendor/phpoption/phpoption/tests/bootstrap.php +8 -0
  50. package/src/backend/_core/vendor/phpoption/phpoption/vendor-bin/phpstan/composer.json +8 -0
  51. package/src/backend/_core/vendor/symfony/polyfill-ctype/Ctype.php +232 -232
  52. package/src/backend/_core/vendor/symfony/polyfill-ctype/LICENSE +19 -19
  53. package/src/backend/_core/vendor/symfony/polyfill-ctype/README.md +12 -12
  54. package/src/backend/_core/vendor/symfony/polyfill-ctype/bootstrap.php +50 -50
  55. package/src/backend/_core/vendor/symfony/polyfill-ctype/bootstrap80.php +46 -46
  56. package/src/backend/_core/vendor/symfony/polyfill-ctype/composer.json +38 -38
  57. package/src/backend/_core/vendor/symfony/polyfill-mbstring/LICENSE +19 -19
  58. package/src/backend/_core/vendor/symfony/polyfill-mbstring/Mbstring.php +1077 -1077
  59. package/src/backend/_core/vendor/symfony/polyfill-mbstring/README.md +13 -13
  60. package/src/backend/_core/vendor/symfony/polyfill-mbstring/Resources/unidata/caseFolding.php +119 -119
  61. package/src/backend/_core/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php +1397 -1397
  62. package/src/backend/_core/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php +5 -5
  63. package/src/backend/_core/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php +1489 -1489
  64. package/src/backend/_core/vendor/symfony/polyfill-mbstring/bootstrap.php +171 -171
  65. package/src/backend/_core/vendor/symfony/polyfill-mbstring/bootstrap80.php +167 -167
  66. package/src/backend/_core/vendor/symfony/polyfill-mbstring/composer.json +39 -39
  67. package/src/backend/_core/vendor/symfony/polyfill-php80/LICENSE +19 -19
  68. package/src/backend/_core/vendor/symfony/polyfill-php80/Php80.php +115 -115
  69. package/src/backend/_core/vendor/symfony/polyfill-php80/PhpToken.php +106 -106
  70. package/src/backend/_core/vendor/symfony/polyfill-php80/README.md +25 -25
  71. package/src/backend/_core/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php +31 -31
  72. package/src/backend/_core/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php +16 -16
  73. package/src/backend/_core/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php +20 -20
  74. package/src/backend/_core/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php +16 -16
  75. package/src/backend/_core/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php +16 -16
  76. package/src/backend/_core/vendor/symfony/polyfill-php80/bootstrap.php +42 -42
  77. package/src/backend/_core/vendor/symfony/polyfill-php80/composer.json +37 -37
  78. package/src/backend/_core/vendor/vlucas/phpdotenv/.editorconfig +15 -0
  79. package/src/backend/_core/vendor/vlucas/phpdotenv/.gitattributes +15 -0
  80. package/src/backend/_core/vendor/vlucas/phpdotenv/.github/CODE_OF_CONDUCT.md +132 -0
  81. package/src/backend/_core/vendor/vlucas/phpdotenv/.github/CONTRIBUTING.md +30 -0
  82. package/src/backend/_core/vendor/vlucas/phpdotenv/.github/FUNDING.yml +2 -0
  83. package/src/backend/_core/vendor/vlucas/phpdotenv/.github/SECURITY.md +14 -0
  84. package/src/backend/_core/vendor/vlucas/phpdotenv/.github/workflows/static.yml +40 -0
  85. package/src/backend/_core/vendor/vlucas/phpdotenv/.github/workflows/tests.yml +70 -0
  86. package/src/backend/_core/vendor/vlucas/phpdotenv/LICENSE +30 -30
  87. package/src/backend/_core/vendor/vlucas/phpdotenv/Makefile +17 -0
  88. package/src/backend/_core/vendor/vlucas/phpdotenv/README.md +370 -0
  89. package/src/backend/_core/vendor/vlucas/phpdotenv/UPGRADING.md +196 -0
  90. package/src/backend/_core/vendor/vlucas/phpdotenv/composer.json +60 -60
  91. package/src/backend/_core/vendor/vlucas/phpdotenv/phpstan-baseline.neon +157 -0
  92. package/src/backend/_core/vendor/vlucas/phpdotenv/phpstan.neon.dist +7 -0
  93. package/src/backend/_core/vendor/vlucas/phpdotenv/phpunit.xml.dist +13 -0
  94. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Dotenv.php +267 -267
  95. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Exception/ExceptionInterface.php +12 -12
  96. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Exception/InvalidEncodingException.php +12 -12
  97. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Exception/InvalidFileException.php +12 -12
  98. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Exception/InvalidPathException.php +12 -12
  99. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Exception/ValidationException.php +12 -12
  100. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Loader/Loader.php +48 -48
  101. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Loader/LoaderInterface.php +20 -20
  102. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Loader/Resolver.php +65 -65
  103. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Parser/Entry.php +59 -59
  104. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Parser/EntryParser.php +299 -299
  105. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Parser/Lexer.php +58 -58
  106. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Parser/Lines.php +127 -127
  107. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Parser/Parser.php +53 -53
  108. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Parser/ParserInterface.php +19 -19
  109. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Parser/Value.php +88 -88
  110. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Repository/Adapter/AdapterInterface.php +15 -15
  111. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ApacheAdapter.php +89 -89
  112. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ArrayAdapter.php +80 -80
  113. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Repository/Adapter/EnvConstAdapter.php +88 -88
  114. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Repository/Adapter/GuardedWriter.php +85 -85
  115. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ImmutableWriter.php +110 -110
  116. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Repository/Adapter/MultiReader.php +48 -48
  117. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Repository/Adapter/MultiWriter.php +64 -64
  118. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Repository/Adapter/PutenvAdapter.php +91 -91
  119. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ReaderInterface.php +17 -17
  120. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ReplacingWriter.php +104 -104
  121. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Repository/Adapter/ServerConstAdapter.php +88 -88
  122. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Repository/Adapter/WriterInterface.php +27 -27
  123. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Repository/AdapterRepository.php +107 -107
  124. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Repository/RepositoryBuilder.php +272 -272
  125. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Repository/RepositoryInterface.php +51 -51
  126. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Store/File/Paths.php +44 -44
  127. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Store/File/Reader.php +81 -81
  128. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Store/FileStore.php +72 -72
  129. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Store/StoreBuilder.php +141 -141
  130. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Store/StoreInterface.php +17 -17
  131. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Store/StringStore.php +37 -37
  132. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Util/Regex.php +112 -112
  133. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Util/Str.php +108 -108
  134. package/src/backend/_core/vendor/vlucas/phpdotenv/src/Validator.php +207 -207
  135. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/Dotenv/DotenvTest.php +387 -0
  136. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/Dotenv/Loader/LoaderTest.php +86 -0
  137. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/EntryParserTest.php +234 -0
  138. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/LexerTest.php +40 -0
  139. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/LinesTest.php +53 -0
  140. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/ParserTest.php +98 -0
  141. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/ArrayAdapterTest.php +57 -0
  142. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/EnvConstAdapterTest.php +75 -0
  143. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/PutenvAdapterTest.php +52 -0
  144. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/ServerConstAdapterTest.php +75 -0
  145. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/RepositoryTest.php +305 -0
  146. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/Dotenv/Store/StoreTest.php +141 -0
  147. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/Dotenv/ValidatorTest.php +479 -0
  148. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/.env +5 -0
  149. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/assertions.env +18 -0
  150. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/booleans.env +33 -0
  151. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/commented.env +15 -0
  152. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/empty.env +1 -0
  153. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/example.env +1 -0
  154. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/exported.env +7 -0
  155. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/immutable.env +1 -0
  156. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/integers.env +17 -0
  157. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/large.env +2 -0
  158. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/multibyte.env +3 -0
  159. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/multiline.env +14 -0
  160. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/multiple.env +4 -0
  161. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/mutable.env +1 -0
  162. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/nested.env +15 -0
  163. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/quoted.env +11 -0
  164. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/specialchars.env +8 -0
  165. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/unicodevarnames.env +2 -0
  166. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/utf8-with-bom-encoding.env +3 -0
  167. package/src/backend/_core/vendor/vlucas/phpdotenv/tests/fixtures/env/windows.env +1 -0
  168. package/src/backend/_core/vendor/vlucas/phpdotenv/vendor-bin/phpstan/composer.json +15 -0
  169. package/src/backend/config.php +18 -0
  170. package/src/frontend/data/site.json +43 -43
package/LICENSE ADDED
@@ -0,0 +1,170 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other
43
+ modifications represent, as a whole, an original work of authorship.
44
+ For the purposes of this License, Derivative Works shall not include
45
+ works that remain separable from, or merely link (or bind by name)
46
+ to the interfaces of, the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean, as submitted to the Licensor for inclusion
49
+ in the Work by the copyright owner or by an individual or Legal Entity
50
+ authorized to submit on behalf of the copyright owner. For the
51
+ purposes of this definition, "submitted" means any form of electronic,
52
+ verbal, or written communication sent to the Licensor or its
53
+ representatives, including but not limited to communication on
54
+ electronic mailing lists, source code control systems, and issue
55
+ tracking systems that are managed by, or on behalf of, the Licensor
56
+ for the purpose of discussing and improving the Work, but excluding
57
+ communication that is conspicuously marked or otherwise designated
58
+ in writing by the copyright owner as "Not a Contribution."
59
+
60
+ "Contributor" shall mean Licensor and any Legal Entity on behalf of
61
+ whom a Contribution has been received by the Licensor and incorporated
62
+ within the Work.
63
+
64
+ 2. Grant of Copyright License. Subject to the terms and conditions of
65
+ this License, each Contributor hereby grants to You a perpetual,
66
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
67
+ copyright license to reproduce, prepare Derivative Works of,
68
+ publicly display, publicly perform, sublicense, and distribute the
69
+ Work and such Derivative Works in Source or Object form.
70
+
71
+ 3. Grant of Patent License. Subject to the terms and conditions of
72
+ this License, each Contributor hereby grants to You a perpetual,
73
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
74
+ (except as stated in this section) patent license to make, have made,
75
+ use, offer to sell, sell, import, and otherwise transfer the Work,
76
+ where such license applies only to those patent claims licensable
77
+ by such Contributor that are necessarily infringed by their
78
+ Contribution(s) alone or by combination of their Contribution(s)
79
+ with the Work to which such Contribution(s) was submitted. If You
80
+ institute patent litigation against any entity (including a
81
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
82
+ or a Contribution incorporated within the Work constitutes direct
83
+ or contributory patent infringement, then any patent licenses
84
+ granted to You under this License for that Work shall terminate
85
+ as of the date such litigation is filed.
86
+
87
+ 4. Redistribution. You may reproduce and distribute copies of the
88
+ Work or Derivative Works thereof in any medium, with or without
89
+ modifications, and in Source or Object form, provided that You
90
+ meet the following conditions:
91
+
92
+ (a) You must give any other recipients of the Work or Derivative
93
+ Works a copy of this License; and
94
+
95
+ (b) You must cause any modified files to carry prominent notices
96
+ stating that You changed the files; and
97
+
98
+ (c) You must retain, in the Source form of any Derivative Works
99
+ that You distribute, all copyright, patent, trademark, and
100
+ attribution notices from the Source form of the Work,
101
+ excluding those notices that do not pertain to any part of
102
+ the Derivative Works; and
103
+
104
+ (d) If the Work includes a NOTICE text file, You must include a
105
+ readable copy of the attribution notices contained within such
106
+ NOTICE file, in at least one of the following places: within
107
+ a NOTICE text file distributed as part of the Derivative Works;
108
+ within the Source form or documentation, if provided along with
109
+ the Derivative Works; or, within a display generated by the
110
+ Derivative Works, if and wherever such third-party notices
111
+ normally appear. The contents of the NOTICE file are for
112
+ informational purposes only and do not modify the License.
113
+
114
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
115
+ any Contribution intentionally submitted for inclusion in the Work
116
+ by You to the Licensor shall be under the terms and conditions of
117
+ this License, without any additional terms or conditions.
118
+
119
+ 6. Trademarks. This License does not grant permission to use the trade
120
+ names, trademarks, service marks, or product names of the Licensor,
121
+ except as required for reasonable and customary use in describing the
122
+ origin of the Work and reproducing the content of the NOTICE file.
123
+
124
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed
125
+ to in writing, Licensor provides the Work (and each Contributor
126
+ provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES
127
+ OR CONDITIONS OF ANY KIND, either express or implied, including,
128
+ without limitation, any warranties or conditions of TITLE,
129
+ NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR
130
+ PURPOSE. You are solely responsible for determining the
131
+ appropriateness of using or reproducing the Work and assume any
132
+ risks associated with Your exercise of permissions under this License.
133
+
134
+ 8. Limitation of Liability. In no event and under no legal theory,
135
+ whether in tort (including negligence), contract, or otherwise,
136
+ unless required by applicable law (such as deliberate and grossly
137
+ negligent acts) or agreed to in writing, shall any Contributor be
138
+ liable to You for damages, including any direct, indirect, special,
139
+ incidental, or exemplary damages of any character arising as a
140
+ result of this License or out of the use or inability to use the
141
+ Work (including but not limited to damages for loss of goodwill,
142
+ work stoppage, computer failure or malfunction, or all other
143
+ commercial damages or losses), even if such Contributor has been
144
+ advised of the possibility of such damages.
145
+
146
+ 9. Accepting Warranty or Liability While Redistributing. You may choose
147
+ to offer, and charge a fee for, acceptance of support, warranty,
148
+ indemnity, or other liability obligations and/or rights consistent
149
+ with this License. However, in accepting such obligations, You may
150
+ act only on Your own behalf and on Your sole responsibility, not on
151
+ behalf of any other Contributor, and only if You agree to indemnify,
152
+ defend, and hold each Contributor harmless for any liability incurred
153
+ by, or claims asserted against, such Contributor by reason of your
154
+ accepting any such warranty or additional liability.
155
+
156
+ END OF TERMS AND CONDITIONS
157
+
158
+ Copyright 2026 Michele Garofalo
159
+
160
+ Licensed under the Apache License, Version 2.0 (the "License");
161
+ you may not use this file except in compliance with the License.
162
+ You may obtain a copy of the License at
163
+
164
+ http://www.apache.org/licenses/LICENSE-2.0
165
+
166
+ Unless required by applicable law or agreed to in writing, software
167
+ distributed under the License is distributed on an "AS IS" BASIS,
168
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
169
+ implied. See the License for the specific language governing
170
+ permissions and limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,5 @@
1
+ create-berna-stencil
2
+ Copyright 2026 Michele Garofalo
3
+
4
+ This product includes software developed by Michele Garofalo.
5
+ https://github.com/Rhaastrake/berna-stencil
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # 🏗️ Berna-Stencil
1
+ # ✏️ Berna-Stencil
2
2
  **Berna-Stencil** is an open source static site generator built on top of [Eleventy](https://www.11ty.dev/), designed with one clear mission: make web development simple, approachable, and enjoyable — for everyone.
3
3
 
4
4
  Whether you're a seasoned developer looking for a clean starting point or a beginner taking your first steps into the world of web creation, Berna-Stencil gives you everything you need, right out of the box. No complicated setup, no hours spent reading documentation, no frustration — just a solid, well-structured foundation ready to become your next website.
@@ -12,8 +12,8 @@ Building a website from scratch involves a lot of moving parts: templating engin
12
12
  - 📁 **Scalable structure** — a clean, opinionated project layout that grows with your needs
13
13
  - 🌍 **Open source** — free to use, free to modify, free to share
14
14
 
15
- ![Version](https://img.shields.io/badge/version-1.0.0-blue)
16
- ![License](https://img.shields.io/badge/license-MIT-green)
15
+ ![Version](https://img.shields.io/badge/version-2.0.3-blue)
16
+ ![License](https://img.shields.io/badge/license-Apache--2.0-blue)
17
17
  ![Eleventy](https://img.shields.io/badge/11ty-v3.1.2-black)
18
18
 
19
19
  ## Prerequisites
@@ -44,7 +44,7 @@ Building a website from scratch involves a lot of moving parts: templating engin
44
44
 
45
45
  ## Changelog
46
46
 
47
- ### [2.0.1] - 2025-05-28
47
+ ### [2.0.3] - 2025-05-28
48
48
  * Initial release
49
49
  * Eleventy v3.1.2 support
50
50
  * Base project structure and scaffolding CLI
package/bin/create.js CHANGED
@@ -15,13 +15,13 @@ const COPY_TARGETS = [
15
15
 
16
16
  const PROJECT_PACKAGE = {
17
17
  name: path.basename(targetDir),
18
- version: '1.0.47',
18
+ version: '2.0.4',
19
19
  private: true,
20
20
  scripts: {
21
21
  "build:css": "sass src/frontend/scss:out/css --no-source-map --style=compressed --quiet --load-path=node_modules",
22
22
  "build:js": "esbuild \"src/frontend/js/pages/*.js\" --bundle --outdir=out/js/pages --minify",
23
23
  "build:11ty": "eleventy",
24
- "build": "npm run build:css && npm run build:js && npm run build:11ty",
24
+ "build": "npm run clean && npm run build:css && npm run build:js && npm run build:11ty",
25
25
  "serve:css": "sass --watch src/frontend/scss:out/css --no-source-map --quiet --load-path=node_modules",
26
26
  "serve:js": "esbuild \"src/frontend/js/pages/*.js\" --bundle --outdir=out/js/pages --watch",
27
27
  "serve:11ty": "eleventy --serve --quiet",
@@ -49,9 +49,9 @@ const PROJECT_PACKAGE = {
49
49
 
50
50
  const GITIGNORE_CONTENT = `
51
51
  node_modules/
52
- src/api/core/vendor/
52
+ src/backend/_core/vendor/
53
53
  out/
54
- src/api/config.php
54
+ src/backend/config.php
55
55
  `;
56
56
 
57
57
  const { writeSync } = require('fs');
@@ -65,6 +65,7 @@ function copyRecursive(src, dest) {
65
65
  if (stat.isDirectory()) {
66
66
  fs.mkdirSync(dest, { recursive: true });
67
67
  for (const child of fs.readdirSync(src)) {
68
+ if (child === '.git') continue;
68
69
  copyRecursive(path.join(src, child), path.join(dest, child));
69
70
  }
70
71
  } else {
@@ -73,6 +74,17 @@ function copyRecursive(src, dest) {
73
74
  }
74
75
  }
75
76
 
77
+ function deleteFileRecursive(dir, filename) {
78
+ for (const child of fs.readdirSync(dir)) {
79
+ const fullPath = path.join(dir, child);
80
+ if (fs.statSync(fullPath).isDirectory()) {
81
+ deleteFileRecursive(fullPath, filename);
82
+ } else if (child === filename) {
83
+ fs.unlinkSync(fullPath);
84
+ }
85
+ }
86
+ }
87
+
76
88
  if (!fs.existsSync(targetDir)) {
77
89
  fs.mkdirSync(targetDir, { recursive: true });
78
90
  }
@@ -88,6 +100,15 @@ for (const target of COPY_TARGETS) {
88
100
  }
89
101
  }
90
102
 
103
+ // config.php
104
+ const configDest = path.join(targetDir, 'src/backend/config.php');
105
+ const configExample = path.join(targetDir, 'src/backend/config.example.php');
106
+ if (!fs.existsSync(configDest) && fs.existsSync(configExample)) {
107
+ fs.copyFileSync(configExample, configDest);
108
+ log('+ src/backend/config.php');
109
+ }
110
+ deleteFileRecursive(targetDir, 'config.example.php');
111
+
91
112
  fs.writeFileSync(
92
113
  path.join(targetDir, 'package.json'),
93
114
  JSON.stringify(PROJECT_PACKAGE, null, 2)
@@ -105,4 +126,4 @@ if (process.argv[2]) {
105
126
  log(`cd ${process.argv[2]}`);
106
127
  }
107
128
  log('npm install');
108
- log('npm run serve\n');
129
+ log('npm run serve\n');
@@ -55,6 +55,29 @@ If you don't want to use a particular cdn inserting it in `base.njk` for all pag
55
55
 
56
56
  To customize them, edit `src/llms.njk` or `src/robots.njk` directly.
57
57
 
58
+ ### Customizing llms.txt
59
+
60
+ `src/llms.njk` ships with a base template — **replace the placeholders with your own content**:
61
+
62
+ ```markdown
63
+ # Site name
64
+
65
+ > Site description
66
+
67
+ Built by Name and surname — https://yoursite.com
68
+
69
+ ## Pages
70
+
71
+ - https://yoursite.com: Homepage
72
+
73
+ ## Notes
74
+
75
+ - Language: en
76
+ - All content may be used for AI indexing unless otherwise stated
77
+ ```
78
+
79
+ > The more accurate and detailed your `llms.txt`, the better AI models will understand and reference your site.
80
+
58
81
  ## Configuration field description
59
82
 
60
83
  | Field | Purpose |
package/package.json CHANGED
@@ -1,59 +1,61 @@
1
- {
2
- "name": "create-berna-stencil",
3
- "version": "2.0.2",
4
- "description": "Eleventy boilerplate with per-page SCSS/JS pipeline, esbuild bundling, multi-framework CSS support and a built-in page management CLI",
5
- "keywords": [],
6
- "author": "Michele Garofalo",
7
- "license": "MIT",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/rhaastrake/berna-stencil"
11
- },
12
- "homepage": "https://github.com/rhaastrake/berna-stencil#readme",
13
- "bugs": {
14
- "url": "https://github.com/rhaastrake/berna-stencil/issues"
15
- },
16
- "bin": {
17
- "create-berna-stencil": "bin/create.js"
18
- },
19
- "files": [
20
- "bin/",
21
- "docs/",
22
- "src/",
23
- "_tools/",
24
- ".eleventy.js",
25
- ".eleventyignore",
26
- ".gitignore"
27
- ],
28
- "engines": {
29
- "node": ">=18.0.0"
30
- },
31
- "dependencies": {
32
- "@11ty/eleventy": "^3.1.2",
33
- "@11ty/eleventy-img": "^6.0.4",
34
- "bootstrap": "^5.3.8",
35
- "bootstrap-icons": "^1.13.1",
36
- "bulma": "^1.0.4",
37
- "foundation-sites": "^6.9.0",
38
- "glob": "^13.0.6",
39
- "uikit": "^3.25.13"
40
- },
41
- "devDependencies": {
42
- "concurrently": "^9.2.1",
43
- "esbuild": "^0.27.3",
44
- "sass": "^1.77.0"
45
- },
46
- "scripts": {
47
- "build:css": "sass src/frontend/scss:out/css --no-source-map --style=compressed --quiet",
48
- "build:js": "esbuild \"src/frontend/js/pages/*.js\" --bundle --outdir=out/js/pages --minify",
49
- "build:11ty": "eleventy",
50
- "build": "npm run clean && npm run build:css && npm run build:js && npm run build:11ty",
51
- "serve:css": "sass --watch src/frontend/scss:out/css --no-source-map --quiet",
52
- "serve:js": "esbuild \"src/frontend/js/pages/*.js\" --bundle --outdir=out/js/pages --watch",
53
- "serve:11ty": "eleventy --serve --quiet",
54
- "clean": "node _tools/cleanOutput.js",
55
- "serve": "npm run clean && concurrently \"npm run serve:11ty\" \"npm run serve:css\" \"npm run serve:js\"",
56
- "assistant": "node _tools/assistant.js",
57
- "postinstall": "cd src/backend/_core && composer install --quiet"
58
- }
1
+ {
2
+ "name": "create-berna-stencil",
3
+ "version": "2.0.4",
4
+ "description": "Eleventy boilerplate with per-page SCSS/JS pipeline, esbuild bundling, multi-framework CSS support and a built-in page management CLI",
5
+ "keywords": [],
6
+ "author": "Michele Garofalo",
7
+ "license": "Apache-2.0",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/rhaastrake/berna-stencil"
11
+ },
12
+ "homepage": "https://github.com/rhaastrake/berna-stencil#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/rhaastrake/berna-stencil/issues"
15
+ },
16
+ "bin": {
17
+ "create-berna-stencil": "bin/create.js"
18
+ },
19
+ "files": [
20
+ "bin/",
21
+ "docs/",
22
+ "src/",
23
+ "_tools/",
24
+ ".eleventy.js",
25
+ ".eleventyignore",
26
+ ".gitignore",
27
+ "LICENSE",
28
+ "NOTICE"
29
+ ],
30
+ "engines": {
31
+ "node": ">=18.0.0"
32
+ },
33
+ "dependencies": {
34
+ "@11ty/eleventy": "^3.1.2",
35
+ "@11ty/eleventy-img": "^6.0.4",
36
+ "bootstrap": "^5.3.8",
37
+ "bootstrap-icons": "^1.13.1",
38
+ "bulma": "^1.0.4",
39
+ "foundation-sites": "^6.9.0",
40
+ "glob": "^13.0.6",
41
+ "uikit": "^3.25.13"
42
+ },
43
+ "devDependencies": {
44
+ "concurrently": "^9.2.1",
45
+ "esbuild": "^0.27.3",
46
+ "sass": "^1.77.0"
47
+ },
48
+ "scripts": {
49
+ "build:css": "sass src/frontend/scss:out/css --no-source-map --style=compressed --quiet",
50
+ "build:js": "esbuild \"src/frontend/js/pages/*.js\" --bundle --outdir=out/js/pages --minify",
51
+ "build:11ty": "eleventy",
52
+ "build": "npm run clean && npm run build:css && npm run build:js && npm run build:11ty",
53
+ "serve:css": "sass --watch src/frontend/scss:out/css --no-source-map --quiet",
54
+ "serve:js": "esbuild \"src/frontend/js/pages/*.js\" --bundle --outdir=out/js/pages --watch",
55
+ "serve:11ty": "eleventy --serve --quiet",
56
+ "clean": "node _tools/cleanOutput.js",
57
+ "serve": "npm run clean && concurrently \"npm run serve:11ty\" \"npm run serve:css\" \"npm run serve:js\"",
58
+ "assistant": "node _tools/assistant.js",
59
+ "postinstall": "cd src/backend/_core && composer install --quiet"
60
+ }
59
61
  }
@@ -13,48 +13,48 @@ class ComposerStaticInit108be68e4e2b97fed51d36a10eed0849
13
13
  );
14
14
 
15
15
  public static $prefixLengthsPsr4 = array (
16
- 'S' =>
16
+ 'S' =>
17
17
  array (
18
18
  'Symfony\\Polyfill\\Php80\\' => 23,
19
19
  'Symfony\\Polyfill\\Mbstring\\' => 26,
20
20
  'Symfony\\Polyfill\\Ctype\\' => 23,
21
21
  ),
22
- 'P' =>
22
+ 'P' =>
23
23
  array (
24
24
  'PhpOption\\' => 10,
25
25
  ),
26
- 'G' =>
26
+ 'G' =>
27
27
  array (
28
28
  'GrahamCampbell\\ResultType\\' => 26,
29
29
  ),
30
- 'D' =>
30
+ 'D' =>
31
31
  array (
32
32
  'Dotenv\\' => 7,
33
33
  ),
34
34
  );
35
35
 
36
36
  public static $prefixDirsPsr4 = array (
37
- 'Symfony\\Polyfill\\Php80\\' =>
37
+ 'Symfony\\Polyfill\\Php80\\' =>
38
38
  array (
39
39
  0 => __DIR__ . '/..' . '/symfony/polyfill-php80',
40
40
  ),
41
- 'Symfony\\Polyfill\\Mbstring\\' =>
41
+ 'Symfony\\Polyfill\\Mbstring\\' =>
42
42
  array (
43
43
  0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring',
44
44
  ),
45
- 'Symfony\\Polyfill\\Ctype\\' =>
45
+ 'Symfony\\Polyfill\\Ctype\\' =>
46
46
  array (
47
47
  0 => __DIR__ . '/..' . '/symfony/polyfill-ctype',
48
48
  ),
49
- 'PhpOption\\' =>
49
+ 'PhpOption\\' =>
50
50
  array (
51
51
  0 => __DIR__ . '/..' . '/phpoption/phpoption/src/PhpOption',
52
52
  ),
53
- 'GrahamCampbell\\ResultType\\' =>
53
+ 'GrahamCampbell\\ResultType\\' =>
54
54
  array (
55
55
  0 => __DIR__ . '/..' . '/graham-campbell/result-type/src',
56
56
  ),
57
- 'Dotenv\\' =>
57
+ 'Dotenv\\' =>
58
58
  array (
59
59
  0 => __DIR__ . '/..' . '/vlucas/phpdotenv/src',
60
60
  ),
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "time": "2025-12-27T19:43:20+00:00",
26
26
  "type": "library",
27
- "installation-source": "dist",
27
+ "installation-source": "source",
28
28
  "autoload": {
29
29
  "psr-4": {
30
30
  "GrahamCampbell\\ResultType\\": "src/"
@@ -98,7 +98,7 @@
98
98
  "dev-master": "1.9-dev"
99
99
  }
100
100
  },
101
- "installation-source": "dist",
101
+ "installation-source": "source",
102
102
  "autoload": {
103
103
  "psr-4": {
104
104
  "PhpOption\\": "src/PhpOption/"
@@ -175,7 +175,7 @@
175
175
  "name": "symfony/polyfill"
176
176
  }
177
177
  },
178
- "installation-source": "dist",
178
+ "installation-source": "source",
179
179
  "autoload": {
180
180
  "files": [
181
181
  "bootstrap.php"
@@ -262,7 +262,7 @@
262
262
  "name": "symfony/polyfill"
263
263
  }
264
264
  },
265
- "installation-source": "dist",
265
+ "installation-source": "source",
266
266
  "autoload": {
267
267
  "files": [
268
268
  "bootstrap.php"
@@ -343,7 +343,7 @@
343
343
  "name": "symfony/polyfill"
344
344
  }
345
345
  },
346
- "installation-source": "dist",
346
+ "installation-source": "source",
347
347
  "autoload": {
348
348
  "files": [
349
349
  "bootstrap.php"
@@ -447,7 +447,7 @@
447
447
  "dev-master": "5.6-dev"
448
448
  }
449
449
  },
450
- "installation-source": "dist",
450
+ "installation-source": "source",
451
451
  "autoload": {
452
452
  "psr-4": {
453
453
  "Dotenv\\": "src/"
@@ -3,7 +3,7 @@
3
3
  'name' => '__root__',
4
4
  'pretty_version' => 'dev-main',
5
5
  'version' => 'dev-main',
6
- 'reference' => 'ec10dd7ca6bea57db159b655df9811db5cac932c',
6
+ 'reference' => '4da27b8f50bb1a801f88ad46a9e9eafa51c1bb34',
7
7
  'type' => 'library',
8
8
  'install_path' => __DIR__ . '/../../',
9
9
  'aliases' => array(),
@@ -13,7 +13,7 @@
13
13
  '__root__' => array(
14
14
  'pretty_version' => 'dev-main',
15
15
  'version' => 'dev-main',
16
- 'reference' => 'ec10dd7ca6bea57db159b655df9811db5cac932c',
16
+ 'reference' => '4da27b8f50bb1a801f88ad46a9e9eafa51c1bb34',
17
17
  'type' => 'library',
18
18
  'install_path' => __DIR__ . '/../../',
19
19
  'aliases' => array(),
@@ -0,0 +1,9 @@
1
+ * text=auto
2
+
3
+ /tests export-ignore
4
+ /.gitattributes export-ignore
5
+ /.github export-ignore
6
+ /.gitignore export-ignore
7
+ /phpunit.xml.dist export-ignore
8
+ /CHANGELOG.md export-ignore
9
+ /README.md export-ignore