From 40857b7dcaeca14da6442529c32668ede63aa52e Mon Sep 17 00:00:00 2001 From: Sergey Shishkin Date: Thu, 14 Sep 2023 20:35:50 +0200 Subject: [PATCH] chore: turn example to static output --- package-lock.json | 330 ++++++++++++++++++++++-- packages/astro-pagefind/package.json | 1 + packages/example/astro.config.ts | 6 +- packages/example/package.json | 5 +- packages/example/src/pages/search.astro | 6 +- 5 files changed, 310 insertions(+), 38 deletions(-) diff --git a/package-lock.json b/package-lock.json index 64838a4..e28e45f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -63,6 +63,78 @@ "node": ">=6.0.0" } }, + "node_modules/@astrojs/check": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@astrojs/check/-/check-0.2.0.tgz", + "integrity": "sha512-QS8TBRNrxBNEKm9hsP4xI+ao2XJ5JZfMZ1GpHqM7HCGPwWe5oWSPtDXGM8zutZ6kH3ilK0k1euqkzxrhcTP1Cg==", + "dev": true, + "dependencies": { + "@astrojs/language-server": "^2.3.2", + "chokidar": "^3.5.3", + "fast-glob": "^3.3.1", + "kleur": "^4.1.5", + "yargs": "^17.7.2" + }, + "bin": { + "astro-check": "dist/bin.js" + }, + "peerDependencies": { + "typescript": "^5.0.0" + } + }, + "node_modules/@astrojs/check/node_modules/@astrojs/compiler": { + "version": "1.5.7", + "resolved": "https://registry.npmjs.org/@astrojs/compiler/-/compiler-1.5.7.tgz", + "integrity": "sha512-dFU7GAMbpTUGPkRoCoMQrGFlTe3qIiQMSOxIXp/nB1Do4My9uogjEmBHdR5Cwr4i6rc5/1R3Od9v8kU/pkHXGQ==", + "dev": true + }, + "node_modules/@astrojs/check/node_modules/@astrojs/language-server": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@astrojs/language-server/-/language-server-2.3.3.tgz", + "integrity": "sha512-ObIjAdjKJFHsKCmaFHc6tbpomMkX1580UbxbgnCr6zEpIZuQobH/zlKwIaSDcmQOQtt8ICs921AYTM+kOg8p6w==", + "dev": true, + "dependencies": { + "@astrojs/compiler": "1.5.7", + "@jridgewell/sourcemap-codec": "^1.4.15", + "@volar/kit": "~1.10.0", + "@volar/language-core": "~1.10.0", + "@volar/language-server": "~1.10.0", + "@volar/language-service": "~1.10.0", + "@volar/source-map": "~1.10.0", + "@volar/typescript": "~1.10.0", + "fast-glob": "^3.2.12", + "muggle-string": "^0.3.1", + "volar-service-css": "0.0.13", + "volar-service-emmet": "0.0.13", + "volar-service-html": "0.0.13", + "volar-service-prettier": "0.0.13", + "volar-service-typescript": "0.0.13", + "volar-service-typescript-twoslash-queries": "0.0.13", + "vscode-html-languageservice": "^5.0.6", + "vscode-uri": "^3.0.7" + }, + "bin": { + "astro-ls": "bin/nodeServer.js" + }, + "peerDependencies": { + "prettier": "^3.0.0", + "prettier-plugin-astro": ">=0.11.0" + }, + "peerDependenciesMeta": { + "prettier": { + "optional": true + }, + "prettier-plugin-astro": { + "optional": true + } + } + }, + "node_modules/@astrojs/check/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "dev": true + }, "node_modules/@astrojs/cloudflare": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/@astrojs/cloudflare/-/cloudflare-7.1.0.tgz", @@ -2428,7 +2500,6 @@ "resolved": "https://registry.npmjs.org/@emmetio/abbreviation/-/abbreviation-2.3.3.tgz", "integrity": "sha512-mgv58UrU3rh4YgbE/TzgLQwJ3pFsHHhCLqY20aJq+9comytTXUDNGG/SMtSeMJdkpxgXSXunBGLD8Boka3JyVA==", "dev": true, - "peer": true, "dependencies": { "@emmetio/scanner": "^1.0.4" } @@ -2438,7 +2509,6 @@ "resolved": "https://registry.npmjs.org/@emmetio/css-abbreviation/-/css-abbreviation-2.1.8.tgz", "integrity": "sha512-s9yjhJ6saOO/uk1V74eifykk2CBYi01STTK3WlXWGOepyKa23ymJ053+DNQjpFcy1ingpaO7AxCcwLvHFY9tuw==", "dev": true, - "peer": true, "dependencies": { "@emmetio/scanner": "^1.0.4" } @@ -2447,8 +2517,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/@emmetio/scanner/-/scanner-1.0.4.tgz", "integrity": "sha512-IqRuJtQff7YHHBk4G8YZ45uB9BaAGcwQeVzgj/zj8/UdOhtQpEIupUhSk8dys6spFIWVZVeK20CzGEnqR5SbqA==", - "dev": true, - "peer": true + "dev": true }, "node_modules/@esbuild/android-arm": { "version": "0.17.19", @@ -4414,12 +4483,90 @@ "url": "https://opencollective.com/typescript-eslint" } }, + "node_modules/@volar/kit": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@volar/kit/-/kit-1.10.1.tgz", + "integrity": "sha512-+aR3rvgER14VfjFflhD6k161uLdshpuK1tQUrnl8phpKtSGJDXHkTl/WkNk2xCEuE4goShS9nTvruTyrI9gGBw==", + "dev": true, + "dependencies": { + "@volar/language-service": "1.10.1", + "typesafe-path": "^0.2.2", + "vscode-languageserver-textdocument": "^1.0.8", + "vscode-uri": "^3.0.7" + }, + "peerDependencies": { + "typescript": "*" + } + }, + "node_modules/@volar/language-core": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-1.10.1.tgz", + "integrity": "sha512-JnsM1mIPdfGPxmoOcK1c7HYAsL6YOv0TCJ4aW3AXPZN/Jb4R77epDyMZIVudSGjWMbvv/JfUa+rQ+dGKTmgwBA==", + "dev": true, + "dependencies": { + "@volar/source-map": "1.10.1" + } + }, + "node_modules/@volar/language-server": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@volar/language-server/-/language-server-1.10.1.tgz", + "integrity": "sha512-UXgRMAPKoy4EZBcBT1SFp8YIb5AJqe7Is1/TnqRUq0LBBV2M7HpEeHHI8E4fy05Eg4TlSVRcrlZtiTrY9fRjJg==", + "dev": true, + "dependencies": { + "@volar/language-core": "1.10.1", + "@volar/language-service": "1.10.1", + "@volar/typescript": "1.10.1", + "@vscode/l10n": "^0.0.11", + "request-light": "^0.7.0", + "typesafe-path": "^0.2.2", + "vscode-languageserver": "^8.1.0", + "vscode-languageserver-protocol": "^3.17.3", + "vscode-languageserver-textdocument": "^1.0.8", + "vscode-uri": "^3.0.7" + } + }, + "node_modules/@volar/language-server/node_modules/@vscode/l10n": { + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/@vscode/l10n/-/l10n-0.0.11.tgz", + "integrity": "sha512-ukOMWnCg1tCvT7WnDfsUKQOFDQGsyR5tNgRpwmqi+5/vzU3ghdDXzvIM4IOPdSb3OeSsBNvmSL8nxIVOqi2WXA==", + "dev": true + }, + "node_modules/@volar/language-service": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@volar/language-service/-/language-service-1.10.1.tgz", + "integrity": "sha512-9AfMd8DeBuiw5twyXCL4Dw/9dg7djs2GAMQ5YY6LlN4v6u5IwU+foM/un5F7yzE94v2cuI+NN9LtHeR87AXpRA==", + "dev": true, + "dependencies": { + "@volar/language-core": "1.10.1", + "@volar/source-map": "1.10.1", + "vscode-languageserver-protocol": "^3.17.3", + "vscode-languageserver-textdocument": "^1.0.8", + "vscode-uri": "^3.0.7" + } + }, + "node_modules/@volar/source-map": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-1.10.1.tgz", + "integrity": "sha512-3/S6KQbqa7pGC8CxPrg69qHLpOvkiPHGJtWPkI/1AXCsktkJ6gIk/5z4hyuMp8Anvs6eS/Kvp/GZa3ut3votKA==", + "dev": true, + "dependencies": { + "muggle-string": "^0.3.1" + } + }, + "node_modules/@volar/typescript": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-1.10.1.tgz", + "integrity": "sha512-+iiO9yUSRHIYjlteT+QcdRq8b44qH19/eiUZtjNtuh6D9ailYM7DVR0zO2sEgJlvCaunw/CF9Ov2KooQBpR4VQ==", + "dev": true, + "dependencies": { + "@volar/language-core": "1.10.1" + } + }, "node_modules/@vscode/emmet-helper": { "version": "2.8.8", "resolved": "https://registry.npmjs.org/@vscode/emmet-helper/-/emmet-helper-2.8.8.tgz", "integrity": "sha512-QuD4CmNeXSFxuP8VZwI6qL+8vmmd7JcSdwsEIdsrzb4YumWs/+4rXRX9MM+NsFfUO69g6ezngCD7XRd6jY9TQw==", "dev": true, - "peer": true, "dependencies": { "emmet": "^2.4.3", "jsonc-parser": "^2.3.0", @@ -4432,15 +4579,13 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-2.1.2.tgz", "integrity": "sha512-8TEXQxlldWAuIODdukIb+TR5s+9Ds40eSJrw+1iDDA9IFORPjMELarNQE3myz5XIkWWpdprmJjm1/SxMlWOC8A==", - "dev": true, - "peer": true + "dev": true }, "node_modules/@vscode/l10n": { "version": "0.0.14", "resolved": "https://registry.npmjs.org/@vscode/l10n/-/l10n-0.0.14.tgz", "integrity": "sha512-/yrv59IEnmh655z1oeDnGcvMYwnEzNzHLgeYcQCkhYX0xBvYWrAuefoiLcPBUkMpJsb46bqQ6Yv4pwTTQ4d3Qg==", - "dev": true, - "peer": true + "dev": true }, "node_modules/abbrev": { "version": "1.1.1", @@ -6466,7 +6611,6 @@ "resolved": "https://registry.npmjs.org/emmet/-/emmet-2.4.4.tgz", "integrity": "sha512-v8Mwpjym55CS3EjJgiCLWUB3J2HSR93jhzXW325720u8KvYxdI2voYLstW3pHBxFz54H6jFjayR9G4LfTG0q+g==", "dev": true, - "peer": true, "dependencies": { "@emmetio/abbreviation": "^2.3.3", "@emmetio/css-abbreviation": "^2.1.8" @@ -8543,8 +8687,7 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-2.3.1.tgz", "integrity": "sha512-H8jvkz1O50L3dMZCsLqiuB2tA7muqbSg1AtGEkN0leAqGjsUzDJir3Zwr02BhqdcITPg3ei3mZ+HjMocAknhhg==", - "dev": true, - "peer": true + "dev": true }, "node_modules/jsonfile": { "version": "6.1.0", @@ -9976,6 +10119,12 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, + "node_modules/muggle-string": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/muggle-string/-/muggle-string-0.3.1.tgz", + "integrity": "sha512-ckmWDJjphvd/FvZawgygcUeQCxzvohjFO5RxTjj4eq8kw359gFF3E1brjfI+viLMxss5JrHTDRHZvu2/tuy0Qg==", + "dev": true + }, "node_modules/nanoid": { "version": "3.3.6", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", @@ -14527,6 +14676,12 @@ "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }, + "node_modules/request-light": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/request-light/-/request-light-0.7.0.tgz", + "integrity": "sha512-lMbBMrDoxgsyO+yB3sDcrDuX85yYt7sS8BfQd11jtbW/z5ZWgLZRcEGLsLoYw7I0WSUGQBs8CC8ScIxkTX1+6Q==", + "dev": true + }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -16412,6 +16567,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/typesafe-path": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/typesafe-path/-/typesafe-path-0.2.2.tgz", + "integrity": "sha512-OJabfkAg1WLZSqJAJ0Z6Sdt3utnbzr/jh+NAHoyWHJe8CMSy79Gm085094M9nvTPy22KzTVn5Zq5mbapCI/hPA==", + "dev": true + }, "node_modules/typescript": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", @@ -16425,6 +16586,15 @@ "node": ">=14.17" } }, + "node_modules/typescript-auto-import-cache": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/typescript-auto-import-cache/-/typescript-auto-import-cache-0.3.0.tgz", + "integrity": "sha512-Rq6/q4O9iyqUdjvOoyas7x/Qf9nWUMeqpP3YeTaLA+uECgfy5wOhfOS+SW/+fZ/uI/ZcKaf+2/ZhFzXh8xfofQ==", + "dev": true, + "dependencies": { + "semver": "^7.3.8" + } + }, "node_modules/uglify-js": { "version": "3.17.4", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", @@ -17240,12 +17410,119 @@ } } }, + "node_modules/volar-service-css": { + "version": "0.0.13", + "resolved": "https://registry.npmjs.org/volar-service-css/-/volar-service-css-0.0.13.tgz", + "integrity": "sha512-WAuo7oDYgTQ1cr45EqTGoPGtClj0f5PZDQARgQveXKu0CQgyXn8Bs7c4EjDR0fNLhiG3moBEs2uSUGxjSKghxw==", + "dev": true, + "dependencies": { + "vscode-css-languageservice": "^6.2.3", + "vscode-uri": "^3.0.7" + }, + "peerDependencies": { + "@volar/language-service": "~1.10.0" + }, + "peerDependenciesMeta": { + "@volar/language-service": { + "optional": true + } + } + }, + "node_modules/volar-service-emmet": { + "version": "0.0.13", + "resolved": "https://registry.npmjs.org/volar-service-emmet/-/volar-service-emmet-0.0.13.tgz", + "integrity": "sha512-y/U3up9b3YA8DL36h6KUGnBoH/TUmr1Iv9HWuSeWJKoA6LOt57AOIgzl7+/zY8d+0+C0jGqpV4CM8V5+TjptvQ==", + "dev": true, + "dependencies": { + "@vscode/emmet-helper": "^2.8.6", + "volar-service-html": "0.0.13" + }, + "peerDependencies": { + "@volar/language-service": "~1.10.0" + }, + "peerDependenciesMeta": { + "@volar/language-service": { + "optional": true + } + } + }, + "node_modules/volar-service-html": { + "version": "0.0.13", + "resolved": "https://registry.npmjs.org/volar-service-html/-/volar-service-html-0.0.13.tgz", + "integrity": "sha512-Y4pfmNsIpkDTixJVdobRMDZm5Ax90magUCdYl6HUN0/RstxHb3ogEodTT1GtNmoek/YYTrxbWZYN/Yq49+9zdg==", + "dev": true, + "dependencies": { + "vscode-html-languageservice": "^5.0.4", + "vscode-uri": "^3.0.7" + }, + "peerDependencies": { + "@volar/language-service": "~1.10.0" + }, + "peerDependenciesMeta": { + "@volar/language-service": { + "optional": true + } + } + }, + "node_modules/volar-service-prettier": { + "version": "0.0.13", + "resolved": "https://registry.npmjs.org/volar-service-prettier/-/volar-service-prettier-0.0.13.tgz", + "integrity": "sha512-4V/v+oNXyoC4QRNCY6JDAD4BvVatuswyH8o7flgO/XHDRIG+WwGo8Avsbmq4TLktjBGFUa4Gb9aK9+RkznEEZQ==", + "dev": true, + "peerDependencies": { + "@volar/language-service": "~1.10.0", + "prettier": "^2.2 || ^3.0" + }, + "peerDependenciesMeta": { + "@volar/language-service": { + "optional": true + }, + "prettier": { + "optional": true + } + } + }, + "node_modules/volar-service-typescript": { + "version": "0.0.13", + "resolved": "https://registry.npmjs.org/volar-service-typescript/-/volar-service-typescript-0.0.13.tgz", + "integrity": "sha512-fwpoA1L/bCXz5hl9W4EYJYNyorocfdfbLQ9lTM3rPVOzjRZVknEE8XP31RMPZhEg3sOxKh18+sLEL7j3bip8ew==", + "dev": true, + "dependencies": { + "semver": "^7.3.8", + "typescript-auto-import-cache": "^0.3.0", + "vscode-languageserver-textdocument": "^1.0.8", + "vscode-nls": "^5.2.0", + "vscode-uri": "^3.0.7" + }, + "peerDependencies": { + "@volar/language-service": "~1.10.0", + "@volar/typescript": "~1.10.0" + }, + "peerDependenciesMeta": { + "@volar/language-service": { + "optional": true + } + } + }, + "node_modules/volar-service-typescript-twoslash-queries": { + "version": "0.0.13", + "resolved": "https://registry.npmjs.org/volar-service-typescript-twoslash-queries/-/volar-service-typescript-twoslash-queries-0.0.13.tgz", + "integrity": "sha512-KGk5ek2v7T8OSY9YdMmqGOT0KkoUQAe8RbPmoZibT9F3vgmmWVgaAoIlDZ1vwt7VfQeZvRmhvRJhqpCA80ZF8Q==", + "dev": true, + "peerDependencies": { + "@volar/language-service": "~1.10.0" + }, + "peerDependenciesMeta": { + "@volar/language-service": { + "optional": true + } + } + }, "node_modules/vscode-css-languageservice": { "version": "6.2.6", "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.2.6.tgz", "integrity": "sha512-SA2WkeOecIpUiEbZnjOsP/fI5CRITZEiQGSHXKiDQDwLApfKcnLhZwMtOBbIifSzESVcQa7b/shX/nbnF4NoCg==", "dev": true, - "peer": true, "dependencies": { "@vscode/l10n": "^0.0.14", "vscode-languageserver-textdocument": "^1.0.8", @@ -17258,7 +17535,6 @@ "resolved": "https://registry.npmjs.org/vscode-html-languageservice/-/vscode-html-languageservice-5.0.6.tgz", "integrity": "sha512-gCixNg6fjPO7+kwSMBAVXcwDRHdjz1WOyNfI0n5Wx0J7dfHG8ggb3zD1FI8E2daTZrwS1cooOiSoc1Xxph4qRQ==", "dev": true, - "peer": true, "dependencies": { "@vscode/l10n": "^0.0.14", "vscode-languageserver-textdocument": "^1.0.8", @@ -17271,7 +17547,6 @@ "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.1.0.tgz", "integrity": "sha512-6TDy/abTQk+zDGYazgbIPc+4JoXdwC8NHU9Pbn4UJP1fehUyZmM4RHp5IthX7A6L5KS30PRui+j+tbbMMMafdw==", "dev": true, - "peer": true, "engines": { "node": ">=14.0.0" } @@ -17281,7 +17556,6 @@ "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-8.1.0.tgz", "integrity": "sha512-eUt8f1z2N2IEUDBsKaNapkz7jl5QpskN2Y0G01T/ItMxBxw1fJwvtySGB9QMecatne8jFIWJGWI61dWjyTLQsw==", "dev": true, - "peer": true, "dependencies": { "vscode-languageserver-protocol": "3.17.3" }, @@ -17294,7 +17568,6 @@ "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.3.tgz", "integrity": "sha512-924/h0AqsMtA5yK22GgMtCYiMdCOtWTSGgUOkgEDX+wk2b0x4sAfLiO4NxBxqbiVtz7K7/1/RgVrVI0NClZwqA==", "dev": true, - "peer": true, "dependencies": { "vscode-jsonrpc": "8.1.0", "vscode-languageserver-types": "3.17.3" @@ -17304,15 +17577,19 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.8.tgz", "integrity": "sha512-1bonkGqQs5/fxGT5UchTgjGVnfysL0O8v1AYMBjqTbWQTFn721zaPGDYFkOKtfDgFiSgXM3KwaG3FMGfW4Ed9Q==", - "dev": true, - "peer": true + "dev": true }, "node_modules/vscode-languageserver-types": { "version": "3.17.3", "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.3.tgz", "integrity": "sha512-SYU4z1dL0PyIMd4Vj8YOqFvHu7Hz/enbWtpfnVbJHU4Nd1YNYx8u0ennumc6h48GQNeOLxmwySmnADouT/AuZA==", - "dev": true, - "peer": true + "dev": true + }, + "node_modules/vscode-nls": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/vscode-nls/-/vscode-nls-5.2.0.tgz", + "integrity": "sha512-RAaHx7B14ZU04EU31pT+rKz2/zSl7xMsfIZuo8pd+KZO6PXtQmpevpq3vxvWNcrGbdmhM/rr5Uw5Mz+NBfhVng==", + "dev": true }, "node_modules/vscode-oniguruma": { "version": "1.7.0", @@ -17330,8 +17607,7 @@ "version": "3.0.7", "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.7.tgz", "integrity": "sha512-eOpPHogvorZRobNqJGhapa0JdwaxpjVvyBp0QIUMRMSf8ZAlqOdEquKuRmw9Qwu0qXtJIWqFtMkmvJjUZmMjVA==", - "dev": true, - "peer": true + "dev": true }, "node_modules/wcwidth": { "version": "1.0.1", @@ -17543,9 +17819,9 @@ "dev": true }, "node_modules/yargs": { - "version": "17.7.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.0.tgz", - "integrity": "sha512-dwqOPg5trmrre9+v8SUo2q/hAwyKoVfu8OC1xPHKJGNdxAvPl4sKxL4vBnh3bQz/ZvvGAFeA5H3ou2kcOY8sQQ==", + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", "dev": true, "dependencies": { "cliui": "^8.0.1", @@ -17659,6 +17935,7 @@ "sirv": "^2.0.3" }, "devDependencies": { + "@astrojs/check": "0.2.0", "@semantic-release/changelog": "6.0.3", "@semantic-release/git": "10.0.1", "@types/semantic-release": "20.0.1", @@ -18613,6 +18890,7 @@ "astro-pagefind": "*" }, "devDependencies": { + "@astrojs/check": "0.2.0", "@astrojs/cloudflare": "7.1.0", "@astrojs/netlify": "3.0.1", "@astrojs/node": "6.0.0", diff --git a/packages/astro-pagefind/package.json b/packages/astro-pagefind/package.json index 94486a5..cf8ebbe 100644 --- a/packages/astro-pagefind/package.json +++ b/packages/astro-pagefind/package.json @@ -40,6 +40,7 @@ "astro": "^2.0.4 || ^3.0.0" }, "devDependencies": { + "@astrojs/check": "0.2.0", "@semantic-release/changelog": "6.0.3", "@semantic-release/git": "10.0.1", "@types/semantic-release": "20.0.1", diff --git a/packages/example/astro.config.ts b/packages/example/astro.config.ts index b87137a..9ed5382 100644 --- a/packages/example/astro.config.ts +++ b/packages/example/astro.config.ts @@ -1,15 +1,11 @@ import { defineConfig } from "astro/config"; import pagefind from "astro-pagefind"; -import node from "@astrojs/node"; export default defineConfig({ base: "/something/", - output: "hybrid", + output: "static", build: { format: "file", }, integrations: [pagefind()], - adapter: node({ - mode: "standalone", - }), }); diff --git a/packages/example/package.json b/packages/example/package.json index ca587d2..c626ce8 100644 --- a/packages/example/package.json +++ b/packages/example/package.json @@ -10,10 +10,7 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/cloudflare": "7.1.0", - "@astrojs/netlify": "3.0.1", - "@astrojs/node": "6.0.0", - "@astrojs/vercel": "5.0.0", + "@astrojs/check": "0.2.0", "astro": "3.1.0", "typescript": "5.2.2" }, diff --git a/packages/example/src/pages/search.astro b/packages/example/src/pages/search.astro index 834d671..4b55b91 100644 --- a/packages/example/src/pages/search.astro +++ b/packages/example/src/pages/search.astro @@ -1,12 +1,12 @@ --- -import Search from "astro-pagefind/components/Search"; +import SearchComponent from "astro-pagefind/components/Search"; export const prerender = false; const q = Astro.url.searchParams.get("q") ?? undefined; --- - + @@ -16,6 +16,6 @@ const q = Astro.url.searchParams.get("q") ?? undefined;

Pre-filled Search

Searching for: {q}

- +