@chimerai/cli 0.2.89 → 0.2.91

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.
@@ -1 +1 @@
1
- {"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../src/commands/add.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAiBH,UAAU,UAAU;IAClB,GAAG,EAAE,MAAM,CAAC;CACb;AAw5ED,wBAAsB,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,iBAyHtE"}
1
+ {"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../src/commands/add.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAiBH,UAAU,UAAU;IAClB,GAAG,EAAE,MAAM,CAAC;CACb;AAk5ED,wBAAsB,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,iBAyHtE"}
@@ -1194,12 +1194,10 @@ async function hasFeature(feature, targetDir) {
1194
1194
  if (feature === 'billing')
1195
1195
  return 'stripe' in deps;
1196
1196
  if (feature === 'rbac') {
1197
- return ('@chimerai/rbac' in deps ||
1198
- (await fs_extra_1.default.pathExists(path_1.default.join(targetDir, 'lib/rbac.ts'))));
1197
+ return '@chimerai/rbac' in deps || (await fs_extra_1.default.pathExists(path_1.default.join(targetDir, 'lib/rbac.ts')));
1199
1198
  }
1200
1199
  if (feature === 'admin-dashboard') {
1201
- return ('@chimerai/admin-ui' in deps ||
1202
- (await fs_extra_1.default.pathExists(path_1.default.join(targetDir, 'app/admin'))));
1200
+ return ('@chimerai/admin-ui' in deps || (await fs_extra_1.default.pathExists(path_1.default.join(targetDir, 'app/admin'))));
1203
1201
  }
1204
1202
  }
1205
1203
  catch {