@acryldev/blends 1.7.0 → 1.7.2

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/README.md CHANGED
@@ -414,7 +414,7 @@ See the [ACRYLBLENDS documentation](https://github.com/acrylblends/acrylblends/b
414
414
  | Framework documentation | https://github.com/acrylblends/acrylblends/blob/main/docs/framework/README.md |
415
415
  | ACRYLBLENDS website | https://acrylblends.github.io |
416
416
  | ACRYL website | https://acryl.dev |
417
- | This package's source and issues | https://github.com/acrylblends/acrylblends ([issues](https://github.com/acrylblends/acrylblends/issues)) |
417
+ | This package's source and issues | https://github.com/acryldev/acryl/tree/main/framework ([issues](https://github.com/acryldev/acryl/issues)) |
418
418
  | The framework's source | https://github.com/acryldev/acryl (`plugins/router`, `plugins/node-server`) |
419
419
  | For coding agents | https://github.com/acrylblends/acrylblends/blob/main/docs/framework/agents/index.md |
420
420
  | npm | https://www.npmjs.com/package/acrylblends |
package/dist/index.js CHANGED
@@ -1102,9 +1102,11 @@ const MOVED_FROM_SCOPE = "@acrylblends";
1102
1102
  /** The app's manifest with the generated fields set: dependencies merged (generated wins), the dev script on its own profile, keys in a stable order. */
1103
1103
  function mergeManifest(manifest, dependencies) {
1104
1104
  const sorted = Object.fromEntries(Object.entries(dependencies).sort(([a], [b]) => a.localeCompare(b)));
1105
+ const own = manifest.scripts;
1106
+ const hook = /--import (\S+\/src\/register\.ts)/u.exec(own?.start ?? own?.dev ?? "")?.[1] ?? "./plugins/node-server/src/register.ts";
1105
1107
  const scripts = {
1106
- ...manifest.scripts,
1107
- dev: "node --import ./plugins/node-server/src/register.ts scripts/ide-host.mjs"
1108
+ ...own,
1109
+ dev: `node --import ${hook} scripts/ide-host.mjs`
1108
1110
  };
1109
1111
  const kept = Object.fromEntries(Object.entries(manifest.dependencies ?? {}).filter(([name]) => !(name.startsWith(`${MOVED_FROM_SCOPE}/`) && sorted[name.replace(MOVED_FROM_SCOPE, scope)] !== void 0)));
1110
1112
  return {