diff --git a/packages/components/histoire.config.ts b/packages/components/histoire.config.ts index 35d0cec2..742bb636 100644 --- a/packages/components/histoire.config.ts +++ b/packages/components/histoire.config.ts @@ -1,9 +1,10 @@ import { defineConfig } from "histoire"; import type { UserConfig } from "vite"; +import { HstVue } from "@histoire/plugin-vue"; export default defineConfig({ setupFile: "./src/histoire.setup.ts", - + plugins: [HstVue()], vite: { plugins: [ { diff --git a/packages/components/package.json b/packages/components/package.json index 5a5c5cf3..0d5ecd31 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -45,8 +45,9 @@ "homepage": "https://github.com/halo-dev/halo-admin/tree/next/packages/components#readme", "license": "MIT", "devDependencies": { + "@histoire/plugin-vue": "^0.10.2", "@iconify-json/ri": "^1.1.3", - "histoire": "^0.8.4", + "histoire": "^0.10.2", "unplugin-icons": "^0.14.8", "vite-plugin-dts": "^1.4.1" }, diff --git a/packages/components/src/histoire.setup.ts b/packages/components/src/histoire.setup.ts index fad4e6b2..0cf869d8 100644 --- a/packages/components/src/histoire.setup.ts +++ b/packages/components/src/histoire.setup.ts @@ -1,5 +1,5 @@ import "@/styles/tailwind.css"; -import { defineSetupVue3 } from "histoire/client"; +import { defineSetupVue3 } from "@histoire/plugin-vue"; // eslint-disable-next-line @typescript-eslint/no-empty-function export default defineSetupVue3(() => {}); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ff00fb24..b9cfb98f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -160,9 +160,10 @@ importers: '@codemirror/legacy-modes': ^6.1.0 '@codemirror/state': ^6.1.1 '@codemirror/view': ^6.2.0 + '@histoire/plugin-vue': ^0.10.2 '@iconify-json/ri': ^1.1.3 codemirror: ^6.0.1 - histoire: ^0.8.4 + histoire: ^0.10.2 unplugin-icons: ^0.14.8 vite-plugin-dts: ^1.4.1 dependencies: @@ -173,8 +174,9 @@ importers: '@codemirror/view': 6.2.0 codemirror: 6.0.1 devDependencies: + '@histoire/plugin-vue': 0.10.2_histoire@0.10.2 '@iconify-json/ri': 1.1.3 - histoire: 0.8.4 + histoire: 0.10.2 unplugin-icons: 0.14.8 vite-plugin-dts: 1.4.1 @@ -2198,30 +2200,41 @@ packages: '@hapi/hoek': 9.2.1 dev: true - /@histoire/controls/0.8.4: - resolution: {integrity: sha512-Z4oUN1L+0CHBrh5mtrNclriuPX2gDX2xgwnvzErGkgbH55Jqrgj7um4C4azaUw24P5eqnCxtBjI3QBFaJMgPLw==} + /@histoire/app/0.10.2: + resolution: {integrity: sha512-FPmuoCxdsbmyjPNOYctOjTExdaG6xGhdDAuCBqGFkO03uQ4uW6vNsU88GFVPTe35dRQDamqtke5ycY6fsvsuqw==} dependencies: - '@histoire/vendors': 0.8.4 + '@histoire/controls': 0.10.2 + '@histoire/shared': 0.10.2 + '@histoire/vendors': 0.10.2 + '@types/flexsearch': 0.7.3 + flexsearch: 0.7.21 + shiki: 0.10.1 dev: true - /@histoire/plugin-vue/0.8.4_histoire@0.8.4: - resolution: {integrity: sha512-WTFWKylPxVMd2Y64+baynzThXwJTonx9yXPivFU21pPMFTP0EhhFJG70LBBHzxbZqo7kjpPFDT0RZy6Fta5vog==} + /@histoire/controls/0.10.2: + resolution: {integrity: sha512-Hf/4+b3sQfZ4wDvgvmDwkhgVxgWg3U6vR2SzFTLMttHoi55cn8b9lnsS6HLqeszGPa94ZVKqfEZUBftN80tymA==} + dependencies: + '@histoire/vendors': 0.10.2 + dev: true + + /@histoire/plugin-vue/0.10.2_histoire@0.10.2: + resolution: {integrity: sha512-uiqvye8zK47IeRd/jkuAvf+3inkfdtL0Wii3lUgRrhXDAJVBymBg5CBulJ/+2nKq0ngg/eeeovbedvPpdWOnzA==} peerDependencies: - histoire: ^0.8.4 + histoire: ^0.10.2 vue: ^3.2.31 dependencies: - '@histoire/controls': 0.8.4 - '@histoire/shared': 0.8.4 - '@histoire/vendors': 0.8.4 - histoire: 0.8.4 + '@histoire/controls': 0.10.2 + '@histoire/shared': 0.10.2 + '@histoire/vendors': 0.10.2 + histoire: 0.10.2 dev: true - /@histoire/shared/0.8.4: - resolution: {integrity: sha512-9YAjVsV9owtjH2M0IS3HcQZ4vuxOm38MFr3uzns58qYQFXVIewe7wqDx8dO3Sju+/pYYp9epfek533Z202vWqQ==} + /@histoire/shared/0.10.2: + resolution: {integrity: sha512-iHV6NpnhjHdXjks4tK5//9SoaHXefEzk6tbsSAHjOdbVTSLjMjO47CH9TBKbGmw8GiAtdRQb2rIAH9/HJ1Op9A==} dev: true - /@histoire/vendors/0.8.4: - resolution: {integrity: sha512-h94N2tKPi6jcpBNqRPr6+XH3uCW7nBHr0Cza2y8KZHOXsHgjfQjSlcbFVjdSfpR5yjNGLcqRvROwHKBHduIoBQ==} + /@histoire/vendors/0.10.2: + resolution: {integrity: sha512-kERzpN5uQC0lky8e5i3T4v7M/luGT4KavNaddBgk7b87xD+fRE2IHSB6qHGf+g52MHT5RAfZJmURRTDtGIg7qw==} dev: true /@humanwhocodes/config-array/0.10.4: @@ -4968,15 +4981,6 @@ packages: is-symbol: 1.0.4 dev: true - /esbuild-android-64/0.14.29: - resolution: {integrity: sha512-tJuaN33SVZyiHxRaVTo1pwW+rn3qetJX/SRuc/83rrKYtyZG0XfsQ1ao1nEudIt9w37ZSNXR236xEfm2C43sbw==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - /esbuild-android-64/0.14.53: resolution: {integrity: sha512-fIL93sOTnEU+NrTAVMIKiAw0YH22HWCAgg4N4Z6zov2t0kY9RAJ50zY9ZMCQ+RT6bnOfDt8gCTnt/RaSNA2yRA==} engines: {node: '>=12'} @@ -4986,15 +4990,6 @@ packages: dev: true optional: true - /esbuild-android-arm64/0.14.29: - resolution: {integrity: sha512-D74dCv6yYnMTlofVy1JKiLM5JdVSQd60/rQfJSDP9qvRAI0laPXIG/IXY1RG6jobmFMUfL38PbFnCqyI/6fPXg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - /esbuild-android-arm64/0.14.53: resolution: {integrity: sha512-PC7KaF1v0h/nWpvlU1UMN7dzB54cBH8qSsm7S9mkwFA1BXpaEOufCg8hdoEI1jep0KeO/rjZVWrsH8+q28T77A==} engines: {node: '>=12'} @@ -5004,15 +4999,6 @@ packages: dev: true optional: true - /esbuild-darwin-64/0.14.29: - resolution: {integrity: sha512-+CJaRvfTkzs9t+CjGa0Oa28WoXa7EeLutQhxus+fFcu0MHhsBhlmeWHac3Cc/Sf/xPi1b2ccDFfzGYJCfV0RrA==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - /esbuild-darwin-64/0.14.53: resolution: {integrity: sha512-gE7P5wlnkX4d4PKvLBUgmhZXvL7lzGRLri17/+CmmCzfncIgq8lOBvxGMiQ4xazplhxq+72TEohyFMZLFxuWvg==} engines: {node: '>=12'} @@ -5022,15 +5008,6 @@ packages: dev: true optional: true - /esbuild-darwin-arm64/0.14.29: - resolution: {integrity: sha512-5Wgz/+zK+8X2ZW7vIbwoZ613Vfr4A8HmIs1XdzRmdC1kG0n5EG5fvKk/jUxhNlrYPx1gSY7XadQ3l4xAManPSw==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - /esbuild-darwin-arm64/0.14.53: resolution: {integrity: sha512-otJwDU3hnI15Q98PX4MJbknSZ/WSR1I45il7gcxcECXzfN4Mrpft5hBDHXNRnCh+5858uPXBXA1Vaz2jVWLaIA==} engines: {node: '>=12'} @@ -5040,15 +5017,6 @@ packages: dev: true optional: true - /esbuild-freebsd-64/0.14.29: - resolution: {integrity: sha512-VTfS7Bm9QA12JK1YXF8+WyYOfvD7WMpbArtDj6bGJ5Sy5xp01c/q70Arkn596aGcGj0TvQRplaaCIrfBG1Wdtg==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - /esbuild-freebsd-64/0.14.53: resolution: {integrity: sha512-WkdJa8iyrGHyKiPF4lk0MiOF87Q2SkE+i+8D4Cazq3/iqmGPJ6u49je300MFi5I2eUsQCkaOWhpCVQMTKGww2w==} engines: {node: '>=12'} @@ -5058,15 +5026,6 @@ packages: dev: true optional: true - /esbuild-freebsd-arm64/0.14.29: - resolution: {integrity: sha512-WP5L4ejwLWWvd3Fo2J5mlXvG3zQHaw5N1KxFGnUc4+2ZFZknP0ST63i0IQhpJLgEJwnQpXv2uZlU1iWZjFqEIg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - /esbuild-freebsd-arm64/0.14.53: resolution: {integrity: sha512-9T7WwCuV30NAx0SyQpw8edbKvbKELnnm1FHg7gbSYaatH+c8WJW10g/OdM7JYnv7qkimw2ZTtSA+NokOLd2ydQ==} engines: {node: '>=12'} @@ -5076,15 +5035,6 @@ packages: dev: true optional: true - /esbuild-linux-32/0.14.29: - resolution: {integrity: sha512-4myeOvFmQBWdI2U1dEBe2DCSpaZyjdQtmjUY11Zu2eQg4ynqLb8Y5mNjNU9UN063aVsCYYfbs8jbken/PjyidA==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-32/0.14.53: resolution: {integrity: sha512-VGanLBg5en2LfGDgLEUxQko2lqsOS7MTEWUi8x91YmsHNyzJVT/WApbFFx3MQGhkf+XdimVhpyo5/G0PBY91zg==} engines: {node: '>=12'} @@ -5094,15 +5044,6 @@ packages: dev: true optional: true - /esbuild-linux-64/0.14.29: - resolution: {integrity: sha512-iaEuLhssReAKE7HMwxwFJFn7D/EXEs43fFy5CJeA4DGmU6JHh0qVJD2p/UP46DvUXLRKXsXw0i+kv5TdJ1w5pg==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-64/0.14.53: resolution: {integrity: sha512-pP/FA55j/fzAV7N9DF31meAyjOH6Bjuo3aSKPh26+RW85ZEtbJv9nhoxmGTd9FOqjx59Tc1ZbrJabuiXlMwuZQ==} engines: {node: '>=12'} @@ -5112,15 +5053,6 @@ packages: dev: true optional: true - /esbuild-linux-arm/0.14.29: - resolution: {integrity: sha512-OXa9D9QL1hwrAnYYAHt/cXAuSCmoSqYfTW/0CEY0LgJNyTxJKtqc5mlwjAZAvgyjmha0auS/sQ0bXfGf2wAokQ==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-arm/0.14.53: resolution: {integrity: sha512-/u81NGAVZMopbmzd21Nu/wvnKQK3pT4CrvQ8BTje1STXcQAGnfyKgQlj3m0j2BzYbvQxSy+TMck4TNV2onvoPA==} engines: {node: '>=12'} @@ -5130,15 +5062,6 @@ packages: dev: true optional: true - /esbuild-linux-arm64/0.14.29: - resolution: {integrity: sha512-KYf7s8wDfUy+kjKymW3twyGT14OABjGHRkm9gPJ0z4BuvqljfOOUbq9qT3JYFnZJHOgkr29atT//hcdD0Pi7Mw==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-arm64/0.14.53: resolution: {integrity: sha512-GDmWITT+PMsjCA6/lByYk7NyFssW4Q6in32iPkpjZ/ytSyH+xeEx8q7HG3AhWH6heemEYEWpTll/eui3jwlSnw==} engines: {node: '>=12'} @@ -5148,15 +5071,6 @@ packages: dev: true optional: true - /esbuild-linux-mips64le/0.14.29: - resolution: {integrity: sha512-05jPtWQMsZ1aMGfHOvnR5KrTvigPbU35BtuItSSWLI2sJu5VrM8Pr9Owym4wPvA4153DFcOJ1EPN/2ujcDt54g==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-mips64le/0.14.53: resolution: {integrity: sha512-d6/XHIQW714gSSp6tOOX2UscedVobELvQlPMkInhx1NPz4ThZI9uNLQ4qQJHGBGKGfu+rtJsxM4NVHLhnNRdWQ==} engines: {node: '>=12'} @@ -5166,15 +5080,6 @@ packages: dev: true optional: true - /esbuild-linux-ppc64le/0.14.29: - resolution: {integrity: sha512-FYhBqn4Ir9xG+f6B5VIQVbRuM4S6qwy29dDNYFPoxLRnwTEKToIYIUESN1qHyUmIbfO0YB4phG2JDV2JDN9Kgw==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-ppc64le/0.14.53: resolution: {integrity: sha512-ndnJmniKPCB52m+r6BtHHLAOXw+xBCWIxNnedbIpuREOcbSU/AlyM/2dA3BmUQhsHdb4w3amD5U2s91TJ3MzzA==} engines: {node: '>=12'} @@ -5184,15 +5089,6 @@ packages: dev: true optional: true - /esbuild-linux-riscv64/0.14.29: - resolution: {integrity: sha512-eqZMqPehkb4nZcffnuOpXJQdGURGd6GXQ4ZsDHSWyIUaA+V4FpMBe+5zMPtXRD2N4BtyzVvnBko6K8IWWr36ew==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-riscv64/0.14.53: resolution: {integrity: sha512-yG2sVH+QSix6ct4lIzJj329iJF3MhloLE6/vKMQAAd26UVPVkhMFqFopY+9kCgYsdeWvXdPgmyOuKa48Y7+/EQ==} engines: {node: '>=12'} @@ -5202,15 +5098,6 @@ packages: dev: true optional: true - /esbuild-linux-s390x/0.14.29: - resolution: {integrity: sha512-o7EYajF1rC/4ho7kpSG3gENVx0o2SsHm7cJ5fvewWB/TEczWU7teDgusGSujxCYcMottE3zqa423VTglNTYhjg==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - /esbuild-linux-s390x/0.14.53: resolution: {integrity: sha512-OCJlgdkB+XPYndHmw6uZT7jcYgzmx9K+28PVdOa/eLjdoYkeAFvH5hTwX4AXGLZLH09tpl4bVsEtvuyUldaNCg==} engines: {node: '>=12'} @@ -5220,15 +5107,6 @@ packages: dev: true optional: true - /esbuild-netbsd-64/0.14.29: - resolution: {integrity: sha512-/esN6tb6OBSot6+JxgeOZeBk6P8V/WdR3GKBFeFpSqhgw4wx7xWUqPrdx4XNpBVO7X4Ipw9SAqgBrWHlXfddww==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - /esbuild-netbsd-64/0.14.53: resolution: {integrity: sha512-gp2SB+Efc7MhMdWV2+pmIs/Ja/Mi5rjw+wlDmmbIn68VGXBleNgiEZG+eV2SRS0kJEUyHNedDtwRIMzaohWedQ==} engines: {node: '>=12'} @@ -5238,15 +5116,6 @@ packages: dev: true optional: true - /esbuild-openbsd-64/0.14.29: - resolution: {integrity: sha512-jUTdDzhEKrD0pLpjmk0UxwlfNJNg/D50vdwhrVcW/D26Vg0hVbthMfb19PJMatzclbK7cmgk1Nu0eNS+abzoHw==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - /esbuild-openbsd-64/0.14.53: resolution: {integrity: sha512-eKQ30ZWe+WTZmteDYg8S+YjHV5s4iTxeSGhJKJajFfQx9TLZJvsJX0/paqwP51GicOUruFpSUAs2NCc0a4ivQQ==} engines: {node: '>=12'} @@ -5256,15 +5125,6 @@ packages: dev: true optional: true - /esbuild-sunos-64/0.14.29: - resolution: {integrity: sha512-EfhQN/XO+TBHTbkxwsxwA7EfiTHFe+MNDfxcf0nj97moCppD9JHPq48MLtOaDcuvrTYOcrMdJVeqmmeQ7doTcg==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - /esbuild-sunos-64/0.14.53: resolution: {integrity: sha512-OWLpS7a2FrIRukQqcgQqR1XKn0jSJoOdT+RlhAxUoEQM/IpytS3FXzCJM6xjUYtpO5GMY0EdZJp+ur2pYdm39g==} engines: {node: '>=12'} @@ -5274,15 +5134,6 @@ packages: dev: true optional: true - /esbuild-windows-32/0.14.29: - resolution: {integrity: sha512-uoyb0YAJ6uWH4PYuYjfGNjvgLlb5t6b3zIaGmpWPOjgpr1Nb3SJtQiK4YCPGhONgfg2v6DcJgSbOteuKXhwqAw==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - /esbuild-windows-32/0.14.53: resolution: {integrity: sha512-m14XyWQP5rwGW0tbEfp95U6A0wY0DYPInWBB7D69FAXUpBpBObRoGTKRv36lf2RWOdE4YO3TNvj37zhXjVL5xg==} engines: {node: '>=12'} @@ -5292,15 +5143,6 @@ packages: dev: true optional: true - /esbuild-windows-64/0.14.29: - resolution: {integrity: sha512-X9cW/Wl95QjsH8WUyr3NqbmfdU72jCp71cH3pwPvI4CgBM2IeOUDdbt6oIGljPu2bf5eGDIo8K3Y3vvXCCTd8A==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - /esbuild-windows-64/0.14.53: resolution: {integrity: sha512-s9skQFF0I7zqnQ2K8S1xdLSfZFsPLuOGmSx57h2btSEswv0N0YodYvqLcJMrNMXh6EynOmWD7rz+0rWWbFpIHQ==} engines: {node: '>=12'} @@ -5310,15 +5152,6 @@ packages: dev: true optional: true - /esbuild-windows-arm64/0.14.29: - resolution: {integrity: sha512-+O/PI+68fbUZPpl3eXhqGHTGK7DjLcexNnyJqtLZXOFwoAjaXlS5UBCvVcR3o2va+AqZTj8o6URaz8D2K+yfQQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - /esbuild-windows-arm64/0.14.53: resolution: {integrity: sha512-E+5Gvb+ZWts+00T9II6wp2L3KG2r3iGxByqd/a1RmLmYWVsSVUjkvIxZuJ3hYTIbhLkH5PRwpldGTKYqVz0nzQ==} engines: {node: '>=12'} @@ -5328,34 +5161,6 @@ packages: dev: true optional: true - /esbuild/0.14.29: - resolution: {integrity: sha512-SQS8cO8xFEqevYlrHt6exIhK853Me4nZ4aMW6ieysInLa0FMAL+AKs87HYNRtR2YWRcEIqoXAHh+Ytt5/66qpg==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - esbuild-android-64: 0.14.29 - esbuild-android-arm64: 0.14.29 - esbuild-darwin-64: 0.14.29 - esbuild-darwin-arm64: 0.14.29 - esbuild-freebsd-64: 0.14.29 - esbuild-freebsd-arm64: 0.14.29 - esbuild-linux-32: 0.14.29 - esbuild-linux-64: 0.14.29 - esbuild-linux-arm: 0.14.29 - esbuild-linux-arm64: 0.14.29 - esbuild-linux-mips64le: 0.14.29 - esbuild-linux-ppc64le: 0.14.29 - esbuild-linux-riscv64: 0.14.29 - esbuild-linux-s390x: 0.14.29 - esbuild-netbsd-64: 0.14.29 - esbuild-openbsd-64: 0.14.29 - esbuild-sunos-64: 0.14.29 - esbuild-windows-32: 0.14.29 - esbuild-windows-64: 0.14.29 - esbuild-windows-arm64: 0.14.29 - dev: true - /esbuild/0.14.53: resolution: {integrity: sha512-ohO33pUBQ64q6mmheX1mZ8mIXj8ivQY/L4oVuAshr+aJI+zLl+amrp3EodrUNDNYVrKJXGPfIHFGhO8slGRjuw==} engines: {node: '>=12'} @@ -5667,6 +5472,13 @@ packages: pify: 2.3.0 dev: true + /extend-shallow/2.0.1: + resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==} + engines: {node: '>=0.10.0'} + dependencies: + is-extendable: 0.1.1 + dev: true + /extend/3.0.2: resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} dev: true @@ -6116,6 +5928,16 @@ packages: resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} dev: true + /gray-matter/4.0.3: + resolution: {integrity: sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==} + engines: {node: '>=6.0'} + dependencies: + js-yaml: 3.14.1 + kind-of: 6.0.3 + section-matter: 1.0.0 + strip-bom-string: 1.0.0 + dev: true + /happy-dom/2.55.0: resolution: {integrity: sha512-CHDMBRau+l/yKQL+ANmexRAC8FRCuYbXRSpu/GbLVyfqkrlBzV7OSNd5C5HZ+pVFtFv1bFJYC5r+xrqgGQuq5w==} dependencies: @@ -6182,16 +6004,16 @@ packages: engines: {node: '>=12.0.0'} dev: false - /histoire/0.8.4: - resolution: {integrity: sha512-y0+eVPs5xScmu+BhUSdNWKhe8i6pAmij2Lg0g+tW4StvipT+5oy/59B7HDIO8zDBuOW2vKIIL0C/+vMWexVU6g==} + /histoire/0.10.2: + resolution: {integrity: sha512-phfS/HnkPSs52BfAqGZUwi7OA8gtl/iWWO74+hE39dz5DHMvVXZVQHk9De6EHtbNxDBjD/e9kqzUS3AcH2Ne4g==} hasBin: true peerDependencies: - vite: ^2.9.0 + vite: ^2.9.0 || ^3.0.0 dependencies: - '@histoire/controls': 0.8.4 - '@histoire/plugin-vue': 0.8.4_histoire@0.8.4 - '@histoire/shared': 0.8.4 - '@histoire/vendors': 0.8.4 + '@histoire/app': 0.10.2 + '@histoire/controls': 0.10.2 + '@histoire/shared': 0.10.2 + '@histoire/vendors': 0.10.2 '@types/flexsearch': 0.7.3 '@types/markdown-it': 12.2.3 birpc: 0.1.1 @@ -6203,11 +6025,13 @@ packages: flexsearch: 0.7.21 fs-extra: 10.1.0 globby: 13.1.1 + gray-matter: 4.0.3 happy-dom: 2.55.0 markdown-it: 12.3.2 markdown-it-anchor: 8.6.2_2zb4u3vubltivolgu556vv4aom markdown-it-attrs: 4.1.3_markdown-it@12.3.2 markdown-it-emoji: 2.0.0 + micromatch: 4.0.5 mrmime: 1.0.0 pathe: 0.2.0 picocolors: 1.0.0 @@ -6215,14 +6039,14 @@ packages: shiki: 0.10.1 sirv: 2.0.2 tinypool: 0.1.3 - vite-node: 0.12.1 + vite-node: 0.21.1 transitivePeerDependencies: - encoding - less - sass - stylus - supports-color - - vue + - terser dev: true /hosted-git-info/2.8.9: @@ -6462,6 +6286,11 @@ packages: has-tostringtag: 1.0.0 dev: true + /is-extendable/0.1.1: + resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==} + engines: {node: '>=0.10.0'} + dev: true + /is-extglob/2.1.1: resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} engines: {node: '>=0.10.0'} @@ -7105,6 +6934,14 @@ packages: braces: 3.0.2 picomatch: 2.3.1 + /micromatch/4.0.5: + resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} + engines: {node: '>=8.6'} + dependencies: + braces: 3.0.2 + picomatch: 2.3.1 + dev: true + /mime-db/1.51.0: resolution: {integrity: sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==} engines: {node: '>= 0.6'} @@ -7169,15 +7006,13 @@ packages: hasBin: true dev: true - /mlly/0.3.19: - resolution: {integrity: sha512-zMq5n3cOf4fOzA4WoeulxagbAgMChdev3MgP6K51k7M0u2whTXxupfIY4VVzws4vxkiWhwH1rVQcsw7zDGfRhA==} - dev: true - - /mlly/0.5.2: - resolution: {integrity: sha512-4GTELSSErv6ZZJYU98fZNuIBJcXSz+ktHdRrCYEqU1m6ZlebOCG0jwZ+IEd9vOrbpYsVBBMC5OTrEyLnKRcauQ==} + /mlly/0.5.12: + resolution: {integrity: sha512-8moXGh6Hfy2Nmys3DDEm4CuxDBk5Y7Lk1jQ4JcwW0djO9b+SCKTpw0enIQeZIuEnPljdxHSGmcbXU9hpIIEYeQ==} dependencies: - pathe: 0.2.0 - pkg-types: 0.3.2 + acorn: 8.8.0 + pathe: 0.3.4 + pkg-types: 0.3.3 + ufo: 0.8.5 dev: true /mri/1.2.0: @@ -7492,6 +7327,10 @@ packages: resolution: {integrity: sha512-sTitTPYnn23esFR3RlqYBWn4c45WGeLcsKzQiUpXJAyfcWkolvlYpV8FLo7JishK946oQwMFUCHXQ9AjGPKExw==} dev: true + /pathe/0.3.4: + resolution: {integrity: sha512-YWgqEdxf36R6vcsyj0A+yT/rDRPe0wui4J9gRR7T4whjU5Lx/jZOr75ckEgTNaLVQABAwsrlzHRpIKcCdXAQ5A==} + dev: true + /pathval/1.1.1: resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} dev: true @@ -7551,12 +7390,12 @@ packages: find-up: 4.1.0 dev: true - /pkg-types/0.3.2: - resolution: {integrity: sha512-eBYzX/7NYsQEOR2alWY4rnQB49G62oHzFpoi9Som56aUr8vB8UGcmcIia9v8fpBeuhH3Ltentuk2OGpp4IQV3Q==} + /pkg-types/0.3.3: + resolution: {integrity: sha512-6AJcCMnjUQPQv/Wk960w0TOmjhdjbeaQJoSKWRQv9N3rgkessCu6J0Ydsog/nw1MbpnxHuPzYbfOn2KmlZO1FA==} dependencies: jsonc-parser: 3.0.0 - mlly: 0.3.19 - pathe: 0.2.0 + mlly: 0.5.12 + pathe: 0.3.4 dev: true /postcss-import/14.1.0_postcss@8.4.16: @@ -8000,15 +7839,6 @@ packages: path-parse: 1.0.7 dev: true - /resolve/1.22.0: - resolution: {integrity: sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==} - hasBin: true - dependencies: - is-core-module: 2.8.1 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - dev: true - /resolve/1.22.1: resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} hasBin: true @@ -8111,6 +7941,14 @@ packages: xmlchars: 2.2.0 dev: true + /section-matter/1.0.0: + resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==} + engines: {node: '>=4'} + dependencies: + extend-shallow: 2.0.1 + kind-of: 6.0.3 + dev: true + /semver/5.7.1: resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==} hasBin: true @@ -8438,6 +8276,11 @@ packages: ansi-regex: 5.0.1 dev: true + /strip-bom-string/1.0.0: + resolution: {integrity: sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==} + engines: {node: '>=0.10.0'} + dev: true + /strip-bom/3.0.0: resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} engines: {node: '>=4'} @@ -8845,6 +8688,10 @@ packages: resolution: {integrity: sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==} dev: true + /ufo/0.8.5: + resolution: {integrity: sha512-e4+UtA5IRO+ha6hYklwj6r7BjiGMxS0O+UaSg9HbaTefg4kMkzj4tXzEBajRR+wkxf+golgAWKzLbytCUDMJAA==} + dev: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -9035,19 +8882,21 @@ packages: fs-extra: 10.0.1 dev: true - /vite-node/0.12.1: - resolution: {integrity: sha512-o5fblIyaMWW4h2hNppSKZ9hKZMMHpz3E40A3W+O4wsWc1G/VCZiHYX3EplZpn3MBNhzUTU7144xG22qpyOMY7w==} + /vite-node/0.21.1: + resolution: {integrity: sha512-JYEGMLovQOFoInIbSEXWApBp9ycEJEvlHFLheeR27ZXwpN7Oqy0jNJzh4gsmowTJt1VxtDwjkIU1p359Q/anAw==} engines: {node: '>=v14.16.0'} hasBin: true dependencies: - kolorist: 1.5.1 - mlly: 0.5.2 + debug: 4.3.4 + mlly: 0.5.12 pathe: 0.2.0 - vite: 2.9.14 + vite: 3.0.4 transitivePeerDependencies: - less - sass - stylus + - supports-color + - terser dev: true /vite-plugin-dts/1.4.1: @@ -9139,14 +8988,15 @@ packages: vite: 3.0.4_sass@1.54.3 dev: true - /vite/2.9.14: - resolution: {integrity: sha512-P/UCjSpSMcE54r4mPak55hWAZPlyfS369svib/gpmz8/01L822lMPOJ/RYW6tLCe1RPvMvOsJ17erf55bKp4Hw==} - engines: {node: '>=12.2.0'} + /vite/3.0.4: + resolution: {integrity: sha512-NU304nqnBeOx2MkQnskBQxVsa0pRAH5FphokTGmyy8M3oxbvw7qAXts2GORxs+h/2vKsD+osMhZ7An6yK6F1dA==} + engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: less: '*' sass: '*' stylus: '*' + terser: ^5.4.0 peerDependenciesMeta: less: optional: true @@ -9154,10 +9004,12 @@ packages: optional: true stylus: optional: true + terser: + optional: true dependencies: - esbuild: 0.14.29 + esbuild: 0.14.53 postcss: 8.4.16 - resolve: 1.22.0 + resolve: 1.22.1 rollup: 2.75.7 optionalDependencies: fsevents: 2.3.2