@scaleway/configuration-loader 1.0.5 → 1.0.7

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.7](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/configuration-loader@1.0.6...@scaleway/configuration-loader@1.0.7) (2025-03-31)
7
+
8
+ **Note:** Version bump only for package @scaleway/configuration-loader
9
+
10
+ ## 1.0.6 (2025-03-26)
11
+
12
+ **Note:** Version bump only for package @scaleway/configuration-loader
13
+
6
14
  ## [1.0.5](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/configuration-loader@1.0.4...@scaleway/configuration-loader@1.0.5) (2024-05-15)
7
15
 
8
16
  ### Bug Fixes
package/README.md CHANGED
@@ -3,8 +3,9 @@
3
3
  This package enables you to load a profile from a configuration file or environment variables.
4
4
 
5
5
  **🔗  Important links:**
6
- * [Scaleway SDK](./sdk)
7
- * [Developers website](https://developers.scaleway.com) (API documentation)
6
+
7
+ - [Scaleway SDK](./sdk)
8
+ - [Developers website](https://developers.scaleway.com) (API documentation)
8
9
 
9
10
  ## Getting Started
10
11
 
@@ -27,9 +28,7 @@ However, you might prefer to store these variables in either a configuration fil
27
28
  **In case of configuration file**:
28
29
 
29
30
  ```ts
30
- import {
31
- loadProfileFromConfigurationFile,
32
- } from '@scaleway/configuration-loader'
31
+ import { loadProfileFromConfigurationFile } from '@scaleway/configuration-loader'
33
32
 
34
33
  const profile = loadProfileFromConfigurationFile()
35
34
  ```
@@ -43,9 +42,7 @@ const profile = loadProfileFromEnvironmentValues({ profileName: 'debug' })
43
42
  **In case of environment variables**:
44
43
 
45
44
  ```ts
46
- import {
47
- loadProfileFromEnvironmentValues,
48
- } from '@scaleway/configuration-loader'
45
+ import { loadProfileFromEnvironmentValues } from '@scaleway/configuration-loader'
49
46
 
50
47
  const profile = loadProfileFromEnvironmentValues()
51
48
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/configuration-loader",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Load configuration via file or environment for NodeJS.",
6
6
  "main": "dist/index.cjs",
@@ -27,5 +27,5 @@
27
27
  "devDependencies": {
28
28
  "@types/node": "18.11.18"
29
29
  },
30
- "gitHead": "a7d80e98eaa7977ce6ac697f3003823972f5c52f"
30
+ "gitHead": "50cbd0a83df3ed423f7aedae4018e63299e7c945"
31
31
  }