Skip to content

Commit 34f032c

Browse files
authored
Merge branch 'main' into docs/builder-to-vite-migration
2 parents 656f084 + 724879d commit 34f032c

23 files changed

Lines changed: 2064 additions & 200 deletions

File tree

.github/workflows/post_publish.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,12 @@ jobs:
1313
- name: Checkout repo
1414
uses: actions/checkout@v6
1515

16-
- name: Authenticate with Google Cloud
17-
uses: google-github-actions/auth@v3
18-
with:
19-
project_id: denoland
20-
credentials_json: ${{ secrets.GCP_SA_KEY }}
21-
export_environment_variables: true
22-
create_credentials_file: true
23-
24-
- name: Setup gcloud
25-
uses: google-github-actions/setup-gcloud@v3
26-
with:
27-
project_id: denoland
28-
2916
- name: Upload version file to dl.deno.land
17+
env:
18+
AWS_ACCESS_KEY_ID: ${{ vars.S3_ACCESS_KEY_ID }}
19+
AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
20+
AWS_ENDPOINT_URL_S3: ${{ vars.S3_ENDPOINT }}
21+
AWS_DEFAULT_REGION: ${{ vars.S3_REGION }}
3022
run: |
3123
cat packages/fresh/deno.json | jq -r ".version" > release-latest.txt
32-
gsutil -h "Cache-Control: no-cache" cp release-latest.txt gs://dl.deno.land/fresh/release-latest.txt
24+
aws s3 cp release-latest.txt s3://dl-deno-land/fresh/release-latest.txt --cache-control "no-cache"

deno.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/fresh/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fresh/core",
3-
"version": "2.3.1",
3+
"version": "2.3.3",
44
"license": "MIT",
55
"exports": {
66
".": "./src/mod.ts",

packages/fresh/src/runtime/client/dev_hmr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { IS_BROWSER } from "../shared.ts";
33
let ws: WebSocket;
44
let revision = 0;
55

6-
let reconnectTimer: number;
6+
let reconnectTimer: ReturnType<typeof setTimeout>;
77
const backoff = [
88
// Wait 100ms initially, because we could also be
99
// disconnected because of a form submit.

packages/init/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fresh/init",
3-
"version": "2.3.1",
3+
"version": "2.3.3",
44
"license": "MIT",
55
"exports": {
66
".": "./src/mod.ts",

packages/init/src/init.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import * as semver from "@std/semver";
55
import initConfig from "../deno.json" with { type: "json" };
66

77
// Keep these as is, as we replace these version in our release script
8-
const FRESH_VERSION = "2.3.1";
8+
const FRESH_VERSION = "2.3.3";
99
const FRESH_TAILWIND_VERSION = "1.0.0";
10-
const FRESH_VITE_PLUGIN = "1.1.0";
10+
const FRESH_VITE_PLUGIN = "1.1.2";
1111
const PREACT_VERSION = "10.29.1";
1212
const PREACT_SIGNALS_VERSION = "2.9.0";
1313
const TAILWINDCSS_VERSION = "4.1.10";
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exports.value = "ok";

packages/plugin-vite/demo/fixtures/commonjs_mod.js

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
"use strict";
2+
// deno-lint-ignore no-var
3+
var __importDefault = (this && this.__importDefault) || function (mod) {
4+
return (mod && mod.__esModule) ? mod : { "default": mod };
5+
};
6+
Object.defineProperty(exports, "__esModule", { value: true });
7+
const assert_1 = __importDefault(require("assert"));
8+
(0, assert_1.default)(true);

packages/plugin-vite/demo/fixtures/maxmind.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)