Skip to content

Commit 3c84076

Browse files
committed
comments
1 parent 6c78995 commit 3c84076

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
script: [prettier, lint, ts-check, test]
16+
script: [prettier:check, lint:check, ts:check, test]
1717
steps:
1818
- name: Check out code
1919
uses: actions/checkout@v4

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"prettier": "3.3.3"
99
},
1010
"scripts": {
11-
"prettier": "prettier --check .",
11+
"prettier:check": "prettier --check .",
1212
"prettier:fix": "prettier --write .",
13-
"lint": "pnpm -r lint:check",
13+
"lint:check": "pnpm -r lint:check",
1414
"lint:fix": "pnpm -r lint:fix",
15-
"ts-check": "pnpm -r ts-check",
15+
"ts:check": "pnpm -r ts-check",
1616
"test": "pnpm -r test",
17-
"code:checks": "pnpm lint:check && pnpm lint:check",
17+
"code:checks": "pnpm prettier:check && pnpm lint:check && pnpm ts:check",
1818
"code:fixes": "pnpm prettier:fix && pnpm lint:fix",
1919
"postinstall": "pnpm --filter cloudflare build",
2020
"install-playwright": "playwright install --with-deps",

packages/cloudflare/env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ declare global {
44
ASSETS: Fetcher;
55
__NEXT_PRIVATE_STANDALONE_CONFIG?: string;
66
SKIP_NEXT_APP_BUILD?: string;
7-
[key: string]: string | Fetcher;
7+
[key: string]: string;
88
}
99
}
1010
}

packages/cloudflare/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build:watch": "tsup --watch src",
88
"lint:check": "eslint",
99
"lint:fix": "eslint --fix",
10-
"ts-check": "tsc --noEmit",
10+
"ts:check": "tsc --noEmit",
1111
"test": "vitest --run",
1212
"test:watch": "vitest"
1313
},

packages/cloudflare/src/cli/build/patches/investigated/update-webpack-chunks-file/get-chunk-installation-identifiers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function getInstallChunkDeclaration(sourceFile: ts.SourceFile): ts.VariableDecla
5555

5656
// the function we're looking for accesses its parameter three times, and it
5757
// accesses its `modules`, `ids` and `runtime` properties (in this order)
58-
const parameterName = functionParameters[0]?.getText();
58+
const parameterName = functionParameters[0]!.getText();
5959
const functionParameterAccessedProperties = arrowFunctionBodyBlock
6060
.getDescendantsOfKind(ts.SyntaxKind.PropertyAccessExpression)
6161
.filter(

0 commit comments

Comments
 (0)