Commit 1106cbb
authored
Major refactor, documentation overhaul, and community best practices (#248)
* fix: handle zero value symbol initialization
* refactor: simplify partial function
* docs: update JSDoc for partial and handleZeroValue
* docs: add AGENTS.md for agent guidelines
* refactor: remove .cursor rules directory
* docs: fix TECHNICAL_DOCUMENTATION.md examples and standard names
* docs: rewrite CODE_STYLE_GUIDE.md from actual source code
* docs: rewrite README.md from source code
* docs: update copyright year to 2026
* docs: update AGENTS.md with current tooling
* chore: update dependencies
* chore: update fix script to use oxlint and oxfmt
* chore: remove redundant format scripts
* chore: update lint script and fix formatting
* fix: resolve oxlint warnings in benchmarks
* fix: update husky pre-commit hook for v9
* build: update dist files
* style: configure oxfmt to use tabs
* chore: add oxlint and oxfmt to devDependencies
* chore: remove eslint config
* docs: fix README.md examples and structure
* docs: add API.md reference
* docs: fix CODE_STYLE_GUIDE.md references
* docs: fix base option example in API.md
* docs: fix inaccurate examples in API.md
* docs: fix inaccurate examples in JSDoc and API documentation
* fix: handle negative numbers with padding correctly
* docs: fix inaccurate partial() example
* refactor: shallow clone options in partial() for immutability
* refactor: deep clone options in partial() for full immutability
* perf: optimize deepClone with type-based memoization
* perf: simplify deepClone with lexical constant
* fix: throw error for non-JSON-serializable options in JSON fallback
* test: add edge case tests for non-JSON-serializable options
* docs: add security section to AGENTS.md and update line counts
* fix: merge terser and newline plugins in minified outputs
* refactor: remove duplicate generatedCode from minOutBase
* fix: detect only decimal separators in padding, ignore grouping separators
* test: clarify grouping separator test comments
* test: add German locale padding test with decimal places
* test: correct expected value for German locale grouping separator test
* refactor: simplify partial() with destructuring, fix grouping separator detection
* refactor: simplify partial() with destructuring, fix grouping separator detection
* docs: update type definition examples to match current outputs
* fix: preserve sourcemap in ensureNewline plugin
* types: add missing symbol parameter to handleZeroValue
* fix: use generateBundle for newline to preserve sourcemaps
* docs: update partial() documentation to reflect destructuring approach
* fix: respect forced exponent in applyPrecisionHandling
* test: add exponent parameter to applyPrecisionHandling tests
* build: update distribution files
* refactor: simplify exponent auto-detection logic for better coverage
* build: update distribution files
* fix: respect forced exponent in bits auto-increment
* build: update distribution files
* docs: update AGENTS.md with recent changes
* lint: add oxlint config with no-unused-vars and no-console rules
* types: add missing exponent parameter to applyPrecisionHandling
* docs: update security note to reflect partial() destructuring approach
* docs: update regex pattern in security section to match current implementation
* docs: update README with TypeScript examples, project stats, and community links
* docs: update CONTRIBUTING and CHANGELOG links to GitHub
* docs: add CONTRIBUTING.md with contribution guidelines
* docs: fix CONTRIBUTING and CHANGELOG links to use master branch1 parent ab17b96 commit 1106cbb
35 files changed
Lines changed: 5054 additions & 5470 deletions
File tree
- .cursor/rules
- .husky
- benchmarks
- dist
- docs
- src
- tests/unit
- types
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | 2 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments