Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed Dec 10, 2024
1 parent 61876d0 commit 0d13ac6
Show file tree
Hide file tree
Showing 5 changed files with 243 additions and 21 deletions.
17 changes: 4 additions & 13 deletions tests/fixture_precompile/invalid/deno.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
{
"lock": false,
"workspace": [],
"patch": ["../../.."],
"lock": true,
"compilerOptions": {
"jsx": "precompile",
"jsxImportSource": "preact"
},
"imports": {
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.10.3",
"@std/crypto": "jsr:@std/crypto@^0.224.0",
"@std/datetime": "jsr:@std/datetime@^0.224.0",
"@std/encoding": "jsr:@std/encoding@^0.224.0",
"@std/fmt": "jsr:@std/fmt@^0.224.0",
"@std/fs": "jsr:@std/fs@^0.224.0",
"@std/html": "jsr:@std/html@^0.224.0",
"@std/jsonc": "jsr:@std/jsonc@^0.224.0",
"@std/path": "jsr:@std/path@^0.224.0",
"@std/semver": "jsr:@std/semver@^0.224.0",
"preact": "npm:preact@^10.24.1",
"preact-render-to-string": "npm:preact-render-to-string@^6.4.2"
"preact": "npm:preact@^10.24.1"
}
}
190 changes: 190 additions & 0 deletions tests/fixture_precompile/invalid/deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 4 additions & 7 deletions tests/fixture_precompile/valid/deno.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
{
"lock": false,
"workspace": [],
"patch": ["../../.."],
"lock": true,
"compilerOptions": {
"jsx": "precompile",
"jsxImportSource": "preact",
"jsxPrecompileSkipElements": ["a", "img", "source", "body", "html", "head"]
},
"imports": {
"@std/encoding": "jsr:@std/encoding@^0.224.0",
"@std/fmt": "jsr:@std/fmt@^0.224.0",
"@std/html": "jsr:@std/html@^0.224.0",
"@std/path": "jsr:@std/path@^0.224.0",
"preact": "npm:preact@^10.24.1",
"preact-render-to-string": "npm:preact-render-to-string@^6.4.2"
"preact": "npm:preact@^10.24.1"
}
}
45 changes: 45 additions & 0 deletions tests/fixture_precompile/valid/deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion www/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"@std/media-types": "jsr:@std/media-types@1",
"@std/path": "jsr:@std/path@1",
"@std/semver": "jsr:@std/semver@1",
"@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0",
"autoprefixer": "npm:[email protected]",
"cssnano": "npm:[email protected]",
"esbuild": "npm:[email protected]",
Expand Down

0 comments on commit 0d13ac6

Please sign in to comment.