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>
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"name": "svelte-example",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
"lint": "prettier --plugin-search-dir . --check . && eslint .",
|
|
"format": "prettier --plugin-search-dir . --write ."
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/adapter-auto": "^2.0.0",
|
|
"@sveltejs/kit": "^1.20.4",
|
|
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
|
"@typescript-eslint/parser": "^5.45.0",
|
|
"eslint": "^8.28.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-svelte": "^2.30.0",
|
|
"prettier": "^2.8.0",
|
|
"prettier-plugin-svelte": "^2.10.1",
|
|
"svelte": "^4.0.5",
|
|
"svelte-check": "^3.4.3",
|
|
"tslib": "^2.4.1",
|
|
"typescript": "^5.0.0",
|
|
"vite": "^4.4.2"
|
|
},
|
|
"dependencies": {
|
|
"@trigger.dev/sdk": "workspace:*",
|
|
"@trigger.dev/sveltekit": "workspace:*"
|
|
},
|
|
"trigger.dev": {
|
|
"endpointId": "sveltekit-example"
|
|
},
|
|
"type": "module"
|
|
}
|