this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

move cloudflare from devDeps to dep since it is required at runtime (#779)

authored by

Pete Bacon Darwin and committed by
GitHub
224a2f05 79685086

+17 -5
+13
.changeset/social-bushes-laugh.md
··· 1 + --- 2 + "@opennextjs/cloudflare": patch 3 + --- 4 + 5 + Ensure that the `cloudflare` library is available at runtime 6 + 7 + Previously it was only a `devDependency` which meant it was missing in real life installations of the tool. 8 + 9 + The error looked like: 10 + 11 + ```text 12 + Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'cloudflare' imported from @opennextjs/cloudflare/dist/cli/commands/skew-protection.js 13 + ```
+1 -1
packages/cloudflare/package.json
··· 54 54 "dependencies": { 55 55 "@dotenvx/dotenvx": "catalog:", 56 56 "@opennextjs/aws": "3.7.0", 57 + "cloudflare": "^4.4.1", 57 58 "enquirer": "^2.4.1", 58 59 "glob": "catalog:", 59 60 "ts-tqdm": "^0.8.6" ··· 65 66 "@types/mock-fs": "catalog:", 66 67 "@types/node": "catalog:", 67 68 "@types/picomatch": "^4.0.0", 68 - "cloudflare": "^4.4.1", 69 69 "diff": "^8.0.2", 70 70 "esbuild": "catalog:", 71 71 "eslint": "catalog:",
+3 -4
pnpm-lock.yaml
··· 1037 1037 '@opennextjs/aws': 1038 1038 specifier: 3.7.0 1039 1039 version: 3.7.0 1040 + cloudflare: 1041 + specifier: ^4.4.1 1042 + version: 4.4.1 1040 1043 enquirer: 1041 1044 specifier: ^2.4.1 1042 1045 version: 2.4.1 ··· 1068 1071 '@types/picomatch': 1069 1072 specifier: ^4.0.0 1070 1073 version: 4.0.0 1071 - cloudflare: 1072 - specifier: ^4.4.1 1073 - version: 4.4.1 1074 1074 diff: 1075 1075 specifier: ^8.0.2 1076 1076 version: 8.0.2 ··· 7191 7191 7192 7192 libsql@0.4.7: 7193 7193 resolution: {integrity: sha512-T9eIRCs6b0J1SHKYIvD8+KCJMcWZ900iZyxdnSCdqxN12Z1ijzT+jY5nrk72Jw4B0HGzms2NgpryArlJqvc3Lw==} 7194 - cpu: [x64, arm64, wasm32] 7195 7194 os: [darwin, linux, win32] 7196 7195 7197 7196 lilconfig@2.1.0: