mirror of
https://github.com/unraid/api.git
synced 2026-01-04 07:29:48 -06:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Upgraded Storybook and related dependencies to the latest major version. * Updated Storybook configuration and removed deprecated addons. * Added Storybook linting plugin to the development environment. * Added deployment scripts and configuration for Storybook to Cloudflare Workers. * Introduced GitHub Actions workflow for automated Storybook deployment to staging and production environments. * Enhanced environment variable loading to suppress output in production and non-development environments. * **Refactor** * Updated all Storybook stories to use the new Storybook package imports and consistent single-quote formatting. * Improved ESLint configuration formatting and included recommended Storybook linting rules. * **Style** * Standardized import statements and string quotes across all Storybook story files for consistency. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
145 lines
4.5 KiB
JSON
145 lines
4.5 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",
|
|
"// Cloudflare Workers Deployment": "",
|
|
"deploy:storybook": "pnpm build-storybook && wrangler deploy",
|
|
"deploy:storybook:staging": "pnpm build-storybook && wrangler deploy --env staging"
|
|
},
|
|
"peerDependencies": {
|
|
"tailwindcss": "3.4.17",
|
|
"vue": "3.5.17"
|
|
},
|
|
"dependencies": {
|
|
"@headlessui/vue": "1.7.23",
|
|
"@heroicons/vue": "2.2.0",
|
|
"@internationalized/number": "3.6.3",
|
|
"@jsonforms/core": "3.6.0",
|
|
"@jsonforms/vue": "3.6.0",
|
|
"@jsonforms/vue-vanilla": "3.6.0",
|
|
"@vueuse/core": "13.4.0",
|
|
"class-variance-authority": "0.7.1",
|
|
"clsx": "2.1.1",
|
|
"dompurify": "3.2.6",
|
|
"kebab-case": "2.0.2",
|
|
"lucide-vue-next": "0.519.0",
|
|
"marked": "16.0.0",
|
|
"reka-ui": "2.3.1",
|
|
"shadcn-vue": "2.2.0",
|
|
"tailwind-merge": "2.6.0",
|
|
"vue-sonner": "1.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@ianvs/prettier-plugin-sort-imports": "4.4.2",
|
|
"@storybook/addon-docs": "9.0.16",
|
|
"@storybook/addon-links": "9.0.16",
|
|
"@storybook/builder-vite": "9.0.16",
|
|
"@storybook/vue3-vite": "9.0.16",
|
|
"@tailwindcss/typography": "0.5.16",
|
|
"@testing-library/vue": "8.1.0",
|
|
"@types/jsdom": "21.1.7",
|
|
"@types/node": "22.15.32",
|
|
"@types/testing-library__vue": "5.3.0",
|
|
"@typescript-eslint/eslint-plugin": "8.34.1",
|
|
"@unraid/tailwind-rem-to-rem": "1.1.0",
|
|
"@vitejs/plugin-vue": "5.2.4",
|
|
"@vitejs/plugin-vue-jsx": "4.2.0",
|
|
"@vitest/coverage-v8": "3.2.4",
|
|
"@vitest/ui": "3.2.4",
|
|
"@vue/test-utils": "2.4.6",
|
|
"@vue/tsconfig": "0.7.0",
|
|
"autoprefixer": "10.4.21",
|
|
"concurrently": "9.1.2",
|
|
"eslint": "9.29.0",
|
|
"eslint-config-prettier": "10.1.5",
|
|
"eslint-plugin-import": "2.31.0",
|
|
"eslint-plugin-no-relative-import-paths": "1.6.1",
|
|
"eslint-plugin-prettier": "5.5.0",
|
|
"eslint-plugin-storybook": "9.0.16",
|
|
"eslint-plugin-vue": "10.2.0",
|
|
"happy-dom": "18.0.0",
|
|
"jiti": "^2.4.2",
|
|
"postcss": "8.5.6",
|
|
"postcss-import": "16.1.1",
|
|
"prettier": "3.5.3",
|
|
"prettier-plugin-tailwindcss": "0.6.13",
|
|
"rimraf": "6.0.1",
|
|
"storybook": "9.0.16",
|
|
"tailwind-rem-to-rem": "github:unraid/tailwind-rem-to-rem",
|
|
"tailwindcss": "3.4.17",
|
|
"tailwindcss-animate": "1.0.7",
|
|
"typescript": "5.8.3",
|
|
"typescript-eslint": "8.34.1",
|
|
"vite": "6.3.5",
|
|
"vite-plugin-dts": "3.9.1",
|
|
"vite-plugin-vue-devtools": "7.7.7",
|
|
"vitest": "3.2.4",
|
|
"vue": "3.5.17",
|
|
"vue-tsc": "3.0.1",
|
|
"wrangler": "^3.87.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"@rollup/rollup-linux-x64-gnu": "4.44.0"
|
|
},
|
|
"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.4"
|
|
}
|