Skip to content

Commit 10ce96a

Browse files
committed
fix(tools)!: remove cem config
1 parent 6f49a79 commit 10ce96a

22 files changed

+32
-861
lines changed

.changeset/solid-rice-arrive.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@patternfly/pfe-tools": major
3+
---
4+
5+
Removes the (previously deprecated) `@custom-elements-manifest/analyzer` config
6+

core/pfe-core/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
},
6262
"scripts": {
6363
"clean": "git clean -fX -e node_modules -e tsconfig.tsbuildinfo",
64-
"analyze": "cem analyze",
6564
"test": "wtr --files './test/*.spec.ts' --config ../../web-test-runner.config.js"
6665
},
6766
"dependencies": {
@@ -84,7 +83,6 @@
8483
"**/*.d.ts",
8584
"**/*.js",
8685
"**/*.js.map",
87-
"!custom-elements-manifest.config.js",
8886
"custom-elements.json",
8987
"!demo/*",
9088
"!docs/*",

docs/docs/develop/javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class PfCoolElement extends LitElement {
8484
Notice the block comment above the property declaration. This is called a JSDoc docblock,
8585
and it's contents will eventually end up in the custom elements manifest for this package.
8686
It's important to add a helpful description of every public property and method on your element's class.
87-
Learn more about [how to document components](https://custom-elements-manifest.open-wc.org/analyzer/getting-started/#documenting-your-components).
87+
Learn more about [how to document components](https://bennypowers.github.io/cem/).
8888

8989
Now that we have declared the `follow` property, we can toggle it in our private `onClick` handler.
9090

elements/custom-elements-manifest.config.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

elements/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
},
7272
"scripts": {
7373
"prepublishOnly": "npm run build",
74-
"analyze": "cem analyze",
74+
"analyze": "cem generate 'elements/*/pf-*.ts' -e 'elements/*/*.d.ts' -o custom-elements.json",
7575
"build": "wireit",
7676
"test": "wtr --files './test/*.spec.ts' --config ../../web-test-runner.config.js"
7777
},
@@ -104,7 +104,6 @@
104104
"**/*.d.ts",
105105
"**/*.js",
106106
"**/*.js.map",
107-
"!custom-elements-manifest.config.js",
108107
"!demo/*",
109108
"!docs/*",
110109
"!test/*"

package-lock.json

Lines changed: 23 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@
301301
"@lit/react": "^1.0.5",
302302
"@octokit/core": "^6.1.2",
303303
"@patternfly/patternfly": "^4.224.5",
304+
"@pwrs/cem": "^0.1.0",
304305
"@rhds/elements": "^1.4.5",
305306
"@types/koa__router": "^12.0.4",
306307
"@types/node": "^22.4.1",

0 commit comments

Comments
 (0)