0558b2c595
* Feat/svelte kit support (#467) * feat: implemented svelte-kit adapter * feat: implemented the @trigger.dev/svelte package * scaffolded a sveltekit example project with trigger.dev * added the convertToStandardRequest function in the sveltekit package * example sveltekit project with the @trigger.dev/svelte package * doc: added the manual setup guide for sveltekit * updated the web app onboard for sveltekit * formatted the manual setup guide for sveltekit * added a link to webapp sveltekit onboarding * added a wait function to the sveltekit example app job * typo fix * removed comments from the @trigger.dev/svelte - commented out the useEventRunDetails * updated package.json to use internal packages * added a .env.example file * updated the example-svelte-app * updated the svelte-example * updated the onboarding page to reflect requested changes * made the manual setup guide more specific * created a .env.example file for svelte-example * added import aliases * updated the tsconfig and svelte.config file * updated to use uint8Array * added missing paths in the tsconfig --------- Co-authored-by: Matt Aitken <matt@mattaitken.com> * Moved examples to references * Tweaked the SveleteKit manual setup guide * Updated zod, and set the svelte/sveltekit package versions to match other packages * Added the headers to the response from the SvelteKit api/trigger route * Changeset for Svelte and SvelteKit packages * Revert change to rawBody * Remove core from changeset packages * Delete svelte .npmrc file * Build svelte package to build, not build/lib * Made the snapshot instructions easier to copy * Delete the svelte package * Latest lockfile * Updated the SvelteKit docs * Attempt to get Svelte to import the package * Updates for port and host options * Updated lockfile from main * Update neat-feet-wait.md --------- Co-authored-by: Chigala <92148630+Chigala@users.noreply.github.com>
26 lines
636 B
JSON
26 lines
636 B
JSON
{
|
|
"extends": "./.svelte-kit/tsconfig.json",
|
|
"compilerOptions": {
|
|
"lib": ["DOM", "DOM.Iterable", "ES2019"],
|
|
"isolatedModules": true,
|
|
"esModuleInterop": true,
|
|
"ignoreDeprecations": "5.0",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"target": "ES2019",
|
|
"strict": true,
|
|
"allowJs": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"$lib": ["src/lib"],
|
|
"$lib/*": ["src/lib/*"],
|
|
"$trigger": ["src/trigger"],
|
|
"$jobs/*": ["src/jobs/*"]
|
|
}
|
|
},
|
|
"include": ["src/**/*", "src/node_modules", ".svelte-kit/ambient.d.ts"], // see last element
|
|
|
|
"exclude": ["node_modules"]
|
|
}
|