Skip to content

Commit

Permalink
fix: change dep to work on cf workers
Browse files Browse the repository at this point in the history
  • Loading branch information
rxri committed Dec 19, 2024
1 parent 72c8d82 commit e237c24
Show file tree
Hide file tree
Showing 11 changed files with 1,713 additions and 1,157 deletions.
4 changes: 2 additions & 2 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
trailingComma: 'all',
singleQuote: true,
trailingComma: "all",
singleQuote: true,
};
8 changes: 1 addition & 7 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.0/schema.json",
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"organizeImports": {
"enabled": true
},
Expand All @@ -24,11 +24,5 @@
"trailingCommas": "all",
"arrowParentheses": "asNeeded"
}
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true,
"defaultBranch": "master"
}
}
7 changes: 4 additions & 3 deletions nitro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ export default defineNitroConfig({
noPublicDir: true,
srcDir: "./src",
runtimeConfig: {
version: pkg.version
version: pkg.version,
},
alias: {
"@": join(__dirname, "src")
}
"@": join(__dirname, "src"),
},
compatibilityDate: "2024-12-19",
});
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "simple-proxy",
"private": true,
"version": "2.2.0",
"version": "2.3.0",
"scripts": {
"prepare": "nitropack prepare",
"dev": "nitropack dev",
Expand All @@ -12,16 +12,18 @@
"preinstall": "npx only-allow pnpm"
},
"dependencies": {
"fetch-cookie": "^3.0.1",
"h3": "^1.10.0",
"nitropack": "^2.8.1"
"fetch-cookie": "3.0.1",
"h3": "1.13.0",
"nitropack": "2.10.4",
"unenv": "1.10.0"
},
"devDependencies": {
"@rollup/wasm-node": "^4.9.4"
"@rollup/wasm-node": "^4.28.1"
},
"pnpm": {
"overrides": {
"rollup": "npm:@rollup/wasm-node"
"rollup": "npm:@rollup/wasm-node",
"tough-cookie": "npm:[email protected]"
}
}
}
Loading

0 comments on commit e237c24

Please sign in to comment.