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

Commit 3a75d56

Browse files
committed
Add elements manifest
1 parent 84c4a50 commit 3a75d56

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

+14718
-131
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 with its attributes, methods, slots, and events.

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 JavaScript files. But writing each plugin in JavaScript
2+
// was unruly and error prone. So they're written in TypeScript, then compiled
3+
// 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)