Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
375e052
wip
fedeghe Feb 1, 2026
2fdf218
v1.0.44
fedeghe Feb 1, 2026
8758e8a
v1.1.0
fedeghe Feb 1, 2026
d74ed85
add validation to build
fedeghe Feb 4, 2026
f28d426
give a short sas version for setting more attributes
fedeghe Feb 4, 2026
3ea4f9a
the actual validation and some usage of it
fedeghe Feb 4, 2026
25218f3
added img2base64png (still only async)
fedeghe Feb 4, 2026
51da34d
minefiled level
fedeghe Feb 7, 2026
0b88bc3
fix scale+mirrors
fedeghe Feb 8, 2026
4725299
try
fedeghe Feb 8, 2026
ee47ced
res
fedeghe Feb 9, 2026
30342e9
click & draw example
fedeghe Feb 9, 2026
50e968d
ctrl N and Z
fedeghe Feb 10, 2026
48560a4
positionInspector went a bit forward
fedeghe Feb 11, 2026
f302d37
dry getScale
fedeghe Feb 11, 2026
9e61d8c
ns
fedeghe Feb 11, 2026
25ef3b1
some examples and link to namespaces documentation
fedeghe Feb 11, 2026
f4cb753
cover
fedeghe Feb 12, 2026
6f40dbb
move setText to the L.text
fedeghe Feb 12, 2026
ddfc9f7
use everywhere updateText
fedeghe Feb 12, 2026
0941ebe
extra components= cleanup
fedeghe Feb 13, 2026
6c04f97
extra step
fedeghe Feb 14, 2026
3405646
extra
fedeghe Feb 15, 2026
8f956dc
cleanup arcSectionPath
fedeghe Feb 15, 2026
fde65c5
zx
fedeghe Feb 15, 2026
9551ee1
all tags factories are also static
fedeghe Feb 15, 2026
f9d9504
build
fedeghe Feb 17, 2026
98256a0
better positionInspector
fedeghe Feb 17, 2026
e451d1c
minor fixes
fedeghe Feb 18, 2026
1e132e9
positionInspector autogroup with the trace options
fedeghe Feb 18, 2026
5232fe3
end shortcut added to the positionInspector
fedeghe Feb 18, 2026
5fa4883
on E close quick
fedeghe Feb 18, 2026
0b86204
click
fedeghe Feb 18, 2026
34cebe4
addDefs
fedeghe Feb 19, 2026
bac7a77
infoUrl
fedeghe Feb 19, 2026
6959f19
proto x
fedeghe Feb 19, 2026
ae75832
tests
fedeghe Feb 19, 2026
5442773
docs and default vals on
fedeghe Feb 19, 2026
edde5fc
test part of build
fedeghe Feb 20, 2026
b336255
also indexes out of npm
fedeghe Feb 20, 2026
e99ff46
conway
fedeghe Feb 20, 2026
91eef88
bit of cleanup and skews
fedeghe Feb 22, 2026
755b170
build
fedeghe Feb 22, 2026
b5e4672
bit ahead
fedeghe Feb 22, 2026
3f6a172
codecov
fedeghe Feb 28, 2026
037af89
💯
fedeghe Feb 28, 2026
915477a
s
fedeghe Feb 28, 2026
03577cf
remove
fedeghe Mar 13, 2026
68e8fe9
filter args
fedeghe Mar 13, 2026
e1d646f
anumate
fedeghe Mar 13, 2026
4cab161
better animate
fedeghe Mar 13, 2026
647859f
more tests
fedeghe Mar 13, 2026
ea9fded
sync readme
fedeghe Mar 13, 2026
4c2540f
better build
fedeghe Mar 15, 2026
55383fc
fix demp
fedeghe Mar 16, 2026
e019af2
cover 💯
fedeghe Mar 17, 2026
281403b
svgDownloadAnchor & pngDownloadAnchor
fedeghe Mar 20, 2026
2bea3c3
even better
fedeghe Mar 21, 2026
d2f8fbb
just move
fedeghe Mar 21, 2026
45536b9
good boy
fedeghe Mar 23, 2026
4623ff7
dooGyoB
fedeghe Mar 23, 2026
29a902d
logo
fedeghe Mar 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "npm test 2>/dev/null || true",
"statusMessage": "Running tests..."
}
]
}
]
}
}
41 changes: 41 additions & 0 deletions .claude/skills/testing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Testing Skill for Leonardo

## Description
Run tests automatically after code changes to ensure code quality and prevent regressions.

## Instructions

After any code changes (Write or Edit operations), run `npm test` to verify the changes don't break existing functionality.

## Usage

This skill is automatically triggered after Write or Edit operations.

## Configuration

Add this to your `.claude/settings.json`:

```json
{
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "npm test 2>/dev/null || true",
"statusMessage": "Running tests..."
}
]
}
]
}
}
```

## Notes

- Tests run asynchronously and don't block the main workflow
- Failures are reported but don't prevent the operation from completing
- Use `npm run cover` for coverage reports when needed
33 changes: 33 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Run tests and upload coverage

on:
push

jobs:
test:
name: Run tests and collect coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Set up Node
uses: actions/setup-node@v4

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- name: Run tests
run: npm run cover

- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./tests/coverage/lcov.info
fail_ci_if_error: true
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/coverage/
.printVersion
.buildNum.json
.coveralls.yml
ENHANCEMENTS.md
6 changes: 4 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
.printVersion
.buildNum.json
.coveralls.yml
/test
/tests
/demo
/coverage
/ghp
/ghp
index.html
index2.html
Binary file added .yarn/install-state.gz
Binary file not shown.
9 changes: 9 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# AGENTS.md

## Setup commands
- Install deps: `yarn`
- Run tests: `yarn test`

## Testing instructions
- do not change anything within the root's tests folder
- whenever you write/update a test act only on the `source/tests` folder
Loading
Loading