@saidulbadhon/jssm-cli 1.8.3 → 1.9.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4189,7 +4189,9 @@ async function pullEnvFile(host, apiKey, project, filename = ".env") {
4189
4189
  async function listEnvFiles(host, apiKey, project) {
4190
4190
  const url = `${host}/projects/${encodeURIComponent(project)}/files/list`;
4191
4191
  const data = await apiRequest(url, apiKey);
4192
- return data.files;
4192
+ return data.files.map(
4193
+ (file) => typeof file === "string" ? file : file.filename
4194
+ );
4193
4195
  }
4194
4196
 
4195
4197
  // src/utils/repoDetector.ts
@@ -5948,7 +5950,7 @@ ${import_chalk.default.bold("Usage in Docker:")}
5948
5950
 
5949
5951
  // src/utils/versionCheck.ts
5950
5952
  var PACKAGE_NAME = "@saidulbadhon/jssm-cli";
5951
- var CURRENT_VERSION = "1.8.3";
5953
+ var CURRENT_VERSION = "1.9.0";
5952
5954
  async function getLatestVersion() {
5953
5955
  try {
5954
5956
  const response = await fetch(`https://registry.npmjs.org/${PACKAGE_NAME}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saidulbadhon/jssm-cli",
3
- "version": "1.8.3",
3
+ "version": "1.9.0",
4
4
  "private": false,
5
5
  "description": "CLI for JSSM - Simple environment variable manager",
6
6
  "author": "Saidul Badhon",