Commit Graph

44 Commits

Author SHA1 Message Date
Luke Hagar
2835a8847e Update package.json scripts in examples/electron to use pnpm for improved consistency and performance
- Replaced npm commands with pnpm in the dev and build scripts.
- Added a sync script to ensure proper synchronization before starting the development server or building the project.
2025-07-23 16:14:01 -05:00
Luke Hagar
baee9dced8 Update GitHub Actions workflows to use Node.js 22 and pnpm 10
- Replaced the Node.js setup step to use version 22 for improved compatibility.
- Updated pnpm version in both CI and test workflows to 10 for consistency and performance.
- Removed redundant pnpm installation step in the CI workflow.
2025-07-23 16:12:19 -05:00
Luke Hagar
59bcd5b3a7 Enhance error handling in setupHandler.js for improved robustness
- Replaced assertions with explicit error throwing for missing mainWindow and session.
- Updated protocol handler to return a 400 response for unsupported HTTP requests, enhancing security and clarity.
- Improved internal server error response formatting.
2025-07-23 16:00:31 -05:00
Luke Hagar
cfd43bac1c Refactor GitHub Actions workflow for clarity and consistency
- Renamed job from 'Run workspace tests' to 'run-workspace-tests' for consistency with naming conventions.
- Updated step name from 'Type check adapter-electron' to 'Run workspace tests' to better reflect its purpose.
2025-07-14 12:05:34 -05:00
Luke Hagar
73691e2b6a Refactor CI workflow and enhance protocol handler in adapter-electron
- Updated GitHub Actions workflow to streamline testing and type checking processes.
- Consolidated test steps and improved error handling for better clarity.
- Enhanced protocol handler functions in setupHandler.js to support additional features and security measures.
- Added new utility functions for file handling and path validation to improve robustness.
- Updated integration tests to cover new functionality and ensure proper request handling.
2025-07-14 11:50:31 -05:00
Luke Hagar
fef066e29e Update GitHub Actions workflow to use pnpm v4.1.0 and improve error handling in test scripts
- Upgraded pnpm action version in the CI workflow.
- Enhanced error messages for missing test and typecheck scripts in adapter-appwrite and examples.
- Cleaned up conditional checks for better readability.
2025-07-13 10:30:21 -05:00
Luke Hagar
26b1f98523 Remove unnecessary closing brace in examples/electron/src/main.ts 2025-07-13 02:10:11 -05:00
Luke Hagar
cd56593295 Merge branch 'swap-to-handler' of https://github.com/LukeHagar/sveltekit-adapters into swap-to-handler 2025-07-13 02:09:21 -05:00
Luke Hagar
90d204edf3 chore: Bump version to 1.0.6 and update package.json for adapter-electron
- Added placeholders.d.ts to the files list.
- Updated dependencies for electron and cookie.
- Introduced new scripts for testing and type checking.
- Adjusted devDependencies for compatibility with TypeScript and testing tools.
2025-07-13 02:09:19 -05:00
Luke Hagar
57d18fb369 Update examples/electron/src/routes/sverdle/+page.server.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-13 01:42:55 -05:00
Luke Hagar
ed51cca599 Update packages/adapter-electron/functions/setupHandler.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-13 01:42:22 -05:00
Luke Hagar
b6c91da2e3 Update packages/adapter-electron/functions/setupHandler.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-13 01:42:08 -05:00
Luke Hagar
9e4e3abc87 Update examples/electron/src/main.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-13 01:41:56 -05:00
Luke Hagar
3a1d7565b1 Update examples/electron/src/main.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-13 01:41:21 -05:00
Luke Hagar
196fc9d774 chore: Update package dependencies and configuration for Electron adapter
- Removed package manager and engines from package.json.
- Updated pnpm-lock.yaml to reflect new versions of dependencies.
- Modified pnpm-workspace.yaml to include only built dependencies for Electron.
- Adjusted electron-builder.yaml to exclude unnecessary files and added output directory.
- Deleted obsolete electron.vite.config.ts file.
- Updated main entry point in examples/electron/package.json to use CommonJS format.
- Refactored scripts in examples/electron/package.json for better development experience.
- Enhanced error handling and logging in game logic within examples/electron/src/routes/sverdle/+page.server.ts.
- Updated adapter-electron to support new protocol handling and build processes.
2025-07-12 23:45:12 -05:00
Luke Hagar
e2eda959b0 testing out a swap to a handler for electron 2025-07-03 13:50:39 -05:00
Luke Hagar
87c8ceb458 Merge pull request #11 from Karechta/main 2024-06-16 07:45:25 -05:00
Karechta
4f3fcf4157 chore: Update load function in adapter-electron to include optional path parameter 2024-06-16 05:42:39 +02:00
Luke Hagar
d0539519c4 Merge pull request #9 from LukeHagar/changeset-release/main
Version Packages
2024-03-11 12:15:17 -04:00
github-actions[bot]
cc911599ba Version Packages 2024-03-11 16:15:04 +00:00
Luke Hagar
1006c9fd3e Adjusted origin 2024-03-11 11:14:20 -05:00
Luke Hagar
5ed105bd09 Merge pull request #8 from LukeHagar/changeset-release/main
Version Packages
2024-03-05 14:51:19 -05:00
github-actions[bot]
da29585fdd Version Packages 2024-03-05 19:49:51 +00:00
Luke Hagar
0ab4be1104 Fixed exports 2024-03-05 13:48:32 -06:00
Luke Hagar
b38ecde2b9 Merge pull request #5 from LukeHagar/changeset-release/main
Version Packages
2024-02-23 11:31:16 -06:00
github-actions[bot]
a531c7d424 Version Packages 2024-02-23 17:27:44 +00:00
Luke Hagar
5c9c021a3a Blocking PR merged, updating readmes, and bumping package versions 2024-02-23 11:26:53 -06:00
Luke Hagar
df6aa2289a Updated readme 2024-02-20 14:55:26 -06:00
Luke Hagar
c86fff4a72 Merge pull request #4 from LukeHagar/changeset-release/main
Version Packages
2024-02-19 11:24:55 -06:00
github-actions[bot]
31701fd4e3 Version Packages 2024-02-19 17:23:15 +00:00
Luke Hagar
edfe881617 Updated readme 2024-02-19 11:22:50 -06:00
Luke Hagar
5fdfb54f23 Update ci.yml 2024-02-19 08:16:24 -06:00
Luke Hagar
f431f9a0e7 Update ci.yml 2024-02-19 07:58:56 -06:00
Luke Hagar
86d18650da Update CHANGELOG.md 2024-02-18 22:11:38 -06:00
Luke Hagar
d1ede0820e Merge pull request #3 from LukeHagar/changeset-release/main
Version Packages
2024-02-18 22:11:24 -06:00
github-actions[bot]
95cd1503cb Version Packages 2024-02-19 04:09:30 +00:00
Luke Hagar
546b111bb6 Store is generating files too large for caching atm 2024-02-18 22:08:50 -06:00
Luke Hagar
3e950a5308 Update ci.yml 2024-02-18 22:00:37 -06:00
Luke Hagar
9237513bcb Bumped Debs, and updated readmes and package.json files 2024-02-18 22:00:05 -06:00
Luke Hagar
25393e560f Saving progress on appwrite and electron adapters 2024-02-18 21:46:01 -06:00
Turbobot
a5d9485e28 feat(create-turbo): install dependencies 2024-02-15 15:47:31 -06:00
Turbobot
ce7e1f8e43 feat(create-turbo): apply pnpm-eslint transform 2024-02-15 15:47:04 -06:00
Turbobot
d2a4bdeb8e feat(create-turbo): apply official-starter transform 2024-02-15 15:47:04 -06:00
Luke Hagar
be10b60051 Initial commit 2024-02-15 15:44:05 -06:00