From 3c52f01ed69e5e38b0e29ad39ef51cae9fa5ae43 Mon Sep 17 00:00:00 2001 From: filmaj Date: Wed, 2 Mar 2022 14:05:57 -0500 Subject: [PATCH] Make clear this plugin does not work with arc 10, add peer dependency to try to denote this --- README.md | 6 +++++- package.json | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dbe53cf..346db8c 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,10 @@ repos, which are based on [Leonid Shevtov's deep dive into enabling direct-from- S3 uploads using browser-based POST requests to S3](https://leonid.shevtsov.me/post/demystifying-s3-browser-upload/). +## Requirements + +⚠️ At this time this plugin only works with Architect 8.6.0 up to 9.x; Architect 10 is **not** supported. + ## Installation 1. Install this plugin: `npm i arc-plugin-s3-image-bucket` @@ -113,7 +117,7 @@ thumbnails under the `thumb/` directory of the S3 image bucket this plugin creates. The sample app also configures an HTTP proxy such that requests to `img/*` get -redirected to `thumb/*` on the S3 image bucket. +redirected to `thumb/*` on the S3 image bucket. ### Testing Locally diff --git a/package.json b/package.json index 84fdd35..9d433e2 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,9 @@ "@architect/utils": "^2.0.5", "s3rver": "3.6.1" }, + "peerDependencies": { + "@architect/architect": ">=8.6.0 <10" + }, "eslintConfig": { "extends": "@architect/eslint-config", "rules": {