xixu-me
e9b1e0a931
Add eslint-config-prettier and update ESLint config
...
Integrated eslint-config-prettier to disable formatting rules that conflict with Prettier. Updated ESLint configuration and added the dependency to package.json for improved code formatting consistency.
2025-12-08 19:34:56 +08:00
xixu-me
59e0893d58
Revert "deps(deps-dev): bump vitest from 3.2.4 to 4.0.15"
2025-12-08 19:02:46 +08:00
dependabot[bot]
343ae40683
deps(deps-dev): bump vitest from 3.2.4 to 4.0.15
...
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) from 3.2.4 to 4.0.15.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.15/packages/vitest )
---
updated-dependencies:
- dependency-name: vitest
dependency-version: 4.0.15
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-08 10:53:01 +00:00
xixu-me
d9c93f08a1
Merge pull request #126 from xixu-me/dependabot/npm_and_yarn/cloudflare/vitest-pool-workers-0.10.14
...
deps(deps-dev): bump @cloudflare/vitest-pool-workers from 0.10.10 to 0.10.14
2025-12-08 18:52:17 +08:00
dependabot[bot]
98fa379aa0
deps(deps-dev): bump @cloudflare/vitest-pool-workers
...
Bumps [@cloudflare/vitest-pool-workers](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/vitest-pool-workers ) from 0.10.10 to 0.10.14.
- [Release notes](https://github.com/cloudflare/workers-sdk/releases )
- [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/vitest-pool-workers/CHANGELOG.md )
- [Commits](https://github.com/cloudflare/workers-sdk/commits/@cloudflare/vitest-pool-workers@0.10.14/packages/vitest-pool-workers )
---
updated-dependencies:
- dependency-name: "@cloudflare/vitest-pool-workers"
dependency-version: 0.10.14
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-08 10:50:43 +00:00
dependabot[bot]
fe40b6f3a3
deps(deps-dev): bump prettier from 3.6.2 to 3.7.4
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.6.2 to 3.7.4.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.6.2...3.7.4 )
---
updated-dependencies:
- dependency-name: prettier
dependency-version: 3.7.4
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-08 10:49:59 +00:00
xixu-me
5d93f2f579
Merge pull request #125 from xixu-me/dependabot/npm_and_yarn/express-5.2.1
...
deps(deps): bump express from 4.21.2 to 5.2.1
2025-12-08 18:49:41 +08:00
dependabot[bot]
f53c1515a9
deps(deps): bump express from 4.21.2 to 5.2.1
...
Bumps [express](https://github.com/expressjs/express ) from 4.21.2 to 5.2.1.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.21.2...v5.2.1 )
---
updated-dependencies:
- dependency-name: express
dependency-version: 5.2.1
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-08 10:33:44 +00:00
dependabot[bot]
49ff6bda5b
deps(deps-dev): bump @cloudflare/workers-types
...
Bumps [@cloudflare/workers-types](https://github.com/cloudflare/workerd ) from 4.20251121.0 to 4.20251205.0.
- [Release notes](https://github.com/cloudflare/workerd/releases )
- [Changelog](https://github.com/cloudflare/workerd/blob/main/RELEASE.md )
- [Commits](https://github.com/cloudflare/workerd/commits )
---
updated-dependencies:
- dependency-name: "@cloudflare/workers-types"
dependency-version: 4.20251205.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-08 10:33:36 +00:00
xixu-me
effcdbf471
Merge pull request #114 from xiinc1/dependabot/npm_and_yarn/cloudflare/vitest-pool-workers-0.10.10
...
deps(deps-dev): bump @cloudflare/vitest-pool-workers from 0.8.71 to 0.10.10
2025-11-24 14:48:13 +08:00
dependabot[bot]
a95190ddfc
deps(deps-dev): bump eslint from 9.34.0 to 9.39.1
...
Bumps [eslint](https://github.com/eslint/eslint ) from 9.34.0 to 9.39.1.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Commits](https://github.com/eslint/eslint/compare/v9.34.0...v9.39.1 )
---
updated-dependencies:
- dependency-name: eslint
dependency-version: 9.39.1
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-24 06:40:22 +00:00
dependabot[bot]
577dd80748
deps(deps-dev): bump @cloudflare/vitest-pool-workers
...
Bumps [@cloudflare/vitest-pool-workers](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/vitest-pool-workers ) from 0.8.71 to 0.10.10.
- [Release notes](https://github.com/cloudflare/workers-sdk/releases )
- [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/vitest-pool-workers/CHANGELOG.md )
- [Commits](https://github.com/cloudflare/workers-sdk/commits/@cloudflare/vitest-pool-workers@0.10.10/packages/vitest-pool-workers )
---
updated-dependencies:
- dependency-name: "@cloudflare/vitest-pool-workers"
dependency-version: 0.10.10
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-24 06:40:16 +00:00
dependabot[bot]
e13a55c909
deps(deps-dev): bump wrangler from 4.35.0 to 4.47.0
...
Bumps [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler ) from 4.35.0 to 4.47.0.
- [Release notes](https://github.com/cloudflare/workers-sdk/releases )
- [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/CHANGELOG.md )
- [Commits](https://github.com/cloudflare/workers-sdk/commits/wrangler@4.47.0/packages/wrangler )
---
updated-dependencies:
- dependency-name: wrangler
dependency-version: 4.47.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-17 11:29:34 +00:00
xixu-me
01081322cc
Revert "Convert Cloudflare Worker to Cloudflare Pages"
2025-11-16 23:29:53 +08:00
Claude
989e19dfed
Convert Cloudflare Worker to Cloudflare Pages
...
This commit converts the entire Xget application from a Cloudflare Worker
to a Cloudflare Page, enabling static asset hosting while maintaining all
existing functionality.
Changes:
- Add functions/[[path]].js: Catch-all Pages Function handler
- Add public/index.html: Landing page with Xget information
- Update src/index.js: Export handleRequest for Pages Function import
- Update wrangler.toml: Configure for Pages deployment
- Update package.json: Change scripts to use Pages commands
- Update vitest.config.js: Include functions/ in coverage
- Update .github/workflows/depoly.yml: Deploy to Pages
- Update documentation: CLAUDE.md, README.md, README.en.md
The conversion maintains full backward compatibility with existing tests
and functionality. All caching strategies, security headers, and protocol
handling remain unchanged.
2025-11-16 15:18:34 +00:00
xixu-me
57b54beb87
Add Podman support and update badges in docs
...
Added Podman deployment instructions and badges to both English and Chinese README files. Updated several badge colors for consistency. Introduced new scripts for badge color fixes. Updated dependencies in package.json and package-lock.json. Added scripts/README.md and scripts/fix-badge-colors.js for badge management.
2025-11-16 19:31:19 +08:00
xixu-me
6f587c9053
Revert "chore(deps): bump the npm_and_yarn group with 6 updates"
...
This reverts commit 4d95863e54 .
2025-11-07 13:34:36 +08:00
dependabot[bot]
02aa0d72d0
chore(deps): bump the npm_and_yarn group with 6 updates
...
Bumps the npm_and_yarn group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [express](https://github.com/expressjs/express ) | `4.21.2` | `5.1.0` |
| [@cloudflare/vitest-pool-workers](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/vitest-pool-workers ) | `0.8.71` | `0.10.5` |
| [@cloudflare/workers-types](https://github.com/cloudflare/workerd ) | `4.20250909.0` | `4.20251106.1` |
| [eslint](https://github.com/eslint/eslint ) | `9.34.0` | `9.39.1` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) | `3.2.4` | `4.0.7` |
| [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler ) | `4.35.0` | `4.46.0` |
Updates `express` from 4.21.2 to 5.1.0
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.21.2...v5.1.0 )
Updates `@cloudflare/vitest-pool-workers` from 0.8.71 to 0.10.5
- [Release notes](https://github.com/cloudflare/workers-sdk/releases )
- [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/vitest-pool-workers/CHANGELOG.md )
- [Commits](https://github.com/cloudflare/workers-sdk/commits/@cloudflare/vitest-pool-workers@0.10.5/packages/vitest-pool-workers )
Updates `@cloudflare/workers-types` from 4.20250909.0 to 4.20251106.1
- [Release notes](https://github.com/cloudflare/workerd/releases )
- [Changelog](https://github.com/cloudflare/workerd/blob/main/Dockerfile.release )
- [Commits](https://github.com/cloudflare/workerd/commits )
Updates `eslint` from 9.34.0 to 9.39.1
- [Release notes](https://github.com/eslint/eslint/releases )
- [Commits](https://github.com/eslint/eslint/compare/v9.34.0...v9.39.1 )
Updates `vitest` from 3.2.4 to 4.0.7
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.7/packages/vitest )
Updates `wrangler` from 4.35.0 to 4.46.0
- [Release notes](https://github.com/cloudflare/workers-sdk/releases )
- [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/CHANGELOG.md )
- [Commits](https://github.com/cloudflare/workers-sdk/commits/wrangler@4.46.0/packages/wrangler )
---
updated-dependencies:
- dependency-name: express
dependency-version: 5.1.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: npm_and_yarn
- dependency-name: "@cloudflare/vitest-pool-workers"
dependency-version: 0.10.5
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm_and_yarn
- dependency-name: "@cloudflare/workers-types"
dependency-version: 4.20251106.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm_and_yarn
- dependency-name: eslint
dependency-version: 9.39.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm_and_yarn
- dependency-name: vitest
dependency-version: 4.0.7
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm_and_yarn
- dependency-name: wrangler
dependency-version: 4.46.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-07 05:27:58 +00:00
dependabot[bot]
61ce4d3307
Bump the npm_and_yarn group across 1 directory with 3 updates
...
Bumps the npm_and_yarn group with 3 updates in the / directory: [devalue](https://github.com/sveltejs/devalue ), [@cloudflare/vitest-pool-workers](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/vitest-pool-workers ) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ).
Updates `devalue` from 4.3.3 to 5.3.2
- [Release notes](https://github.com/sveltejs/devalue/releases )
- [Changelog](https://github.com/sveltejs/devalue/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sveltejs/devalue/compare/v4.3.3...v5.3.2 )
Updates `@cloudflare/vitest-pool-workers` from 0.8.68 to 0.8.71
- [Release notes](https://github.com/cloudflare/workers-sdk/releases )
- [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/vitest-pool-workers/CHANGELOG.md )
- [Commits](https://github.com/cloudflare/workers-sdk/commits/@cloudflare/vitest-pool-workers@0.8.71/packages/vitest-pool-workers )
Updates `vite` from 7.1.3 to 7.1.5
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v7.1.5/packages/vite )
---
updated-dependencies:
- dependency-name: devalue
dependency-version: 5.3.2
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: "@cloudflare/vitest-pool-workers"
dependency-version: 0.8.71
dependency-type: direct:development
dependency-group: npm_and_yarn
- dependency-name: vite
dependency-version: 7.1.5
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-09 21:09:56 +00:00
xixu-me
d0a37eb472
Remove test README and update format scripts
...
Deleted test/README.md and updated the Prettier format scripts in package.json to exclude markdown files from formatting.
2025-09-03 02:42:58 +08:00
xixu-me
4b7ac5a335
Remove Vercel deployment support and related files
...
This commit removes all Vercel-specific files and configuration, including API handlers, configuration files, ignore files, and documentation references. Scripts related to Vercel deployment and development have also been deleted from package.json. The project is no longer intended to be deployed or run on Vercel.
2025-09-01 05:31:57 +08:00
xixu-me
75e7c3347b
Update dependencies in package.json and lockfile
...
Upgraded several development dependencies including @cloudflare/vitest-pool-workers, @cloudflare/unenv-preset, @cloudflare/workers-types, and related packages. This ensures compatibility with the latest features and bug fixes from upstream packages.
2025-08-27 14:21:57 +08:00
xixu-me
16be610502
Add express to dependencies and improve Dockerfile
...
Added express as a production dependency in package.json and updated the Dockerfile to install dependencies more efficiently using npm ci when package-lock.json is present. This streamlines the build process and ensures express is available in production environments.
2025-08-19 20:41:19 +08:00
xixu-me
5bc82d35ea
Add Vercel Edge Function support for Xget
...
Introduces Vercel deployment support by adding Edge Function handlers in the api directory, Vercel configuration files, and related ignore rules. Updates documentation to include Vercel one-click deployment instructions and badges. Adds Vercel-specific scripts to package.json for development and deployment workflows.
2025-08-17 17:41:34 +08:00
xixu-me
832d41774e
Add environment-based config and improve error handling
...
Introduces a createConfig function to generate configuration from environment variables, enabling dynamic overrides for deployment environments. Refactors request validation and error responses to use the new config and a standardized error response helper. Updates caching logic to only cache GET and HEAD requests, and rewrites response body handling for platform-specific URL rewrites. Sets package type to 'module' in package.json.
2025-08-06 13:43:20 +08:00
xixu-me
a29895e1a6
Update package.json
2025-08-04 14:05:31 +08:00
xixu-me
8af2983b16
Refactor ESLint config for improved readability
...
Reformatted the ESLint configuration file to use consistent array/object formatting and removed unnecessary quotes from rule names. No functional changes were made; this improves maintainability and clarity. Other config files had only minor formatting updates.
2025-07-25 12:01:29 +08:00
dependabot[bot]
f6b15389c5
Bump the npm_and_yarn group across 1 directory with 2 updates
...
---
updated-dependencies:
- dependency-name: esbuild
dependency-version: 0.25.5
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: wrangler
dependency-version: 4.26.0
dependency-type: direct:development
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-24 13:54:50 +00:00
xixu-me
d79a50a716
Update test tooling and scripts, add tsconfig.json
...
Modernizes test and lint scripts in package.json to use Vitest, Prettier, and ESLint directly. Updates devDependencies to latest versions. Adds a tsconfig.json for type checking and editor support. Improves test mocking in performance.test.js and updates documentation in README.md to reflect new test commands. Cleans up unused options in vitest.config.js.
2025-07-24 21:28:47 +08:00
xixu-me
f66247c846
Migrate issue templates to YAML and add contribution docs
...
Replaced Markdown issue templates with structured YAML templates for bug reports, feature requests, performance issues, deployment help, and platform support. Added .prettierrc.json and .prettierignore for code formatting, a detailed CONTRIBUTING.md, and a pull request template. Updated CODE_OF_CONDUCT.md and README.md to reference new contribution guidelines. Added ESLint config, test scripts, and initial test files to improve project maintainability and onboarding.
2025-07-24 21:05:13 +08:00
xixu-me
88d1139fc5
Refactor conda channel support and update docs
...
Added explicit support for conda community channels in platform config and request handling. Updated README with improved conda usage instructions, new .condarc and environment.yml examples, and clarified download/configuration steps. Removed Vitest test dependencies and test files from the project.
2025-07-24 14:49:21 +08:00
xixu-me
793a8ded53
Update dependencies in package.json
...
Updated devDependencies to newer versions for @cloudflare/vitest-pool-workers and vitest. Reorganized dependencies and devDependencies sections for clarity.
2025-06-04 12:10:48 +08:00
dependabot[bot]
c16687584d
Bump the npm_and_yarn group across 1 directory with 6 updates
...
Bumps the npm_and_yarn group with 4 updates in the / directory: [esbuild](https://github.com/evanw/esbuild ), [@cloudflare/vitest-pool-workers](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/vitest-pool-workers ), [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) and [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler ).
Updates `esbuild` from 0.17.19 to 0.25.5
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.17.19...v0.25.5 )
Updates `@cloudflare/vitest-pool-workers` from 0.5.24 to 0.8.34
- [Release notes](https://github.com/cloudflare/workers-sdk/releases )
- [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/vitest-pool-workers/CHANGELOG.md )
- [Commits](https://github.com/cloudflare/workers-sdk/commits/@cloudflare/vitest-pool-workers@0.8.34/packages/vitest-pool-workers )
Updates `vitest` from 2.0.5 to 3.2.0
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.0/packages/vitest )
Updates `wrangler` from 3.84.1 to 4.18.0
- [Release notes](https://github.com/cloudflare/workers-sdk/releases )
- [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/CHANGELOG.md )
- [Commits](https://github.com/cloudflare/workers-sdk/commits/wrangler@4.18.0/packages/wrangler )
Updates `undici` from 5.28.5 to 5.29.0
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.28.5...v5.29.0 )
Updates `vite` from 5.4.10 to 6.3.5
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v6.3.5/packages/vite )
---
updated-dependencies:
- dependency-name: esbuild
dependency-version: 0.25.5
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: "@cloudflare/vitest-pool-workers"
dependency-version: 0.8.34
dependency-type: direct:development
dependency-group: npm_and_yarn
- dependency-name: vitest
dependency-version: 3.2.0
dependency-type: direct:development
dependency-group: npm_and_yarn
- dependency-name: wrangler
dependency-version: 4.18.0
dependency-type: direct:development
dependency-group: npm_and_yarn
- dependency-name: undici
dependency-version: 5.29.0
dependency-type: indirect
dependency-group: npm_and_yarn
- dependency-name: vite
dependency-version: 6.3.5
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-02 15:30:50 +00:00
xixu-me
01468e8aaf
Fix something
2024-11-01 19:31:24 +08:00
xixu-me
ad37389d0c
Create some code
2024-11-01 19:08:30 +08:00