Skip to content

Commit 71ca34a

Browse files
Merge pull request #55 from zeixcom/feature/docs-v0.13
Feature/docs v0.13
2 parents a1aa6df + 606be2f commit 71ca34a

File tree

427 files changed

+41602
-10622
lines changed

Some content is hidden

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

427 files changed

+41602
-10622
lines changed

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ indent_style = tab
55
indent_size = 4
66
end_of_line = lf
77
charset = utf-8
8+
9+
[*.md]
10+
indent_style = space
11+
indent_size = 2
12+
trim_trailing_whitespace = true

.gitignore

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,10 @@
22
logs
33
*.log
44
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
lerna-debug.log*
8-
.pnpm-debug.log*
95

10-
# Rollup generated
6+
# Generated
117
dist
8+
test/components/main.js*
129

1310
# Diagnostic reports (https://nodejs.org/api/report.html)
1411
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -19,34 +16,8 @@ pids
1916
*.seed
2017
*.pid.lock
2118

22-
# Directory for instrumented libs generated by jscoverage/JSCover
23-
lib-cov
24-
25-
# Coverage directory used by tools like istanbul
26-
coverage
27-
*.lcov
28-
29-
# nyc test coverage
30-
.nyc_output
31-
32-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
33-
.grunt
34-
35-
# Bower dependency directory (https://bower.io/)
36-
bower_components
37-
38-
# node-waf configuration
39-
.lock-wscript
40-
41-
# Compiled binary addons (https://nodejs.org/api/addons.html)
42-
build/Release
43-
4419
# Dependency directories
4520
node_modules/
46-
jspm_packages/
47-
48-
# Snowpack dependency directory (https://snowpack.dev/)
49-
web_modules/
5021

5122
# TypeScript cache
5223
*.tsbuildinfo
@@ -60,21 +31,9 @@ web_modules/
6031
# Optional stylelint cache
6132
.stylelintcache
6233

63-
# Microbundle cache
64-
.rpt2_cache/
65-
.rts2_cache_cjs/
66-
.rts2_cache_es/
67-
.rts2_cache_umd/
68-
69-
# Optional REPL history
70-
.node_repl_history
71-
7234
# Output of 'npm pack'
7335
*.tgz
7436

75-
# Yarn Integrity file
76-
.yarn-integrity
77-
7837
# dotenv environment variable files
7938
.env
8039
.env.development.local

.prettierrc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,15 @@
33
"useTabs": true,
44
"tabWidth": 4,
55
"singleQuote": true,
6-
"arrowParens": "avoid"
6+
"arrowParens": "avoid",
7+
"experimentalOperatorPosition": "start",
8+
"overrides": [
9+
{
10+
"files": "*.md",
11+
"options": {
12+
"useTabs": false,
13+
"tabWidth": 2
14+
}
15+
}
16+
]
717
}

.rules

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ You are an expert TypeScript engineer assisting with a TypeScript library for re
44

55
## Project Guidelines
66

7-
- Read and strictly follow all guidelines in CONTRIBUTIONS.md, eslint.config.js, .editorconfig, and .prettierrc
7+
- Read and strictly follow all guidelines in CONTRIBUTIONS.md, biome.json, and .editorconfig
88
- Maintain HTML-first approach and Web Platform standards compliance
99
- Keep the library small, simple, and focused on reactive properties
1010
- Prefer functional programming style with pure functions and immutability
@@ -13,8 +13,8 @@ You are an expert TypeScript engineer assisting with a TypeScript library for re
1313
## Code Standards
1414

1515
- Use TypeScript with strict type checking
16-
- Follow the existing eslint configuration without exceptions
17-
- Apply prettier formatting as configured in .prettierrc
16+
- Follow the existing biome configuration without exceptions
17+
- Apply biome formatting as configured in biome.json
1818
- Respect .editorconfig settings for indentation and line endings
1919
- Use descriptive variable and function names that clearly indicate purpose
2020
- Prefer composition over inheritance
@@ -95,6 +95,19 @@ You are an expert TypeScript engineer assisting with a TypeScript library for re
9595
- Maintain focus on simplicity and Web Platform alignment
9696
- Balance feature completeness with library size constraints
9797

98+
## LLM Note-Taking Process
99+
100+
- Maintain LLM_NOTES.md to document unexpected behavior and solutions
101+
- When encountering unexpected library behavior, check if similar issues are documented
102+
- For new issues, document:
103+
- What was expected vs actual behavior
104+
- Root cause analysis
105+
- Solution or workaround found
106+
- Lessons learned and takeaways
107+
- Use these notes to identify patterns and potential library improvements
108+
- Flag recurring issues as candidates for library design changes
109+
- Structure notes with clear dates, components, and problem descriptions
110+
98111
## Always ask for user guidance when:
99112

100113
- Multiple valid implementation strategies exist

.zed/settings.json

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,44 @@
11
{
2+
"lsp": {
3+
"biome": {
4+
"settings": {
5+
"require_config_file": true
6+
}
7+
}
8+
},
29
"languages": {
310
"JavaScript": {
4-
"formatter": {
5-
"external": {
6-
"command": "eslint",
7-
"arguments": ["--fix", "--no-warn-ignored"]
8-
}
9-
},
11+
"formatter": { "language_server": { "name": "biome" } },
1012
"code_actions_on_format": {
11-
"source.fixAll.eslint": true
13+
"source.fixAll.biome": true,
14+
"source.organizeImports.biome": true
1215
}
13-
}
16+
},
17+
"TypeScript": {
18+
"formatter": { "language_server": { "name": "biome" } },
19+
"code_actions_on_format": {
20+
"source.fixAll.biome": true,
21+
"source.organizeImports.biome": true
22+
}
23+
},
24+
"JSX": {
25+
"formatter": { "language_server": { "name": "biome" } },
26+
"code_actions_on_format": {
27+
"source.fixAll.biome": true,
28+
"source.organizeImports.biome": true
29+
}
30+
},
31+
"TSX": {
32+
"formatter": { "language_server": { "name": "biome" } },
33+
"code_actions_on_format": {
34+
"source.fixAll.biome": true,
35+
"source.organizeImports.biome": true
36+
}
37+
},
38+
"JSON": { "formatter": { "language_server": { "name": "biome" } } },
39+
"JSONC": { "formatter": { "language_server": { "name": "biome" } } },
40+
"CSS": { "formatter": { "language_server": { "name": "biome" } } },
41+
"GraphQL": { "formatter": { "language_server": { "name": "biome" } } }
1442
},
15-
"format_on_save": "on",
16-
"eslint.rules.ignore": ["index.js", "docs/assets/main.js", "**/*.min.js"]
43+
"format_on_save": "on"
1744
}

0 commit comments

Comments
 (0)