Skip to content

Commit 459db50

Browse files
authored
Merge branch 'production' into max/zt/intune-cert
2 parents 77f6cbf + c4835aa commit 459db50

File tree

236 files changed

+4368
-2450
lines changed

Some content is hidden

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

236 files changed

+4368
-2450
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,11 @@
123123
/src/content/docs/workers/runtime-apis/bindings/ @irvinebroque @mikenomitch @GregBrimble @cloudflare/pcx-technical-writing
124124
/src/content/docs/workers/platform/ @irvinebroque @tanushree-sharma @GregBrimble @cloudflare/deploy-config @cloudflare/pcx-technical-writing
125125
/src/content/docs/workers/configuration/compatibility-dates/ @irvinebroque @mikenomitch @GregBrimble @cloudflare/deploy-config @cloudflare/pcx-technical-writing
126+
/src/content/docs/workers/configuration/compatibility-flags/ @irvinebroque @mikenomitch @GregBrimble @cloudflare/deploy-config @cloudflare/pcx-technical-writing
127+
126128
/src/content/docs/workers/reference/migrate-to-module-workers/ @irvinebroque @GregBrimble @cloudflare/deploy-config @cloudflare/pcx-technical-writing
127129
/src/content/docs/workers/reference/security-model/ @irvinebroque @GregBrimble @cloudflare/pcx-technical-writing
128-
/src/content/compatibility-dates/ @irvinebroque @kflansburg @mikenomitch @GregBrimble @cloudflare/pcx-technical-writing
130+
/src/content/compatibility-dates/ @irvinebroque @mikenomitch @GregBrimble @cloudflare/pcx-technical-writing
129131
/src/content/docs/workers/wrangler/ @penalosa @petebacondarwin @dario-piotrowicz @irvinebroque @GregBrimble @cloudflare/pcx-technical-writing
130132
/src/content/docs/workers/frameworks/ @igorminar @dario-piotrowicz @jculvey @aninibread @GregBrimble @cloudflare/pcx-technical-writing
131133
/src/content/docs/pages/framework-guides/ @igorminar @dario-piotrowicz @jculvey @aninibread @GregBrimble @tanushree-sharma @cloudflare/pcx-technical-writing

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
NODE_OPTIONS: "--max-old-space-size=4192"
3838
RUN_LINK_CHECK: true
3939

40+
- run: npm run check:worker
41+
4042
- uses: actions/cache/save@v4
4143
with:
4244
path: |

.prettierrc.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @ts-check
12
/** @type {import("prettier").Config} */
23
export default {
34
plugins: ["prettier-plugin-astro"],

astro.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ export default defineConfig({
177177
? [
178178
starlightLinksValidator({
179179
errorOnInvalidHashes: false,
180+
errorOnLocalLinks: false,
180181
exclude: [
181182
"/api/",
182183
"/api/operations/**",

ec.config.mjs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @ts-check
12
import darkTheme from "solarflare-theme/themes/cloudflare-dark-color-theme.json" with { type: "json" };
23
import lightTheme from "solarflare-theme/themes/cloudflare-light-color-theme.json" with { type: "json" };
34

@@ -6,6 +7,9 @@ import { h } from "@expressive-code/core/hast";
67

78
import lzstring from "lz-string";
89

10+
/**
11+
* @param {string} code
12+
*/
913
export function serialiseWorker(code) {
1014
const formData = new FormData();
1115

@@ -29,6 +33,9 @@ export function serialiseWorker(code) {
2933
return formData;
3034
}
3135

36+
/**
37+
* @param {FormData} worker
38+
*/
3239
export async function compressWorker(worker) {
3340
const serialisedWorker = new Response(worker);
3441
return lzstring.compressToEncodedURIComponent(
@@ -92,7 +99,10 @@ function outputCodeblocks() {
9299
},
93100
postprocessRenderedBlock: async (context) => {
94101
if (!context.codeBlock.meta.includes("output")) return;
95-
context.renderData.blockAst.properties.className.push("code-output");
102+
context.renderData.blockAst.properties.className ??= [];
103+
if (Array.isArray(context.renderData.blockAst.properties.className)) {
104+
context.renderData.blockAst.properties.className.push("code-output");
105+
}
96106
context.addStyles(`
97107
div.expressive-code:has(figure.code-output) {
98108
margin-top: 0 !important;

0 commit comments

Comments
 (0)