Migrate Fresh from 1.6.8 to 2.1.3 and move to JSR packages#16
Closed
Migrate Fresh from 1.6.8 to 2.1.3 and move to JSR packages#16
Conversation
Owner
|
@copilot Also update ci to use deno 2.x instead of 1 |
Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com>
Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com>
Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com>
Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update Deno Fresh to version 2.1 and migrate dependencies
Migrate Fresh from 1.6.8 to 2.1.3 and move to JSR packages
Oct 30, 2025
Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fresh 2.x moved from deno.land/x to JSR and requires npm packages for Preact. This PR migrates all imports and configurations to Fresh 2.1.3.
Changes
Fresh Framework
deno.land/x/fresh@1.6.8tojsr:@fresh/core@^2.1.3$fresh/*imports tofresh/*(22 files: routes, islands, components)fresh/server,fresh/dev,fresh/runtimePreact Dependencies
preact@^10.27.2@preact/signals@^2.3.2Configuration
nodeModulesDir: "auto"for npm package handlingupdate-freshtask to usejsr:@fresh/updateBefore/After
Deferred Migrations
The following deno.land/x packages remain and should be evaluated for JSR migration when access is available:
sqlite3@0.11.1- potential@db/sqlitecandidatexml@2.1.3- check for JSR alternativesfresh_seo@1.0.1,localekit_fresh@0.5.2- need Fresh 2.x compatibility verificationTesting Notes
FRESH_2_MIGRATION.mdfor testing checklist.> [!WARNING]
>
>
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.