serverless-plugin-env-stage-config 1.4.0 → 1.4.1
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 +4 -1
- package/package.json +7 -10
package/README.md
CHANGED
|
@@ -3,10 +3,13 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/serverless-plugin-env-stage-config)
|
|
4
4
|
[](https://github.com/xojs/xo)
|
|
5
5
|
|
|
6
|
-
This [Serverless](
|
|
6
|
+
This [Serverless](https://github.com/oss-serverless/serverless) plugin allows to define environment variable configuration files for stages.
|
|
7
7
|
It exposes a new variable resolver (`$esc`) that automatically picks the correct value based on the selected stage.
|
|
8
8
|
For development stages (`local`, `dev`, `development`), the variables will default to the system’s environment variables.
|
|
9
9
|
|
|
10
|
+
> [!NOTE]
|
|
11
|
+
> This plugin is designed for [Serverless Framework v3](https://github.com/oss-serverless/serverless) (published as [`osls`](https://www.npmjs.com/package/osls) on npm), which is a maintained fork of the original Serverless project.
|
|
12
|
+
|
|
10
13
|
## CI
|
|
11
14
|
|
|
12
15
|
[](https://github.com/bizon/serverless-plugin-env-stage-config/actions/workflows/tests.yml)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "serverless-plugin-env-stage-config",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"author": "Bertrand Marron <bertrand.marron@gmail.com>",
|
|
5
5
|
"description": "Serverless plugin to define environment variables files for stages",
|
|
6
6
|
"type": "module",
|
|
@@ -9,10 +9,7 @@
|
|
|
9
9
|
"index.js"
|
|
10
10
|
],
|
|
11
11
|
"engines": {
|
|
12
|
-
"node": ">=
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"preinstall": "npx only-allow pnpm"
|
|
12
|
+
"node": ">=24"
|
|
16
13
|
},
|
|
17
14
|
"repository": "https://github.com/bizon/serverless-plugin-env-stage-config",
|
|
18
15
|
"license": "MIT",
|
|
@@ -22,13 +19,13 @@
|
|
|
22
19
|
],
|
|
23
20
|
"dependencies": {
|
|
24
21
|
"@serverless/utils": "^6.15.0",
|
|
25
|
-
"js-yaml": "^4.1.
|
|
22
|
+
"js-yaml": "^4.1.1"
|
|
26
23
|
},
|
|
27
24
|
"devDependencies": {
|
|
28
|
-
"@bizon/semantic-release-config": "^
|
|
25
|
+
"@bizon/semantic-release-config": "^3.1.0",
|
|
29
26
|
"eslint-config-xo-bizon": "^3.0.3",
|
|
30
|
-
"semantic-release": "^
|
|
31
|
-
"xo": "^0.
|
|
27
|
+
"semantic-release": "^25.0.2",
|
|
28
|
+
"xo": "^0.60.0"
|
|
32
29
|
},
|
|
33
30
|
"xo": {
|
|
34
31
|
"extends": "xo-bizon",
|
|
@@ -38,5 +35,5 @@
|
|
|
38
35
|
"release": {
|
|
39
36
|
"extends": "@bizon/semantic-release-config"
|
|
40
37
|
},
|
|
41
|
-
"packageManager": "pnpm@
|
|
38
|
+
"packageManager": "pnpm@10.27.0+sha512.72d699da16b1179c14ba9e64dc71c9a40988cbdc65c264cb0e489db7de917f20dcf4d64d8723625f2969ba52d4b7e2a1170682d9ac2a5dcaeaab732b7e16f04a"
|
|
42
39
|
}
|