commet 1.3.0 → 1.3.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.
package/README.md CHANGED
@@ -13,6 +13,8 @@
13
13
 
14
14
  <br/>
15
15
 
16
+ Manage your [Commet](https://commet.co) project from the terminal. Link to your organization, generate TypeScript types for autocomplete on plan codes and feature codes, and inspect your billing setup.
17
+
16
18
  ## Installation
17
19
 
18
20
  ```bash
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ var import_commander11 = require("commander");
30
30
  // package.json
31
31
  var package_default = {
32
32
  name: "commet",
33
- version: "1.3.0",
33
+ version: "1.3.1",
34
34
  description: "Commet CLI - Manage your billing platform from the command line",
35
35
  bin: {
36
36
  commet: "./bin/commet"
@@ -409,10 +409,7 @@ function writeApiKeyToEnv(dest, apiKey, environment) {
409
409
  const envPath = path2.join(dest, ".env");
410
410
  if (!fs2.existsSync(envPath)) return;
411
411
  let content = fs2.readFileSync(envPath, "utf-8");
412
- content = content.replace(
413
- /COMMET_API_KEY=.*/,
414
- `COMMET_API_KEY=${apiKey}`
415
- );
412
+ content = content.replace(/COMMET_API_KEY=.*/, `COMMET_API_KEY=${apiKey}`);
416
413
  content = content.replace(
417
414
  /COMMET_ENVIRONMENT=.*/,
418
415
  `COMMET_ENVIRONMENT=${environment}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commet",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Commet CLI - Manage your billing platform from the command line",
5
5
  "bin": {
6
6
  "commet": "./bin/commet"