@shipstatic/ship 0.5.5 → 0.6.0
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/browser.d.ts +2 -7
- package/dist/browser.js +1 -11
- package/dist/browser.js.map +1 -1
- package/dist/cli.cjs +19 -19
- package/dist/cli.cjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -7
- package/dist/index.d.ts +2 -7
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -4
package/dist/browser.d.ts
CHANGED
|
@@ -540,7 +540,7 @@ declare function formatFileSize(bytes: number, decimals?: number): string;
|
|
|
540
540
|
* Validate files against configuration limits with severity-based reporting
|
|
541
541
|
*
|
|
542
542
|
* Validation categorizes issues by severity:
|
|
543
|
-
* - **Errors**: Block deployment (file too large,
|
|
543
|
+
* - **Errors**: Block deployment (file too large, blocked extension, etc.)
|
|
544
544
|
* - **Warnings**: Exclude files but allow deployment (empty files, etc.)
|
|
545
545
|
*
|
|
546
546
|
* @param files - Array of files to validate
|
|
@@ -594,11 +594,6 @@ declare function allValidFilesReady<T extends ValidatableFile>(files: T[]): bool
|
|
|
594
594
|
*/
|
|
595
595
|
declare function validateDeployPath(deployPath: string, sourceIdentifier: string): void;
|
|
596
596
|
|
|
597
|
-
/**
|
|
598
|
-
* Get MIME type from file path (browser-compatible, no Node.js dependencies)
|
|
599
|
-
*/
|
|
600
|
-
declare function getMimeType(path: string): string;
|
|
601
|
-
|
|
602
597
|
/**
|
|
603
598
|
* @file Platform configuration management for the Ship SDK.
|
|
604
599
|
* Implements fail-fast dynamic configuration with mandatory API fetch.
|
|
@@ -668,4 +663,4 @@ declare class Ship extends Ship$1 {
|
|
|
668
663
|
protected getDeployBodyCreator(): DeployBodyCreator;
|
|
669
664
|
}
|
|
670
665
|
|
|
671
|
-
export { type ApiDeployOptions, ApiHttp, type ApiHttpOptions, type DeployBody, type DeployBodyCreator, type DeployFile, type DeploymentOptions, type DeploymentResourceContext, type DomainSetResult, type ExecutionEnvironment, JUNK_DIRECTORIES, type MD5Result, type ResourceContext, Ship, type ShipClientOptions, type ShipEvents, __setTestEnvironment, allValidFilesReady, calculateMD5, createAccountResource, createDeploymentResource, createDomainResource, createTokenResource, Ship as default, filterJunk, formatFileSize, getCurrentConfig, getENV,
|
|
666
|
+
export { type ApiDeployOptions, ApiHttp, type ApiHttpOptions, type DeployBody, type DeployBodyCreator, type DeployFile, type DeploymentOptions, type DeploymentResourceContext, type DomainSetResult, type ExecutionEnvironment, JUNK_DIRECTORIES, type MD5Result, type ResourceContext, Ship, type ShipClientOptions, type ShipEvents, __setTestEnvironment, allValidFilesReady, calculateMD5, createAccountResource, createDeploymentResource, createDomainResource, createTokenResource, Ship as default, filterJunk, formatFileSize, getCurrentConfig, getENV, getValidFiles, mergeDeployOptions, optimizeDeployPaths, pluralize, processFilesForBrowser, resolveConfig, setConfig as setPlatformConfig, validateDeployPath, validateFiles };
|