diff --git a/.gitignore b/.gitignore index 2f28064..ad4aaeb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,25 @@ node_modules +.env +*.log + +# Docs dist -.eslintcache +docs/.vitepress/cache + +# Mac OS .DS_Store -.idea + +# Bundle +lib/ + +# Typescript build file +*.tsbuildinfo + +# Typescript test file +*.test.js +*.test.d.ts +*.test.js.map +coverage + +# eslint +.eslintcache diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js deleted file mode 100644 index fe8f1af..0000000 --- a/docs/.vitepress/config.js +++ /dev/null @@ -1,6 +0,0 @@ -const pkg = require('../../package.json'); - -module.exports = { - title: pkg.name, - description: pkg.description, -}; diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts new file mode 100644 index 0000000..a0ff991 --- /dev/null +++ b/docs/.vitepress/config.ts @@ -0,0 +1,28 @@ +import { defineConfig } from 'vitepress'; + +// https://vitepress.dev/reference/site-config +export default defineConfig({ + title: 'axios-miniprogram', + description: '基于 Promise 的 HTTP 请求库,适用于各大小程序平台。', + themeConfig: { + // https://vitepress.dev/reference/default-theme-config + nav: [ + { text: 'Home', link: '/' }, + { text: 'Examples', link: '/markdown-examples' }, + ], + + sidebar: [ + { + text: 'Examples', + items: [ + { text: 'Markdown Examples', link: '/markdown-examples' }, + { text: 'Runtime API Examples', link: '/api-examples' }, + ], + }, + ], + + socialLinks: [ + { icon: 'github', link: 'https://github.com/zjx0905/axios-miniprogram' }, + ], + }, +}); diff --git a/docs/api-examples.md b/docs/api-examples.md new file mode 100644 index 0000000..6bd8bb5 --- /dev/null +++ b/docs/api-examples.md @@ -0,0 +1,49 @@ +--- +outline: deep +--- + +# Runtime API Examples + +This page demonstrates usage of some of the runtime APIs provided by VitePress. + +The main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files: + +```md + + +## Results + +### Theme Data +
{{ theme }}+ +### Page Data +
{{ page }}+ +### Page Frontmatter +
{{ frontmatter }}+``` + + + +## Results + +### Theme Data +
{{ theme }}+ +### Page Data +
{{ page }}+ +### Page Frontmatter +
{{ frontmatter }}+ +## More + +Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata). diff --git a/docs/index.md b/docs/index.md index fec5601..7b6b02e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1 +1,25 @@ -# Hello +--- +# https://vitepress.dev/reference/default-theme-home-page +layout: home + +hero: + name: "axios-miniprogram" + text: "基于 Promise 的 HTTP 请求库,适用于各大小程序平台。" + tagline: My great project tagline + actions: + - theme: brand + text: Markdown Examples + link: /markdown-examples + - theme: alt + text: API Examples + link: /api-examples + +features: + - title: Feature A + details: Lorem ipsum dolor sit amet, consectetur adipiscing elit + - title: Feature B + details: Lorem ipsum dolor sit amet, consectetur adipiscing elit + - title: Feature C + details: Lorem ipsum dolor sit amet, consectetur adipiscing elit +--- + diff --git a/docs/markdown-examples.md b/docs/markdown-examples.md new file mode 100644 index 0000000..8e55eb8 --- /dev/null +++ b/docs/markdown-examples.md @@ -0,0 +1,85 @@ +# Markdown Extension Examples + +This page demonstrates some of the built-in markdown extensions provided by VitePress. + +## Syntax Highlighting + +VitePress provides Syntax Highlighting powered by [Shiki](https://github.com/shikijs/shiki), with additional features like line-highlighting: + +**Input** + +```` +```js{4} +export default { + data () { + return { + msg: 'Highlighted!' + } + } +} +``` +```` + +**Output** + +```js{4} +export default { + data () { + return { + msg: 'Highlighted!' + } + } +} +``` + +## Custom Containers + +**Input** + +```md +::: info +This is an info box. +::: + +::: tip +This is a tip. +::: + +::: warning +This is a warning. +::: + +::: danger +This is a dangerous warning. +::: + +::: details +This is a details block. +::: +``` + +**Output** + +::: info +This is an info box. +::: + +::: tip +This is a tip. +::: + +::: warning +This is a warning. +::: + +::: danger +This is a dangerous warning. +::: + +::: details +This is a details block. +::: + +## More + +Check out the documentation for the [full list of markdown extensions](https://vitepress.dev/guide/markdown). diff --git a/docs/package.json b/docs/package.json new file mode 100644 index 0000000..6be7198 --- /dev/null +++ b/docs/package.json @@ -0,0 +1,12 @@ +{ + "name": "docs", + "private": true, + "scripts": { + "dev": "vitepress dev", + "build": "vitepress build", + "preview": "vitepress preview" + }, + "devDependencies": { + "vitepress": "1.0.0-alpha.61" + } +} \ No newline at end of file diff --git a/package.json b/package.json index 61431d3..b891bee 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "axios-miniprogram", - "type": "module", "version": "2.0.0-alpha.0", "description": "基于 Promise 的 HTTP 请求库,适用于各大小程序平台。", "main": "dist/axios-miniprogram.esm.js", "module": "dist/axios-miniprogram.cjs.js", "types": "dist/axios-miniprogram.d.ts", + "type": "module", "files": [ "dist" ], @@ -26,7 +26,8 @@ "homepage": "https://github.com/zjx0905/axios-miniprogram#readme", "license": "MIT", "engines": { - "node": ">=16" + "node": ">=16", + "pnpm": ">=7" }, "scripts": { "cz": "czg", @@ -37,6 +38,9 @@ "test": "vitest run", "lint": "eslint --cache .", "lint:fix": "pnpm lint --fix", + "docs:dev": "pnpm -C docs dev", + "docs:build": "pnpm -C docs build", + "docs:preview": "pnpm -C docs preview", "postinstall": "simple-git-hooks" }, "devDependencies": { @@ -67,7 +71,6 @@ "semver": "^7.3.8", "simple-git-hooks": "^2.8.1", "typescript": "^5.0.2", - "vitepress": "1.0.0-alpha.60", "vitest": "^0.29.7" }, "simple-git-hooks": { @@ -81,5 +84,12 @@ }, "lint-staged": { "*.(j|t)s": "pnpm lint:fix" + }, + "pnpm": { + "peerDependencyRules": { + "ignoreMissing": [ + "@algolia/client-search" + ] + } } } \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index afc63c0..3a45b5a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,66 +1,72 @@ lockfileVersion: 5.4 -specifiers: - '@commitlint/cli': ^17.4.4 - '@commitlint/config-conventional': ^17.4.4 - '@esbuild-kit/cjs-loader': ^2.4.2 - '@types/jest': ^29.5.0 - '@types/node': ^18.15.5 - '@typescript-eslint/eslint-plugin': ^5.55.0 - '@typescript-eslint/parser': ^5.55.0 - chalk: ^5.2.0 - consola: ^2.15.3 - conventional-changelog-cli: ^2.2.2 - cz-git: 1.3.8 - czg: 1.3.8 - enquirer: ^2.3.6 - eslint: ^8.36.0 - esno: ^0.16.3 - fast-glob: ^3.2.12 - jszip: ^3.10.1 - lint-staged: 13.2.0 - minimist: ^1.2.8 - prettier: 2.8.5 - rimraf: ^4.4.0 - rollup: ^3.20.0 - rollup-plugin-dts: ^5.3.0 - rollup-plugin-esbuild: ^5.0.0 - semver: ^7.3.8 - simple-git-hooks: ^2.8.1 - typescript: ^5.0.2 - vitepress: 1.0.0-alpha.60 - vitest: ^0.29.7 +importers: -devDependencies: - '@commitlint/cli': 17.5.0 - '@commitlint/config-conventional': 17.4.4 - '@esbuild-kit/cjs-loader': 2.4.2 - '@types/jest': 29.5.0 - '@types/node': 18.15.5 - '@typescript-eslint/eslint-plugin': 5.56.0_2hcjazgfnbtq42tcc73br2vup4 - '@typescript-eslint/parser': 5.56.0_j4766f7ecgqbon3u7zlxn5zszu - chalk: 5.2.0 - consola: 2.15.3 - conventional-changelog-cli: 2.2.2 - cz-git: 1.3.8 - czg: 1.3.8 - enquirer: 2.3.6 - eslint: 8.36.0 - esno: 0.16.3 - fast-glob: 3.2.12 - jszip: 3.10.1 - lint-staged: 13.2.0_enquirer@2.3.6 - minimist: 1.2.8 - prettier: 2.8.5 - rimraf: 4.4.1 - rollup: 3.20.0 - rollup-plugin-dts: 5.3.0_hy5v2w3xaqxocfx6d2ai5z6ari - rollup-plugin-esbuild: 5.0.0_rollup@3.20.0 - semver: 7.3.8 - simple-git-hooks: 2.8.1 - typescript: 5.0.2 - vitepress: 1.0.0-alpha.60_@types+node@18.15.5 - vitest: 0.29.7 + .: + specifiers: + '@commitlint/cli': ^17.4.4 + '@commitlint/config-conventional': ^17.4.4 + '@esbuild-kit/cjs-loader': ^2.4.2 + '@types/jest': ^29.5.0 + '@types/node': ^18.15.5 + '@typescript-eslint/eslint-plugin': ^5.55.0 + '@typescript-eslint/parser': ^5.55.0 + chalk: ^5.2.0 + consola: ^2.15.3 + conventional-changelog-cli: ^2.2.2 + cz-git: 1.3.8 + czg: 1.3.8 + enquirer: ^2.3.6 + eslint: ^8.36.0 + esno: ^0.16.3 + fast-glob: ^3.2.12 + jszip: ^3.10.1 + lint-staged: 13.2.0 + minimist: ^1.2.8 + prettier: 2.8.5 + rimraf: ^4.4.0 + rollup: ^3.20.0 + rollup-plugin-dts: ^5.3.0 + rollup-plugin-esbuild: ^5.0.0 + semver: ^7.3.8 + simple-git-hooks: ^2.8.1 + typescript: ^5.0.2 + vitest: ^0.29.7 + devDependencies: + '@commitlint/cli': 17.5.0 + '@commitlint/config-conventional': 17.4.4 + '@esbuild-kit/cjs-loader': 2.4.2 + '@types/jest': 29.5.0 + '@types/node': 18.15.5 + '@typescript-eslint/eslint-plugin': 5.56.0_2hcjazgfnbtq42tcc73br2vup4 + '@typescript-eslint/parser': 5.56.0_j4766f7ecgqbon3u7zlxn5zszu + chalk: 5.2.0 + consola: 2.15.3 + conventional-changelog-cli: 2.2.2 + cz-git: 1.3.8 + czg: 1.3.8 + enquirer: 2.3.6 + eslint: 8.36.0 + esno: 0.16.3 + fast-glob: 3.2.12 + jszip: 3.10.1 + lint-staged: 13.2.0_enquirer@2.3.6 + minimist: 1.2.8 + prettier: 2.8.5 + rimraf: 4.4.1 + rollup: 3.20.0 + rollup-plugin-dts: 5.3.0_hy5v2w3xaqxocfx6d2ai5z6ari + rollup-plugin-esbuild: 5.0.0_rollup@3.20.0 + semver: 7.3.8 + simple-git-hooks: 2.8.1 + typescript: 5.0.2 + vitest: 0.29.7 + + docs: + specifiers: + vitepress: 1.0.0-alpha.61 + devDependencies: + vitepress: 1.0.0-alpha.61 packages: @@ -70,108 +76,108 @@ packages: '@algolia/autocomplete-shared': 1.7.4 dev: true - /@algolia/autocomplete-preset-algolia/1.7.4_algoliasearch@4.15.0: + /@algolia/autocomplete-preset-algolia/1.7.4_algoliasearch@4.16.0: resolution: {integrity: sha512-s37hrvLEIfcmKY8VU9LsAXgm2yfmkdHT3DnA3SgHaY93yjZ2qL57wzb5QweVkYuEBZkT2PIREvRoLXC2sxTbpQ==} peerDependencies: '@algolia/client-search': '>= 4.9.1 < 6' algoliasearch: '>= 4.9.1 < 6' dependencies: '@algolia/autocomplete-shared': 1.7.4 - algoliasearch: 4.15.0 + algoliasearch: 4.16.0 dev: true /@algolia/autocomplete-shared/1.7.4: resolution: {integrity: sha512-2VGCk7I9tA9Ge73Km99+Qg87w0wzW4tgUruvWAn/gfey1ZXgmxZtyIRBebk35R1O8TbK77wujVtCnpsGpRy1kg==} dev: true - /@algolia/cache-browser-local-storage/4.15.0: - resolution: {integrity: sha512-uxxFhTWh4JJDb2+FFSmNMfEQ8p9o2vjSpU7iW007QX3OvqljPPN68lk3bpZVaG8pwr5MU1DqpkZ71FcQdVTjgQ==} + /@algolia/cache-browser-local-storage/4.16.0: + resolution: {integrity: sha512-jVrk0YB3tjOhD5/lhBtYCVCeLjZmVpf2kdi4puApofytf/R0scjWz0GdozlW4HhU+Prxmt/c9ge4QFjtv5OAzQ==} dependencies: - '@algolia/cache-common': 4.15.0 + '@algolia/cache-common': 4.16.0 dev: true - /@algolia/cache-common/4.15.0: - resolution: {integrity: sha512-Me3PbI4QurAM+3D+htIE0l1xt6+bl/18SG6Wc7bPQEZAtN7DTGz22HqhKNyLF2lR/cOfpaH7umXZlZEhIHf7gQ==} + /@algolia/cache-common/4.16.0: + resolution: {integrity: sha512-4iHjkSYQYw46pITrNQgXXhvUmcekI8INz1m+SzmqLX8jexSSy4Ky4zfGhZzhhhLHXUP3+x/PK/c0qPjxEvRwKQ==} dev: true - /@algolia/cache-in-memory/4.15.0: - resolution: {integrity: sha512-B9mg1wd7CKMfpkbiTQ8KlcKkH6ut/goVaI6XmDCUczOOqeuZlV34tuEi7o3Xo1j66KWr/d9pMjjGYcoVPCVeOA==} + /@algolia/cache-in-memory/4.16.0: + resolution: {integrity: sha512-p7RYykvA6Ip6QENxrh99nOD77otVh1sJRivcgcVpnjoZb5sIN3t33eUY1DpB9QSBizcrW+qk19rNkdnZ43a+PQ==} dependencies: - '@algolia/cache-common': 4.15.0 + '@algolia/cache-common': 4.16.0 dev: true - /@algolia/client-account/4.15.0: - resolution: {integrity: sha512-8wqI33HRZy5ydfFt6F5vMhtkOiAUhVfSCYXx4U3Go5RALqWLgVUp6wzOo0mr1z08POCkHDpbQMQvyayb1CZ/kw==} + /@algolia/client-account/4.16.0: + resolution: {integrity: sha512-eydcfpdIyuWoKgUSz5iZ/L0wE/Wl7958kACkvTHLDNXvK/b8Z1zypoJavh6/km1ZNQmFpeYS2jrmq0kUSFn02w==} dependencies: - '@algolia/client-common': 4.15.0 - '@algolia/client-search': 4.15.0 - '@algolia/transporter': 4.15.0 + '@algolia/client-common': 4.16.0 + '@algolia/client-search': 4.16.0 + '@algolia/transporter': 4.16.0 dev: true - /@algolia/client-analytics/4.15.0: - resolution: {integrity: sha512-jrPjEeNEIIQKeA1XCZXx3f3aybtwF7wjYlnfHbLARuZ9AuHzimOKjX0ZwqvMmvTsHivpcZ2rqY+j1E8HoH1ELA==} + /@algolia/client-analytics/4.16.0: + resolution: {integrity: sha512-cONWXH3BfilgdlCofUm492bJRWtpBLVW/hsUlfoFtiX1u05xoBP7qeiDwh9RR+4pSLHLodYkHAf5U4honQ55Qg==} dependencies: - '@algolia/client-common': 4.15.0 - '@algolia/client-search': 4.15.0 - '@algolia/requester-common': 4.15.0 - '@algolia/transporter': 4.15.0 + '@algolia/client-common': 4.16.0 + '@algolia/client-search': 4.16.0 + '@algolia/requester-common': 4.16.0 + '@algolia/transporter': 4.16.0 dev: true - /@algolia/client-common/4.15.0: - resolution: {integrity: sha512-PlsJMObZuYw4JlG5EhYv1PHDOv7n5mD5PzqFyoNfSOYaEPRZepa3W579ya29yOu3FZ0VGMNJmB7Q5v/+/fwvIw==} + /@algolia/client-common/4.16.0: + resolution: {integrity: sha512-QVdR4019ukBH6f5lFr27W60trRxQF1SfS1qo0IP6gjsKhXhUVJuHxOCA6ArF87jrNkeuHEoRoDU+GlvaecNo8g==} dependencies: - '@algolia/requester-common': 4.15.0 - '@algolia/transporter': 4.15.0 + '@algolia/requester-common': 4.16.0 + '@algolia/transporter': 4.16.0 dev: true - /@algolia/client-personalization/4.15.0: - resolution: {integrity: sha512-Bf0bhRAiNL9LWurzyHRH8UBi4fDt3VbCNkInxVngKQT1uCZWXecwoPWGhcSSpdanBqFJA/1WBt+BWx7a50Bhlg==} + /@algolia/client-personalization/4.16.0: + resolution: {integrity: sha512-irtLafssDGPuhYqIwxqOxiWlVYvrsBD+EMA1P9VJtkKi3vSNBxiWeQ0f0Tn53cUNdSRNEssfoEH84JL97SV2SQ==} dependencies: - '@algolia/client-common': 4.15.0 - '@algolia/requester-common': 4.15.0 - '@algolia/transporter': 4.15.0 + '@algolia/client-common': 4.16.0 + '@algolia/requester-common': 4.16.0 + '@algolia/transporter': 4.16.0 dev: true - /@algolia/client-search/4.15.0: - resolution: {integrity: sha512-dTwZD4u53WdmexnMcoO2Qd/+YCP3ESXKOtD2MryQ1a9dHwB2Y3Qob0kyS1PG82idwM3enbznvscI9Sf4o9PUWQ==} + /@algolia/client-search/4.16.0: + resolution: {integrity: sha512-xsfrAE1jO/JDh1wFrRz+alVyW+aA6qnkzmbWWWZWEgVF3EaFqzIf9r1l/aDtDdBtNTNhX9H3Lg31+BRtd5izQA==} dependencies: - '@algolia/client-common': 4.15.0 - '@algolia/requester-common': 4.15.0 - '@algolia/transporter': 4.15.0 + '@algolia/client-common': 4.16.0 + '@algolia/requester-common': 4.16.0 + '@algolia/transporter': 4.16.0 dev: true - /@algolia/logger-common/4.15.0: - resolution: {integrity: sha512-D8OFwn/HpvQz66goIcjxOKsYBMuxiruxJ3cA/bnc0EiDvSA2P2z6bNQWgS5gbstuTZIJmbhr+53NyOxFkmMNAA==} + /@algolia/logger-common/4.16.0: + resolution: {integrity: sha512-U9H8uCzSDuePJmbnjjTX21aPDRU6x74Tdq3dJmdYu2+pISx02UeBJm4kSgc9RW5jcR5j35G9gnjHY9Q3ngWbyQ==} dev: true - /@algolia/logger-console/4.15.0: - resolution: {integrity: sha512-pQOvVaRSEJQJRXKTnxEA6nN1hipSQadJJ4einw0nIlfMOGZh/kps1ybh8vRUlUGyfEuN/3dyFs0W3Ac7hIItlg==} + /@algolia/logger-console/4.16.0: + resolution: {integrity: sha512-+qymusiM+lPZKrkf0tDjCQA158eEJO2IU+Nr/sJ9TFyI/xkFPjNPzw/Qbc8Iy/xcOXGlc6eMgmyjtVQqAWq6UA==} dependencies: - '@algolia/logger-common': 4.15.0 + '@algolia/logger-common': 4.16.0 dev: true - /@algolia/requester-browser-xhr/4.15.0: - resolution: {integrity: sha512-va186EfALF+6msYZXaoBSxcnFCg3SoWJ+uv1yMyhQRJRe7cZSHWSVT3s40vmar90gxlBu80KMVwVlsvJhJv6ew==} + /@algolia/requester-browser-xhr/4.16.0: + resolution: {integrity: sha512-gK+kvs6LHl/PaOJfDuwjkopNbG1djzFLsVBklGBsSU6h6VjFkxIpo6Qq80IK14p9cplYZfhfaL12va6Q9p3KVQ==} dependencies: - '@algolia/requester-common': 4.15.0 + '@algolia/requester-common': 4.16.0 dev: true - /@algolia/requester-common/4.15.0: - resolution: {integrity: sha512-w0UUzxElbo4hrKg4QP/jiXDNbIJuAthxdlkos9nS8KAPK2XI3R9BlUjLz/ZVs4F9TDGI0mhjrNHhZ12KXcoyhg==} + /@algolia/requester-common/4.16.0: + resolution: {integrity: sha512-3Zmcs/iMubcm4zqZ3vZG6Zum8t+hMWxGMzo0/uY2BD8o9q5vMxIYI0c4ocdgQjkXcix189WtZNkgjSOBzSbkdw==} dev: true - /@algolia/requester-node-http/4.15.0: - resolution: {integrity: sha512-eeEOhFtgwKcgAlKAZpgBRZJ0ILSEBCXxZ9uwfVWPD24W1b6z08gVoTJ6J7lCeCnJmudg+tMElDnGzHkjup9CJA==} + /@algolia/requester-node-http/4.16.0: + resolution: {integrity: sha512-L8JxM2VwZzh8LJ1Zb8TFS6G3icYsCKZsdWW+ahcEs1rGWmyk9SybsOe1MLnjonGBaqPWJkn9NjS7mRdjEmBtKA==} dependencies: - '@algolia/requester-common': 4.15.0 + '@algolia/requester-common': 4.16.0 dev: true - /@algolia/transporter/4.15.0: - resolution: {integrity: sha512-JoWR+ixG3EmA0UPntQFN/FV5TasYcYu93d5+oKzHFeZ6Z7rtW5Im9iy/Oh/ggk1AAN5fTdqKewtbBpdaYDbKsQ==} + /@algolia/transporter/4.16.0: + resolution: {integrity: sha512-H9BVB2EAjT65w7XGBNf5drpsW39x2aSZ942j4boSAAJPPlLmjtj5IpAP7UAtsV8g9Beslonh0bLa1XGmE/P0BA==} dependencies: - '@algolia/cache-common': 4.15.0 - '@algolia/logger-common': 4.15.0 - '@algolia/requester-common': 4.15.0 + '@algolia/cache-common': 4.16.0 + '@algolia/logger-common': 4.16.0 + '@algolia/requester-common': 4.16.0 dev: true /@babel/code-frame/7.18.6: @@ -423,9 +429,9 @@ packages: optional: true dependencies: '@algolia/autocomplete-core': 1.7.4 - '@algolia/autocomplete-preset-algolia': 1.7.4_algoliasearch@4.15.0 + '@algolia/autocomplete-preset-algolia': 1.7.4_algoliasearch@4.16.0 '@docsearch/css': 3.3.3 - algoliasearch: 4.15.0 + algoliasearch: 4.16.0 transitivePeerDependencies: - '@algolia/client-search' dev: true @@ -1021,7 +1027,7 @@ packages: vite: ^4.0.0 vue: ^3.2.25 dependencies: - vite: 4.2.1_@types+node@18.15.5 + vite: 4.2.1 vue: 3.2.47 dev: true @@ -1225,23 +1231,23 @@ packages: uri-js: 4.4.1 dev: true - /algoliasearch/4.15.0: - resolution: {integrity: sha512-+vgKQF5944dYsz9zhKk07JbOYeNdKisoD5GeG0woBL3nLzbn2a+nGwki60DXg7CXvaFXBcTXyJG4C+VaBVd44g==} + /algoliasearch/4.16.0: + resolution: {integrity: sha512-HAjKJ6bBblaXqO4dYygF4qx251GuJ6zCZt+qbJ+kU7sOC+yc84pawEjVpJByh+cGP2APFCsao2Giz50cDlKNPA==} dependencies: - '@algolia/cache-browser-local-storage': 4.15.0 - '@algolia/cache-common': 4.15.0 - '@algolia/cache-in-memory': 4.15.0 - '@algolia/client-account': 4.15.0 - '@algolia/client-analytics': 4.15.0 - '@algolia/client-common': 4.15.0 - '@algolia/client-personalization': 4.15.0 - '@algolia/client-search': 4.15.0 - '@algolia/logger-common': 4.15.0 - '@algolia/logger-console': 4.15.0 - '@algolia/requester-browser-xhr': 4.15.0 - '@algolia/requester-common': 4.15.0 - '@algolia/requester-node-http': 4.15.0 - '@algolia/transporter': 4.15.0 + '@algolia/cache-browser-local-storage': 4.16.0 + '@algolia/cache-common': 4.16.0 + '@algolia/cache-in-memory': 4.16.0 + '@algolia/client-account': 4.16.0 + '@algolia/client-analytics': 4.16.0 + '@algolia/client-common': 4.16.0 + '@algolia/client-personalization': 4.16.0 + '@algolia/client-search': 4.16.0 + '@algolia/logger-common': 4.16.0 + '@algolia/logger-console': 4.16.0 + '@algolia/requester-browser-xhr': 4.16.0 + '@algolia/requester-common': 4.16.0 + '@algolia/requester-node-http': 4.16.0 + '@algolia/transporter': 4.16.0 dev: true /ansi-colors/4.1.3: @@ -3939,6 +3945,39 @@ packages: - terser dev: true + /vite/4.2.1: + resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==} + engines: {node: ^14.18.0 || >=16.0.0} + hasBin: true + peerDependencies: + '@types/node': '>= 14' + less: '*' + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + esbuild: 0.17.12 + postcss: 8.4.21 + resolve: 1.22.1 + rollup: 3.20.0 + optionalDependencies: + fsevents: 2.3.2 + dev: true + /vite/4.2.1_@types+node@18.15.5: resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==} engines: {node: ^14.18.0 || >=16.0.0} @@ -3973,8 +4012,8 @@ packages: fsevents: 2.3.2 dev: true - /vitepress/1.0.0-alpha.60_@types+node@18.15.5: - resolution: {integrity: sha512-GI5iLDkZRqGEPixbSloT+p6pbKcMh9ykRRxt8vf9AjV1gaPit6Stg/t9WNxTdIhKVCuQMexGs1605DNApSRK2A==} + /vitepress/1.0.0-alpha.61: + resolution: {integrity: sha512-NvzERVS3/TU9YkYcaiK7yNSe0zY9UcSV58tx3mxbvVLCuwRykzO4OWbl6vQT6Ut6YGuZU1y3Z5WcSS+fHfaxJA==} hasBin: true dependencies: '@docsearch/css': 3.3.3 @@ -3984,7 +4023,7 @@ packages: '@vueuse/core': 9.13.0_vue@3.2.47 body-scroll-lock: 4.0.0-beta.0 shiki: 0.14.1 - vite: 4.2.1_@types+node@18.15.5 + vite: 4.2.1 vue: 3.2.47 transitivePeerDependencies: - '@algolia/client-search' diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..28756fa --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,2 @@ +packages: + - docs