create-smoodly-app 0.0.52 → 0.0.53

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
@@ -242,9 +242,8 @@ function typedValues(flags2) {
242
242
  if (publishableKey !== void 0) checked(publishableKey, checkPublishableKey);
243
243
  return { spaceId, secretKey, publishableKey };
244
244
  }
245
- async function spaceValues(flags2) {
245
+ async function spaceValues(flags2, typed) {
246
246
  const hidden = flags2.apiUrl ? { apiUrl: flags2.apiUrl } : {};
247
- const typed = typedValues(flags2);
248
247
  if (typed.spaceId !== void 0 && typed.secretKey !== void 0 && typed.publishableKey !== void 0) {
249
248
  return { spaceId: typed.spaceId, secretKey: typed.secretKey, publishableKey: typed.publishableKey, ...hidden };
250
249
  }
@@ -257,7 +256,7 @@ async function spaceValues(flags2) {
257
256
  return { spaceId, secretKey, publishableKey, ...hidden };
258
257
  }
259
258
  async function resolveAnswers(flags2, ctx) {
260
- typedValues(flags2);
259
+ const typedFlags = typedValues(flags2);
261
260
  const folderName = (typed2) => nameFromDir(resolve2(ctx.cwd, typed2));
262
261
  const typed = flags2.name ?? await answer(p.text({ message: "Project folder", placeholder: "my-site", validate: (v) => v ? validName(folderName(v)) ?? void 0 : "A folder name or path." }));
263
262
  const dir = resolve2(ctx.cwd, typed);
@@ -296,7 +295,7 @@ async function resolveAnswers(flags2, ctx) {
296
295
  ]
297
296
  })
298
297
  ));
299
- const space = await spaceValues(flags2);
298
+ const space = await spaceValues(flags2, typedFlags);
300
299
  return { name, dir, space, smoodlyDep: flags2.smoodlyDep, locales, starter, framework };
301
300
  }
302
301
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-smoodly-app",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "description": "Create a Smoodly site: a fresh Astro or Next.js app with the admin mounted, its env file on a space's three values, its schema pushed and its starter content seeded.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,5 +1,6 @@
1
1
  node_modules/
2
2
  dist/
3
3
  .astro/
4
+ .vercel/
4
5
  .env
5
6
  smoodly-export-*
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@astrojs/node": "^11.1.6",
14
14
  "astro": "^7.3.5",
15
- "smoodly": "0.0.52"
15
+ "smoodly": "0.0.53"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@astrojs/check": "^0.9.10",
@@ -1,5 +1,6 @@
1
1
  node_modules/
2
2
  dist/
3
3
  .astro/
4
+ .vercel/
4
5
  .env
5
6
  smoodly-export-*
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@astrojs/node": "^11.1.6",
14
14
  "astro": "^7.3.5",
15
- "smoodly": "0.0.52"
15
+ "smoodly": "0.0.53"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@astrojs/check": "^0.9.10",
@@ -1,5 +1,6 @@
1
1
  node_modules/
2
2
  dist/
3
3
  .astro/
4
+ .vercel/
4
5
  .env
5
6
  smoodly-export-*
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@astrojs/node": "^11.1.6",
14
14
  "astro": "^7.3.5",
15
- "smoodly": "0.0.52"
15
+ "smoodly": "0.0.53"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@astrojs/check": "^0.9.10",
@@ -1,5 +1,6 @@
1
1
  node_modules/
2
2
  dist/
3
3
  .astro/
4
+ .vercel/
4
5
  .env
5
6
  smoodly-export-*
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@astrojs/node": "^11.1.6",
14
14
  "astro": "^7.3.5",
15
- "smoodly": "0.0.52"
15
+ "smoodly": "0.0.53"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@astrojs/check": "^0.9.10",
@@ -1,5 +1,6 @@
1
1
  node_modules/
2
2
  .next/
3
+ .vercel/
3
4
  .env.local
4
5
  next-env.d.ts
5
6
  *.tsbuildinfo
@@ -14,7 +14,7 @@
14
14
  "next": "^16.3.4",
15
15
  "react": "^19",
16
16
  "react-dom": "^19",
17
- "smoodly": "0.0.52"
17
+ "smoodly": "0.0.53"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@next/env": "^16.3.4",
@@ -1,5 +1,6 @@
1
1
  node_modules/
2
2
  .next/
3
+ .vercel/
3
4
  .env.local
4
5
  next-env.d.ts
5
6
  *.tsbuildinfo
@@ -14,7 +14,7 @@
14
14
  "next": "^16.3.4",
15
15
  "react": "^19",
16
16
  "react-dom": "^19",
17
- "smoodly": "0.0.52",
17
+ "smoodly": "0.0.53",
18
18
  "next-intl": "^4.14.2"
19
19
  },
20
20
  "devDependencies": {
@@ -1,5 +1,6 @@
1
1
  node_modules/
2
2
  .next/
3
+ .vercel/
3
4
  .env.local
4
5
  next-env.d.ts
5
6
  *.tsbuildinfo
@@ -14,7 +14,7 @@
14
14
  "next": "^16.3.4",
15
15
  "react": "^19",
16
16
  "react-dom": "^19",
17
- "smoodly": "0.0.52"
17
+ "smoodly": "0.0.53"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@next/env": "^16.3.4",
@@ -44,6 +44,6 @@ export const config = defineConfig({
44
44
  // The custom section (spec 2026-09-14 §6): the editor's own rows of
45
45
  // columns. The columns take the article toolset (headings, lists,
46
46
  // images, Callout and Cta); smoodly/views.ts binds the RichText that
47
- // renders them, so body images go through next/image like everywhere else.
47
+ // renders them, so body images are cuts from Smoodly's media host like every other image.
48
48
  custom: { toolset: article },
49
49
  });
@@ -1,5 +1,6 @@
1
1
  node_modules/
2
2
  .next/
3
+ .vercel/
3
4
  .env.local
4
5
  next-env.d.ts
5
6
  *.tsbuildinfo
@@ -14,7 +14,7 @@
14
14
  "next": "^16.3.4",
15
15
  "react": "^19",
16
16
  "react-dom": "^19",
17
- "smoodly": "0.0.52",
17
+ "smoodly": "0.0.53",
18
18
  "next-intl": "^4.14.2"
19
19
  },
20
20
  "devDependencies": {
@@ -48,6 +48,6 @@ export const config = defineConfig({
48
48
  // The custom section (spec 2026-09-14 §6): the editor's own rows of
49
49
  // columns. The columns take the article toolset (headings, lists,
50
50
  // images, Callout and Cta); smoodly/views.ts binds the RichText that
51
- // renders them, so body images go through next/image like everywhere else.
51
+ // renders them, so body images are cuts from Smoodly's media host like every other image.
52
52
  custom: { toolset: article },
53
53
  });