create-smoodly-app 0.0.40 → 0.0.42

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/index.js CHANGED
@@ -542,9 +542,10 @@ function fallbackFor(step, answers2, keys) {
542
542
 
543
543
  ${renderEnv(keys).split("\n").filter((l) => !l.startsWith("#")).join("\n").trimEnd()}` : `Write ${answers2.dir}/.env.local with SMOODLY_URL, SMOODLY_SECRET_KEY and SMOODLY_PUBLISHABLE_KEY (from \`supabase status\`).`;
544
544
  const editorLines = [
545
- "Create the first editor: add a user in Supabase Studio (Authentication \u2192 Users), then in the SQL editor:",
545
+ "Create the first editor, then the starter content:",
546
546
  "",
547
- " insert into members (user_id, email, role) values ('<the user id>', '<the email>', 'admin');"
547
+ `cd ${answers2.dir} && SMOODLY_ADMIN_PASSWORD=<a password> npx smoodly add-admin <your email>`,
548
+ `cd ${answers2.dir} && npm run seed`
548
549
  ].join("\n");
549
550
  switch (step) {
550
551
  case "supabaseLocal":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-smoodly-app",
3
- "version": "0.0.40",
3
+ "version": "0.0.42",
4
4
  "description": "Create a Smoodly site: a fresh Next.js app with the admin mounted, a Supabase schema, an env file and a first editor.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -14,7 +14,7 @@
14
14
  "next": "^16.3.4",
15
15
  "react": "^19",
16
16
  "react-dom": "^19",
17
- "smoodly": "0.0.40"
17
+ "smoodly": "0.0.42"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@next/env": "^16.3.4",
@@ -14,7 +14,7 @@
14
14
  "next": "^16.3.4",
15
15
  "react": "^19",
16
16
  "react-dom": "^19",
17
- "smoodly": "0.0.40",
17
+ "smoodly": "0.0.42",
18
18
  "next-intl": "^4.14.2"
19
19
  },
20
20
  "devDependencies": {
@@ -14,7 +14,7 @@
14
14
  "next": "^16.3.4",
15
15
  "react": "^19",
16
16
  "react-dom": "^19",
17
- "smoodly": "0.0.40"
17
+ "smoodly": "0.0.42"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@next/env": "^16.3.4",
@@ -14,7 +14,7 @@
14
14
  "next": "^16.3.4",
15
15
  "react": "^19",
16
16
  "react-dom": "^19",
17
- "smoodly": "0.0.40",
17
+ "smoodly": "0.0.42",
18
18
  "next-intl": "^4.14.2"
19
19
  },
20
20
  "devDependencies": {