avo 3.2.3 → 3.2.4
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/cli.js +1 -1
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -968,7 +968,7 @@ function selectSource(sourceToAdd, json) {
|
|
|
968
968
|
interfacePath: relativeInterfacePath,
|
|
969
969
|
};
|
|
970
970
|
}
|
|
971
|
-
const newJson = { ...json, sources: [...json.sources, source] };
|
|
971
|
+
const newJson = { ...json, sources: [...(json.sources ?? []), source] };
|
|
972
972
|
report.info(`Added source ${source.name} to the project`);
|
|
973
973
|
report.info(`Run 'avo pull "${source.name}"' to pull the latest analytics wrapper for this source`);
|
|
974
974
|
return newJson;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "avo",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The command-line interface for Avo",
|
|
6
6
|
"author": "Avo (https://www.avo.app)",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
65
65
|
"eslint-config-prettier": "^8.5.0",
|
|
66
66
|
"eslint-plugin-import": "^2.25.2",
|
|
67
|
-
"prettier": "2.
|
|
67
|
+
"prettier": "2.8.1",
|
|
68
68
|
"typescript": "^4.7.4"
|
|
69
69
|
}
|
|
70
70
|
}
|