Skip to content

Commit 054e568

Browse files
committed
Merge branch 'main' into rename-FreshContext-req-to-request
2 parents e341f43 + 1218038 commit 054e568

165 files changed

Lines changed: 8889 additions & 3552 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
uses: denoland/setup-deno@v2
2323
with:
2424
cache: true
25-
deno-version: rc
2625

2726
- name: Build step
2827
working-directory: ./www
@@ -32,5 +31,5 @@ jobs:
3231
uses: denoland/deployctl@v1
3332
with:
3433
project: "fresh"
35-
entrypoint: "./www/main.ts"
34+
entrypoint: "./www/_fresh/server.js"
3635
root: "."

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
working-directory: ./plugin-tailwindcss
3232
run: deno publish
3333

34+
- name: Publish @fresh/plugin-tailwindcss-v3
35+
working-directory: ./plugin-tailwindcss-v3
36+
run: deno publish
37+
3438
- name: Publish @fresh/update
3539
working-directory: ./update
3640
run: deno publish

deno.json

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
{
2+
"nodeModulesDir": "auto",
23
"workspace": [
34
"./examples",
45
"./init",
56
"./plugin-tailwindcss",
7+
"./plugin-tailwindcss-v3",
68
"./update",
79
"./www"
810
],
911
"name": "@fresh/core",
10-
"version": "2.0.0-alpha.34",
12+
"version": "2.0.0-alpha.46",
1113
"license": "MIT",
1214
"exports": {
1315
".": "./src/mod.ts",
1416
"./runtime": "./src/runtime/shared.ts",
1517
"./dev": "./src/dev/mod.ts",
16-
"./compat": "./src/compat.ts"
18+
"./compat": "./src/compat.ts",
19+
"./do-not-use": "./src/internals.ts"
1720
},
1821
"tasks": {
1922
"test": "deno test -A --parallel",
@@ -42,21 +45,20 @@
4245
},
4346
"imports": {
4447
"@deno/doc": "jsr:@deno/doc@^0.172.0",
45-
"@std/cli": "jsr:@std/cli@^1.0.17",
46-
"@std/collections": "jsr:@std/collections@^1.0.11",
48+
"@deno/esbuild-plugin": "jsr:@deno/esbuild-plugin@^1.1.1",
49+
"@std/cli": "jsr:@std/cli@^1.0.19",
50+
"@std/collections": "jsr:@std/collections@^1.1.2",
4751
"@std/http": "jsr:@std/http@^1.0.15",
4852
"@std/uuid": "jsr:@std/uuid@^1.0.7",
49-
"fresh": "jsr:@fresh/core@^2.0.0-alpha.29",
50-
"preact": "npm:preact@^10.26.6",
53+
"docsearch": "https://esm.sh/@docsearch/js@3.5.2?target=es2020",
54+
"esbuild": "npm:esbuild@^0.25.8",
55+
"esbuild-wasm": "npm:esbuild-wasm@^0.25.8",
56+
"fresh": "jsr:@fresh/core@^2.0.0-alpha.37",
57+
"preact": "npm:preact@^10.26.9",
5158
"preact-render-to-string": "npm:preact-render-to-string@^6.5.11",
5259
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
53-
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.11.0",
5460
"@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0",
55-
"@preact/signals": "npm:@preact/signals@^2.0.4",
56-
"esbuild": "npm:esbuild@0.25.4",
57-
"esbuild-wasm": "npm:esbuild-wasm@0.25.4",
58-
"@std/crypto": "jsr:@std/crypto@1",
59-
"@std/datetime": "jsr:@std/datetime@^0.225.2",
61+
"@preact/signals": "npm:@preact/signals@^2.2.1",
6062
"@std/encoding": "jsr:@std/encoding@1",
6163
"@std/fmt": "jsr:@std/fmt@^1.0.7",
6264
"@std/fs": "jsr:@std/fs@1",
@@ -74,19 +76,15 @@
7476
"@std/expect": "jsr:@std/expect@^1.0.16",
7577
"@std/testing": "jsr:@std/testing@^1.0.12",
7678

77-
"autoprefixer": "npm:autoprefixer@10.4.17",
78-
"cssnano": "npm:cssnano@6.0.3",
79-
"postcss": "npm:postcss@8.4.35",
80-
"tailwindcss": "npm:tailwindcss@^3.4.1",
79+
"@tailwindcss/postcss": "npm:@tailwindcss/postcss@^4.1.10",
80+
"tailwindcss": "npm:tailwindcss@^4.1.10",
81+
"postcss": "npm:postcss@8.5.6",
8182

82-
"ts-morph": "npm:ts-morph@^25.0.1",
83+
"ts-morph": "npm:ts-morph@^26.0.0",
8384

84-
"@fresh/plugin-tailwind": "jsr:@fresh/plugin-tailwind@^0.0.1-alpha.7",
8585
"@std/front-matter": "jsr:@std/front-matter@^1.0.5",
86-
"fresh/compat": "./src/compat/mod.ts",
87-
"fresh/dev": "./src/dev/mod.ts",
88-
"fresh/runtime": "./src/runtime/shared.ts",
8986
"github-slugger": "npm:github-slugger@^2.0.0",
87+
"imagescript": "https://deno.land/x/imagescript@1.3.0/mod.ts",
9088
"marked": "npm:marked@^15.0.11",
9189
"marked-mangle": "npm:marked-mangle@^1.1.9",
9290
"prismjs": "npm:prismjs@^1.29.0"
@@ -103,5 +101,8 @@
103101
"exclude": ["no-window"],
104102
"include": ["no-console"]
105103
}
104+
},
105+
"fmt": {
106+
"exclude": ["./www/static/**/*.svg"]
106107
}
107108
}

0 commit comments

Comments
 (0)