@knapsack/renderer-html 5.0.0--canary.6593.4738696.0 β 5.0.0
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/.lintstagedrc.mjs +2 -2
- package/CHANGELOG.md +128 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +65 -66
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
- package/.eslintrc.js +0 -4
package/.lintstagedrc.mjs
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,131 @@
|
|
|
1
|
+
# v4.89.8 (Fri Feb 20 2026)
|
|
2
|
+
|
|
3
|
+
### Release Notes
|
|
4
|
+
|
|
5
|
+
#### KSP-7685: Synthetic Data for Conflict Enrichment/Resolution testing ([#7154](https://github.com/knapsack-labs/app-monorepo/pull/7154))
|
|
6
|
+
|
|
7
|
+
* **Documentation**
|
|
8
|
+
* Added synthetic multi-source test fixtures including component documentation, design tokens, and brand guidelines for comprehensive testing coverage.
|
|
9
|
+
|
|
10
|
+
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
#### π Bug Fix
|
|
15
|
+
|
|
16
|
+
- merge latest in ([@EmmanuelVelez](https://github.com/EmmanuelVelez))
|
|
17
|
+
- Merge branch 'latest' into sxa/KSP-7037-tests-v2 ([@sxalexander](https://github.com/sxalexander))
|
|
18
|
+
- Use node: protocol prefix in all .lintstagedrc.mjs files ([@EmmanuelVelez](https://github.com/EmmanuelVelez))
|
|
19
|
+
- Migrated ESLint config to flat config format (ESLint 9) ([@EmmanuelVelez](https://github.com/EmmanuelVelez))
|
|
20
|
+
|
|
21
|
+
#### π Internal
|
|
22
|
+
|
|
23
|
+
- KSP-7685: Synthetic Data for Conflict Enrichment/Resolution testing [#7154](https://github.com/knapsack-labs/app-monorepo/pull/7154) ([@sxalexander](https://github.com/sxalexander))
|
|
24
|
+
- KSP-5524 Migrated ESLint config to flat config format (ESLint 9) [#7162](https://github.com/knapsack-labs/app-monorepo/pull/7162) ([@EmmanuelVelez](https://github.com/EmmanuelVelez))
|
|
25
|
+
|
|
26
|
+
#### Authors: 2
|
|
27
|
+
|
|
28
|
+
- [@EmmanuelVelez](https://github.com/EmmanuelVelez)
|
|
29
|
+
- Sam Alexander ([@sxalexander](https://github.com/sxalexander))
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
# v4.89.7 (Fri Feb 06 2026)
|
|
34
|
+
|
|
35
|
+
#### π Bug Fix
|
|
36
|
+
|
|
37
|
+
- Merge branch 'latest' into feature/ksp-6555-remove-app-client-watchers-for-files-in-data-directory ([@EvanLovely](https://github.com/EvanLovely))
|
|
38
|
+
- Merge branch 'latest' into feature/ksp-6555-remove-app-client-watchers-for-files-in-data-directory ([@EmmanuelVelez](https://github.com/EmmanuelVelez))
|
|
39
|
+
|
|
40
|
+
#### π Internal
|
|
41
|
+
|
|
42
|
+
- KSP-6106 Added consistent-type-imports rule with inline type syntax [#7128](https://github.com/knapsack-labs/app-monorepo/pull/7128) ([@EmmanuelVelez](https://github.com/EmmanuelVelez))
|
|
43
|
+
- KSP-7692: expand server actions body size limit [#7097](https://github.com/knapsack-labs/app-monorepo/pull/7097) ([@illepic](https://github.com/illepic))
|
|
44
|
+
- KSP-7623 resolved some of react-hooks/set-state-in-effect lint errors and enab⦠[#7077](https://github.com/knapsack-labs/app-monorepo/pull/7077) ([@EmmanuelVelez](https://github.com/EmmanuelVelez))
|
|
45
|
+
|
|
46
|
+
#### Authors: 3
|
|
47
|
+
|
|
48
|
+
- [@EmmanuelVelez](https://github.com/EmmanuelVelez)
|
|
49
|
+
- Christopher Bloom ([@illepic](https://github.com/illepic))
|
|
50
|
+
- Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
# v4.89.4 (Mon Jan 05 2026)
|
|
55
|
+
|
|
56
|
+
#### π Internal
|
|
57
|
+
|
|
58
|
+
- KSP-6086 normalize error and log metadata for api domains [#6997](https://github.com/knapsack-labs/app-monorepo/pull/6997) ([@EmmanuelVelez](https://github.com/EmmanuelVelez))
|
|
59
|
+
|
|
60
|
+
#### Authors: 1
|
|
61
|
+
|
|
62
|
+
- [@EmmanuelVelez](https://github.com/EmmanuelVelez)
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
# v4.89.3 (Thu Dec 11 2025)
|
|
67
|
+
|
|
68
|
+
#### π Bug Fix
|
|
69
|
+
|
|
70
|
+
- KSP-6536 Fixed align token metrics counting with UI logic for variables and collections [#6778](https://github.com/knapsack-labs/app-monorepo/pull/6778) ([@EmmanuelVelez](https://github.com/EmmanuelVelez))
|
|
71
|
+
- Merge branch 'latest' into feature/ksp-6536-metrics-not-computing-tokens-and-variables-correctly ([@EmmanuelVelez](https://github.com/EmmanuelVelez))
|
|
72
|
+
- Merge remote-tracking branch 'origin/feature/ksp-6536-metrics-not-computing-tokens-and-variables-correctly' into feature/ksp-6536-metrics-not-computing-tokens-and-variables-correctly ([@EmmanuelVelez](https://github.com/EmmanuelVelez))
|
|
73
|
+
|
|
74
|
+
#### Authors: 1
|
|
75
|
+
|
|
76
|
+
- [@EmmanuelVelez](https://github.com/EmmanuelVelez)
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
# v4.89.1 (Wed Dec 10 2025)
|
|
81
|
+
|
|
82
|
+
#### π Bug Fix
|
|
83
|
+
|
|
84
|
+
- Merge remote-tracking branch 'origin/latest' into KSP-6900_mcp_onboarding_pages ([@brittanysmart](https://github.com/brittanysmart))
|
|
85
|
+
|
|
86
|
+
#### Authors: 1
|
|
87
|
+
|
|
88
|
+
- Brittany Smart ([@brittanysmart](https://github.com/brittanysmart))
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
# v4.87.9 (Thu Nov 20 2025)
|
|
93
|
+
|
|
94
|
+
#### π Internal
|
|
95
|
+
|
|
96
|
+
- fix(deps): update dependency @types/node to ^20.19.25 [#6803](https://github.com/knapsack-labs/app-monorepo/pull/6803) ([@renovate[bot]](https://github.com/renovate[bot]))
|
|
97
|
+
- fix(deps): update dependency zod to ^4.1.12 [#6861](https://github.com/knapsack-labs/app-monorepo/pull/6861) ([@renovate[bot]](https://github.com/renovate[bot]))
|
|
98
|
+
|
|
99
|
+
#### Authors: 1
|
|
100
|
+
|
|
101
|
+
- [@renovate[bot]](https://github.com/renovate[bot])
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
# v4.87.7 (Mon Nov 10 2025)
|
|
106
|
+
|
|
107
|
+
#### π Internal
|
|
108
|
+
|
|
109
|
+
- fix(deps): update typescript [#6863](https://github.com/knapsack-labs/app-monorepo/pull/6863) ([@renovate[bot]](https://github.com/renovate[bot]))
|
|
110
|
+
|
|
111
|
+
#### Authors: 1
|
|
112
|
+
|
|
113
|
+
- [@renovate[bot]](https://github.com/renovate[bot])
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
# v4.87.6 (Wed Nov 05 2025)
|
|
118
|
+
|
|
119
|
+
#### π Internal
|
|
120
|
+
|
|
121
|
+
- Add comprehensive testing for remaining frameworks and MUI lib [#6876](https://github.com/knapsack-labs/app-monorepo/pull/6876) ([@mabry1985](https://github.com/mabry1985))
|
|
122
|
+
|
|
123
|
+
#### Authors: 1
|
|
124
|
+
|
|
125
|
+
- Josh Mabry ([@mabry1985](https://github.com/mabry1985))
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
1
129
|
# v4.87.4 (Fri Oct 31 2025)
|
|
2
130
|
|
|
3
131
|
#### π Internal
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Renderable, type Renderer as RendererType, RendererBase } from '@knapsack/app/renderers';
|
|
1
|
+
import { type Renderable, type Renderer as RendererType, RendererBase } from '@knapsack/app/renderers';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
type Renderer = RendererType<'html'>;
|
|
4
4
|
declare const OptionSchema: z.ZodObject<{
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,QAAQ,IAAI,YAAY,EAC7B,YAAY,EACb,MAAM,yBAAyB,CAAC;AAajC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,KAAK,QAAQ,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;AAMrC,QAAA,MAAM,YAAY;;;;;kBAEhB,CAAC;AAEH,qBAAa,oBACX,SAAQ,YAAY,CAAC,MAAM,CAC3B,YAAW,UAAU,CAAC,MAAM,CAAC;gBAEjB,OAAO,GAAE,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAM;IAgBtD,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAkBxB;IAEF,QAAQ,EAAE,QAAQ,CAAC,UAAU,CAAC,CAa5B;IAEF,YAAY,EAAE,QAAQ,CAAC,cAAc,CAAC,CAYpC;IAEF,sBAAsB,EAAE,QAAQ,CAAC,wBAAwB,CAAC,CAYxD;IAEF,OAAO,EAAE,QAAQ,CAAC,SAAS,CAAC,CAWzB;CACJ"}
|
package/dist/index.js
CHANGED
|
@@ -19,78 +19,77 @@ class KnapsackHtmlRenderer extends renderers_1.RendererBase {
|
|
|
19
19
|
language: 'html',
|
|
20
20
|
codeSrcsUserConfig: options.codeSrcs,
|
|
21
21
|
});
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}),
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
catch (e) {
|
|
34
|
-
return {
|
|
35
|
-
ok: false,
|
|
36
|
-
html: `<p>${e.message}</p>`,
|
|
37
|
-
message: e.message,
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
this.getUsage = async ({ demo, state }) => {
|
|
42
|
-
var _a;
|
|
43
|
-
const path = demo.type === 'template'
|
|
44
|
-
? demo.templateInfo.path
|
|
45
|
-
: (_a = this.normalizeDemo({ demo, state })) === null || _a === void 0 ? void 0 : _a.codeSrcPath;
|
|
46
|
-
if (!path) {
|
|
47
|
-
throw new Error(`No path found for demo: ${JSON.stringify(demo)}`);
|
|
48
|
-
}
|
|
49
|
-
const { absolutePath, exists } = await this.resolvePath(path);
|
|
50
|
-
if (!exists) {
|
|
51
|
-
throw new Error(`File does not exist: ${absolutePath}`);
|
|
52
|
-
}
|
|
53
|
-
return (0, file_utils_1.readFile)(absolutePath);
|
|
54
|
-
};
|
|
55
|
-
this.getDiscovery = async () => {
|
|
22
|
+
if (error) {
|
|
23
|
+
this.log.error(`"KnapsackHtmlRenderer" constructor has invalid options, please fix in "knapsack.config.cjs":`, zod_1.z.prettifyError(error));
|
|
24
|
+
process.exit(1);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
render = async (opt) => {
|
|
28
|
+
try {
|
|
29
|
+
const usage = await this.getUsage(opt);
|
|
56
30
|
return {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
rendererId: this.id,
|
|
63
|
-
})),
|
|
31
|
+
ok: true,
|
|
32
|
+
html: await (0, file_utils_1.formatCode)({
|
|
33
|
+
contents: usage,
|
|
34
|
+
path: 'x.html',
|
|
35
|
+
}),
|
|
64
36
|
};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
const { unusedPaths } = await this.getUnusedTemplatePaths({
|
|
68
|
-
globPaths: [(0, path_1.join)(gitRoot, '**/*.html')],
|
|
69
|
-
state,
|
|
70
|
-
});
|
|
37
|
+
}
|
|
38
|
+
catch (e) {
|
|
71
39
|
return {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
40
|
+
ok: false,
|
|
41
|
+
html: `<p>${e.message}</p>`,
|
|
42
|
+
message: e.message,
|
|
75
43
|
};
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
getUsage = async ({ demo, state }) => {
|
|
47
|
+
const path = demo.type === 'template'
|
|
48
|
+
? demo.templateInfo.path
|
|
49
|
+
: this.normalizeDemo({ demo, state })?.codeSrcPath;
|
|
50
|
+
if (!path) {
|
|
51
|
+
throw new Error(`No path found for demo: ${JSON.stringify(demo)}`);
|
|
52
|
+
}
|
|
53
|
+
const { absolutePath, exists } = await this.resolvePath(path);
|
|
54
|
+
if (!exists) {
|
|
55
|
+
throw new Error(`File does not exist: ${absolutePath}`);
|
|
56
|
+
}
|
|
57
|
+
return (0, file_utils_1.readFile)(absolutePath);
|
|
58
|
+
};
|
|
59
|
+
getDiscovery = async () => {
|
|
60
|
+
return {
|
|
61
|
+
rendererId: this.id,
|
|
62
|
+
meta: this.getMeta(),
|
|
63
|
+
codeSrcsByPath: Object.fromEntries(this.codeSrcs.entries()),
|
|
64
|
+
templates: this.getCodeSrcs().map(({ path }) => (0, types_1.addIdToTemplateInfo)({
|
|
65
|
+
codeSrcPath: path,
|
|
66
|
+
rendererId: this.id,
|
|
67
|
+
})),
|
|
76
68
|
};
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
enableDataDemos: false,
|
|
83
|
-
enableTemplateDemos: true,
|
|
84
|
-
hasSlotsSupport: false,
|
|
85
|
-
version: pkg.version,
|
|
86
|
-
hasInferSpecSupport: false,
|
|
87
|
-
hasTemplateSuggestionsSupport: true,
|
|
69
|
+
};
|
|
70
|
+
getTemplateSuggestions = async ({ state, }) => {
|
|
71
|
+
const { unusedPaths } = await this.getUnusedTemplatePaths({
|
|
72
|
+
globPaths: [(0, path_1.join)(gitRoot, '**/*.html')],
|
|
73
|
+
state,
|
|
88
74
|
});
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
75
|
+
return {
|
|
76
|
+
suggestions: unusedPaths.map((path) => ({
|
|
77
|
+
path,
|
|
78
|
+
})),
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
getMeta = () => ({
|
|
82
|
+
id: this.id,
|
|
83
|
+
title: 'HTML',
|
|
84
|
+
syntaxHighlightingLanguage: 'html',
|
|
85
|
+
aliasUse: 'off',
|
|
86
|
+
enableDataDemos: false,
|
|
87
|
+
enableTemplateDemos: true,
|
|
88
|
+
hasSlotsSupport: false,
|
|
89
|
+
version: pkg.version,
|
|
90
|
+
hasInferSpecSupport: false,
|
|
91
|
+
hasTemplateSuggestionsSupport: true,
|
|
92
|
+
});
|
|
94
93
|
}
|
|
95
94
|
exports.KnapsackHtmlRenderer = KnapsackHtmlRenderer;
|
|
96
95
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,uDAIiC;AACjC,2CAIyB;AACzB,qDAK8B;AAC9B,+BAA4B;AAC5B,6BAAwB;AAIxB,MAAM,EAAE,GAAG,EAAE,GAAG,IAAA,0BAAa,EAAC,SAAS,CAAC,CAAC;AAEzC,MAAM,OAAO,GAAG,IAAA,wBAAW,GAAE,CAAC;AAE9B,MAAM,YAAY,GAAG,OAAC,CAAC,YAAY,CAAC;IAClC,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,+BAAuB,CAAC,CAAC,QAAQ,EAAE;CACtD,CAAC,CAAC;AAEH,MAAa,oBACX,SAAQ,wBAAoB;IAG5B,YAAY,UAAwC,EAAE;QACpD,MAAM,EAAE,KAAK,E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C,OAAO,EAAE,CAAC;YAC3D,SAAS,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAC7C,IAAA,2BAAmB,EAAC;gBAClB,WAAW,EAAE,IAAI;gBACjB,UAAU,EAAE,IAAI,CAAC,EAAE;aACpB,CAAC,CACH;SACF,CAAC;IACJ,CAAC,CAAC;IAEF,sBAAsB,GAAuC,KAAK,EAAE,EAClE,KAAK,GACN,EAAE,EAAE;QACH,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,IAAI,CAAC,sBAAsB,CAAC;YACxD,SAAS,EAAE,CAAC,IAAA,WAAI,EAAC,OAAO,EAAE,WAAW,CAAC,CAAC;YACvC,KAAK;SACN,CAAC,CAAC;QACH,OAAO;YACL,WAAW,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBACtC,IAAI;aACL,CAAC,CAAC;SACJ,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,GAAwB,GAAG,EAAE,CAAC,CAAC;QACpC,EAAE,EAAE,IAAI,CAAC,EAAE;QACX,KAAK,EAAE,MAAM;QACb,0BAA0B,EAAE,MAAM;QAClC,QAAQ,EAAE,KAAK;QACf,eAAe,EAAE,KAAK;QACtB,mBAAmB,EAAE,IAAI;QACzB,eAAe,EAAE,KAAK;QACtB,OAAO,EAAE,GAAG,CAAC,OAAO;QACpB,mBAAmB,EAAE,KAAK;QAC1B,6BAA6B,EAAE,IAAI;KACpC,CAAC,CAAC;CACJ;AA/FD,oDA+FC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knapsack/renderer-html",
|
|
3
3
|
"description": "Render HTML",
|
|
4
|
-
"version": "5.0.0
|
|
4
|
+
"version": "5.0.0",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
7
|
"exports": {
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
},
|
|
24
24
|
"author": "Knapsack (https://www.knapsack.cloud)",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@knapsack/app": "5.0.0
|
|
27
|
-
"@knapsack/file-utils": "5.0.0
|
|
28
|
-
"@knapsack/types": "5.0.0
|
|
29
|
-
"zod": "^4.
|
|
26
|
+
"@knapsack/app": "5.0.0",
|
|
27
|
+
"@knapsack/file-utils": "5.0.0",
|
|
28
|
+
"@knapsack/types": "5.0.0",
|
|
29
|
+
"zod": "^4.3.6"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@knapsack/eslint-config-starter": "5.0.0
|
|
33
|
-
"@knapsack/typescript-config-starter": "5.0.0
|
|
34
|
-
"@types/node": "^
|
|
35
|
-
"eslint": "^
|
|
36
|
-
"typescript": "^5.9.
|
|
37
|
-
"vitest": "^
|
|
32
|
+
"@knapsack/eslint-config-starter": "5.0.0",
|
|
33
|
+
"@knapsack/typescript-config-starter": "5.0.0",
|
|
34
|
+
"@types/node": "^22.19.11",
|
|
35
|
+
"eslint": "^9.20.0",
|
|
36
|
+
"typescript": "^5.9.3",
|
|
37
|
+
"vitest": "^4.1.9"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"directory": "apps/client/renderers/renderer-html",
|
|
45
45
|
"type": "git"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "31e09ba72245b95bef52e73ce5076de51936286c"
|
|
48
48
|
}
|
package/.eslintrc.js
DELETED