Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

Commit be5e04f

Browse files
committed
Add elements manifest
1 parent bce7882 commit be5e04f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+14701
-179
lines changed

.changeset/neat-carpets-applaud.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@crowdstrike/glide-core': patch
3+
---
4+
5+
Each component now includes a JSDoc comment at the top with its attributes, slots, custom properties, events, properties, and methods.

custom-elements.config.js

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// The analyzer expects plugins to be JavaScript. But writing plugins in
2+
// JavaScript is unruly and error prone. So they're written in TypeScript,
3+
// then compiled and imported as JavaScript.
4+
import addCustomProperties from './dist/cem-analyzer-plugins/add-custom-properties.js';
5+
import addEvents from './dist/cem-analyzer-plugins/add-events.js';
6+
import addRequired from './dist/cem-analyzer-plugins/add-required.js';
7+
import addSlots from './dist/cem-analyzer-plugins/add-slots.js';
8+
import modifyVersionAttribute from './dist/cem-analyzer-plugins/modify-version-attribute.js';
9+
import removeBlockComments from './dist/cem-analyzer-plugins/remove-block-comments.js';
10+
11+
export default {
12+
exclude: [
13+
'./src/**/*stories*',
14+
'./src/**/*test*',
15+
'./src/cem-analzyer-plugins/**',
16+
'./src/eslint/**',
17+
'./src/icons/**',
18+
'./src/library/**',
19+
'./src/stylelint/**',
20+
'./src/styles/**',
21+
'./src/translations/**',
22+
'./src/ts-morph/**',
23+
],
24+
globs: ['./src/*.ts'],
25+
litelement: true,
26+
plugins: [
27+
removeBlockComments(),
28+
addCustomProperties(),
29+
addEvents(),
30+
addRequired(),
31+
addSlots(),
32+
modifyVersionAttribute(),
33+
],
34+
};

0 commit comments

Comments
 (0)