avo 3.2.7-beta.1 → 3.2.8

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.
Files changed (4) hide show
  1. package/Avo.js +1 -1
  2. package/README.md +5 -1
  3. package/cli.js +13 -8
  4. package/package.json +6 -6
package/Avo.js CHANGED
@@ -7,7 +7,7 @@ export var AvoEnv;
7
7
  (function (AvoEnv) {
8
8
  AvoEnv["Prod"] = "prod";
9
9
  AvoEnv["Dev"] = "dev";
10
- })(AvoEnv = AvoEnv || (AvoEnv = {}));
10
+ })(AvoEnv || (AvoEnv = {}));
11
11
  let __AVO_ENV__ = null;
12
12
  // @ts-ignore
13
13
  let __AVO_NOOP__ = false;
package/README.md CHANGED
@@ -45,4 +45,8 @@ For more documentation, visit [https://www.avo.app/docs/implementation/cli](http
45
45
 
46
46
  **Caught a Bug?** Thank you, you are precious to us :hug: Please create a issue on the GitHub repo or send an email to friends@avo.app. We'll do our best to resolve it quickly!
47
47
 
48
- **To create a release:** Verify that the changes in the _Unreleased_ section in CHANGELOG.md are accurate, create a new heading with the correct semantic version then move the content from the _Unreleased_ section there • Update the semantic version in `package.json` to match the one you just created in the changelog • Commit with the message `Release <version>` and push the changes • Publish the package to npm (you'll need to be a maintainer of the avo project in npm): `npm publish`
48
+ **To create a release:**
49
+ 1. Verify that the changes in the _Unreleased_ section in CHANGELOG.md are accurate, create a new heading with the correct semantic version then move the content from the _Unreleased_ section there
50
+ 2. Udate the semantic version in `package.json` to match the one you just created in the changelog
51
+ 3. Commit with the message `Release <version>` and push the changes
52
+ 4. Publish the package to npm (you'll need to be a maintainer of the avo project in npm): `npm publish`
package/cli.js CHANGED
@@ -1338,14 +1338,19 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1338
1338
  command: 'track-install',
1339
1339
  desc: false,
1340
1340
  handler: async (argv) => {
1341
- Avo.cliInstalled({
1342
- userId_: installIdOrUserId(),
1343
- cliInvokedByCi: invokedByCi(),
1344
- }).catch((error) => {
1345
- if (argv.verbose) {
1346
- console.error('Failed to track cli installed', error);
1347
- }
1348
- });
1341
+ try {
1342
+ Avo.cliInstalled({
1343
+ userId_: installIdOrUserId(),
1344
+ cliInvokedByCi: invokedByCi(),
1345
+ }).catch((error) => {
1346
+ if (argv.verbose) {
1347
+ console.error('Request to track cli installed failed', error);
1348
+ }
1349
+ });
1350
+ }
1351
+ catch (error) {
1352
+ console.error('Unexpected error failed to track cli installed', error);
1353
+ }
1349
1354
  },
1350
1355
  })
1351
1356
  .command({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "avo",
3
- "version": "3.2.7-beta.1",
3
+ "version": "3.2.8",
4
4
  "type": "module",
5
5
  "description": "The command-line interface for Avo",
6
6
  "author": "Avo (https://www.avo.app)",
@@ -42,7 +42,7 @@
42
42
  "log-symbols": "^5.1.0",
43
43
  "minimatch": "^7.0.0",
44
44
  "node-avo-inspector": "^1.0.1",
45
- "open": "^8.4.0",
45
+ "open": "^9.1.0",
46
46
  "ora": "^6.0.1",
47
47
  "pify": "^6.0.0",
48
48
  "portfinder": "^1.0.28",
@@ -57,14 +57,14 @@
57
57
  "devDependencies": {
58
58
  "@types/ignore-walk": "^4.0.0",
59
59
  "@types/minimatch": "^5.1.2",
60
- "@types/node": "^18.7.18",
60
+ "@types/node": "^20.1.0",
61
61
  "@typescript-eslint/eslint-plugin": "^5.30.5",
62
62
  "@typescript-eslint/parser": "^5.30.5",
63
63
  "eslint": "^7.32.0 || ^8.2.0",
64
64
  "eslint-config-airbnb-base": "^15.0.0",
65
- "eslint-config-prettier": "^8.5.0",
65
+ "eslint-config-prettier": "^9.0.0",
66
66
  "eslint-plugin-import": "^2.25.2",
67
- "prettier": "2.8.4",
68
- "typescript": "^4.7.4"
67
+ "prettier": "3.0.3",
68
+ "typescript": "^5.0.2"
69
69
  }
70
70
  }