@pwrs/cem 0.2.14 → 0.2.16

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.
Files changed (2) hide show
  1. package/README.md +22 -4
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -34,6 +34,22 @@ With `cem list`, you can quickly explore and audit your custom elements API surf
34
34
 
35
35
  See more in the [List docs][listdocs]
36
36
 
37
+ ---
38
+
39
+ ### `cem search`
40
+
41
+ The `cem search` command allows you to search through your custom elements manifest for any element by keyword or regex pattern. Search through names, descriptions, summaries, and labels of all manifest items including tags, modules, attributes, slots, CSS properties, CSS states, CSS parts, events, methods, demos, functions, variables, and more.
42
+
43
+ See more in the [Search docs][searchdocs]
44
+
45
+ ---
46
+
47
+ ### `cem validate`
48
+
49
+ The `cem validate` command validates your `custom-elements.json` file against the official JSON schema and provides intelligent warnings for potentially inappropriate manifest content. Beyond basic schema validation, it analyzes your manifest for lifecycle methods, private implementations, and other patterns that shouldn't be part of your public API documentation.
50
+
51
+ See more in the [Validate docs][validatedocs]
52
+
37
53
  See the [Configuration Reference][configdocs] for more information.
38
54
 
39
55
  ---
@@ -57,7 +73,9 @@ the terms of the [GNU General Public License v3.0][gpl3].
57
73
  [gpl3]: https://www.gnu.org/licenses/gpl-3.0.html
58
74
  [contributingmd]: https://bennypowers.github.io/cem/docs/contributing/
59
75
  [issuenew]: https://github.com/bennypowers/cem/issues/new
60
- [installationdocs]: https://bennypowers.github.io/cem/docs/installation/
61
- [generatedocs]: https://bennypowers.github.io/cem/docs/commands/generate/
62
- [listdocs]: https://bennypowers.github.io/cem/docs/commands/list/
63
- [configdocs]: https://bennypowers.github.io/cem/docs/configuration/
76
+ [installationdocs]: https://bennypowers.github.io/cem/installation/
77
+ [generatedocs]: https://bennypowers.github.io/cem/commands/generate/
78
+ [listdocs]: https://bennypowers.github.io/cem/commands/list/
79
+ [searchdocs]: https://bennypowers.github.io/cem/commands/search/
80
+ [validatedocs]: https://bennypowers.github.io/cem/commands/validate/
81
+ [configdocs]: https://bennypowers.github.io/cem/configuration/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pwrs/cem",
3
- "version": "0.2.14",
3
+ "version": "0.2.16",
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.2.14",
17
- "@pwrs/cem-linux-arm64": "0.2.14",
18
- "@pwrs/cem-darwin-x64": "0.2.14",
19
- "@pwrs/cem-darwin-arm64": "0.2.14",
20
- "@pwrs/cem-win32-x64": "0.2.14",
21
- "@pwrs/cem-win32-arm64": "0.2.14"
16
+ "@pwrs/cem-linux-x64": "0.2.16",
17
+ "@pwrs/cem-linux-arm64": "0.2.16",
18
+ "@pwrs/cem-darwin-x64": "0.2.16",
19
+ "@pwrs/cem-darwin-arm64": "0.2.16",
20
+ "@pwrs/cem-win32-x64": "0.2.16",
21
+ "@pwrs/cem-win32-arm64": "0.2.16"
22
22
  },
23
23
  "files": [
24
24
  "bin/cem.js",