@scaleway/configuration-loader 2.3.0 → 2.4.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.
- package/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +6 -0
- package/dist/config-loader.d.ts +4 -4
- package/package.json +5 -4
- package/tsconfig.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @scaleway/configuration-loader@2.
|
|
2
|
+
> @scaleway/configuration-loader@2.4.0 build /home/runner/work/scaleway-sdk-js/scaleway-sdk-js/packages/configuration-loader
|
|
3
3
|
> vite build --config ../../vite.config.ts && pnpm run type:generate
|
|
4
4
|
|
|
5
|
-
[36mvite v8.0.
|
|
5
|
+
[36mvite v8.0.8 [32mbuilding ssr environment for production...[36m[39m
|
|
6
6
|
[2K
|
|
7
7
|
rendering chunks...
|
|
8
8
|
computing gzip size...
|
|
@@ -16,8 +16,8 @@ dist/yml-loader.js 2.78 kB │ gzip: 1.09 kB
|
|
|
16
16
|
dist/__tests__/config-loader.test.js 3.08 kB │ gzip: 1.04 kB
|
|
17
17
|
dist/config-loader.js 4.34 kB │ gzip: 0.95 kB
|
|
18
18
|
|
|
19
|
-
[32m✓ built in
|
|
19
|
+
[32m✓ built in 31ms[39m
|
|
20
20
|
|
|
21
|
-
> @scaleway/configuration-loader@2.
|
|
22
|
-
>
|
|
21
|
+
> @scaleway/configuration-loader@2.4.0 type:generate /home/runner/work/scaleway-sdk-js/scaleway-sdk-js/packages/configuration-loader
|
|
22
|
+
> tsgo --declaration -p tsconfig.build.json
|
|
23
23
|
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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
|
+
# 2.4.0 (2026-04-17)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **sdk:** unify tools ([#2903](https://github.com/scaleway/scaleway-sdk-js/issues/2903)) ([e0b99e4](https://github.com/scaleway/scaleway-sdk-js/commit/e0b99e47da92c514e06aef2a6c739b9653c9ba45))
|
|
11
|
+
|
|
6
12
|
# 2.3.0 (2026-04-02)
|
|
7
13
|
|
|
8
14
|
### Features
|
package/dist/config-loader.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare const loadProfileFromEnvironmentValues: () => Profile;
|
|
|
18
18
|
*
|
|
19
19
|
* @public
|
|
20
20
|
*/
|
|
21
|
-
export declare const loadAllProfilesFromConfigurationFile: (params?: Readonly<AllProfilesFromFileParams>) => Record<string, Profile>;
|
|
21
|
+
export declare const loadAllProfilesFromConfigurationFile: (params?: Readonly<AllProfilesFromFileParams> | undefined) => Record<string, Profile>;
|
|
22
22
|
/**
|
|
23
23
|
* Loads profile from configuration file.
|
|
24
24
|
*
|
|
@@ -31,7 +31,7 @@ export declare const loadAllProfilesFromConfigurationFile: (params?: Readonly<Al
|
|
|
31
31
|
*
|
|
32
32
|
* @public
|
|
33
33
|
*/
|
|
34
|
-
export declare const loadProfileFromConfigurationFile: (params?: Readonly<ProfileFromFileParams>) => Profile;
|
|
34
|
+
export declare const loadProfileFromConfigurationFile: (params?: Readonly<ProfileFromFileParams> | undefined) => Profile;
|
|
35
35
|
/**
|
|
36
36
|
* Loads all profiles from configuration file (asynchronous).
|
|
37
37
|
*
|
|
@@ -45,7 +45,7 @@ export declare const loadProfileFromConfigurationFile: (params?: Readonly<Profil
|
|
|
45
45
|
*
|
|
46
46
|
* @public
|
|
47
47
|
*/
|
|
48
|
-
export declare const loadAllProfilesFromConfigurationFileAsync: (params?: Readonly<AllProfilesFromFileParams>) => Promise<Record<string, Profile>>;
|
|
48
|
+
export declare const loadAllProfilesFromConfigurationFileAsync: (params?: Readonly<AllProfilesFromFileParams> | undefined) => Promise<Record<string, Profile>>;
|
|
49
49
|
/**
|
|
50
50
|
* Loads profile from configuration file (asynchronous).
|
|
51
51
|
*
|
|
@@ -60,4 +60,4 @@ export declare const loadAllProfilesFromConfigurationFileAsync: (params?: Readon
|
|
|
60
60
|
*
|
|
61
61
|
* @public
|
|
62
62
|
*/
|
|
63
|
-
export declare const loadProfileFromConfigurationFileAsync: (params?: Readonly<ProfileFromFileParams>) => Promise<Profile>;
|
|
63
|
+
export declare const loadProfileFromConfigurationFileAsync: (params?: Readonly<ProfileFromFileParams> | undefined) => Promise<Profile>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/configuration-loader",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Load configuration via file or environment for NodeJS.",
|
|
6
6
|
"publishConfig": {
|
|
@@ -22,11 +22,12 @@
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@types/node": "20.19.35"
|
|
25
|
+
"@types/node": "20.19.35",
|
|
26
|
+
"@repo/configs": "^0.1.1"
|
|
26
27
|
},
|
|
27
28
|
"scripts": {
|
|
28
|
-
"typecheck": "
|
|
29
|
-
"type:generate": "
|
|
29
|
+
"typecheck": "tsgo --noEmit",
|
|
30
|
+
"type:generate": "tsgo --declaration -p tsconfig.build.json",
|
|
30
31
|
"build": "vite build --config ../../vite.config.ts && pnpm run type:generate",
|
|
31
32
|
"build:profile": "npx vite-bundle-visualizer -c ../../vite.config.ts"
|
|
32
33
|
}
|
package/tsconfig.json
CHANGED