Closed pilcrowonpaper closed 3 weeks ago
Latest commit: 7e39333083421f1b20c983e125b11741dbf63503
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Cool, thanks!
You can test the adder by running pnpm sv add lucia
insider the pnpm workspace
.
Or use pnpx https://pkg.pr.new/sveltejs/cli/sv@254 add lucia
which was published instants ago
The generated TypeScript code works. I can't seem to get sv
to generate JSDoc code tho. Is this expected?
That's expected. The JSDoc in this instance is only included when typescript
isn't present in the project (or when using JSDoc just for type-checking).
Tested out with the published package and all the types seems to be working in both the TS and JSDoc version
thank you!! this is a big help
we're hoping to add more things like oauth in the future. we're working on cleaning up some of our APIs to hopefully make it easier to add and maintain add-ons.
really appreciate you taking a look!
setSessionTokenCookie()
anddeleteSessionTokenCookie()
(closes #122)generateUserId()
to be consistent withgenerateSessionToken()
and easier to deal with.I haven't added change sets yet and I'm not sure how to test the adder.