@pwrs/cem 0.6.6 → 0.7.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/README.md +17 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -27,6 +27,22 @@ See more in the [Generate docs][generatedocs]
|
|
|
27
27
|
|
|
28
28
|
---
|
|
29
29
|
|
|
30
|
+
### `cem serve`
|
|
31
|
+
|
|
32
|
+
The `cem serve` command starts a development server specifically for custom element development. It provides an opinionated, manifest-driven workflow with live reload, interactive knobs for testing attributes and properties, and a PatternFly-designed UI for component isolation.
|
|
33
|
+
|
|
34
|
+
**Features:**
|
|
35
|
+
- Live reload with WebSocket-based updates
|
|
36
|
+
- Interactive knobs auto-generated from manifest
|
|
37
|
+
- TypeScript transformation on-the-fly
|
|
38
|
+
- Automatic import map generation
|
|
39
|
+
- npm workspaces support for monorepos
|
|
40
|
+
- Demo discovery from manifest `demos` field
|
|
41
|
+
|
|
42
|
+
See more in the [Serve docs][servedocs]
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
30
46
|
### `cem lsp`
|
|
31
47
|
|
|
32
48
|
The `cem lsp` command starts a Language Server Protocol (LSP) server that provides intelligent IDE features for custom elements in HTML and TypeScript files. It offers contextual autocomplete, hover documentation, and other editor enhancements by analyzing your custom elements manifests.
|
|
@@ -115,6 +131,7 @@ the terms of the [GNU General Public License v3.0][gpl3].
|
|
|
115
131
|
[listdocs]: https://bennypowers.dev/cem/docs/commands/list/
|
|
116
132
|
[searchdocs]: https://bennypowers.dev/cem/docs/commands/search/
|
|
117
133
|
[validatedocs]: https://bennypowers.dev/cem/docs/commands/validate/
|
|
134
|
+
[servedocs]: https://bennypowers.dev/cem/docs/commands/serve/
|
|
118
135
|
[lspdocs]: https://bennypowers.dev/cem/docs/lsp/
|
|
119
136
|
[mcpdocs]: https://bennypowers.dev/cem/docs/mcp/
|
|
120
137
|
[configdocs]: https://bennypowers.dev/cem/docs/configuration/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pwrs/cem",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "CLI tool for generating and working with Custom Elements Manifests",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"postinstall": "node ./install-platform-binary.js"
|
|
14
14
|
},
|
|
15
15
|
"optionalDependencies": {
|
|
16
|
-
"@pwrs/cem-linux-x64": "0.
|
|
17
|
-
"@pwrs/cem-linux-arm64": "0.
|
|
18
|
-
"@pwrs/cem-darwin-x64": "0.
|
|
19
|
-
"@pwrs/cem-darwin-arm64": "0.
|
|
20
|
-
"@pwrs/cem-win32-x64": "0.
|
|
21
|
-
"@pwrs/cem-win32-arm64": "0.
|
|
16
|
+
"@pwrs/cem-linux-x64": "0.7.0",
|
|
17
|
+
"@pwrs/cem-linux-arm64": "0.7.0",
|
|
18
|
+
"@pwrs/cem-darwin-x64": "0.7.0",
|
|
19
|
+
"@pwrs/cem-darwin-arm64": "0.7.0",
|
|
20
|
+
"@pwrs/cem-win32-x64": "0.7.0",
|
|
21
|
+
"@pwrs/cem-win32-arm64": "0.7.0"
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
24
|
"bin/cem.js",
|