@betterstart/cli 0.1.81 → 0.1.82

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/dist/cli.js CHANGED
@@ -6064,7 +6064,7 @@ ${indent} key={item.id}
6064
6064
  ${indent} value={\`item-\${index + 1}\`}
6065
6065
  ${indent} className="p-0 border-none"
6066
6066
  ${indent} >
6067
- ${indent} <div className="space-y-5 rounded-lg border p-4 bg-secondary/50 [&_h3]:m-0 w-full">
6067
+ ${indent} <div className="space-y-5 rounded-lg border p-4 bg-background [&_h3]:m-0 w-full">
6068
6068
  ${indent} <AccordionTrigger className="flex items-center p-0 justify-between w-full">
6069
6069
  ${indent} <h4 className="text-sm font-medium w-full">
6070
6070
  ${indent} ${accordionTitle}
@@ -7804,7 +7804,7 @@ ${filterLogic}` : ""}`;
7804
7804
  name="search"
7805
7805
  placeholder="Search ${schema.label.toLowerCase()}..."
7806
7806
  defaultValue={search}
7807
- className="w-64 pl-9 bg-white rounded-lg"
7807
+ className="w-64 pl-9 bg-white"
7808
7808
  />
7809
7809
  <CornerDownLeft className="text-muted-foreground/70 pointer-events-none absolute top-1/2 right-3 size-4 -translate-y-1/2" />
7810
7810
  </form>`;
@@ -9880,6 +9880,12 @@ function scaffoldLayout({ cwd, config }) {
9880
9880
  write(path40.join(config.paths.pages, "layout.tsx"), readTemplate("pages/authenticated-layout.tsx"));
9881
9881
  write(path40.join(config.paths.login, "page.tsx"), readTemplate("pages/login-page.tsx"));
9882
9882
  write(path40.join(config.paths.login, "login-form.tsx"), readTemplate("pages/login-form.tsx"));
9883
+ const forgotPasswordDir = path40.join(cmsDir, "forgot-password");
9884
+ write(path40.join(forgotPasswordDir, "page.tsx"), readTemplate("pages/forgot-password-page.tsx"));
9885
+ write(path40.join(forgotPasswordDir, "forgot-password-form.tsx"), readTemplate("pages/forgot-password-form.tsx"));
9886
+ const resetPasswordDir = path40.join(cmsDir, "reset-password");
9887
+ write(path40.join(resetPasswordDir, "page.tsx"), readTemplate("pages/reset-password-page.tsx"));
9888
+ write(path40.join(resetPasswordDir, "reset-password-form.tsx"), readTemplate("pages/reset-password-form.tsx"));
9883
9889
  write(path40.join(config.paths.pages, "page.tsx"), readTemplate("pages/dashboard-page.tsx"));
9884
9890
  const usersDir = path40.join(config.paths.pages, "users");
9885
9891
  write(path40.join(usersDir, "page.tsx"), readTemplate("pages/users/users-page.tsx"));
@@ -12257,6 +12263,13 @@ var TEMPLATE_REGISTRY = {
12257
12263
  "account-layout": { relPath: "app/(cms)/cms/(account)/layout.tsx", content: () => readTemplate("pages/account-layout.tsx"), base: "cwd" },
12258
12264
  "profile-page": { relPath: "app/(cms)/cms/(account)/profile/page.tsx", content: () => readTemplate("pages/profile/profile-page.tsx"), base: "cwd" },
12259
12265
  "profile-form": { relPath: "app/(cms)/cms/(account)/profile/profile-form.tsx", content: () => readTemplate("pages/profile/profile-form.tsx"), base: "cwd" },
12266
+ // Password reset
12267
+ "login-page": { relPath: "app/(cms)/cms/login/page.tsx", content: () => readTemplate("pages/login-page.tsx"), base: "cwd" },
12268
+ "login-form": { relPath: "app/(cms)/cms/login/login-form.tsx", content: () => readTemplate("pages/login-form.tsx"), base: "cwd" },
12269
+ "forgot-password-page": { relPath: "app/(cms)/cms/forgot-password/page.tsx", content: () => readTemplate("pages/forgot-password-page.tsx"), base: "cwd" },
12270
+ "forgot-password-form": { relPath: "app/(cms)/cms/forgot-password/forgot-password-form.tsx", content: () => readTemplate("pages/forgot-password-form.tsx"), base: "cwd" },
12271
+ "reset-password-page": { relPath: "app/(cms)/cms/reset-password/page.tsx", content: () => readTemplate("pages/reset-password-page.tsx"), base: "cwd" },
12272
+ "reset-password-form": { relPath: "app/(cms)/cms/reset-password/reset-password-form.tsx", content: () => readTemplate("pages/reset-password-form.tsx"), base: "cwd" },
12260
12273
  // Lib
12261
12274
  r2: { relPath: "lib/r2.ts", content: () => readTemplate("lib/r2.ts") },
12262
12275
  "form-settings-action": { relPath: "lib/actions/form-settings.ts", content: () => readTemplate("lib/actions/form-settings.ts") },