Commit Graph

27 Commits

Author SHA1 Message Date
Luke Hagar
76986d18eb Update protocol integration tests to validate HTTP request handling
- Modified tests to expect a 400 response with a clear message for unsupported HTTP requests instead of throwing an assertion error.
- Enhanced clarity in error handling for external HTTP requests in the protocol handler.
2025-07-23 16:43:15 -05:00
Luke Hagar
80fd315db5 Integrate @rollup/plugin-typescript into adapter-electron for TypeScript support
- Added @rollup/plugin-typescript as a dependency in package.json for TypeScript integration.
- Updated index.js to include typescript in the Rollup build process.
- Reflected the new dependency in pnpm-lock.yaml to ensure proper versioning and compatibility.
2025-07-23 16:38:42 -05:00
Luke Hagar
bb685e1328 Update dependencies in adapter-electron and pnpm-lock.yaml for improved compatibility
- Added @rollup/plugin-commonjs, @rollup/plugin-json, and @rollup/plugin-node-resolve as dependencies in package.json.
- Updated pnpm-lock.yaml to reflect the new dependencies and their versions.
- Removed unused import from index.js to streamline the code.
2025-07-23 16:29:16 -05:00
Luke Hagar
645ccf1109 Update pnpm-lock.yaml and package.json for dependency upgrades and workflow improvements
- Upgraded rollup to version 4.45.1 and turbo to version 2.5.5 in pnpm-lock.yaml.
- Modified GitHub Actions workflow to install dependencies without the frozen lockfile option for better flexibility.
- Updated package.json in adapter-electron to include rollup as a dependency and adjusted devDependencies for consistency.
2025-07-23 16:22:44 -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
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
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
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
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
Karechta
4f3fcf4157 chore: Update load function in adapter-electron to include optional path parameter 2024-06-16 05:42:39 +02: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
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
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
github-actions[bot]
31701fd4e3 Version Packages 2024-02-19 17:23:15 +00:00
Luke Hagar
86d18650da Update CHANGELOG.md 2024-02-18 22:11:38 -06:00
github-actions[bot]
95cd1503cb Version Packages 2024-02-19 04:09:30 +00: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
d2a4bdeb8e feat(create-turbo): apply official-starter transform 2024-02-15 15:47:04 -06:00