@beatzball/create-litro 0.4.0 → 0.4.1

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 (3) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/LICENSE +78 -62
  3. package/package.json +16 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # create-litro
2
2
 
3
+ ## 0.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 619ec3c: feat(seo): inject seoHead and seoTitle from pageData into HTML shell
8
+
9
+ Pages can now return `seoHead` (a string of meta/JSON-LD tags) and `seoTitle` from `definePageData()`. The framework extracts these at request time and injects them into the actual `<head>` element of the HTML response — not buried in the `__litro_data__` JSON blob.
10
+
11
+ Also bumps the `h3` dependency to `>=1.15.6` to patch CVE GHSA-22cc-p3c6-wpvm.
12
+
13
+ Also improves npm discoverability: updated descriptions and keywords for all three packages, and rewrote the framework README with a Hello World example, comparison table, and SEO section.
14
+
3
15
  ## 0.4.0
4
16
 
5
17
  ### Minor Changes
package/LICENSE CHANGED
@@ -32,9 +32,10 @@
32
32
  not limited to compiled object code, generated documentation,
33
33
  and conversions to other media types.
34
34
 
35
- "Work" shall mean the work of authorship made available under
36
- the License, as indicated by a copyright notice that is included in
37
- or attached to the work (an example is provided in the Appendix below).
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).
38
39
 
39
40
  "Derivative Works" shall mean any work, whether in Source or Object
40
41
  form, that is based on (or derived from) the Work and for which the
@@ -44,21 +45,23 @@
44
45
  separable from, or merely link (or bind by name) to the interfaces of,
45
46
  the Work and Derivative Works thereof.
46
47
 
47
- "Contribution" shall mean, as submitted to the Licensor for inclusion
48
- in the Work by the copyright owner or by an individual or Legal Entity
49
- authorized to submit on behalf of the copyright owner. For the purposes
50
- of this definition, "submitted" means any form of electronic, verbal,
51
- or written communication sent to the Licensor or its representatives,
52
- including but not limited to communication on electronic mailing lists,
53
- source code control systems, and issue tracking systems that are managed
54
- by, or on behalf of, the Licensor for the purpose of discussing and
55
- improving the Work, but excluding communication that is conspicuously
56
- marked or otherwise designated in writing by the copyright owner as
57
- "Not a Contribution."
58
-
59
- "Contributor" shall mean Licensor and any Legal Entity on behalf of
60
- whom a Contribution has been received by the Licensor and subsequently
61
- incorporated within the Work.
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
62
65
 
63
66
  2. Grant of Copyright License. Subject to the terms and conditions of
64
67
  this License, each Contributor hereby grants to You a perpetual,
@@ -76,20 +79,20 @@
76
79
  by such Contributor that are necessarily infringed by their
77
80
  Contribution(s) alone or by combination of their Contribution(s)
78
81
  with the Work to which such Contribution(s) was submitted. If You
79
- institute patent litigation against any entity (including a cross-claim
80
- or counterclaim in a lawsuit) alleging that the Work or any
81
- Contribution incorporated within the Work constitutes direct or
82
- contributory patent infringement, then any patent licenses granted to
83
- You under this License for that Work shall terminate as of the date
84
- such litigation is filed.
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
85
88
 
86
89
  4. Redistribution. You may reproduce and distribute copies of the
87
90
  Work or Derivative Works thereof in any medium, with or without
88
91
  modifications, and in Source or Object form, provided that You
89
92
  meet the following conditions:
90
93
 
91
- (a) You must give any other recipients of the Work or Derivative
92
- Works a copy of this License; and
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
93
96
 
94
97
  (b) You must cause any modified files to carry prominent notices
95
98
  stating that You changed the files; and
@@ -101,26 +104,28 @@
101
104
  the Derivative Works; and
102
105
 
103
106
  (d) If the Work includes a "NOTICE" text file as part of its
104
- distribution, You must include a readable copy of the
105
- attribution notices contained within such NOTICE file, in
106
- at least one of the following places: within a NOTICE text
107
- file distributed as part of the Derivative Works; within
108
- the Source form or documentation, if provided along with the
109
- 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
- You may add Your own attribution notices within Derivative
114
- Works that You distribute, alongside or in addition to the
115
- NOTICE text from the Work, provided that such additional
116
- attribution notices cannot be construed as modifying the License.
117
-
118
- You may add Your own license statement for Your modifications and
119
- may provide additional grant of rights to use, reproduce, modify,
120
- and distribute Your modifications, or for such Derivative Works as
121
- a whole, under terms and conditions of Your choice, provided Your
122
- use, reproduction, modification, and distribution of the Work
123
- otherwise complies with the conditions stated in this License.
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
124
129
 
125
130
  5. Submission of Contributions. Unless You explicitly state otherwise,
126
131
  any Contribution intentionally submitted for inclusion in the Work
@@ -142,7 +147,7 @@
142
147
  implied, including, without limitation, any warranties or conditions
143
148
  of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
144
149
  PARTICULAR PURPOSE. You are solely responsible for determining the
145
- appropriateness of using or reproducing the Work and assume any
150
+ appropriateness of using or redistributing the Work and assume any
146
151
  risks associated with Your exercise of permissions under this License.
147
152
 
148
153
  8. Limitation of Liability. In no event and under no legal theory,
@@ -150,26 +155,37 @@
150
155
  unless required by applicable law (such as deliberate and grossly
151
156
  negligent acts) or agreed to in writing, shall any Contributor be
152
157
  liable to You for damages, including any direct, indirect, special,
153
- incidental, or exemplary damages of any character arising as a
158
+ incidental, or consequential damages of any character arising as a
154
159
  result of this License or out of the use or inability to use the
155
160
  Work (including but not limited to damages for loss of goodwill,
156
- work stoppage, computer failure or malfunction, or all other
157
- commercial damages or losses), even if such Contributor has been
158
- advised of the possibility of such damages.
159
-
160
- 9. Accepting Warranty or Liability. While redistributing the Work or
161
- Derivative Works thereof, You may choose to offer, and charge a fee
162
- for, acceptance of support, warranty, indemnity, or other liability
163
- obligations and/or rights consistent with this License. However, in
164
- accepting such obligations, You may offer such obligations only on
165
- Your own behalf and on Your sole responsibility, not on behalf of
166
- any other Contributor, and only if You agree to indemnify, defend,
167
- and hold each Contributor harmless for any liability incurred by, or
168
- claims asserted against, such Contributor by reason of your accepting
169
- any such warranty or additional liability.
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
170
175
 
171
176
  END OF TERMS AND CONDITIONS
172
177
 
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
173
189
  Copyright 2026 beatzball
174
190
 
175
191
  Licensed under the Apache License, Version 2.0 (the "License");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@beatzball/create-litro",
3
- "version": "0.4.0",
4
- "description": "Create a new Litro app",
3
+ "version": "0.4.1",
4
+ "description": "Scaffold a new Litro app — fullstack SSR, Markdown blog, or docs site. Built on Lit web components and Nitro server.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -15,6 +15,20 @@
15
15
  "bin": {
16
16
  "create-litro": "./dist/src/index.js"
17
17
  },
18
+ "keywords": [
19
+ "create",
20
+ "scaffold",
21
+ "cli",
22
+ "lit",
23
+ "web-components",
24
+ "fullstack",
25
+ "ssr",
26
+ "ssg",
27
+ "nitro",
28
+ "starter",
29
+ "template",
30
+ "typescript"
31
+ ],
18
32
  "devDependencies": {
19
33
  "@types/node": "^22.0.0",
20
34
  "typescript": "^5.7.3",