diff --git a/.github/workflows/plan-release.yml b/.github/workflows/plan-release.yml index b2843ad..196efda 100644 --- a/.github/workflows/plan-release.yml +++ b/.github/workflows/plan-release.yml @@ -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 }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 77725c0..e7d5fae 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ concurrency: jobs: publish: - name: "NPM Publish" + name: 'NPM Publish' runs-on: ubuntu-latest permissions: contents: write diff --git a/.prettierignore b/.prettierignore index f6846d8..2438d35 100644 --- a/.prettierignore +++ b/.prettierignore @@ -3,5 +3,8 @@ **/test/_scenarios/ **/test/_snapshots/ **/lib/banners.ts +**/test-results/ +**/playwright-report/ pnpm-lock.yaml AGENTS.md +CHANGELOG.md diff --git a/plugin/package.json b/plugin/package.json index d811a51..a98a690 100644 --- a/plugin/package.json +++ b/plugin/package.json @@ -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" }, diff --git a/plugin/test/unit/codegen.test.ts b/plugin/test/unit/codegen.test.ts index a80f5bc..1c043c7 100644 --- a/plugin/test/unit/codegen.test.ts +++ b/plugin/test/unit/codegen.test.ts @@ -11,6 +11,7 @@ const BASE_CTX: CodegenContext = { height: '24', mode: 'sprite', isDev: false, + isEmbedded: false, svgMarkup: '', symbolMarkup: '', refSymbols: [], diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1acdaff..e419acb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -57,11 +57,11 @@ importers: plugin: dependencies: '@eksml/xml': - specifier: ^0.1.2 - version: 0.1.2 + specifier: ^0.2.0 + version: 0.2.0 magic-string: - specifier: ^0.30.17 - version: 0.30.21 + specifier: ^1.1.0 + version: 1.1.0 svgo: specifier: ^4.0.1 version: 4.0.1 @@ -889,8 +889,8 @@ packages: resolution: {integrity: sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw==} engines: {node: '>=18'} - '@eksml/xml@0.1.2': - resolution: {integrity: sha512-P8HpBCeTfkxcHpA/vzSGeoz1gwi4fL8wMekp9MfuVGa3B+6CmXvyQiBReQpGLfmRWrXzsX63DOO77fvKF6kPbg==} + '@eksml/xml@0.2.0': + resolution: {integrity: sha512-/MpwSx0jnhhKTzDzLb3yzZN/Rm73nGoDvLFEfsicZY3OWcw6DTkbgGPcIKbkoOPtloSESGK7eVLoVnNmHrIVOQ==} '@ember-data/rfc395-data@0.0.4': resolution: {integrity: sha512-tGRdvgC9/QMQSuSuJV45xoyhI0Pzjm7A9o/MVVA3HakXIImJbbzx/k/6dO9CUEQXIyS2y0fW6C1XaYOG7rY0FQ==} @@ -3435,6 +3435,9 @@ packages: magic-string@0.30.21: resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} + magic-string@1.1.0: + resolution: {integrity: sha512-kS3VHe0nEPST2saQV4Rbkchcd3UBRkVTQHo1D3h/ZTwFDhai/mfKkmtPAtD129EOI7K3HlHIsFOt0WrI2/oU9g==} + make-fetch-happen@9.1.0: resolution: {integrity: sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==} engines: {node: '>= 10'} @@ -5652,7 +5655,7 @@ snapshots: '@csstools/css-tokenizer@3.0.4': {} - '@eksml/xml@0.1.2': + '@eksml/xml@0.2.0': dependencies: entities: 8.0.0 @@ -8578,6 +8581,10 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.5.5 + magic-string@1.1.0: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.5 + make-fetch-happen@9.1.0: dependencies: agentkeepalive: 4.6.0 diff --git a/test-projects/vite/vanilla/animations.html b/test-projects/vite/vanilla/animations.html index 4c79dbb..8fe1b00 100644 --- a/test-projects/vite/vanilla/animations.html +++ b/test-projects/vite/vanilla/animations.html @@ -4,15 +4,34 @@ SVG Jar – Animated SVGs

Animated SVG manual test

-

All five animations should be playing. Each is imported in sprite mode and rendered via <use href> from a shared sprite sheet.

+

+ All five animations should be playing. Each is imported in sprite mode and rendered via + <use href> from a shared sprite sheet. +