mirror of
https://github.com/LukeHagar/sveltekit-adapters.git
synced 2025-12-06 12:47:48 +00:00
Bumped Debs, and updated readmes and package.json files
This commit is contained in:
6
.changeset/warm-crews-repair.md
Normal file
6
.changeset/warm-crews-repair.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
"adapter-appwrite": patch
|
||||||
|
"adapter-electron": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Updated readmes and deps
|
||||||
@@ -17,13 +17,13 @@
|
|||||||
"build:linux": "npm run build && electron-builder --linux --config"
|
"build:linux": "npm run build && electron-builder --linux --config"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@fontsource/fira-mono": "^4.5.10",
|
"@fontsource/fira-mono": "^5.0.8",
|
||||||
"@neoconfetti/svelte": "^1.0.0",
|
"@neoconfetti/svelte": "^2.2.1",
|
||||||
"@sveltejs/kit": "^2.0.0",
|
"@sveltejs/kit": "^2.5.0",
|
||||||
"@sveltejs/vite-plugin-svelte": "^3.0.0",
|
"@sveltejs/vite-plugin-svelte": "^3.0.2",
|
||||||
"@types/eslint": "8.56.0",
|
"@types/eslint": "8.56.2",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
||||||
"@typescript-eslint/parser": "^6.0.0",
|
"@typescript-eslint/parser": "^7.0.1",
|
||||||
"adapter-electron": "workspace:*",
|
"adapter-electron": "workspace:*",
|
||||||
"concurrently": "^8.2.2",
|
"concurrently": "^8.2.2",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
@@ -38,13 +38,13 @@
|
|||||||
"eslint-config-prettier": "^9.1.0",
|
"eslint-config-prettier": "^9.1.0",
|
||||||
"eslint-plugin-svelte": "^2.35.1",
|
"eslint-plugin-svelte": "^2.35.1",
|
||||||
"polka": "^0.5.2",
|
"polka": "^0.5.2",
|
||||||
"prettier": "^3.1.1",
|
"prettier": "^3.2.5",
|
||||||
"prettier-plugin-svelte": "^3.1.2",
|
"prettier-plugin-svelte": "^3.2.1",
|
||||||
"svelte": "^4.2.7",
|
"svelte": "^4.2.11",
|
||||||
"svelte-check": "^3.6.0",
|
"svelte-check": "^3.6.4",
|
||||||
"tslib": "^2.4.1",
|
"tslib": "^2.6.2",
|
||||||
"typescript": "^5.0.0",
|
"typescript": "^5.3.3",
|
||||||
"vite": "^5.0.3"
|
"vite": "^5.1.3"
|
||||||
},
|
},
|
||||||
"type": "module"
|
"type": "module"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,16 @@
|
|||||||
"index.js",
|
"index.js",
|
||||||
"index.d.ts"
|
"index.d.ts"
|
||||||
],
|
],
|
||||||
|
"author": {
|
||||||
|
"name": "Luke Hagar",
|
||||||
|
"email": "lukeslakemail@gmai.com",
|
||||||
|
"url": "https://lukehagar.com"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/lukehagar/sveltekit-adapters.git",
|
||||||
|
"directory": "packages/adapter-appwrite"
|
||||||
|
},
|
||||||
"types": "index.d.ts",
|
"types": "index.d.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
|
|||||||
@@ -4,6 +4,13 @@
|
|||||||
|
|
||||||
This is a simple wrapper for the existing `adapter-node` SvelteKit adapter, with the exception that this package exports custom functions to handle the integration and running of the polka server and handler that are built from the node adapter.
|
This is a simple wrapper for the existing `adapter-node` SvelteKit adapter, with the exception that this package exports custom functions to handle the integration and running of the polka server and handler that are built from the node adapter.
|
||||||
|
|
||||||
|
This adapter requires additional files and configuration to work properly.
|
||||||
|
An example of a working electron app can be found in the `examples` directory [here](https://github.com/LukeHagar/sveltekit-adapters/tree/main/examples/electron).
|
||||||
|
|
||||||
|
This package uses `electron-builder` to build the electron app, and `electron-is-dev` to determine if the app is running in development mode.
|
||||||
|
|
||||||
|
Below is an example of how to use this adapter in your main electron file.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import { app, BrowserWindow } from 'electron';
|
import { app, BrowserWindow } from 'electron';
|
||||||
import { start, load } from 'adapter-electron/functions';
|
import { start, load } from 'adapter-electron/functions';
|
||||||
|
|||||||
@@ -6,6 +6,16 @@
|
|||||||
"index.js",
|
"index.js",
|
||||||
"index.d.ts"
|
"index.d.ts"
|
||||||
],
|
],
|
||||||
|
"author": {
|
||||||
|
"name": "Luke Hagar",
|
||||||
|
"email": "lukeslakemail@gmai.com",
|
||||||
|
"url": "https://lukehagar.com"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/lukehagar/sveltekit-adapters.git",
|
||||||
|
"directory": "packages/adapter-electron"
|
||||||
|
},
|
||||||
"types": "index.d.ts",
|
"types": "index.d.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
@@ -22,17 +32,10 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@sveltejs/adapter-node": "^4.0.1",
|
"@sveltejs/adapter-node": "^4.0.1",
|
||||||
"@sveltejs/kit": "^2.0.0",
|
"@sveltejs/kit": "^2.4.0",
|
||||||
"@sveltejs/package": "^2.0.0",
|
"@sveltejs/package": "^2.0.0",
|
||||||
"@sveltejs/vite-plugin-svelte": "^3.0.0",
|
"@sveltejs/vite-plugin-svelte": "^3.0.0",
|
||||||
"@types/mime-types": "^2.1.4",
|
|
||||||
"@types/node": "^20.11.17",
|
"@types/node": "^20.11.17",
|
||||||
"electron-is-dev": "^3.0.1",
|
|
||||||
"electron-log": "^5.1.1",
|
|
||||||
"electron-util": "^0.18.0",
|
|
||||||
"esbuild": "^0.20.0",
|
|
||||||
"micro": "^9.3.4",
|
|
||||||
"polka": "^0.5.2",
|
|
||||||
"prettier": "^3.1.1",
|
"prettier": "^3.1.1",
|
||||||
"prettier-plugin-svelte": "^3.1.2",
|
"prettier-plugin-svelte": "^3.1.2",
|
||||||
"publint": "^0.1.9",
|
"publint": "^0.1.9",
|
||||||
@@ -43,7 +46,9 @@
|
|||||||
"vite": "^5.0.11"
|
"vite": "^5.0.11"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"mime-types": "^2.1.35"
|
"polka": "^0.5.2",
|
||||||
|
"electron-is-dev": "^3.0.1",
|
||||||
|
"electron-log": "^5.1.1"
|
||||||
},
|
},
|
||||||
"type": "module"
|
"type": "module"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@repo/eslint-config",
|
"name": "@repo/eslint-config",
|
||||||
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/eslint-plugin": "^6.17.0",
|
"@typescript-eslint/eslint-plugin": "^6.17.0",
|
||||||
|
|||||||
795
pnpm-lock.yaml
generated
795
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user