@launchframe/cli 1.0.0-beta.6 → 1.0.0-beta.7

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": "@launchframe/cli",
3
- "version": "1.0.0-beta.6",
3
+ "version": "1.0.0-beta.7",
4
4
  "description": "Production-ready B2B SaaS boilerplate with subscriptions, credits, and multi-tenancy",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -71,16 +71,25 @@ async function deployConfigure() {
71
71
  'admin-portal/public/env-config.js',
72
72
  'admin-portal/src/config/runtime.ts',
73
73
  'admin-portal/src/config/pageMetadata.ts',
74
- 'admin-portal/src/pages/FirstProject.tsx',
75
- 'admin-portal/src/components/projects/NewProject.tsx',
76
- 'admin-portal/src/components/settings/CustomDomain.tsx',
77
74
  'admin-portal/src/App.tsx',
78
75
  'admin-portal/src/components/common/PageTitle.tsx',
79
76
  'admin-portal/src/sentry.tsx',
80
- 'admin-portal/src/pages/AppSumo.tsx',
81
- 'customers-portal/src/App.tsx'
82
77
  ];
83
78
 
79
+ if (config.variants.tenancy === 'multi-tenant') {
80
+ filesToUpdate.push(
81
+ 'admin-portal/src/pages/FirstProject.tsx',
82
+ 'admin-portal/src/components/projects/NewProject.tsx',
83
+ );
84
+ }
85
+
86
+ if (config.variants.userModel === 'b2b2c') {
87
+ filesToUpdate.push(
88
+ 'admin-portal/src/components/settings/CustomDomain.tsx',
89
+ 'customers-portal/src/App.tsx'
90
+ )
91
+ }
92
+
84
93
  const projectRoot = process.cwd();
85
94
  let filesUpdated = 0;
86
95