Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/plan-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
name: Create Prepare Release PR
with:
commit-message: "Prepare Release ${{ steps.explanation.outputs.new-version}} using 'release-plan'"
labels: "internal"
labels: 'internal'
sign-commits: true
branch: release-preview
title: Prepare Release ${{ steps.explanation.outputs.new-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:

jobs:
publish:
name: "NPM Publish"
name: 'NPM Publish'
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
**/test/_scenarios/
**/test/_snapshots/
**/lib/banners.ts
**/test-results/
**/playwright-report/
pnpm-lock.yaml
AGENTS.md
CHANGELOG.md
4 changes: 2 additions & 2 deletions plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@eksml/xml": "^0.1.2",
"magic-string": "^0.30.17",
"@eksml/xml": "^0.2.0",
"magic-string": "^1.1.0",
"svgo": "^4.0.1",
"unplugin": "^3.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions plugin/test/unit/codegen.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const BASE_CTX: CodegenContext = {
height: '24',
mode: 'sprite',
isDev: false,
isEmbedded: false,
svgMarkup: '<svg viewBox="0 0 24 24"><path d="M0 0"/></svg>',
symbolMarkup: '<symbol id="abc12345" viewBox="0 0 24 24"><path d="M0 0"/></symbol>',
refSymbols: [],
Expand Down
21 changes: 14 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 24 additions & 5 deletions test-projects/vite/vanilla/animations.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,34 @@
<meta charset="utf-8" />
<title>SVG Jar – Animated SVGs</title>
<style>
body { margin: 40px; font-family: sans-serif; background: #fafafa; }
h1 { font-size: 20px; color: #333; margin-bottom: 8px; }
p { font-size: 13px; color: #888; margin-bottom: 32px; }
#app { display: flex; flex-wrap: wrap; align-items: flex-start; }
body {
margin: 40px;
font-family: sans-serif;
background: #fafafa;
}
h1 {
font-size: 20px;
color: #333;
margin-bottom: 8px;
}
p {
font-size: 13px;
color: #888;
margin-bottom: 32px;
}
#app {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
}
</style>
</head>
<body>
<h1>Animated SVG manual test</h1>
<p>All five animations should be playing. Each is imported in sprite mode and rendered via <code>&lt;use href&gt;</code> from a shared sprite sheet.</p>
<p>
All five animations should be playing. Each is imported in sprite mode and rendered via
<code>&lt;use href&gt;</code> from a shared sprite sheet.
</p>
<div id="app"></div>
<script type="module" src="/src/animations.ts"></script>
</body>
Expand Down
Loading