Skip to content

Commit c2de892

Browse files
committed
fix: configure storage-construct package for proper changeset versioning
- Set initial version to 0.1.0 for new package (changeset will bump to 1.0.0) - Add storage-construct to version check exceptions for 0.x.x versions - Update changeset description to reflect initial release rather than breaking change - Update package-lock.json with corrected version - Fix husky hooks with proper PATH configuration
1 parent fa3d730 commit c2de892

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.changeset/grumpy-icons-lie.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
'@aws-amplify/storage-construct': major
33
---
44

5-
Breaking change: Add grantAccess method pattern to AmplifyStorage construct
5+
Initial release of standalone AmplifyStorage construct package
66

7-
- Replace constructor-based access control with method-based pattern
8-
- Add `grantAccess(auth, accessDefinition)` method for post-construction access control
7+
- Create new `@aws-amplify/storage-construct` as standalone CDK L3 construct
8+
- Migrate AmplifyStorage implementation with CDK-native triggers
9+
- Add `grantAccess(auth, accessDefinition)` method for access control
910
- Add `StorageAccessDefinition` type for structured access configuration
10-
- Remove access prop from constructor (breaking change)
11-
- Maintain all existing S3 bucket functionality
11+
- Support all S3 bucket features (CORS, versioning, SSL enforcement, auto-delete)
12+
- Provide comprehensive TypeScript declarations and API documentation

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/storage-construct/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-amplify/storage-construct",
3-
"version": "1.0.0",
3+
"version": "0.1.0",
44
"type": "module",
55
"publishConfig": {
66
"access": "public"

scripts/check_package_versions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const packagePaths = await glob('./packages/*');
1111
const getExpectedMajorVersion = (packageName: string) => {
1212
switch (packageName) {
1313
case 'ampx':
14+
case '@aws-amplify/storage-construct':
1415
return '0.';
1516
case '@aws-amplify/backend-deployer':
1617
case '@aws-amplify/cli-core':

0 commit comments

Comments
 (0)