create-ampless 1.0.0-alpha.128 → 1.0.0-alpha.129

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
@@ -1890,18 +1890,25 @@ var AMPLESS_PACKAGES = /* @__PURE__ */ new Set([
1890
1890
  "ampless",
1891
1891
  "@ampless/admin",
1892
1892
  "@ampless/backend",
1893
- "@ampless/runtime",
1894
- "@ampless/plugin-seo",
1895
- "@ampless/plugin-rss",
1896
- "@ampless/plugin-schema-jsonld",
1897
- "@ampless/plugin-webhook",
1898
- "@ampless/plugin-og-image",
1899
1893
  "@ampless/plugin-analytics-ga4",
1894
+ "@ampless/plugin-cookie-consent",
1900
1895
  "@ampless/plugin-gtm",
1896
+ "@ampless/plugin-og-image",
1901
1897
  "@ampless/plugin-plausible",
1902
- "@ampless/plugin-cookie-consent",
1903
- "@ampless/plugin-reading-time"
1898
+ "@ampless/plugin-reading-time",
1899
+ "@ampless/plugin-rss",
1900
+ "@ampless/plugin-schema-jsonld",
1901
+ "@ampless/plugin-seo",
1902
+ "@ampless/plugin-webhook",
1903
+ "@ampless/plugin-x-embed",
1904
+ "@ampless/plugin-youtube",
1905
+ "@ampless/runtime"
1904
1906
  ]);
1907
+ var AMPLESS_MANAGED_TRANSITIVE_PREFIXES = ["@tiptap/"];
1908
+ function isManagedDep(name) {
1909
+ if (AMPLESS_PACKAGES.has(name)) return true;
1910
+ return AMPLESS_MANAGED_TRANSITIVE_PREFIXES.some((p3) => name.startsWith(p3));
1911
+ }
1905
1912
  var AMPLESS_MANAGED_SCRIPTS = /* @__PURE__ */ new Set([
1906
1913
  "sandbox",
1907
1914
  "sandbox:dev",
@@ -2231,7 +2238,7 @@ async function runUpgradeIn(destDir, sharedDir, opts = {}) {
2231
2238
  const templateDeps = templatePkg[section] ?? {};
2232
2239
  const projectDeps = projectPkg[section] ?? {};
2233
2240
  for (const [name, version] of Object.entries(templateDeps)) {
2234
- if (!AMPLESS_PACKAGES.has(name)) continue;
2241
+ if (!isManagedDep(name)) continue;
2235
2242
  projectDeps[name] = version;
2236
2243
  }
2237
2244
  if (Object.keys(projectDeps).length > 0) {
@@ -20,6 +20,7 @@
20
20
  "@radix-ui/react-dialog": "^1.1.15",
21
21
  "@radix-ui/react-label": "^2.1.8",
22
22
  "@radix-ui/react-slot": "^1.2.4",
23
+ "@tiptap/core": "^3.23.6",
23
24
  "@tiptap/extension-image": "^3.23.6",
24
25
  "@tiptap/extension-link": "^3.23.6",
25
26
  "@tiptap/pm": "^3.23.6",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ampless",
3
- "version": "1.0.0-alpha.128",
3
+ "version": "1.0.0-alpha.129",
4
4
  "description": "Create a new ampless project",
5
5
  "license": "MIT",
6
6
  "type": "module",