Commit 8cc1fea
authored
feat: add baseline command (#4)
* feat: Switch from dynamic import to a more explicit approach
* fix: Fix deploy.ts to use the exported commands Map
* feat: Add typecheck script and remove zod
* feat: remove zod
* feat: create a file for event types
* feat: create event utils
* feat: add events barrel export
* feat: add commands type
* feat: add commands utils
* feat: add commands barrel export
* refactor: adjust imports paths
* refactor: adjust events import paths
* refactor: update index.ts to accomodate barrel exports and utils
* fix: fix bug in rate limiter
* feat: remove loaders files, logic moved to other files
* feat: Add clampText util
* feat: add web-features lib
add lib
add patch to export types (no idea why they're not exporting them)
* refactor: remove web-features pnpm patch
* feat: Set TS's version in vscode settings
choose the version from node_modules instead of vscode's version
* feat: Add fuzzy search util
* refactor: Use `Command` type in `createCommand` util
* refactor: Remove unnecessary `satisfies` from return type
* feat: Add emoji constants
* refactor: Update command consumers to use object arg
* feat: Add shared docs command types
* feat: Add shared docs commands utils
* feat: Restructure docs commands - add baseline command
- delete old providers file
- extract proviers to seperate files
- add baseline command
* feat: add `getBaselineFeatures` util
* fix: Fix package.json test script
* refactor: move providers to the root of docs/ folder
* test: Add baseline unit tests
* feat: add checks before running docs interaction and defer the reply
* feat: use new `getBaselineFeatures`
* chore(tools): require following curly brace conventions in biome config
* chore: use curly braces instead of one line functions
* refactor: simplify SearchItem type definition in mdn and npm providers
* refactor: simplify createBaseConfig function implementation and add explicit return type
* chore(tools): fix test script in ci
* chore(tools): fix test scripts #2
* chore(tools): simplify ci scripts
* chore(tools): Fix typo in script
* refactor: pick a better name for collection filter function arg
* refactor: rename variable in component collector for clarity1 parent 93c2c29 commit 8cc1fea
File tree
24 files changed
+840
-486
lines changed- .github/workflows
- .vscode
- src
- commands
- docs
- guides
- tips
- constants
- events
- util
24 files changed
+840
-486
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
0 commit comments