@arela/uploader 1.0.18 → 1.0.19

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arela/uploader",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "CLI to upload files/directories to Arela",
5
5
  "bin": {
6
6
  "arela": "./src/index.js"
@@ -222,7 +222,10 @@ export class PushCommand {
222
222
  }
223
223
 
224
224
  const scanConfig = appConfig.getScanConfig();
225
- if (!scanConfig.tableName) {
225
+ // When basePathFull is '*' (cross-directory wildcard), tableName is intentionally null.
226
+ // The push command fetches tables dynamically via getInstanceTables, so a static
227
+ // tableName is not required — only companySlug, serverId, and basePathFull matter.
228
+ if (!scanConfig.tableName && scanConfig.basePathFull !== '*') {
226
229
  errors.push('Could not generate table name from configuration');
227
230
  }
228
231
 
@@ -36,10 +36,10 @@ class Config {
36
36
  const __dirname = path.dirname(__filename);
37
37
  const packageJsonPath = path.resolve(__dirname, '../../package.json');
38
38
  const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'));
39
- return packageJson.version || '1.0.18';
39
+ return packageJson.version || '1.0.19';
40
40
  } catch (error) {
41
41
  console.warn('⚠️ Could not read package.json version, using fallback');
42
- return '1.0.18';
42
+ return '1.0.19';
43
43
  }
44
44
  }
45
45