Compare commits
2 Commits
160324751e
...
11f896f12b
Author | SHA1 | Date | |
---|---|---|---|
11f896f12b | |||
130ccd949b |
@ -199,8 +199,7 @@ export async function Check()
|
|||||||
const optionsRequired =
|
const optionsRequired =
|
||||||
{
|
{
|
||||||
"lib": ["deno.window", "dom", "dom.iterable", "dom.asynciterable"],
|
"lib": ["deno.window", "dom", "dom.iterable", "dom.asynciterable"],
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx"
|
||||||
"jsxImportSource": importMap["react"]
|
|
||||||
}
|
}
|
||||||
const optionsCurrent = config.json.compilerOptions as Record<string, string|string[]> || {};
|
const optionsCurrent = config.json.compilerOptions as Record<string, string|string[]> || {};
|
||||||
//const compLib:string[] = compOpts.lib as string[] || [];
|
//const compLib:string[] = compOpts.lib as string[] || [];
|
||||||
@ -218,7 +217,6 @@ export async function Check()
|
|||||||
});
|
});
|
||||||
|
|
||||||
optionsCurrent.jsx = optionsRequired.jsx;
|
optionsCurrent.jsx = optionsRequired.jsx;
|
||||||
optionsCurrent.jsxImportSource = optionsRequired.jsxImportSource;
|
|
||||||
config.json.compilerOptions = optionsCurrent;
|
config.json.compilerOptions = optionsCurrent;
|
||||||
|
|
||||||
await bake(imports);
|
await bake(imports);
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
"react-original/": "https://esm.sh/preact@10.20.2/compat/",
|
"react-original/": "https://esm.sh/preact@10.20.2/compat/",
|
||||||
"react/": "https://esm.sh/preact@10.20.2/compat/",
|
"react/": "https://esm.sh/preact@10.20.2/compat/",
|
||||||
"@preact/signals": "https://esm.sh/@preact/signals@1.2.3?deps=preact@10.20.2",
|
"@preact/signals": "https://esm.sh/@preact/signals@1.2.3?deps=preact@10.20.2",
|
||||||
|
"signals-original": "https://esm.sh/@preact/signals@1.2.3?deps=preact@10.20.2",
|
||||||
"@twind/core": "https://esm.sh/v126/@twind/core@1.1.3/es2022/core.mjs",
|
"@twind/core": "https://esm.sh/v126/@twind/core@1.1.3/es2022/core.mjs",
|
||||||
|
|
||||||
">other/": "https://esm.sh/",
|
">other/": "https://esm.sh/",
|
||||||
@ -22,11 +23,6 @@
|
|||||||
},
|
},
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
"jsxImportSource": "https://esm.sh/preact@10.20.2/compat",
|
"lib": ["deno.window", "dom", "dom.iterable", "dom.asynciterable"]
|
||||||
"lib": [
|
|
||||||
"deno.window",
|
|
||||||
"dom",
|
|
||||||
"dom.asynciterable"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
56
things.md
56
things.md
@ -1,56 +0,0 @@
|
|||||||
# Outpost
|
|
||||||
|
|
||||||
## Deno Deploy
|
|
||||||
```
|
|
||||||
accept: */*
|
|
||||||
accept-encoding: gzip, br
|
|
||||||
accept-language: *
|
|
||||||
cdn-loop: deno;s=deno;d=ah40t9m8n54g
|
|
||||||
host: bad-goat-66.deno.dev
|
|
||||||
user-agent: Deno/1.34.1
|
|
||||||
```
|
|
||||||
|
|
||||||
## Deno
|
|
||||||
```
|
|
||||||
accept: */*
|
|
||||||
accept-encoding: gzip, br
|
|
||||||
accept-language: *
|
|
||||||
host: bad-goat-66.deno.dev
|
|
||||||
user-agent: Deno/1.34.3
|
|
||||||
```
|
|
||||||
|
|
||||||
## Edge
|
|
||||||
```
|
|
||||||
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
|
|
||||||
accept-encoding: gzip, deflate, br
|
|
||||||
accept-language: en-US,en;q=0.9
|
|
||||||
host: bad-goat-66.deno.dev
|
|
||||||
referer: https://dash.deno.com/
|
|
||||||
sec-ch-ua: "Microsoft Edge";v="117", "Not;A=Brand";v="8", "Chromium";v="117"
|
|
||||||
sec-ch-ua-mobile: ?0
|
|
||||||
sec-ch-ua-platform: "Windows"
|
|
||||||
sec-fetch-dest: iframe
|
|
||||||
sec-fetch-mode: navigate
|
|
||||||
sec-fetch-site: cross-site
|
|
||||||
upgrade-insecure-requests: 1
|
|
||||||
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.0.0
|
|
||||||
```
|
|
||||||
|
|
||||||
## Firefox
|
|
||||||
```
|
|
||||||
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
|
|
||||||
accept-encoding: gzip, deflate, br
|
|
||||||
accept-language: en-US,en;q=0.5
|
|
||||||
host: bad-goat-66.deno.dev
|
|
||||||
sec-fetch-dest: document
|
|
||||||
sec-fetch-mode: navigate
|
|
||||||
sec-fetch-site: cross-site
|
|
||||||
te: trailers
|
|
||||||
upgrade-insecure-requests: 1
|
|
||||||
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
|
|
||||||
```
|
|
||||||
|
|
||||||
When a requet comes in:
|
|
||||||
- if its for a transpile-able document:
|
|
||||||
- if its a request from deno:
|
|
||||||
-
|
|
Loading…
Reference in New Issue
Block a user