@bref.sh/layers 2.0.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.
@@ -0,0 +1,5 @@
1
+ <component name="ProjectCodeStyleConfiguration">
2
+ <state>
3
+ <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
4
+ </state>
5
+ </component>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="JavaScriptLibraryMappings">
4
+ <includedPredefinedLibrary name="Node.js Core" />
5
+ </component>
6
+ </project>
package/.idea/misc.xml ADDED
@@ -0,0 +1,30 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ComposerJsonPluginSettings">
4
+ <unboundedVersionInspectionSettings>
5
+ <excludedPackages />
6
+ </unboundedVersionInspectionSettings>
7
+ <customRepositories />
8
+ <composerUpdateOptions />
9
+ </component>
10
+ <component name="ComposerSettings" synchronizationState="SYNCHRONIZE">
11
+ <execution>
12
+ <executable path="composer" />
13
+ </execution>
14
+ </component>
15
+ <component name="PhpWorkspaceProjectConfiguration" interpreter_name="PHP 8.0" />
16
+ <component name="accountSettings">
17
+ <option name="activeProfile" value="profile:default" />
18
+ <option name="activeRegion" value="us-east-1" />
19
+ <option name="recentlyUsedProfiles">
20
+ <list>
21
+ <option value="profile:default" />
22
+ </list>
23
+ </option>
24
+ <option name="recentlyUsedRegions">
25
+ <list>
26
+ <option value="us-east-1" />
27
+ </list>
28
+ </option>
29
+ </component>
30
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/npm-layers.iml" filepath="$PROJECT_DIR$/.idea/npm-layers.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$">
5
+ <excludeFolder url="file://$MODULE_DIR$/temp" />
6
+ <excludeFolder url="file://$MODULE_DIR$/.tmp" />
7
+ <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
+ </content>
9
+ <orderEntry type="inheritedJdk" />
10
+ <orderEntry type="sourceFolder" forTests="false" />
11
+ </component>
12
+ </module>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Matthieu Napoli
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
package/layers.js ADDED
@@ -0,0 +1,4 @@
1
+ // Expose the JSON data as a JS dependency for easier use in programmatic environments
2
+ module.exports = {
3
+ versions: require('./layers.json'),
4
+ };
package/layers.json ADDED
@@ -0,0 +1,163 @@
1
+ {
2
+ "php-82": {
3
+ "af-south-1": "",
4
+ "ap-east-1": "",
5
+ "ap-northeast-1": "",
6
+ "ap-northeast-2": "",
7
+ "ap-northeast-3": "",
8
+ "ap-south-1": "",
9
+ "ap-southeast-1": "",
10
+ "ap-southeast-2": "",
11
+ "ca-central-1": "",
12
+ "eu-central-1": "",
13
+ "eu-north-1": "",
14
+ "eu-south-1": "",
15
+ "eu-west-1": "",
16
+ "eu-west-2": "",
17
+ "eu-west-3": "",
18
+ "me-south-1": "",
19
+ "sa-east-1": "",
20
+ "us-east-1": "",
21
+ "us-east-2": "",
22
+ "us-west-1": "",
23
+ "us-west-2": ""
24
+ },
25
+ "php-82-fpm": {
26
+ "af-south-1": "",
27
+ "ap-east-1": "",
28
+ "ap-northeast-1": "",
29
+ "ap-northeast-2": "",
30
+ "ap-northeast-3": "",
31
+ "ap-south-1": "",
32
+ "ap-southeast-1": "",
33
+ "ap-southeast-2": "",
34
+ "ca-central-1": "",
35
+ "eu-central-1": "",
36
+ "eu-north-1": "",
37
+ "eu-south-1": "",
38
+ "eu-west-1": "",
39
+ "eu-west-2": "",
40
+ "eu-west-3": "",
41
+ "me-south-1": "",
42
+ "sa-east-1": "",
43
+ "us-east-1": "",
44
+ "us-east-2": "",
45
+ "us-west-1": "",
46
+ "us-west-2": ""
47
+ },
48
+ "php-81": {
49
+ "af-south-1": "",
50
+ "ap-east-1": "",
51
+ "ap-northeast-1": "1",
52
+ "ap-northeast-2": "1",
53
+ "ap-northeast-3": "1",
54
+ "ap-south-1": "1",
55
+ "ap-southeast-1": "1",
56
+ "ap-southeast-2": "1",
57
+ "ca-central-1": "2",
58
+ "eu-central-1": "2",
59
+ "eu-north-1": "2",
60
+ "eu-south-1": "",
61
+ "eu-west-1": "2",
62
+ "eu-west-2": "2",
63
+ "eu-west-3": "2",
64
+ "me-south-1": "",
65
+ "sa-east-1": "2",
66
+ "us-east-1": "2",
67
+ "us-east-2": "2",
68
+ "us-west-1": "2",
69
+ "us-west-2": "2"
70
+ },
71
+ "php-81-fpm": {
72
+ "af-south-1": "",
73
+ "ap-east-1": "",
74
+ "ap-northeast-1": "1",
75
+ "ap-northeast-2": "1",
76
+ "ap-northeast-3": "1",
77
+ "ap-south-1": "1",
78
+ "ap-southeast-1": "1",
79
+ "ap-southeast-2": "1",
80
+ "ca-central-1": "2",
81
+ "eu-central-1": "2",
82
+ "eu-north-1": "2",
83
+ "eu-south-1": "",
84
+ "eu-west-1": "2",
85
+ "eu-west-2": "2",
86
+ "eu-west-3": "2",
87
+ "me-south-1": "",
88
+ "sa-east-1": "2",
89
+ "us-east-1": "2",
90
+ "us-east-2": "2",
91
+ "us-west-1": "2",
92
+ "us-west-2": "2"
93
+ },
94
+ "php-80": {
95
+ "af-south-1": "",
96
+ "ap-east-1": "",
97
+ "ap-northeast-1": "1",
98
+ "ap-northeast-2": "1",
99
+ "ap-northeast-3": "1",
100
+ "ap-south-1": "3",
101
+ "ap-southeast-1": "1",
102
+ "ap-southeast-2": "3",
103
+ "ca-central-1": "4",
104
+ "eu-central-1": "4",
105
+ "eu-north-1": "4",
106
+ "eu-south-1": "",
107
+ "eu-west-1": "4",
108
+ "eu-west-2": "4",
109
+ "eu-west-3": "4",
110
+ "me-south-1": "",
111
+ "sa-east-1": "4",
112
+ "us-east-1": "4",
113
+ "us-east-2": "4",
114
+ "us-west-1": "4",
115
+ "us-west-2": "4"
116
+ },
117
+ "php-80-fpm": {
118
+ "af-south-1": "",
119
+ "ap-east-1": "",
120
+ "ap-northeast-1": "1",
121
+ "ap-northeast-2": "1",
122
+ "ap-northeast-3": "1",
123
+ "ap-south-1": "1",
124
+ "ap-southeast-1": "1",
125
+ "ap-southeast-2": "1",
126
+ "ca-central-1": "2",
127
+ "eu-central-1": "2",
128
+ "eu-north-1": "2",
129
+ "eu-south-1": "",
130
+ "eu-west-1": "2",
131
+ "eu-west-2": "2",
132
+ "eu-west-3": "2",
133
+ "me-south-1": "",
134
+ "sa-east-1": "2",
135
+ "us-east-1": "2",
136
+ "us-east-2": "2",
137
+ "us-west-1": "2",
138
+ "us-west-2": "2"
139
+ },
140
+ "console": {
141
+ "af-south-1": "",
142
+ "ap-east-1": "",
143
+ "ap-northeast-1": "1",
144
+ "ap-northeast-2": "1",
145
+ "ap-northeast-3": "1",
146
+ "ap-south-1": "1",
147
+ "ap-southeast-1": "1",
148
+ "ap-southeast-2": "1",
149
+ "ca-central-1": "2",
150
+ "eu-central-1": "2",
151
+ "eu-north-1": "2",
152
+ "eu-south-1": "",
153
+ "eu-west-1": "2",
154
+ "eu-west-2": "2",
155
+ "eu-west-3": "2",
156
+ "me-south-1": "",
157
+ "sa-east-1": "2",
158
+ "us-east-1": "2",
159
+ "us-east-2": "2",
160
+ "us-west-1": "2",
161
+ "us-west-2": "2"
162
+ }
163
+ }
package/package.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "@bref.sh/layers",
3
+ "version": "2.0.0",
4
+ "description": "Bref.sh AWS Lambda layers",
5
+ "repository": "brefphp/layers.js",
6
+ "license": "MIT",
7
+ "main": "layers.js",
8
+ "scripts": {
9
+ "update": "node scripts/update.js"
10
+ },
11
+ "devDependencies": {
12
+ "@aws-sdk/client-lambda": "^3.192.0",
13
+ "chunk": "^0.0.3"
14
+ },
15
+ "engines": {
16
+ "node": ">=12.12"
17
+ }
18
+ }