@scaleway/configuration-loader 0.1.0-alpha.7 → 0.1.0-beta.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 +1 -3
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# Configuration Loader
|
|
2
2
|
|
|
3
|
-
Scaleway is a single way to create, deploy and scale your infrastructure in the cloud.
|
|
4
|
-
|
|
5
3
|
This package enables you to load a profile from a configuration file or environment variables.
|
|
6
4
|
|
|
7
5
|
**🔗 Important links:**
|
|
@@ -22,7 +20,7 @@ const profile = {
|
|
|
22
20
|
}
|
|
23
21
|
```
|
|
24
22
|
|
|
25
|
-
And then use this profile to instanciate the
|
|
23
|
+
And then use this profile to instanciate the SDK client with `const client = createClient(profile)`.
|
|
26
24
|
|
|
27
25
|
However, you might prefer to store these variables in either a configuration file (e.g. local testing) or environment variables (e.g. serverless).
|
|
28
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/configuration-loader",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-beta.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Load configuration via file or environment for NodeJS.",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
|
+
"url": "https://github.com/scaleway/scaleway-sdk-js",
|
|
14
15
|
"directory": "packages/configuration-loader"
|
|
15
16
|
},
|
|
16
17
|
"engines": {
|
|
@@ -20,5 +21,5 @@
|
|
|
20
21
|
"devDependencies": {
|
|
21
22
|
"@types/node": "^17.0.45"
|
|
22
23
|
},
|
|
23
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "9f6b31b84bc81e2f571c12fb369c00fa8d755210"
|
|
24
25
|
}
|