@cloudcannon/configuration-loader 0.0.10 → 0.0.12
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/dist/browser.js +1 -1
- package/dist/index.js +2 -2
- package/dist/load.js +1 -1
- package/package.json +5 -5
package/dist/browser.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -18,6 +18,6 @@
|
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
20
|
// Export the simple high-level API
|
|
21
|
-
export { loadConfiguration } from
|
|
21
|
+
export { loadConfiguration } from './load.js';
|
|
22
22
|
// Export the lower-level API for custom implementations
|
|
23
|
-
export { mergeConfiguration } from
|
|
23
|
+
export { mergeConfiguration } from './loader.js';
|
package/dist/load.js
CHANGED
|
@@ -9,7 +9,7 @@ var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExte
|
|
|
9
9
|
import { globSync } from 'node:fs';
|
|
10
10
|
import { readFile } from 'node:fs/promises';
|
|
11
11
|
import { dirname, relative, resolve } from 'node:path';
|
|
12
|
-
import { mergeConfiguration } from
|
|
12
|
+
import { mergeConfiguration } from './loader.js';
|
|
13
13
|
/**
|
|
14
14
|
* Attempts to load the js-yaml package dynamically.
|
|
15
15
|
* Returns the load function if available, otherwise returns undefined.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcannon/configuration-loader",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"description": "Load and merge CloudCannon configuration files",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"homepage": "https://cloudcannon.com/documentation/articles/why-split-your-configuration-file/",
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@cloudcannon/configuration-types": "0.0.
|
|
55
|
+
"@cloudcannon/configuration-types": "0.0.60"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"js-yaml": "^4.0.0"
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@biomejs/biome": "2.
|
|
67
|
-
"@types/node": "
|
|
68
|
-
"typescript": "
|
|
66
|
+
"@biomejs/biome": "2.5.5",
|
|
67
|
+
"@types/node": "26.1.1",
|
|
68
|
+
"typescript": "7.0.2"
|
|
69
69
|
}
|
|
70
70
|
}
|