@shipstatic/drop 2.7.0-beta.1 → 2.7.1

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 shipstatic
3
+ Copyright (c) 2025 ShipStatic
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @shipstatic/drop
2
2
 
3
- Headless file processing for Ship SDK deployments.
3
+ Headless file processing for ShipStatic deployments.
4
4
 
5
5
  A React hook that prepares files for deployment with [@shipstatic/ship](https://www.npmjs.com/package/@shipstatic/ship): drag & drop with folder support, ZIP extraction, path normalization, and validation against your account's real platform limits. No UI, full styling control.
6
6
 
@@ -273,12 +273,18 @@ vi.mock('@shipstatic/drop', () => ({ useDrop: mockUseDrop({ phase: 'ready' }) })
273
273
 
274
274
  ## Gotchas
275
275
 
276
- - **`webkitRelativePath` is the handoff.** Drop writes each file's deploy path there, and the Ship SDK reads it. Don't modify it in between.
276
+ - **`webkitRelativePath` is the handoff.** Drop writes each file's deploy path there, and the ShipStatic SDK reads it. Don't modify it in between.
277
277
  - **`stripCommonPrefix` mutates File objects.** It returns new `ProcessedFile`s but rewrites `webkitRelativePath` on the underlying `File` — deliberately, because that's what the SDK reads.
278
278
  - **Unreadable entries are skipped silently.** A folder with permission-denied files still deploys; the failures are logged to the console with no programmatic signal.
279
279
  - **No MD5 here.** Ship computes checksums during upload.
280
280
  - **`type` is the browser's report.** The platform derives `Content-Type` server-side from the path, so drop bundles no MIME database.
281
281
 
282
+ ## Also available
283
+
284
+ Part of [ShipStatic](https://shipstatic.com). This package is a building
285
+ block; the ways to actually deploy something are listed at
286
+ [shipstatic.com](https://shipstatic.com).
287
+
282
288
  ## License
283
289
 
284
290
  MIT