@autumnsgrove/groveengine 0.6.3 → 0.6.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.
- package/LICENSE +378 -0
- package/dist/auth/session.d.ts +2 -2
- package/package.json +21 -22
- package/static/fonts/alagard.ttf +0 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
|
|
2
|
+
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
3
|
+
Version 3, 19 November 2007
|
|
4
|
+
|
|
5
|
+
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
6
|
+
Everyone is permitted to copy and distribute verbatim copies
|
|
7
|
+
of this license document, but changing it is not allowed.
|
|
8
|
+
|
|
9
|
+
Preamble
|
|
10
|
+
|
|
11
|
+
The GNU Affero General Public License is a free, copyleft license for
|
|
12
|
+
software and other kinds of works, specifically designed to ensure
|
|
13
|
+
cooperation with the community in the case of network server software.
|
|
14
|
+
|
|
15
|
+
The licenses for most software and other practical works are designed
|
|
16
|
+
to take away your freedom to share and change the works. By contrast,
|
|
17
|
+
our General Public Licenses are intended to guarantee your freedom to
|
|
18
|
+
share and change all versions of a program--to make sure it remains free
|
|
19
|
+
software for all its users.
|
|
20
|
+
|
|
21
|
+
When we speak of free software, we are referring to freedom, not
|
|
22
|
+
price. Our General Public Licenses are designed to make sure that you
|
|
23
|
+
have the freedom to distribute copies of free software (and charge for
|
|
24
|
+
them if you wish), that you receive source code or can get it if you
|
|
25
|
+
want it, that you can change the software or use pieces of it in new
|
|
26
|
+
free programs, and that you know you can do these things.
|
|
27
|
+
|
|
28
|
+
Developers that use our General Public Licenses protect your rights
|
|
29
|
+
with two steps: (1) assert copyright on the software, and (2) offer
|
|
30
|
+
you this License which gives you legal permission to copy, distribute
|
|
31
|
+
and/or modify the software.
|
|
32
|
+
|
|
33
|
+
A secondary benefit of defending all users' freedom is that
|
|
34
|
+
improvements made in alternate versions of the program, if they
|
|
35
|
+
receive widespread use, become available for other developers to
|
|
36
|
+
incorporate. Many developers of free software are heartened and
|
|
37
|
+
encouraged by the resulting cooperation. However, in the case of
|
|
38
|
+
software used on network servers, this result may fail to come about.
|
|
39
|
+
The GNU General Public License permits making a modified version and
|
|
40
|
+
letting the public access it on a server without ever releasing its
|
|
41
|
+
source code to the public.
|
|
42
|
+
|
|
43
|
+
The GNU Affero General Public License is designed specifically to
|
|
44
|
+
ensure that, in such cases, the modified source code becomes available
|
|
45
|
+
to the community. It requires the operator of a network server to
|
|
46
|
+
provide the source code of the modified version running there to the
|
|
47
|
+
users of that server. Therefore, public use of a modified version, on
|
|
48
|
+
a publicly accessible server, gives the public access to the source
|
|
49
|
+
code of the modified version.
|
|
50
|
+
|
|
51
|
+
An older license, called the Affero General Public License and
|
|
52
|
+
published by Affero, was designed to accomplish similar goals. This is
|
|
53
|
+
a different license, not a version of the Affero GPL, but Affero has
|
|
54
|
+
released a new version of the Affero GPL which permits relicensing under
|
|
55
|
+
this license.
|
|
56
|
+
|
|
57
|
+
The precise terms and conditions for copying, distribution and
|
|
58
|
+
modification follow.
|
|
59
|
+
|
|
60
|
+
TERMS AND CONDITIONS
|
|
61
|
+
|
|
62
|
+
0. Definitions.
|
|
63
|
+
|
|
64
|
+
"This License" refers to version 3 of the GNU Affero General Public License.
|
|
65
|
+
|
|
66
|
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
|
67
|
+
works, such as semiconductor masks.
|
|
68
|
+
|
|
69
|
+
"The Program" refers to any copyrightable work licensed under this
|
|
70
|
+
License. Each licensee is addressed as "you". "Licensees" and
|
|
71
|
+
"recipients" may be individuals or organizations.
|
|
72
|
+
|
|
73
|
+
To "modify" a work means to copy from or adapt all or part of the work
|
|
74
|
+
in a fashion requiring copyright permission, other than the making of an
|
|
75
|
+
exact copy. The resulting work is called a "modified version" of the
|
|
76
|
+
earlier work or a work "based on" the earlier work.
|
|
77
|
+
|
|
78
|
+
A "covered work" means either the unmodified Program or a work based
|
|
79
|
+
on the Program.
|
|
80
|
+
|
|
81
|
+
To "propagate" a work means to do anything with it that, without
|
|
82
|
+
permission, would make you directly or secondarily liable for
|
|
83
|
+
infringement under applicable copyright law, except executing it on a
|
|
84
|
+
computer or modifying a private copy. Propagation includes copying,
|
|
85
|
+
distribution (with or without modification), making available to the
|
|
86
|
+
public, and in some countries other activities as well.
|
|
87
|
+
|
|
88
|
+
To "convey" a work means any kind of propagation that enables other
|
|
89
|
+
parties to make or receive copies. Mere interaction with a user through
|
|
90
|
+
a computer network, with no transfer of a copy, is not conveying.
|
|
91
|
+
|
|
92
|
+
An interactive user interface displays "Appropriate Legal Notices"
|
|
93
|
+
to the extent that it includes a convenient and prominently visible
|
|
94
|
+
feature that (a) displays an appropriate copyright notice, and (b)
|
|
95
|
+
tells the user that there is no warranty for the work (except to the
|
|
96
|
+
extent that warranties are provided), that licensees may convey the
|
|
97
|
+
work under this License, and how to view a copy of this License. If
|
|
98
|
+
the interface presents a list of user commands or options, such as a
|
|
99
|
+
menu, a prominent item in the list meets this criterion.
|
|
100
|
+
|
|
101
|
+
1. Source Code.
|
|
102
|
+
|
|
103
|
+
The "source code" for a work means the preferred form of the work
|
|
104
|
+
for making modifications to it. "Object code" means any non-source
|
|
105
|
+
form of a work.
|
|
106
|
+
|
|
107
|
+
A "corresponding source" means the source code for a work in object
|
|
108
|
+
code form. It includes any data and utility programs needed for
|
|
109
|
+
generating, installing, and (for an executable work) running the object
|
|
110
|
+
code and for modifying the work, but excludes the system library of
|
|
111
|
+
general-purpose tools or generally available free programs which are
|
|
112
|
+
used unmodified in performing those activities but which are not part of
|
|
113
|
+
the work. For example, corresponding source includes interface definition
|
|
114
|
+
files associated with source files for the work, and the source code for
|
|
115
|
+
shared libraries and dynamically linked subprograms that the work is
|
|
116
|
+
specifically designed to require, such as by intimate data communication
|
|
117
|
+
or control flow between those subprograms and other parts of the work.
|
|
118
|
+
|
|
119
|
+
The corresponding source need not include anything that users
|
|
120
|
+
can regenerate automatically from other parts of the corresponding
|
|
121
|
+
source.
|
|
122
|
+
|
|
123
|
+
The corresponding source for a work in source code form is that
|
|
124
|
+
same work.
|
|
125
|
+
|
|
126
|
+
2. Basic Permissions.
|
|
127
|
+
|
|
128
|
+
All rights granted under this License are granted for the term of
|
|
129
|
+
copyright on the Program, and are irrevocable provided the stated
|
|
130
|
+
conditions are met. This License explicitly affirms your unlimited
|
|
131
|
+
permission to run the unmodified Program. The output from running a
|
|
132
|
+
covered work is covered by this License only if the output, given its
|
|
133
|
+
content, constitutes a covered work. This License acknowledges your
|
|
134
|
+
rights of fair use or other equivalent, as provided by copyright law.
|
|
135
|
+
|
|
136
|
+
You may make, run and propagate covered works that you do not
|
|
137
|
+
convey, without conditions so long as your license remains in force.
|
|
138
|
+
You may convey covered works to others for the sole purpose of having
|
|
139
|
+
them make modifications exclusively for you, or provide you with
|
|
140
|
+
facilities for running those works, provided that you comply with the
|
|
141
|
+
terms of this License in conveying all material for which you do not
|
|
142
|
+
control copyright. Those thus making or running the covered works for
|
|
143
|
+
you must do so exclusively on your behalf, under your direction and
|
|
144
|
+
control, on terms that prohibit them from making any copies of your
|
|
145
|
+
copyrighted material outside their relationship with you.
|
|
146
|
+
|
|
147
|
+
Conveying under any other circumstances is permitted solely under
|
|
148
|
+
the conditions stated below. Sublicensing is not allowed; section 10
|
|
149
|
+
makes it unnecessary.
|
|
150
|
+
|
|
151
|
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
|
152
|
+
|
|
153
|
+
No covered work shall be deemed part of an effective technological
|
|
154
|
+
measure under any applicable law fulfilling obligations under article
|
|
155
|
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
|
156
|
+
similar laws prohibiting or restricting circumvention of such
|
|
157
|
+
measures.
|
|
158
|
+
|
|
159
|
+
When you convey a covered work, you waive any legal power to forbid
|
|
160
|
+
circumvention of technological measures to the extent such circumvention
|
|
161
|
+
is effected by exercising rights under this License with respect to
|
|
162
|
+
the covered work, and you disclaim any intention to limit operation or
|
|
163
|
+
modification of the work as a means of enforcing, against the work's
|
|
164
|
+
users, your or third parties' legal rights to forbid circumvention of
|
|
165
|
+
technological measures.
|
|
166
|
+
|
|
167
|
+
4. Conveying Verbatim Copies.
|
|
168
|
+
|
|
169
|
+
You may convey verbatim copies of the Program's source code as you
|
|
170
|
+
receive it, in any medium, provided that you conspicuously and
|
|
171
|
+
appropriately publish on each copy an appropriate copyright notice;
|
|
172
|
+
keep intact all notices stating that this License and any
|
|
173
|
+
non-permissive terms added in accord with section 7 apply to the code;
|
|
174
|
+
keep intact all notices of the absence of any warranty; and give all
|
|
175
|
+
recipients a copy of this License along with the Program.
|
|
176
|
+
|
|
177
|
+
You may charge any price or no price for each copy that you convey,
|
|
178
|
+
and you may offer support or warranty protection for a fee.
|
|
179
|
+
|
|
180
|
+
5. Conveying Modified Source Versions.
|
|
181
|
+
|
|
182
|
+
You may convey a work based on the Program, or the modifications to
|
|
183
|
+
produce it from the Program, in the form of source code under the
|
|
184
|
+
terms of section 4, provided that you also meet all of these conditions:
|
|
185
|
+
|
|
186
|
+
a) The work must carry prominent notices stating that you modified
|
|
187
|
+
it, and giving a relevant date.
|
|
188
|
+
|
|
189
|
+
b) The work must carry prominent notices stating that it is
|
|
190
|
+
released under this License and any conditions added under section
|
|
191
|
+
7. This requirement modifies the requirement in section 4 to
|
|
192
|
+
"keep intact all notices".
|
|
193
|
+
|
|
194
|
+
c) You must license the entire work, as a whole, under this
|
|
195
|
+
License to anyone who comes into possession of a copy. This
|
|
196
|
+
License will therefore apply, along with any applicable section 7
|
|
197
|
+
additional terms, to the whole of the work, and all its parts,
|
|
198
|
+
regardless of how they are packaged. This License gives no
|
|
199
|
+
permission to license the work in any other way, but it does not
|
|
200
|
+
invalidate such permission if you have separately received it.
|
|
201
|
+
|
|
202
|
+
d) If the work has interactive user interfaces, each must display
|
|
203
|
+
Appropriate Legal Notices; however, if the Program has interactive
|
|
204
|
+
interfaces that do not display Appropriate Legal Notices, your
|
|
205
|
+
work need not make them do so.
|
|
206
|
+
|
|
207
|
+
A compilation of a covered work with other separate and independent
|
|
208
|
+
works, which are not by their nature extensions of the covered work,
|
|
209
|
+
and which are not combined with it such as to form a larger program,
|
|
210
|
+
in or on a volume of a storage or distribution medium, is called an
|
|
211
|
+
"aggregate" if the compilation and its resulting copyright are not
|
|
212
|
+
used to limit the access or legal rights of the compilation's users
|
|
213
|
+
beyond what the individual works permit. Inclusion of a covered work
|
|
214
|
+
in an aggregate does not cause this License to apply to the other
|
|
215
|
+
parts of the aggregate.
|
|
216
|
+
|
|
217
|
+
6. Conveying Non-Source Forms.
|
|
218
|
+
|
|
219
|
+
You may convey a covered work in object code form under the terms
|
|
220
|
+
of sections 4 and 5, provided that you also convey the
|
|
221
|
+
machine-readable Corresponding Source under the terms of this License,
|
|
222
|
+
in one of these ways:
|
|
223
|
+
|
|
224
|
+
a) Convey the object code in, or embodied in, a physical product
|
|
225
|
+
(including a physical distribution medium), accompanied by the
|
|
226
|
+
Corresponding Source fixed on a durable physical medium
|
|
227
|
+
customarily used for software interchange.
|
|
228
|
+
|
|
229
|
+
b) Convey the object code in, or embodied in, a physical product
|
|
230
|
+
(including a physical distribution medium), accompanied by a
|
|
231
|
+
written offer, valid for at least three years and valid for as
|
|
232
|
+
long as you offer spare parts or customer support for that product
|
|
233
|
+
model, to give anyone who possesses the object code either (1) a
|
|
234
|
+
copy of the Corresponding Source for all the software in the
|
|
235
|
+
product that is covered by this License, on a durable physical
|
|
236
|
+
medium customarily used for software interchange, for a price no
|
|
237
|
+
more than your reasonable cost of physically performing this
|
|
238
|
+
conveying, or (2) access to copy the Corresponding Source from a
|
|
239
|
+
network server at no charge.
|
|
240
|
+
|
|
241
|
+
c) Convey individual copies of the object code with a copy of the
|
|
242
|
+
written offer to provide the Corresponding Source. This
|
|
243
|
+
alternative is allowed only occasionally and noncommercially, and
|
|
244
|
+
only if you received the object code with such an offer, in accord
|
|
245
|
+
with subsection 6b.
|
|
246
|
+
|
|
247
|
+
d) Convey the object code by offering access from a designated
|
|
248
|
+
place (gratis or for a charge), and offer equivalent access to the
|
|
249
|
+
Corresponding Source in the same way through the same place at no
|
|
250
|
+
further charge. You need not require recipients to copy the
|
|
251
|
+
Corresponding Source along with the object code. If the place to
|
|
252
|
+
copy the object code is a network server, the Corresponding Source
|
|
253
|
+
may be on a different server (operated by you or a third party)
|
|
254
|
+
that supports equivalent copying facilities, provided you maintain
|
|
255
|
+
clear directions next to the object code saying where to find the
|
|
256
|
+
Corresponding Source. Regardless of what server hosts the
|
|
257
|
+
Corresponding Source, you remain obligated to ensure that it is
|
|
258
|
+
available for as long as needed to satisfy these requirements.
|
|
259
|
+
|
|
260
|
+
e) Convey the object code using peer-to-peer transmission, provided
|
|
261
|
+
you inform other peers where the object code and Corresponding
|
|
262
|
+
Source of the work are being offered to the general public at no
|
|
263
|
+
charge under subsection 6d.
|
|
264
|
+
|
|
265
|
+
A separable portion of the object code, whose source code is excluded
|
|
266
|
+
from the Corresponding Source as a Library, need not be included in
|
|
267
|
+
conveying the object code work.
|
|
268
|
+
|
|
269
|
+
7. Additional Terms.
|
|
270
|
+
|
|
271
|
+
"Additional permissions" are terms that supplement the terms of this
|
|
272
|
+
License by making exceptions from one or more of its conditions.
|
|
273
|
+
Additional permissions that are applicable to the entire Program shall
|
|
274
|
+
be treated as though they were included in this License, to the extent
|
|
275
|
+
that they are valid under applicable law. If additional permissions
|
|
276
|
+
apply only to part of the Program, that part may be used separately
|
|
277
|
+
under those permissions, but the entire Program remains governed by
|
|
278
|
+
this License without regard to the additional permissions.
|
|
279
|
+
|
|
280
|
+
When you convey a copy of a covered work, you may at your option
|
|
281
|
+
remove any additional permissions from that copy, or from any part of
|
|
282
|
+
it. (Additional permissions placed by the licensee are void if they
|
|
283
|
+
affect the licensee's obligations under this License, so they may be
|
|
284
|
+
removed.)
|
|
285
|
+
|
|
286
|
+
You may place additional permissions on material, added by you to a
|
|
287
|
+
covered work, for which you have or can give appropriate copyright
|
|
288
|
+
permission.
|
|
289
|
+
|
|
290
|
+
Notwithstanding any other provision of this License, for material you
|
|
291
|
+
add to a covered work, you may (if authorized by the copyright holders of
|
|
292
|
+
that material) supplement the terms of this License with terms:
|
|
293
|
+
|
|
294
|
+
a) Disclaiming warranty or limiting liability differently from the
|
|
295
|
+
terms of sections 15 and 16 of this License; or
|
|
296
|
+
|
|
297
|
+
b) Requiring preservation of specified reasonable legal notices or
|
|
298
|
+
author attributions in that material or in the Appropriate Legal
|
|
299
|
+
Notices displayed by works containing it; or
|
|
300
|
+
|
|
301
|
+
c) Prohibiting misrepresentation of the origin of that material, or
|
|
302
|
+
requiring that modified versions of such material be marked in
|
|
303
|
+
reasonable ways as different from the original version; or
|
|
304
|
+
|
|
305
|
+
d) Limiting the use for publicity purposes of names of licensors or
|
|
306
|
+
authors of the material; or
|
|
307
|
+
|
|
308
|
+
e) Declining to grant rights under trademark law for use of some
|
|
309
|
+
trade names, trademarks, or service marks; or
|
|
310
|
+
|
|
311
|
+
f) Requiring indemnification of licensors and authors of that
|
|
312
|
+
material by anyone who conveys the material (or modified versions of
|
|
313
|
+
it) with contractual assumptions of liability to the recipient, for
|
|
314
|
+
any liability that these contractual assumptions directly impose on
|
|
315
|
+
those licensors and authors.
|
|
316
|
+
|
|
317
|
+
All other non-permissive additional terms are considered "further
|
|
318
|
+
restrictions" within the meaning of section 10. If the Program as you
|
|
319
|
+
received it, or any part of it, contains a notice stating that it is
|
|
320
|
+
governed by this License along with a term that is a further
|
|
321
|
+
restriction, you may remove that term. If a license document contains
|
|
322
|
+
a further restriction but permits relicensing or conveying under this
|
|
323
|
+
License, you may act as if that further restriction does not exist in
|
|
324
|
+
relating to the Program or any part thereof.
|
|
325
|
+
|
|
326
|
+
8. Termination.
|
|
327
|
+
|
|
328
|
+
You may not propagate or modify a covered work except as expressly
|
|
329
|
+
provided under this License. Any attempt otherwise to propagate or
|
|
330
|
+
modify it is void, and will automatically terminate your rights under
|
|
331
|
+
this License (including any patent licenses granted under the third
|
|
332
|
+
paragraph of section 11).
|
|
333
|
+
|
|
334
|
+
However, if you cease all violation of this License, then your
|
|
335
|
+
license from a particular copyright holder is reinstated (a)
|
|
336
|
+
provisionally, unless and until the copyright holder explicitly and
|
|
337
|
+
finally terminates your license, and (b) permanently, if the copyright
|
|
338
|
+
holder fails to notify you of the violation by some reasonable means
|
|
339
|
+
prior to 60 days after the cessation.
|
|
340
|
+
|
|
341
|
+
Moreover, your license from a particular copyright holder is
|
|
342
|
+
reinstated permanently if the copyright holder notifies you of the
|
|
343
|
+
violation by some reasonable means, this is the first time you have
|
|
344
|
+
received notice of violation of this License (for any work) from that
|
|
345
|
+
copyright holder, and you cure the violation prior to 30 days after
|
|
346
|
+
your receipt of the notice.
|
|
347
|
+
|
|
348
|
+
Termination of your rights under this section does not terminate the
|
|
349
|
+
licenses of parties who have received copies or rights from you under
|
|
350
|
+
this License. If your rights have been terminated and not permanently
|
|
351
|
+
reinstated, you do not qualify to receive new licenses for the same
|
|
352
|
+
material under section 10.
|
|
353
|
+
|
|
354
|
+
9. Acceptance Not Required for Having Copies.
|
|
355
|
+
|
|
356
|
+
You are not required to accept this License in order to receive or
|
|
357
|
+
run a copy of the Program. Ancillary propagation of a covered work
|
|
358
|
+
occurring solely as a consequence of using peer-to-peer transmission
|
|
359
|
+
to receive a copy likewise does not require acceptance. However,
|
|
360
|
+
nothing other than this License grants you permission to propagate or
|
|
361
|
+
modify any covered work. These actions infringe copyright if you do
|
|
362
|
+
not accept this License.
|
|
363
|
+
|
|
364
|
+
10. Automatic Licensing of Downstream Recipients.
|
|
365
|
+
|
|
366
|
+
Each time you convey a covered work, the recipient automatically
|
|
367
|
+
receives a license from the original licensors to run, modify and
|
|
368
|
+
propagate that work, subject to this License. You are not responsible
|
|
369
|
+
for enforcing compliance by third parties with this License.
|
|
370
|
+
|
|
371
|
+
An "entity transaction" is a transaction transferring control of an
|
|
372
|
+
organization, or substantially all assets of one, or subdividing an
|
|
373
|
+
organization, or merging organizations. If propagation of a covered
|
|
374
|
+
work results from an entity transaction, each party to that
|
|
375
|
+
transaction who receives a copy of the work also receives whatever
|
|
376
|
+
licenses to the work the party's predecessor in interest had or could
|
|
377
|
+
give under the previous paragraph, plus a right to possession of the
|
|
378
|
+
Corresponding Source of the work
|
package/dist/auth/session.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export function isAllowedAdmin(email: string, allowedList: string): boolean;
|
|
|
44
44
|
* @param {string} userEmail - User's email address
|
|
45
45
|
* @returns {Promise<boolean>} - Whether the user owns the tenant
|
|
46
46
|
*/
|
|
47
|
-
export function verifyTenantOwnership(db:
|
|
47
|
+
export function verifyTenantOwnership(db: any, tenantId: string | undefined | null, userEmail: string): Promise<boolean>;
|
|
48
48
|
/**
|
|
49
49
|
* Get tenant ID with ownership verification
|
|
50
50
|
* Throws 403 if user doesn't own the tenant
|
|
@@ -54,7 +54,7 @@ export function verifyTenantOwnership(db: import("@cloudflare/workers-types").D1
|
|
|
54
54
|
* @returns {Promise<string>} - Verified tenant ID
|
|
55
55
|
* @throws {SessionError} - If unauthorized
|
|
56
56
|
*/
|
|
57
|
-
export function getVerifiedTenantId(db:
|
|
57
|
+
export function getVerifiedTenantId(db: any, tenantId: string | undefined | null, user: User | null | undefined): Promise<string>;
|
|
58
58
|
export type User = {
|
|
59
59
|
email: string;
|
|
60
60
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autumnsgrove/groveengine",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "Multi-tenant blog engine for Grove Platform. Features gutter annotations, markdown editing, magic code auth, and Cloudflare Workers deployment.",
|
|
5
5
|
"author": "AutumnsGrove",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
@@ -138,26 +138,6 @@
|
|
|
138
138
|
"static",
|
|
139
139
|
"!dist/**/*.test.*"
|
|
140
140
|
],
|
|
141
|
-
"scripts": {
|
|
142
|
-
"dev": "vite dev",
|
|
143
|
-
"dev:wrangler": "wrangler pages dev -- vite dev",
|
|
144
|
-
"build": "vite build",
|
|
145
|
-
"build:package": "svelte-kit sync && svelte-package -o dist",
|
|
146
|
-
"package": "svelte-kit sync && svelte-package -o dist",
|
|
147
|
-
"prepublishOnly": "pnpm run package",
|
|
148
|
-
"preview": "vite preview",
|
|
149
|
-
"deploy": "wrangler pages deploy .svelte-kit/cloudflare --project-name groveengine",
|
|
150
|
-
"audit": "pnpm audit --audit-level=moderate",
|
|
151
|
-
"audit:fix": "pnpm audit --fix",
|
|
152
|
-
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
153
|
-
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
154
|
-
"test": "vitest",
|
|
155
|
-
"test:ui": "vitest --ui",
|
|
156
|
-
"test:run": "vitest run",
|
|
157
|
-
"test:security": "vitest run tests/security",
|
|
158
|
-
"test:coverage": "vitest run --coverage",
|
|
159
|
-
"test:watch": "vitest watch"
|
|
160
|
-
},
|
|
161
141
|
"peerDependencies": {
|
|
162
142
|
"@sveltejs/kit": "^2.0.0",
|
|
163
143
|
"svelte": "^5.0.0",
|
|
@@ -198,5 +178,24 @@
|
|
|
198
178
|
"marked": "^17.0.1",
|
|
199
179
|
"svelte-sonner": "^1.0.7",
|
|
200
180
|
"tailwind-merge": "^3.4.0"
|
|
181
|
+
},
|
|
182
|
+
"scripts": {
|
|
183
|
+
"dev": "vite dev",
|
|
184
|
+
"dev:wrangler": "wrangler pages dev -- vite dev",
|
|
185
|
+
"build": "vite build",
|
|
186
|
+
"build:package": "svelte-kit sync && svelte-package -o dist",
|
|
187
|
+
"package": "svelte-kit sync && svelte-package -o dist",
|
|
188
|
+
"preview": "vite preview",
|
|
189
|
+
"deploy": "wrangler pages deploy .svelte-kit/cloudflare --project-name groveengine",
|
|
190
|
+
"audit": "pnpm audit --audit-level=moderate",
|
|
191
|
+
"audit:fix": "pnpm audit --fix",
|
|
192
|
+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
193
|
+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
194
|
+
"test": "vitest",
|
|
195
|
+
"test:ui": "vitest --ui",
|
|
196
|
+
"test:run": "vitest run",
|
|
197
|
+
"test:security": "vitest run tests/security",
|
|
198
|
+
"test:coverage": "vitest run --coverage",
|
|
199
|
+
"test:watch": "vitest watch"
|
|
201
200
|
}
|
|
202
|
-
}
|
|
201
|
+
}
|
package/static/fonts/alagard.ttf
CHANGED
|
File without changes
|