@polymorphism-tech/morph-spec 10.10.0 → 10.10.1
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 +2 -2
- package/claude-plugin.json +1 -1
- package/docs/CHEATSHEET.md +1 -1
- package/docs/QUICKSTART.md +1 -1
- package/framework/hooks/shared/build-check.js +15 -2
- package/framework/skills/core/create-umbraco-lp/SKILL.md +1 -1
- package/framework/skills/core/migrate-lp-to-umbraco/SKILL.md +1 -1
- package/framework/skills/core/morph-apply/SKILL.md +1 -1
- package/framework/skills/core/morph-plan/SKILL.md +1 -1
- package/framework/skills/core/morph-uiux/SKILL.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> Spec-driven development framework for multi-stack projects. Turns feature requests into implementation-ready code through structured, AI-orchestrated phases.
|
|
4
4
|
|
|
5
5
|
**Package:** `@polymorphism-tech/morph-spec`
|
|
6
|
-
**Version:** 10.10.
|
|
6
|
+
**Version:** 10.10.1
|
|
7
7
|
**Requires:** Node.js 22+, Claude Code
|
|
8
8
|
|
|
9
9
|
---
|
|
@@ -376,4 +376,4 @@ Code generated by morph-spec (contracts, templates, implementation output) belon
|
|
|
376
376
|
|
|
377
377
|
---
|
|
378
378
|
|
|
379
|
-
*morph-spec v10.10.
|
|
379
|
+
*morph-spec v10.10.1 by [Polymorphism Tech](https://polymorphism.tech)*
|
package/claude-plugin.json
CHANGED
package/docs/CHEATSHEET.md
CHANGED
package/docs/QUICKSTART.md
CHANGED
|
@@ -5,6 +5,7 @@ import { join } from 'path';
|
|
|
5
5
|
const DOTNET_BUILD_CMD = 'dotnet build --no-restore --nologo -v q';
|
|
6
6
|
const TSC_BUILD_CMD = 'npx tsc --noEmit';
|
|
7
7
|
const ESLINT_CONFIGS = ['eslint.config.mjs', 'eslint.config.js', 'eslint.config.cjs'];
|
|
8
|
+
const LINT_BATCH_CHARS = 6000;
|
|
8
9
|
|
|
9
10
|
export function isDotnetStack(s) {
|
|
10
11
|
return s.includes('dotnet') || s.includes('aspnet');
|
|
@@ -41,8 +42,20 @@ export function getBuildSteps(stack, { cwd, frontendPath, backendPath, backendTa
|
|
|
41
42
|
ESLINT_CONFIGS.some((name) => existsSync(join(frontendDir, name))) &&
|
|
42
43
|
existsSync(join(frontendDir, 'node_modules', 'eslint'))
|
|
43
44
|
) {
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
// cmd.exe caps a command line at 8191 chars: a wide diff is linted in batches.
|
|
46
|
+
let batch = [];
|
|
47
|
+
let size = 0;
|
|
48
|
+
const flush = () => {
|
|
49
|
+
if (batch.length > 0) steps.push({ command: `npx eslint --quiet --no-warn-ignored ${batch.join(' ')}`, cwd: frontendDir });
|
|
50
|
+
batch = [];
|
|
51
|
+
size = 0;
|
|
52
|
+
};
|
|
53
|
+
for (const file of lintFiles.map((f) => JSON.stringify(f))) {
|
|
54
|
+
if (size + file.length + 1 > LINT_BATCH_CHARS) flush();
|
|
55
|
+
batch.push(file);
|
|
56
|
+
size += file.length + 1;
|
|
57
|
+
}
|
|
58
|
+
flush();
|
|
46
59
|
}
|
|
47
60
|
}
|
|
48
61
|
|
|
@@ -4,7 +4,7 @@ description: Guia a criação de uma landing page nova ponta-a-ponta a partir do
|
|
|
4
4
|
version: core
|
|
5
5
|
when_to_use: Use quando for iniciar um novo projeto de LP com o template Umbraco genérico
|
|
6
6
|
user-invocable: true
|
|
7
|
-
cliVersion: "10.10.
|
|
7
|
+
cliVersion: "10.10.1"
|
|
8
8
|
stacks:
|
|
9
9
|
- umbraco
|
|
10
10
|
---
|
|
@@ -4,7 +4,7 @@ description: Migra uma landing page existente (React/Vite, Next.js estático ou
|
|
|
4
4
|
version: core
|
|
5
5
|
when_to_use: Use quando o usuário pedir "use /migrate-lp-to-umbraco {projeto}" ou descrever a necessidade de migrar uma LP para Umbraco
|
|
6
6
|
user-invocable: true
|
|
7
|
-
cliVersion: "10.10.
|
|
7
|
+
cliVersion: "10.10.1"
|
|
8
8
|
stacks:
|
|
9
9
|
- umbraco
|
|
10
10
|
---
|
|
@@ -4,7 +4,7 @@ description: Implementa o plano aprovado de uma feature morph-spec inteiro nesta
|
|
|
4
4
|
version: core
|
|
5
5
|
when_to_use: Use com o gate do plano aprovado ("/morph-apply {feature}", "implementar feature"), em "/morph-review {feature}" (entra no §5), em "/morph-hotfix {feature}" ou incidente de produção (references/hotfix.md), ou quando `morph-spec next` mandar implement, verify, fix, review ou finish
|
|
6
6
|
user-invocable: true
|
|
7
|
-
cliVersion: "10.10.
|
|
7
|
+
cliVersion: "10.10.1"
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# morph-apply
|
|
@@ -4,7 +4,7 @@ description: Leva um pedido ou o link de uma issue ao plano aprovado — roteia
|
|
|
4
4
|
version: core
|
|
5
5
|
when_to_use: Use quando uma feature, bug ou chore começar ("/morph-plan {feature}", "/morph-plan <link da issue>", "vamos planejar X"), ou ao retomar uma feature cujo gate plan ainda não foi aprovado
|
|
6
6
|
user-invocable: true
|
|
7
|
-
cliVersion: "10.10.
|
|
7
|
+
cliVersion: "10.10.1"
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# morph-plan
|
|
@@ -4,7 +4,7 @@ description: Conduz a fase de UI/UX de uma feature com plano aprovado — render
|
|
|
4
4
|
version: core
|
|
5
5
|
when_to_use: Use quando o ramo de design for tomado (morph-spec advance {feature} --design), antes de /morph-apply
|
|
6
6
|
user-invocable: true
|
|
7
|
-
cliVersion: "10.10.
|
|
7
|
+
cliVersion: "10.10.1"
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# morph-uiux
|