@datatruck/cli 0.12.0 → 0.12.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.
@@ -24,7 +24,9 @@ class SnapshotsAction {
24
24
  continue;
25
25
  const repoInstance = (0, RepositoryFactory_1.RepositoryFactory)(repo);
26
26
  const configPackageNames = this.config.packages.map((pkg) => pkg.name);
27
- const packageNames = this.options.packageNames?.filter((name) => configPackageNames.includes(name)) || configPackageNames;
27
+ const packageNames = this.options.packageConfig
28
+ ? this.options.packageNames?.filter((name) => configPackageNames.includes(name)) || configPackageNames
29
+ : this.options.packageNames;
28
30
  const snapshots = await repoInstance.onSnapshots({
29
31
  options: {
30
32
  ...this.options,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datatruck/cli",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "dependencies": {
5
5
  "ajv": "^8.11.0",
6
6
  "async": "^3.2.4",