bunki 0.5.1 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -31522,16 +31522,16 @@ class S3Uploader {
31522
31522
  try {
31523
31523
  const imagePath = path6.join(imagesDir, imageFile);
31524
31524
  const filename = path6.basename(imagePath);
31525
- console.log(`[S3] Uploading image ${imagePath} to S3 bucket ${this.s3Config.bucket}/${filename}...`);
31525
+ console.log(`[S3] Uploading image ${imagePath} to S3 bucket ${this.s3Config.bucket}/${imageFile}...`);
31526
31526
  const file = Bun.file(imagePath);
31527
31527
  const contentType = file.type;
31528
31528
  if (process.env.BUNKI_DRY_RUN === "true") {
31529
- console.log(`[S3] Dry run: would upload ${filename} with content type ${contentType}`);
31529
+ console.log(`[S3] Dry run: would upload ${imageFile} with content type ${contentType}`);
31530
31530
  } else {
31531
- const s3File = this.client.file(filename);
31531
+ const s3File = this.client.file(imageFile);
31532
31532
  await s3File.write(file);
31533
31533
  }
31534
- const imageUrl = this.getPublicUrl(filename);
31534
+ const imageUrl = this.getPublicUrl(imageFile);
31535
31535
  console.log(`[S3] Image uploaded to ${imageUrl}`);
31536
31536
  imageUrls[imageFile] = imageUrl;
31537
31537
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bunki",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "An opinionated static site generator built with Bun featuring PostCSS integration and modern web development workflows",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -59,15 +59,15 @@
59
59
  "slugify": "^1.6.6"
60
60
  },
61
61
  "devDependencies": {
62
- "@tailwindcss/postcss": "^4.1.14",
62
+ "@tailwindcss/postcss": "^4.1.15",
63
63
  "@types/nunjucks": "^3.2.6",
64
64
  "@types/sanitize-html": "^2.16.0",
65
65
  "autoprefixer": "^10.4.20",
66
66
  "bun-types": "^1.3.0",
67
67
  "husky": "^9.1.7",
68
- "lint-staged": "^16.2.4",
68
+ "lint-staged": "^16.2.5",
69
69
  "prettier": "^3.6.2",
70
- "tailwindcss": "^4.1.14",
70
+ "tailwindcss": "^4.1.15",
71
71
  "typescript": "^5.9.3"
72
72
  },
73
73
  "peerDependencies": {