create-wirejs-deploy-amplify-basic 1.0.0 → 1.0.2
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/README.md +3 -0
- package/assets/customHttp.yml +15 -0
- package/bin.js +1 -1
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
customHeaders:
|
|
2
|
+
- pattern: '/images/*'
|
|
3
|
+
headers:
|
|
4
|
+
- key: 'Cache-Control'
|
|
5
|
+
value: 'private, max-age=600'
|
|
6
|
+
- pattern: '*.js'
|
|
7
|
+
headers:
|
|
8
|
+
- key: 'Cache-Control'
|
|
9
|
+
value: 'private, max-age=600'
|
|
10
|
+
- key: 'Content-Type'
|
|
11
|
+
value: 'text/javascript;charset=UTF-8'
|
|
12
|
+
- pattern: '*.html'
|
|
13
|
+
headers:
|
|
14
|
+
- key: 'Content-Type'
|
|
15
|
+
value: 'text/html;charset=UTF-8'
|
package/bin.js
CHANGED
|
@@ -15,7 +15,7 @@ Amplify configuration written. Your next steps:
|
|
|
15
15
|
git commit -m "added amplify deployment config"
|
|
16
16
|
git push
|
|
17
17
|
|
|
18
|
-
2. Visit
|
|
18
|
+
2. Visit https://us-east-2.console.aws.amazon.com/amplify/create/add-repo
|
|
19
19
|
3. Add your repository info and continue the setup.
|
|
20
20
|
|
|
21
21
|
After setup, Amplify will act as your CI/CD platform and deploy your app.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-wirejs-deploy-amplify-basic",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Initializes very basic Amplify deployment configuration.",
|
|
5
5
|
"author": "Jon Wire",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"files": [
|
|
18
18
|
"bin.js",
|
|
19
19
|
"package.json",
|
|
20
|
-
"assets/*"
|
|
20
|
+
"assets/*",
|
|
21
|
+
"README.md"
|
|
21
22
|
]
|
|
22
23
|
}
|