@adobe/aio-cli-lib-app-config 0.2.2 → 1.0.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/package.json +16 -14
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/aio-cli-lib-app-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "node lib to provide a consistent interface to various config files that make up Adobe Developer App Builder applications and extensions",
|
|
5
5
|
"repository": "https://github.com/adobe/aio-cli-lib-app-config/",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -17,34 +17,36 @@
|
|
|
17
17
|
"generate-docs": "npm run typings && npm run jsdoc"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@adobe/aio-lib-core-config": "^
|
|
21
|
-
"@adobe/aio-lib-core-logging": "^
|
|
22
|
-
"@adobe/aio-lib-env": "^
|
|
20
|
+
"@adobe/aio-lib-core-config": "^3.0.0",
|
|
21
|
+
"@adobe/aio-lib-core-logging": "^2.0.0",
|
|
22
|
+
"@adobe/aio-lib-env": "^2.0.0",
|
|
23
23
|
"fs-extra": "^9.0.1",
|
|
24
24
|
"js-yaml": "^3.14.0",
|
|
25
25
|
"lodash.clonedeep": "^4.5.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@adobe/eslint-config-aio-lib-config": "^
|
|
28
|
+
"@adobe/eslint-config-aio-lib-config": "^2",
|
|
29
29
|
"babel-runtime": "^6.26.0",
|
|
30
30
|
"eol": "^0.9.1",
|
|
31
|
-
"eslint": "^
|
|
32
|
-
"eslint-config-standard": "^
|
|
33
|
-
"eslint-plugin-import": "^2.
|
|
34
|
-
"eslint-plugin-jest": "^23
|
|
35
|
-
"eslint-plugin-jsdoc": "^
|
|
31
|
+
"eslint": "^8",
|
|
32
|
+
"eslint-config-standard": "^17",
|
|
33
|
+
"eslint-plugin-import": "^2.25.3",
|
|
34
|
+
"eslint-plugin-jest": "^23",
|
|
35
|
+
"eslint-plugin-jsdoc": "^37",
|
|
36
36
|
"eslint-plugin-node": "^11.1.0",
|
|
37
|
-
"eslint-plugin-promise": "^
|
|
37
|
+
"eslint-plugin-promise": "^6",
|
|
38
|
+
"eslint-plugin-n": "^15",
|
|
38
39
|
"eslint-plugin-standard": "^4.0.0",
|
|
39
|
-
"jest": "^
|
|
40
|
+
"jest": "^27",
|
|
40
41
|
"jest-junit": "^10.0.0",
|
|
41
42
|
"jest-plugin-fs": "^2.9.0",
|
|
42
43
|
"jsdoc": "^3.6.3",
|
|
43
44
|
"jsdoc-to-markdown": "^5.0.0",
|
|
44
|
-
"stdout-stderr": "^0.1.9"
|
|
45
|
+
"stdout-stderr": "^0.1.9",
|
|
46
|
+
"typescript": "^4.5.2"
|
|
45
47
|
},
|
|
46
48
|
"engines": {
|
|
47
|
-
"node": "
|
|
49
|
+
"node": "^14.18 || ^16.13 || >=18"
|
|
48
50
|
},
|
|
49
51
|
"jest": {
|
|
50
52
|
"collectCoverage": true,
|
package/src/index.js
CHANGED
|
@@ -291,7 +291,7 @@ function loadUserConfigLegacy (commonConfig) {
|
|
|
291
291
|
if (commonConfig.aio.cna !== undefined || commonConfig.aio.app !== undefined) {
|
|
292
292
|
aioLogger.warn('App config in \'.aio\' file is deprecated. Please move your \'.aio.app\' or \'.aio.cna\' to \'app.config.yaml\'.')
|
|
293
293
|
const appConfig = { ...commonConfig.aio.app, ...commonConfig.aio.cna }
|
|
294
|
-
Object.entries(appConfig).
|
|
294
|
+
Object.entries(appConfig).forEach(([k, v]) => {
|
|
295
295
|
legacyAppConfig[k] = v
|
|
296
296
|
includeIndex[`${defaults.APPLICATION_CONFIG_KEY}.${k}`] = { file: '.aio', key: `app.${k}` }
|
|
297
297
|
})
|