synthesisui 0.4.3 → 0.4.4

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.
@@ -59,10 +59,13 @@ export async function clean(opts) {
59
59
  });
60
60
  }
61
61
  }
62
- // 2. Default landing page → minimal placeholder (only if unedited).
62
+ // 2. Default landing page → minimal placeholder (only if unedited). Match by
63
+ // the `create-next-app` utm markers its links carry (stable across Next
64
+ // versions) plus the boilerplate copy - so a newer scaffold isn't missed.
63
65
  const pagePath = join(appDir, "page.tsx");
64
66
  const pageSrc = await readIf(pagePath);
65
- if (pageSrc && /Get started by editing|Deploy now|Read our docs/.test(pageSrc)) {
67
+ if (pageSrc &&
68
+ /create-next-app|get started by editing|to get started, edit/i.test(pageSrc)) {
66
69
  actions.push({
67
70
  verb: "reset",
68
71
  path: rel(pagePath),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synthesisui",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "Traz design systems do SynthesisUI para qualquer projeto (materializa em _local/ds/).",
5
5
  "type": "module",
6
6
  "bin": {