mirror of
https://github.com/unraid/api.git
synced 2026-01-01 06:01:18 -06:00
Downgrades the `vue-sonner` dependency from `2.0.0` to `1.3.0` because the newer version relies on unocss under the hood, which can't pipe across the web component build/boundary without modifying our css plumbing. The older version relied on a `styles.css` stylesheet. That stylesheet also couldn't make it through our build pipeline, but since it was a single asset, I vendored it via `sonner.css`. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved logic to prevent duplicate insertion of the toaster element in the page layout. * **Chores** * Downgraded the "vue-sonner" dependency to version ^1.3.0. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- - To see the specific tasks where the Asana app for GitHub is being used, see below: - https://app.asana.com/0/0/1210640791480730
141 lines
4.3 KiB
JSON
141 lines
4.3 KiB
JSON
{
|
|
"name": "@unraid/ui",
|
|
"version": "4.8.0",
|
|
"private": true,
|
|
"license": "GPL-2.0-or-later",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist",
|
|
"tailwind.config.ts"
|
|
],
|
|
"scripts": {
|
|
"prepare": "pnpm build",
|
|
"// Development": "",
|
|
"dev": "vite",
|
|
"preview": "vite preview",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"coverage": "vitest run --coverage",
|
|
"// Build": "",
|
|
"build": "vite build",
|
|
"build:watch": "concurrently \"pnpm build:wc --watch\" \"pnpm build --watch\"",
|
|
"build:watch:main": "vite build --watch",
|
|
"build:wc": "REM_PLUGIN=true vite build -c vite.web-component.ts --mode production",
|
|
"build:all": "vite build && vite build -c vite.web-component.ts --mode production",
|
|
"clean": "rimraf dist",
|
|
"type-check": "vue-tsc --noEmit",
|
|
"lint": "eslint src",
|
|
"lint:fix": "eslint src --fix",
|
|
"// Deploy to Unraid Server": "",
|
|
"preunraid:deploy": "pnpm build:wc",
|
|
"unraid:deploy": "just deploy",
|
|
"// Storybook": "",
|
|
"prestorybook": "pnpm storybook:css",
|
|
"storybook": "storybook dev -p 6006",
|
|
"storybook:css": "node scripts/build-style.mjs",
|
|
"prebuild-storybook": "pnpm storybook:css",
|
|
"build-storybook": "storybook build"
|
|
},
|
|
"peerDependencies": {
|
|
"tailwindcss": "^3.0.0",
|
|
"vue": "^3.3.0"
|
|
},
|
|
"dependencies": {
|
|
"@headlessui/vue": "^1.7.23",
|
|
"@heroicons/vue": "^2.2.0",
|
|
"@internationalized/number": "^3.6.0",
|
|
"@jsonforms/core": "^3.5.1",
|
|
"@jsonforms/vue": "^3.5.1",
|
|
"@jsonforms/vue-vanilla": "^3.5.1",
|
|
"@vueuse/core": "^13.0.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"dompurify": "^3.2.5",
|
|
"kebab-case": "^2.0.1",
|
|
"lucide-vue-next": "^0.519.0",
|
|
"shadcn-vue": "^2.0.0",
|
|
"marked": "^15.0.0",
|
|
"reka-ui": "^2.1.1",
|
|
"tailwind-merge": "^2.6.0",
|
|
"vue-sonner": "^1.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
|
|
"@storybook/addon-essentials": "^8.6.12",
|
|
"@storybook/addon-interactions": "^8.6.12",
|
|
"@storybook/addon-links": "^8.6.12",
|
|
"@storybook/builder-vite": "^8.6.12",
|
|
"@storybook/vue3": "^8.6.12",
|
|
"@storybook/vue3-vite": "^8.6.12",
|
|
"@tailwindcss/typography": "^0.5.15",
|
|
"@testing-library/vue": "^8.0.0",
|
|
"@types/jsdom": "^21.1.7",
|
|
"@types/node": "^22.0.0",
|
|
"@types/testing-library__vue": "^5.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.29.0",
|
|
"@unraid/tailwind-rem-to-rem": "^1.1.0",
|
|
"@vitejs/plugin-vue": "^5.0.0",
|
|
"@vitejs/plugin-vue-jsx": "^4.1.1",
|
|
"@vitest/coverage-v8": "^3.0.0",
|
|
"@vitest/ui": "^3.0.0",
|
|
"@vue/test-utils": "^2.4.0",
|
|
"@vue/tsconfig": "^0.7.0",
|
|
"autoprefixer": "^10.4.20",
|
|
"concurrently": "^9.1.2",
|
|
"eslint": "^9.17.0",
|
|
"eslint-config-prettier": "^10.0.0",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-no-relative-import-paths": "^1.6.1",
|
|
"eslint-plugin-prettier": "^5.2.3",
|
|
"eslint-plugin-vue": "^10.0.0",
|
|
"happy-dom": "^18.0.0",
|
|
"postcss": "^8.4.49",
|
|
"postcss-import": "^16.1.0",
|
|
"prettier": "3.5.3",
|
|
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
"rimraf": "^6.0.1",
|
|
"storybook": "^8.6.12",
|
|
"tailwind-rem-to-rem": "github:unraid/tailwind-rem-to-rem",
|
|
"tailwindcss": "^3.0.0",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"typescript": "^5.7.3",
|
|
"typescript-eslint": "^8.13.0",
|
|
"vite": "^6.0.0",
|
|
"vite-plugin-dts": "^3.0.0",
|
|
"vite-plugin-vue-devtools": "^7.7.1",
|
|
"vitest": "^3.0.0",
|
|
"vue": "^3.3.0",
|
|
"vue-tsc": "^2.0.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"@rollup/rollup-linux-x64-gnu": "^4.30.1"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"./styles": "./dist/style.css",
|
|
"./styles/*": "./src/styles/*",
|
|
"./tailwind.config": {
|
|
"types": "./dist/tailwind.config.d.ts",
|
|
"import": "./dist/tailwind.config.js",
|
|
"default": "./dist/tailwind.config.js"
|
|
},
|
|
"./tailwind.config.ts": {
|
|
"import": "./tailwind.config.ts",
|
|
"default": "./tailwind.config.ts"
|
|
},
|
|
"./theme/preset": {
|
|
"types": "./dist/theme/preset.d.ts",
|
|
"import": "./dist/theme/preset.js"
|
|
}
|
|
},
|
|
"packageManager": "pnpm@10.12.1"
|
|
}
|