Skip to content

Commit

Permalink
Fix builds (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
G4brym authored Dec 8, 2024
1 parent 40615ca commit 98ee972
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 12 deletions.
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2
updates:
- package-ecosystem: "npm"
directories:
- "/packages/worker"
- "/packages/github-action"
schedule:
interval: "weekly"
groups:
prod-deps:
dependency-type: "production"
dev-deps:
dependency-type: "development"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,7 @@ jobs:
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Check Lint
run: pnpm lint
- name: Build everything
run: pnpm build
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

#npm run lint
pnpm run lint
3 changes: 2 additions & 1 deletion packages/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"deploy-dev": "wrangler pages deploy --branch dev --project-name r2-explorer-dashboard dist/spa/"
},
"dependencies": {
"@quasar/extras": "^1.16.9",
"@quasar/extras": "^1.16.15",
"axios": "^1.2.1",
"fflate": "^0.8.1",
"html-to-text": "^9.0.5",
"pdfjs-dist": "2.5.207",
"pdfvuer": "^2.0.1",
"pinia": "^2.0.11",
"postal-mime": "^2.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/worker/config/preparePublish.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const fs = require("node:fs");

// Apply version numbers
const files = [
"packages/worker/src/settings.ts",
"packages/worker/src/foundation/settings.ts",
"packages/worker/package.json",
];

Expand Down
4 changes: 2 additions & 2 deletions packages/worker/src/modules/buckets/multipart/partUpload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export class PartUpload extends OpenAPIRoute {
body: {
content: {
"application/octet-stream": {
schema: {
schema: z.object({}).openapi({
type: "string",
format: "binary",
},
}),
},
},
},
Expand Down
4 changes: 2 additions & 2 deletions packages/worker/src/modules/buckets/putObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export class PutObject extends OpenAPIRoute {
body: {
content: {
"application/octet-stream": {
schema: {
schema: z.object({}).openapi({
type: "string",
format: "binary",
},
}),
},
},
},
Expand Down
13 changes: 8 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 98ee972

Please sign in to comment.