@swell/cli 2.0.2 → 2.0.3

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.
@@ -249,15 +249,16 @@ function batchAppFilesByType(configs) {
249
249
  ];
250
250
  const batches = [];
251
251
  // eslint-disable-next-line guard-for-in
252
- for (const type of Object.keys(ConfigTypeBatchOrder)) {
253
- const configsByType = sorted.filter((config) => config.type === type);
254
- const label = type === ConfigType.FILE ? 'App files' : titleize(type);
255
- const concurrency = type === ConfigType.NOTIFICATION || type === ConfigType.ASSET
252
+ for (const type in ConfigTypeBatchOrder) {
253
+ const configType = ConfigTypeBatchOrder[type];
254
+ const configsByType = sorted.filter((config) => config.type === configType);
255
+ const label = configType === ConfigType.FILE ? 'App files' : titleize(configType);
256
+ const concurrency = configType === ConfigType.NOTIFICATION || configType === ConfigType.ASSET
256
257
  ? 1
257
258
  : PUSH_CONCURRENCY;
258
259
  batches.push({
259
260
  configs: configsByType,
260
- type,
261
+ type: configType,
261
262
  label,
262
263
  concurrency,
263
264
  });
@@ -1835,5 +1835,5 @@
1835
1835
  ]
1836
1836
  }
1837
1837
  },
1838
- "version": "2.0.2"
1838
+ "version": "2.0.3"
1839
1839
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swell/cli",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "type": "module",
5
5
  "description": "Swell's command line interface/utility",
6
6
  "keywords": [