mirror of
https://github.com/gromlab-ru/svg-sprites.git
synced 2026-07-22 04:40:17 +03:00
feat: добавить поддержку 20 framework exact modes
Добавлены exact modes: - vue@vite и vue@webpack - nuxt@vite и nuxt@webpack - svelte@vite, svelte@webpack и sveltekit@vite - angular@application и angular@webpack - astro@vite - solid@vite, solid@webpack и solid-start@vite - preact@vite и preact@webpack - qwik@vite - lit@vite и lit@webpack - alpine@vite и alpine@webpack Для каждого mode реализованы изолированный adapter, нативный framework-компонент, declarations, manifest, CSS и внешний asset URL. Добавлены production integration-стенды с генерацией, typecheck, сборкой и Playwright-проверкой рендера спрайта и Viewer. Обновлены Viewer, RU/EN-гайды, README, technical reference и AI skills. Итоговая матрица включает 29 exact modes. Проверки: - 48 unit-тестов - 29 integration E2E-тестов
This commit is contained in:
16
package.json
16
package.json
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@gromlab/svg-sprites",
|
||||
"version": "1.1.5",
|
||||
"description": "Generate SVG sprites and typed icon components for standalone, React, and Next.js",
|
||||
"description": "Generate external SVG sprites and typed native icon components for modern web frameworks",
|
||||
"type": "module",
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
@@ -56,7 +56,7 @@
|
||||
],
|
||||
"scripts": {
|
||||
"build": "npm run build:package",
|
||||
"build:package": "tsup && tsup --config tsup.viewer.config.ts",
|
||||
"build:package": "tsup && tsup --config tsup.browser.config.ts && tsup --config tsup.viewer.config.ts",
|
||||
"build:skill": "node skills/svg-sprites/build.mjs",
|
||||
"check:skill": "node skills/svg-sprites/build.mjs --check",
|
||||
"dev": "tsup --watch",
|
||||
@@ -75,7 +75,11 @@
|
||||
"sprite",
|
||||
"svg-sprite",
|
||||
"icons",
|
||||
"vite",
|
||||
"webpack",
|
||||
"nextjs",
|
||||
"vue",
|
||||
"svelte",
|
||||
"typescript",
|
||||
"codegen"
|
||||
],
|
||||
@@ -97,8 +101,10 @@
|
||||
"dependencies": {
|
||||
"colorette": "^2.0.20",
|
||||
"jiti": "^2.6.1",
|
||||
"lit": "^3.3.3",
|
||||
"svg-sprite": "^2.0.4",
|
||||
"tinyglobby": "^0.2.17"
|
||||
"tinyglobby": "^0.2.17",
|
||||
"vanilla-colorful": "^0.7.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=18 <20"
|
||||
@@ -118,11 +124,9 @@
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@types/svg-sprite": "^0.0.39",
|
||||
"jsdom": "^26.1.0",
|
||||
"lit": "^3.3.3",
|
||||
"react": "^19.2.5",
|
||||
"react-dom": "^19.2.5",
|
||||
"tsup": "^8.4.0",
|
||||
"typescript": "^5.8.3",
|
||||
"vanilla-colorful": "^0.7.2"
|
||||
"typescript": "^5.8.3"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user