@scaleway/configuration-loader 2.4.0 → 2.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.
@@ -16,7 +16,7 @@ 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
- ✓ built in 31ms
19
+ ✓ built in 34ms
20
20
 
21
21
  > @scaleway/configuration-loader@2.4.0 type:generate /home/runner/work/scaleway-sdk-js/scaleway-sdk-js/packages/configuration-loader
22
22
  > tsgo --declaration -p tsconfig.build.json
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
+ ## 2.4.1 (2026-04-18)
7
+
8
+ **Note:** Version bump only for package @scaleway/configuration-loader
9
+
10
+
11
+
12
+
13
+
6
14
  # 2.4.0 (2026-04-17)
7
15
 
8
16
  ### Features
package/biome.jsonc CHANGED
@@ -3,11 +3,11 @@
3
3
  "assist": {
4
4
  "actions": {
5
5
  "source": {
6
- "organizeImports": "on"
7
- }
6
+ "organizeImports": "on",
7
+ },
8
8
  },
9
- "enabled": true
9
+ "enabled": true,
10
10
  },
11
11
  "extends": "//",
12
- "root": false
12
+ "root": false,
13
13
  }
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export { loadAllProfilesFromConfigurationFile, loadAllProfilesFromConfigurationFileAsync, loadProfileFromConfigurationFile, loadProfileFromConfigurationFileAsync, loadProfileFromEnvironmentValues, } from './config-loader.js';
2
- export type { AllProfilesFromFileParams, Profile, ProfileFromFileParams, } from './types.js';
2
+ export type { AllProfilesFromFileParams, Profile, ProfileFromFileParams } from './types.js';
3
3
  export { hasSecureFilePermissions } from './yml-loader.js';
package/package.json CHANGED
@@ -1,19 +1,13 @@
1
1
  {
2
2
  "name": "@scaleway/configuration-loader",
3
- "version": "2.4.0",
4
- "license": "Apache-2.0",
3
+ "version": "2.4.1",
5
4
  "description": "Load configuration via file or environment for NodeJS.",
6
- "publishConfig": {
7
- "access": "public"
8
- },
5
+ "license": "Apache-2.0",
9
6
  "repository": {
10
7
  "type": "git",
11
8
  "url": "git+https://github.com/scaleway/scaleway-sdk-js",
12
9
  "directory": "packages/configuration-loader"
13
10
  },
14
- "engines": {
15
- "node": ">=20.19.6"
16
- },
17
11
  "type": "module",
18
12
  "exports": {
19
13
  ".": {
@@ -21,10 +15,16 @@
21
15
  "default": "./dist/index.js"
22
16
  }
23
17
  },
18
+ "publishConfig": {
19
+ "access": "public"
20
+ },
24
21
  "devDependencies": {
25
22
  "@types/node": "20.19.35",
26
23
  "@repo/configs": "^0.1.1"
27
24
  },
25
+ "engines": {
26
+ "node": ">=20.19.6"
27
+ },
28
28
  "scripts": {
29
29
  "typecheck": "tsgo --noEmit",
30
30
  "type:generate": "tsgo --declaration -p tsconfig.build.json",
@@ -7,12 +7,5 @@
7
7
  "outDir": "dist",
8
8
  "skipLibCheck": true
9
9
  },
10
- "exclude": [
11
- "dist/*",
12
- "*.config.ts",
13
- "*.setup.ts",
14
- "**/__tests__",
15
- "**/__mocks__",
16
- "src/**/*.test.tsx"
17
- ]
10
+ "exclude": ["dist/*", "*.config.ts", "*.setup.ts", "**/__tests__", "**/__mocks__", "src/**/*.test.tsx"]
18
11
  }
package/vite.config.ts ADDED
@@ -0,0 +1,12 @@
1
+ import { viteConfig } from '@repo/configs'
2
+ import { defineConfig, mergeConfig } from 'vite'
3
+
4
+ const newConfig = defineConfig({
5
+ build: {
6
+ lib: {
7
+ entry: 'src/index.gen.ts',
8
+ },
9
+ },
10
+ })
11
+
12
+ export default mergeConfig(viteConfig, newConfig)