@grove-dev/astro 0.2.10 → 0.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/display.d.ts +11 -17
- package/dist/lib/display.d.ts.map +1 -1
- package/dist/lib/display.js +43 -43
- package/dist/lib/display.js.map +1 -1
- package/dist/lib/format.d.ts +6 -7
- package/dist/lib/format.d.ts.map +1 -1
- package/dist/lib/format.js +11 -12
- package/dist/lib/format.js.map +1 -1
- package/dist/lib/lenses.d.ts +35 -73
- package/dist/lib/lenses.d.ts.map +1 -1
- package/dist/lib/lenses.js +144 -126
- package/dist/lib/lenses.js.map +1 -1
- package/dist/lib/repo.d.ts +11 -22
- package/dist/lib/repo.d.ts.map +1 -1
- package/dist/lib/repo.js +12 -25
- package/dist/lib/repo.js.map +1 -1
- package/dist/lib/scores.d.ts +15 -16
- package/dist/lib/scores.d.ts.map +1 -1
- package/dist/lib/scores.js +4 -11
- package/dist/lib/scores.js.map +1 -1
- package/dist/lib/search.d.ts +47 -129
- package/dist/lib/search.d.ts.map +1 -1
- package/dist/lib/search.js +195 -180
- package/dist/lib/search.js.map +1 -1
- package/dist/lib/taxonomy-counts.d.ts +7 -21
- package/dist/lib/taxonomy-counts.d.ts.map +1 -1
- package/dist/lib/taxonomy-counts.js +12 -31
- package/dist/lib/taxonomy-counts.js.map +1 -1
- package/package.json +4 -4
- package/src/components/AppsIndexRow.astro +55 -184
- package/src/components/AppsPagination.astro +45 -108
- package/src/components/CategoryGrid.astro +43 -31
- package/src/components/ContributorsGrid.astro +3 -3
- package/src/components/CurationGrid.astro +41 -0
- package/src/components/ExploreByStack.astro +6 -0
- package/src/components/FilterGroupMenu.astro +49 -0
- package/src/components/FilterOptions.astro +44 -0
- package/src/components/Hero.astro +198 -147
- package/src/components/Icon.astro +10 -3
- package/src/components/ItemCard.astro +266 -248
- package/src/components/RecordSection.astro +68 -33
- package/src/components/RefinePanel.astro +115 -141
- package/src/components/StackGrid.astro +32 -24
- package/src/components/WhyThisExists.astro +32 -32
- package/src/layouts/BaseLayout.astro +104 -49
- package/src/layouts/Container.astro +5 -44
- package/src/layouts/Footer.astro +31 -20
- package/src/layouts/Header.astro +40 -19
- package/src/layouts/SectionHeader.astro +27 -43
- package/src/layouts/Seo.astro +38 -56
- package/src/layouts/ThemeToggle.astro +35 -48
- package/src/lib/display.ts +46 -53
- package/src/lib/format.ts +11 -12
- package/src/lib/lenses.ts +151 -172
- package/src/lib/repo.ts +16 -28
- package/src/lib/scores.ts +15 -19
- package/src/lib/search.ts +222 -290
- package/src/lib/taxonomy-counts.ts +12 -46
- package/src/styles.css +207 -1
- package/templates/default/.github/ISSUE_TEMPLATE/bug_report.md +33 -0
- package/templates/default/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- package/templates/default/.github/ISSUE_TEMPLATE/record_submission.md +48 -0
- package/templates/default/.github/pull_request_template.md +27 -0
- package/templates/default/.github/workflows/build.yml +55 -0
- package/templates/default/.github/workflows/cleanup-stale-records.yml +48 -0
- package/templates/default/.github/workflows/daily-refresh.yml +53 -0
- package/templates/default/.github/workflows/sync-contributors.yml +53 -0
- package/templates/default/.github/workflows/sync-github-metadata.yml +58 -0
- package/templates/default/.github/workflows/validate-data.yml +35 -0
- package/templates/default/data/records/coolify.yml +46 -0
- package/templates/default/data/records/gitea.yml +46 -0
- package/templates/default/data/records/hoppscotch.yml +47 -0
- package/templates/default/data/records/inventree.yml +47 -0
- package/templates/default/data/records/label-studio.yml +46 -0
- package/templates/default/data/records/logseq.yml +48 -0
- package/templates/default/data/records/private-gpt.yml +47 -0
- package/templates/default/data/records/wakapi.yml +44 -0
- package/templates/default/data/taxonomy/categories.yml +47 -0
- package/templates/default/data/taxonomy/distribution-channels.yml +43 -0
- package/templates/default/data/taxonomy/platforms.yml +27 -0
- package/templates/default/data/taxonomy/stacks.yml +41 -0
- package/templates/default/grove.config.ts +1 -1
- package/templates/default/package.json +5 -4
- package/templates/default/public/icons/stacks/bun.svg +1 -0
- package/templates/default/public/icons/stacks/clojure.svg +1 -0
- package/templates/default/public/icons/stacks/clojurescript.svg +1 -0
- package/templates/default/public/icons/stacks/deno.svg +1 -0
- package/templates/default/public/icons/stacks/django.svg +1 -0
- package/templates/default/public/icons/stacks/docker.svg +1 -0
- package/templates/default/public/icons/stacks/go.svg +1 -0
- package/templates/default/public/icons/stacks/llm.svg +1 -0
- package/templates/default/public/icons/stacks/node.js.svg +1 -0
- package/templates/default/public/icons/stacks/sveltekit.svg +1 -0
- package/templates/default/public/icons/stacks/vue.svg +1 -0
- package/templates/default/public/llms-full.txt +197 -5
- package/templates/default/public/llms.txt +107 -6
- package/templates/default/public/sitemap.xml +63 -0
- package/templates/default/scripts/build-llms.mjs +123 -0
- package/templates/default/scripts/build-records-json.mjs +27 -0
- package/templates/default/scripts/build-sitemap.mjs +20 -0
- package/templates/default/scripts/cleanup-stale-records.mjs +20 -0
- package/templates/default/scripts/enrich-github-metadata.mjs +99 -0
- package/templates/default/scripts/fetch-icons.mjs +137 -0
- package/templates/default/scripts/migrate-legacy-to-schema-v1.mjs +86 -0
- package/templates/default/scripts/parse-legacy-readme.mjs +59 -0
- package/templates/default/scripts/refresh-records-activity.mjs +24 -0
- package/templates/default/scripts/repair-license-format.mjs +72 -0
- package/templates/default/scripts/report-cleanup-candidates.mjs +21 -0
- package/templates/default/scripts/seed-from-github.mjs +62 -0
- package/templates/default/scripts/sync-contributors.mjs +145 -0
- package/templates/default/scripts/sync-github-metadata.mjs +28 -0
- package/templates/default/scripts/validate-records.mjs +27 -0
- package/templates/default/src/data/records.ts +134 -51
- package/templates/default/src/pages/404.astro +64 -0
- package/templates/default/src/pages/{projects/[slug].astro → [slug]/[itemSlug].astro} +236 -66
- package/templates/default/src/pages/[slug]/index.astro +476 -0
- package/templates/default/src/pages/about.astro +165 -82
- package/templates/default/src/pages/apps/[itemSlug].astro +301 -0
- package/templates/default/src/pages/apps/index.astro +146 -0
- package/templates/default/src/pages/contributors.astro +184 -0
- package/templates/default/src/pages/index.astro +119 -162
- package/templates/default/src/pages/submit.astro +276 -114
- package/templates/default/wrangler.jsonc +28 -0
- package/LICENSE +0 -21
- package/templates/default/.astro/content.d.ts +0 -155
- package/templates/default/.astro/settings.json +0 -5
- package/templates/default/.astro/types.d.ts +0 -1
- package/templates/default/data/generated/apps.json +0 -1
- package/templates/default/data/generated/records.full.json +0 -8
- package/templates/default/data/generated/records.index.json +0 -7
- package/templates/default/data/generated/records.json +0 -8
- package/templates/default/data/generated/repo-stats.json +0 -1
- package/templates/default/data/generated/site-config.json +0 -31
- package/templates/default/dist/_astro/BaseLayout.Dz_HR-68.css +0 -1
- package/templates/default/dist/about/index.html +0 -165
- package/templates/default/dist/icons/platforms/android.svg +0 -1
- package/templates/default/dist/icons/platforms/apple-dark.svg +0 -1
- package/templates/default/dist/icons/platforms/apple-light.svg +0 -1
- package/templates/default/dist/icons/platforms/chrome.svg +0 -1
- package/templates/default/dist/icons/platforms/chromeos.svg +0 -5
- package/templates/default/dist/icons/platforms/desktop.svg +0 -4
- package/templates/default/dist/icons/platforms/embedded.svg +0 -5
- package/templates/default/dist/icons/platforms/ios.svg +0 -1
- package/templates/default/dist/icons/platforms/linux.svg +0 -1
- package/templates/default/dist/icons/platforms/macos.svg +0 -1
- package/templates/default/dist/icons/platforms/ubuntu.svg +0 -1
- package/templates/default/dist/icons/platforms/web.svg +0 -5
- package/templates/default/dist/icons/platforms/windows.svg +0 -6
- package/templates/default/dist/icons/stacks/android.svg +0 -1
- package/templates/default/dist/icons/stacks/apple-dark.svg +0 -1
- package/templates/default/dist/icons/stacks/apple-light.svg +0 -1
- package/templates/default/dist/icons/stacks/capacitor.svg +0 -14
- package/templates/default/dist/icons/stacks/dart.svg +0 -1
- package/templates/default/dist/icons/stacks/firebase.svg +0 -1
- package/templates/default/dist/icons/stacks/flutter.svg +0 -1
- package/templates/default/dist/icons/stacks/graphql.svg +0 -1
- package/templates/default/dist/icons/stacks/ionic.svg +0 -4
- package/templates/default/dist/icons/stacks/java.svg +0 -1
- package/templates/default/dist/icons/stacks/javascript.svg +0 -1
- package/templates/default/dist/icons/stacks/kotlin.svg +0 -1
- package/templates/default/dist/icons/stacks/mongodb.svg +0 -1
- package/templates/default/dist/icons/stacks/nodejs.svg +0 -1
- package/templates/default/dist/icons/stacks/python.svg +0 -1
- package/templates/default/dist/icons/stacks/react-native.svg +0 -1
- package/templates/default/dist/icons/stacks/react.svg +0 -1
- package/templates/default/dist/icons/stacks/rust.svg +0 -1
- package/templates/default/dist/icons/stacks/solidity.svg +0 -1
- package/templates/default/dist/icons/stacks/swift.svg +0 -1
- package/templates/default/dist/icons/stacks/tensorflow.svg +0 -1
- package/templates/default/dist/icons/stacks/typescript.svg +0 -1
- package/templates/default/dist/index.html +0 -55
- package/templates/default/dist/llms-full.txt +0 -14
- package/templates/default/dist/llms.txt +0 -11
- package/templates/default/dist/og-image.svg +0 -48
- package/templates/default/dist/projects/index.html +0 -61
- package/templates/default/dist/robots.txt +0 -53
- package/templates/default/dist/sitemap.xml +0 -21
- package/templates/default/dist/submit/index.html +0 -69
- package/templates/default/node_modules/.bin/astro +0 -21
- package/templates/default/node_modules/.bin/astro-check +0 -21
- package/templates/default/node_modules/.bin/grove +0 -21
- package/templates/default/node_modules/.bin/jiti +0 -21
- package/templates/default/node_modules/.bin/prettier +0 -21
- package/templates/default/node_modules/.bin/rollup +0 -21
- package/templates/default/node_modules/.bin/tsc +0 -21
- package/templates/default/node_modules/.bin/tsserver +0 -21
- package/templates/default/node_modules/.bin/tsx +0 -21
- package/templates/default/node_modules/.bin/vite +0 -21
- package/templates/default/node_modules/.bin/yaml +0 -21
- package/templates/default/node_modules/.vite/deps/_metadata.json +0 -79
- package/templates/default/node_modules/.vite/deps/astro-KRVZHBC5.js +0 -433
- package/templates/default/node_modules/.vite/deps/astro-KRVZHBC5.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/astro___aria-query.js +0 -5
- package/templates/default/node_modules/.vite/deps/astro___aria-query.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/astro___axobject-query.js +0 -5
- package/templates/default/node_modules/.vite/deps/astro___axobject-query.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/astro___html-escaper.js +0 -9
- package/templates/default/node_modules/.vite/deps/astro___html-escaper.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/astro_runtime_client_dev-toolbar_entrypoint__js.js +0 -241
- package/templates/default/node_modules/.vite/deps/astro_runtime_client_dev-toolbar_entrypoint__js.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/audit-GYHQ3ITH.js +0 -1592
- package/templates/default/node_modules/.vite/deps/audit-GYHQ3ITH.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/chunk-5WRI5ZAA.js +0 -30
- package/templates/default/node_modules/.vite/deps/chunk-5WRI5ZAA.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/chunk-7P4KIK53.js +0 -186
- package/templates/default/node_modules/.vite/deps/chunk-7P4KIK53.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/chunk-BQGHFQJH.js +0 -48
- package/templates/default/node_modules/.vite/deps/chunk-BQGHFQJH.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/chunk-CJCDKWP2.js +0 -6779
- package/templates/default/node_modules/.vite/deps/chunk-CJCDKWP2.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/chunk-FHJ3XBDE.js +0 -33
- package/templates/default/node_modules/.vite/deps/chunk-FHJ3XBDE.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/chunk-FQEMNIUQ.js +0 -88
- package/templates/default/node_modules/.vite/deps/chunk-FQEMNIUQ.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/chunk-HBSVDAQD.js +0 -72
- package/templates/default/node_modules/.vite/deps/chunk-HBSVDAQD.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/chunk-HDOQ2U3U.js +0 -3757
- package/templates/default/node_modules/.vite/deps/chunk-HDOQ2U3U.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/chunk-XEBKRCNE.js +0 -54
- package/templates/default/node_modules/.vite/deps/chunk-XEBKRCNE.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/package.json +0 -3
- package/templates/default/node_modules/.vite/deps/settings-C5H4VHXU.js +0 -213
- package/templates/default/node_modules/.vite/deps/settings-C5H4VHXU.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/toolbar-H5DB6HVP.js +0 -525
- package/templates/default/node_modules/.vite/deps/toolbar-H5DB6HVP.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/ui-library-JGHU6JE2.js +0 -1020
- package/templates/default/node_modules/.vite/deps/ui-library-JGHU6JE2.js.map +0 -7
- package/templates/default/node_modules/.vite/deps/xray-EFCQOW4E.js +0 -147
- package/templates/default/node_modules/.vite/deps/xray-EFCQOW4E.js.map +0 -7
- package/templates/default/src/components/layout/BaseLayout.astro +0 -47
- package/templates/default/src/components/layout/Container.astro +0 -18
- package/templates/default/src/components/layout/Footer.astro +0 -27
- package/templates/default/src/components/layout/Header.astro +0 -43
- package/templates/default/src/lib/markdown.ts +0 -171
- package/templates/default/src/pages/projects/index.astro +0 -193
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/typescript@6.0.3/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/typescript@6.0.3/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsc" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsc" "$@"
|
|
21
|
-
fi
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/typescript@6.0.3/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/typescript@6.0.3/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsserver" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../../../../../../node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/bin/tsserver" "$@"
|
|
21
|
-
fi
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/tsx@4.22.4/node_modules/tsx/dist/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/tsx@4.22.4/node_modules/tsx/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/tsx@4.22.4/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/tsx@4.22.4/node_modules/tsx/dist/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/tsx@4.22.4/node_modules/tsx/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/tsx@4.22.4/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/tsx@4.22.4/node_modules/tsx/dist/cli.mjs" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../../../../../../node_modules/.pnpm/tsx@4.22.4/node_modules/tsx/dist/cli.mjs" "$@"
|
|
21
|
-
fi
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/vite@7.3.5_@types+node@25.9.2_jiti@2.7.0_lightningcss@1.32.0_tsx@4.22.4_yaml@2.9.0/node_modules/vite/bin/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/vite@7.3.5_@types+node@25.9.2_jiti@2.7.0_lightningcss@1.32.0_tsx@4.22.4_yaml@2.9.0/node_modules/vite/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/vite@7.3.5_@types+node@25.9.2_jiti@2.7.0_lightningcss@1.32.0_tsx@4.22.4_yaml@2.9.0/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/vite@7.3.5_@types+node@25.9.2_jiti@2.7.0_lightningcss@1.32.0_tsx@4.22.4_yaml@2.9.0/node_modules/vite/bin/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/vite@7.3.5_@types+node@25.9.2_jiti@2.7.0_lightningcss@1.32.0_tsx@4.22.4_yaml@2.9.0/node_modules/vite/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/vite@7.3.5_@types+node@25.9.2_jiti@2.7.0_lightningcss@1.32.0_tsx@4.22.4_yaml@2.9.0/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/vite@7.3.5_@types+node@25.9.2_jiti@2.7.0_lightningcss@1.32.0_tsx@4.22.4_yaml@2.9.0/node_modules/vite/bin/vite.js" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../../../../../../node_modules/.pnpm/vite@7.3.5_@types+node@25.9.2_jiti@2.7.0_lightningcss@1.32.0_tsx@4.22.4_yaml@2.9.0/node_modules/vite/bin/vite.js" "$@"
|
|
21
|
-
fi
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/yaml@2.9.0/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/yaml@2.9.0/node_modules:/Users/turuu/Projects/Personal/grove/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/bin.mjs" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../../../../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/bin.mjs" "$@"
|
|
21
|
-
fi
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"hash": "f7dfd4bf",
|
|
3
|
-
"configHash": "2aa2a818",
|
|
4
|
-
"lockfileHash": "5b29fbb1",
|
|
5
|
-
"browserHash": "dc22719f",
|
|
6
|
-
"optimized": {
|
|
7
|
-
"astro > aria-query": {
|
|
8
|
-
"src": "../../../../../../../node_modules/.pnpm/aria-query@5.3.2/node_modules/aria-query/lib/index.js",
|
|
9
|
-
"file": "astro___aria-query.js",
|
|
10
|
-
"fileHash": "2af1432b",
|
|
11
|
-
"needsInterop": true
|
|
12
|
-
},
|
|
13
|
-
"astro > axobject-query": {
|
|
14
|
-
"src": "../../../../../../../node_modules/.pnpm/axobject-query@4.1.0/node_modules/axobject-query/lib/index.js",
|
|
15
|
-
"file": "astro___axobject-query.js",
|
|
16
|
-
"fileHash": "09803574",
|
|
17
|
-
"needsInterop": true
|
|
18
|
-
},
|
|
19
|
-
"astro > html-escaper": {
|
|
20
|
-
"src": "../../../../../../../node_modules/.pnpm/html-escaper@3.0.3/node_modules/html-escaper/esm/index.js",
|
|
21
|
-
"file": "astro___html-escaper.js",
|
|
22
|
-
"fileHash": "10cf2c9f",
|
|
23
|
-
"needsInterop": false
|
|
24
|
-
},
|
|
25
|
-
"astro/runtime/client/dev-toolbar/entrypoint.js": {
|
|
26
|
-
"src": "../../../../../../../node_modules/.pnpm/astro@6.4.5_@types+node@25.9.2_jiti@2.7.0_lightningcss@1.32.0_rollup@4.61.1_tsx@4.22.4_yaml@2.9.0/node_modules/astro/dist/runtime/client/dev-toolbar/entrypoint.js",
|
|
27
|
-
"file": "astro_runtime_client_dev-toolbar_entrypoint__js.js",
|
|
28
|
-
"fileHash": "927d246a",
|
|
29
|
-
"needsInterop": false
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"chunks": {
|
|
33
|
-
"toolbar-H5DB6HVP": {
|
|
34
|
-
"file": "toolbar-H5DB6HVP.js"
|
|
35
|
-
},
|
|
36
|
-
"ui-library-JGHU6JE2": {
|
|
37
|
-
"file": "ui-library-JGHU6JE2.js"
|
|
38
|
-
},
|
|
39
|
-
"chunk-FQEMNIUQ": {
|
|
40
|
-
"file": "chunk-FQEMNIUQ.js"
|
|
41
|
-
},
|
|
42
|
-
"astro-KRVZHBC5": {
|
|
43
|
-
"file": "astro-KRVZHBC5.js"
|
|
44
|
-
},
|
|
45
|
-
"chunk-BQGHFQJH": {
|
|
46
|
-
"file": "chunk-BQGHFQJH.js"
|
|
47
|
-
},
|
|
48
|
-
"audit-GYHQ3ITH": {
|
|
49
|
-
"file": "audit-GYHQ3ITH.js"
|
|
50
|
-
},
|
|
51
|
-
"chunk-HDOQ2U3U": {
|
|
52
|
-
"file": "chunk-HDOQ2U3U.js"
|
|
53
|
-
},
|
|
54
|
-
"chunk-CJCDKWP2": {
|
|
55
|
-
"file": "chunk-CJCDKWP2.js"
|
|
56
|
-
},
|
|
57
|
-
"xray-EFCQOW4E": {
|
|
58
|
-
"file": "xray-EFCQOW4E.js"
|
|
59
|
-
},
|
|
60
|
-
"chunk-HBSVDAQD": {
|
|
61
|
-
"file": "chunk-HBSVDAQD.js"
|
|
62
|
-
},
|
|
63
|
-
"chunk-FHJ3XBDE": {
|
|
64
|
-
"file": "chunk-FHJ3XBDE.js"
|
|
65
|
-
},
|
|
66
|
-
"settings-C5H4VHXU": {
|
|
67
|
-
"file": "settings-C5H4VHXU.js"
|
|
68
|
-
},
|
|
69
|
-
"chunk-XEBKRCNE": {
|
|
70
|
-
"file": "chunk-XEBKRCNE.js"
|
|
71
|
-
},
|
|
72
|
-
"chunk-7P4KIK53": {
|
|
73
|
-
"file": "chunk-7P4KIK53.js"
|
|
74
|
-
},
|
|
75
|
-
"chunk-5WRI5ZAA": {
|
|
76
|
-
"file": "chunk-5WRI5ZAA.js"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
@@ -1,433 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isDefinedIcon
|
|
3
|
-
} from "./chunk-BQGHFQJH.js";
|
|
4
|
-
import {
|
|
5
|
-
closeOnOutsideClick,
|
|
6
|
-
createWindowElement,
|
|
7
|
-
synchronizePlacementOnUpdate
|
|
8
|
-
} from "./chunk-XEBKRCNE.js";
|
|
9
|
-
import "./chunk-7P4KIK53.js";
|
|
10
|
-
import "./chunk-5WRI5ZAA.js";
|
|
11
|
-
|
|
12
|
-
// ../../../../node_modules/.pnpm/astro@6.4.5_@types+node@25.9.2_jiti@2.7.0_lightningcss@1.32.0_rollup@4.61.1_tsx@4.22.4_yaml@2.9.0/node_modules/astro/dist/runtime/client/dev-toolbar/apps/utils/icons.js
|
|
13
|
-
function randomFromArray(list) {
|
|
14
|
-
return list[Math.floor(Math.random() * list.length)];
|
|
15
|
-
}
|
|
16
|
-
var categoryIcons = new Map(
|
|
17
|
-
Object.entries({
|
|
18
|
-
frameworks: ["puzzle", "grid"],
|
|
19
|
-
adapters: ["puzzle", "grid", "compress"],
|
|
20
|
-
"css+ui": ["compress", "grid", "image", "resizeImage", "puzzle"],
|
|
21
|
-
"performance+seo": ["approveUser", "checkCircle", "compress", "robot", "searchFile", "sitemap"],
|
|
22
|
-
analytics: ["checkCircle", "compress", "searchFile"],
|
|
23
|
-
accessibility: ["approveUser", "checkCircle"],
|
|
24
|
-
other: ["checkCircle", "grid", "puzzle", "sitemap"]
|
|
25
|
-
})
|
|
26
|
-
);
|
|
27
|
-
function iconForIntegration(integration) {
|
|
28
|
-
const icons = integration.categories.filter((category) => categoryIcons.has(category)).flatMap((category) => categoryIcons.get(category));
|
|
29
|
-
return randomFromArray(icons);
|
|
30
|
-
}
|
|
31
|
-
var iconColors = [
|
|
32
|
-
"#BC52EE",
|
|
33
|
-
"#6D6AF0",
|
|
34
|
-
"#52EEBD",
|
|
35
|
-
"#52B7EE",
|
|
36
|
-
"#52EE55",
|
|
37
|
-
"#B7EE52",
|
|
38
|
-
"#EEBD52",
|
|
39
|
-
"#EE5552",
|
|
40
|
-
"#EE52B7",
|
|
41
|
-
"#858B98"
|
|
42
|
-
];
|
|
43
|
-
function colorForIntegration() {
|
|
44
|
-
return randomFromArray(iconColors);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// ../../../../node_modules/.pnpm/astro@6.4.5_@types+node@25.9.2_jiti@2.7.0_lightningcss@1.32.0_rollup@4.61.1_tsx@4.22.4_yaml@2.9.0/node_modules/astro/dist/runtime/client/dev-toolbar/apps/astro.js
|
|
48
|
-
var astroLogo = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 99 26" width="100"><path fill="#fff" d="M6.70402 22.1453c-1.17459-1.0737-1.51748-3.3297-1.02811-4.9641.84853 1.0304 2.02424 1.3569 3.24204 1.5411 1.88005.2844 3.72635.178 5.47285-.6813.1998-.0984.3844-.2292.6027-.3617.1639.4755.2065.9554.1493 1.4439-.1392 1.1898-.7313 2.1088-1.673 2.8054-.3765.2787-.775.5278-1.1639.7905-1.1948.8075-1.518 1.7544-1.0691 3.1318.0107.0336.0202.0671.0444.149-.6101-.273-1.0557-.6705-1.39518-1.1931-.3586-.5517-.52921-1.1619-.53819-1.8221-.00449-.3213-.00449-.6455-.0477-.9623-.10551-.7722-.46804-1.118-1.15102-1.1379-.70094-.0205-1.2554.4129-1.40244 1.0953-.01122.0523-.02749.1041-.04377.1649l.00112.0006Z"/><path fill="url(#paint0_linear_386_2739)" d="M6.70402 22.1453c-1.17459-1.0737-1.51748-3.3297-1.02811-4.9641.84853 1.0304 2.02424 1.3569 3.24204 1.5411 1.88005.2844 3.72635.178 5.47285-.6813.1998-.0984.3844-.2292.6027-.3617.1639.4755.2065.9554.1493 1.4439-.1392 1.1898-.7313 2.1088-1.673 2.8054-.3765.2787-.775.5278-1.1639.7905-1.1948.8075-1.518 1.7544-1.0691 3.1318.0107.0336.0202.0671.0444.149-.6101-.273-1.0557-.6705-1.39518-1.1931-.3586-.5517-.52921-1.1619-.53819-1.8221-.00449-.3213-.00449-.6455-.0477-.9623-.10551-.7722-.46804-1.118-1.15102-1.1379-.70094-.0205-1.2554.4129-1.40244 1.0953-.01122.0523-.02749.1041-.04377.1649l.00112.0006Z"/><path fill="#fff" d="M0 16.909s3.47815-1.6944 6.96603-1.6944l2.62973-8.13858c.09846-.39359.38592-.66106.71044-.66106.3246 0 .612.26747.7105.66106l2.6297 8.13858c4.1309 0 6.966 1.6944 6.966 1.6944S14.7045.814589 14.693.782298C14.5234.306461 14.2371 0 13.8512 0H6.76183c-.38593 0-.66063.306461-.84174.782298C5.90733.81398 0 16.909 0 16.909ZM36.671 11.7318c0 1.4262-1.7739 2.2779-4.2302 2.2779-1.5985 0-2.1638-.3962-2.1638-1.2281 0-.8715.7018-1.2875 2.3003-1.2875 1.4426 0 2.6707.0198 4.0937.1981v.0396Zm.0195-1.7629c-.8772-.19808-2.2028-.31693-3.7818-.31693-4.6006 0-6.7644 1.08943-6.7644 3.62483 0 2.6344 1.4815 3.6446 4.9125 3.6446 2.9046 0 4.8735-.7328 5.5947-2.5354h.117c-.0195.4358-.039.8716-.039 1.2083 0 .931.156 1.0102.9162 1.0102h3.5869c-.1949-.5546-.3119-2.1194-.3119-3.4663 0-1.446.0585-2.5355.0585-4.00123 0-2.99098-1.7934-4.89253-7.4077-4.89253-2.4173 0-5.1074.41596-7.1543 1.03.1949.81213.4679 2.45617.6043 3.5258 1.774-.83193 4.2887-1.18847 6.2381-1.18847 2.6902 0 3.4309.61404 3.4309 1.86193v.4952ZM46.5325 12.5637c-.4874.0594-1.1502.0594-1.8325.0594-.7213 0-1.3841-.0198-1.8324-.0792 0 .1585-.0195.3367-.0195.4952 0 2.476 1.618 3.922 7.3102 3.922 5.3609 0 7.0958-1.4262 7.0958-3.9418 0-2.3769-1.1501-3.5456-6.238-3.8031-3.9573-.17827-4.3082-.61404-4.3082-1.10924 0-.57442.5068-.87154 3.158-.87154 2.7487 0 3.4894.37635 3.4894 1.16866v.17827c.3899-.01981 1.0917-.03961 1.813-.03961.6823 0 1.423.0198 1.8519.05942 0-.17827.0195-.33674.0195-.47539 0-2.91175-2.4172-3.86252-7.0958-3.86252-5.2634 0-7.0373 1.2875-7.0373 3.8031 0 2.25805 1.423 3.66445 6.472 3.88235 3.7233.1188 4.1327.5348 4.1327 1.1092 0 .6141-.6043.8914-3.2165.8914-3.0021 0-3.7623-.416-3.7623-1.2677v-.1189ZM63.6883 2.125c-1.423 1.32712-3.9768 2.65425-5.3998 3.01079.0195.73289.0195 2.07982.0195 2.81271l1.3061.01981c-.0195 1.40635-.039 3.10979-.039 4.23889 0 2.6344 1.3841 4.6152 5.6922 4.6152 1.813 0 3.0216-.1981 4.5226-.515-.1559-.9706-.3314-2.4562-.3898-3.5852-.8968.2971-2.0274.4556-3.275.4556-1.735 0-2.4368-.4754-2.4368-1.8422 0-1.1884 0-2.29767.0195-3.32768 2.2223.01981 4.4446.05943 5.7507.09904-.0195-1.03.0195-2.51559.078-3.50598-1.8909.03961-4.0157.05942-5.7702.05942.0195-.87154.039-1.70347.0585-2.5354h-.1365ZM75.3313 7.35427c.0195-1.03001.039-1.90156.0585-2.75329h-3.9183c.0585 1.70347.0585 3.44656.0585 6.00172 0 2.5553-.0195 4.3182-.0585 6.0018h4.4836c-.078-1.1885-.0975-3.189-.0975-4.8925 0-2.69388 1.0917-3.46638 3.5674-3.46638 1.1502 0 1.9689.13865 2.6902.39615.0195-1.01019.2144-2.97117.3314-3.84271-.7408-.21789-1.5595-.35655-2.5537-.35655-2.1249-.0198-3.6844.85174-4.4056 2.93156l-.156-.0198ZM94.8501 10.5235c0 2.1591-1.5595 3.1693-4.0157 3.1693-2.4368 0-3.9963-.9508-3.9963-3.1693 0-2.21846 1.579-3.05039 3.9963-3.05039 2.4367 0 4.0157.89135 4.0157 3.05039Zm4.0743-.099c0-4.29832-3.353-6.21968-8.09-6.21968-4.7566 0-7.9926 1.92136-7.9926 6.21968 0 4.2785 3.0216 6.5762 7.9731 6.5762 4.9904 0 8.1095-2.2977 8.1095-6.5762Z"/><defs><linearGradient id="paint0_linear_386_2739" x1="5.46011" x2="16.8017" y1="25.9999" y2="20.6412" gradientUnits="userSpaceOnUse"><stop stop-color="#D83333"/><stop offset="1" stop-color="#F041FF"/></linearGradient></defs></svg>';
|
|
49
|
-
var integrationData;
|
|
50
|
-
var astro_default = {
|
|
51
|
-
id: "astro:home",
|
|
52
|
-
name: "Menu",
|
|
53
|
-
icon: "astro:logo",
|
|
54
|
-
async init(canvas, eventTarget) {
|
|
55
|
-
createCanvas();
|
|
56
|
-
document.addEventListener("astro:after-swap", createCanvas);
|
|
57
|
-
eventTarget.addEventListener("app-toggled", async (event) => {
|
|
58
|
-
resetDebugButton();
|
|
59
|
-
if (!(event instanceof CustomEvent)) return;
|
|
60
|
-
if (event.detail.state === true) {
|
|
61
|
-
if (!integrationData) fetchIntegrationData();
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
closeOnOutsideClick(eventTarget);
|
|
65
|
-
synchronizePlacementOnUpdate(eventTarget, canvas);
|
|
66
|
-
function fetchIntegrationData() {
|
|
67
|
-
fetch("https://astro.build/api/v1/dev-overlay/", {
|
|
68
|
-
cache: "no-cache"
|
|
69
|
-
}).then((res) => res.json()).then((data) => {
|
|
70
|
-
integrationData = data;
|
|
71
|
-
integrationData.data = integrationData.data.map((integration) => {
|
|
72
|
-
return integration;
|
|
73
|
-
});
|
|
74
|
-
refreshIntegrationList();
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
function createCanvas() {
|
|
78
|
-
const links = [
|
|
79
|
-
{
|
|
80
|
-
icon: "bug",
|
|
81
|
-
name: "Report a Bug",
|
|
82
|
-
link: "https://github.com/withastro/astro/issues/new/choose"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
icon: "lightbulb",
|
|
86
|
-
name: "Feedback",
|
|
87
|
-
link: "https://github.com/withastro/roadmap/discussions/new/choose"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
icon: "file-search",
|
|
91
|
-
name: "Documentation",
|
|
92
|
-
link: "https://docs.astro.build"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
icon: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 14"><path fill="currentColor" d="M14.3451 1.9072c-1.0375-.47613-2.1323-.81595-3.257-1.010998-.0102-.001716-.0207-.000234-.03.004243s-.017.011728-.022.020757c-.141.249998-.297.576998-.406.832998-1.2124-.18399-2.44561-.18399-3.658 0-.12159-.28518-.25914-.56328-.412-.832998-.00513-.00893-.01285-.016098-.02213-.02056-.00928-.004462-.0197-.00601-.02987-.00444-1.125.193998-2.22.533998-3.257 1.010998-.00888.00339-.0163.00975-.021.018-2.074 3.099-2.643004 6.122-2.364004 9.107.001.014.01.028.021.037 1.207724.8946 2.558594 1.5777 3.995004 2.02.01014.0032.02103.0031.03111-.0003.01007-.0034.01878-.01.02489-.0187.308-.42.582-.863.818-1.329.00491-.0096.0066-.0205.0048-.0312-.00181-.0106-.007-.0204-.0148-.0278-.00517-.0049-.0113-.0086-.018-.011-.43084-.1656-.84811-.3645-1.248-.595-.01117-.0063-.01948-.0167-.0232-.029-.00373-.0123-.00258-.0255.0032-.037.0034-.0074.00854-.014.015-.019.084-.063.168-.129.248-.195.00706-.0057.01554-.0093.02453-.0106.00898-.0012.01813 0 .02647.0036 2.619 1.196 5.454 1.196 8.041 0 .0086-.0037.0181-.0051.0275-.0038.0093.0012.0181.0049.0255.0108.08.066.164.132.248.195.0068.005.0123.0116.0159.0192.0036.0076.0053.016.0049.0244-.0003.0084-.0028.0166-.0072.0238-.0043.0072-.0104.0133-.0176.0176-.399.2326-.8168.4313-1.249.594-.0069.0025-.0132.0065-.0183.0117-.0052.0051-.0092.0114-.0117.0183-.0023.0067-.0032.0138-.0027.0208.0005.0071.0024.0139.0057.0202.24.465.515.909.817 1.329.0061.0087.0148.0153.0249.0187.0101.0034.021.0035.0311.0003 1.4388-.441 2.7919-1.1241 4.001-2.02.0061-.0042.0111-.0097.0147-.0161.0037-.0064.0058-.0135.0063-.0209.334-3.451-.559-6.449-2.366-9.106-.0018-.00439-.0045-.00834-.008-.01162-.0034-.00327-.0075-.00578-.012-.00738Zm-8.198 7.307c-.789 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612Zm5.316 0c-.788 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612Z"/></svg>',
|
|
96
|
-
name: "Community",
|
|
97
|
-
link: "https://astro.build/chat"
|
|
98
|
-
}
|
|
99
|
-
];
|
|
100
|
-
const { latestAstroVersion, version, debugInfo } = window.__astro_dev_toolbar__ ?? {};
|
|
101
|
-
const windowComponent = createWindowElement(
|
|
102
|
-
`<style>
|
|
103
|
-
#buttons-container {
|
|
104
|
-
display: flex;
|
|
105
|
-
gap: 16px;
|
|
106
|
-
justify-content: center;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
#buttons-container astro-dev-toolbar-card {
|
|
110
|
-
flex: 1;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
footer {
|
|
114
|
-
display: flex;
|
|
115
|
-
justify-content: center;
|
|
116
|
-
gap: 24px;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
footer a {
|
|
120
|
-
color: rgba(145, 152, 173, 1);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
footer a:hover {
|
|
124
|
-
color: rgba(204, 206, 216, 1);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
#main-container {
|
|
128
|
-
display: flex;
|
|
129
|
-
flex-direction: column;
|
|
130
|
-
height: 100%;
|
|
131
|
-
gap: 24px;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
p {
|
|
135
|
-
margin-top: 0;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
header {
|
|
139
|
-
display: flex;
|
|
140
|
-
justify-content: space-between;
|
|
141
|
-
align-items: center;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
header section {
|
|
145
|
-
display: flex;
|
|
146
|
-
gap: 0.8em;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
h2 {
|
|
150
|
-
color: white;
|
|
151
|
-
margin: 0;
|
|
152
|
-
font-size: 18px;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
a {
|
|
156
|
-
color: rgba(224, 204, 250, 1);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
a:hover {
|
|
160
|
-
color: #f4ecfd;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
#integration-list-wrapper {
|
|
164
|
-
position: relative;
|
|
165
|
-
--offset: 24px;
|
|
166
|
-
overflow-x: auto;
|
|
167
|
-
overflow-y: hidden;
|
|
168
|
-
margin-left: calc(var(--offset) * -1);
|
|
169
|
-
margin-right: calc(var(--offset) * -1);
|
|
170
|
-
padding-left: var(--offset);
|
|
171
|
-
padding-right: var(--offset);
|
|
172
|
-
height: 210px;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/* Pseudo-elements to fade cards as they scroll out of viewport */
|
|
176
|
-
#integration-list-wrapper::before,
|
|
177
|
-
#integration-list-wrapper::after {
|
|
178
|
-
content: '';
|
|
179
|
-
height: 192px;
|
|
180
|
-
display: block;
|
|
181
|
-
position: fixed;
|
|
182
|
-
width: var(--offset);
|
|
183
|
-
top: 106px;
|
|
184
|
-
background: red;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
#integration-list-wrapper::before {
|
|
188
|
-
left: -1px;
|
|
189
|
-
border-left: 1px solid rgba(52, 56, 65, 1);
|
|
190
|
-
background: linear-gradient(to right, rgba(19, 21, 26, 1), rgba(19, 21, 26, 0));
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
#integration-list-wrapper::after {
|
|
194
|
-
right: -1px;
|
|
195
|
-
border-right: 1px solid rgba(52, 56, 65, 1);
|
|
196
|
-
background: linear-gradient(to left, rgba(19, 21, 26, 1), rgba(19, 21, 26, 0));
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
#integration-list-wrapper::-webkit-scrollbar {
|
|
200
|
-
width: 5px;
|
|
201
|
-
height: 8px;
|
|
202
|
-
background-color: rgba(255, 255, 255, 0.08); /* or add it to the track */
|
|
203
|
-
border-radius: 4px;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
/* This is wild but gives us a gap on either side of the container */
|
|
207
|
-
#integration-list-wrapper::-webkit-scrollbar-button:start:decrement,
|
|
208
|
-
#integration-list-wrapper::-webkit-scrollbar-button:end:increment {
|
|
209
|
-
display: block;
|
|
210
|
-
width: 24px;
|
|
211
|
-
background-color: #13151A;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
/* Removes arrows on both sides */
|
|
215
|
-
#integration-list-wrapper::-webkit-scrollbar-button:horizontal:start:increment,
|
|
216
|
-
#integration-list-wrapper::-webkit-scrollbar-button:horizontal:end:decrement {
|
|
217
|
-
display: none;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
#integration-list-wrapper::-webkit-scrollbar-track-piece {
|
|
221
|
-
border-radius: 4px;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
#integration-list-wrapper::-webkit-scrollbar-thumb {
|
|
225
|
-
background-color: rgba(255, 255, 255, 0.3);
|
|
226
|
-
border-radius: 4px;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
#integration-list {
|
|
230
|
-
margin-top: 1em;
|
|
231
|
-
display: flex;
|
|
232
|
-
gap: 16px;
|
|
233
|
-
padding-bottom: 1em;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
#integration-list::after {
|
|
237
|
-
content: " ";
|
|
238
|
-
display: inline-block;
|
|
239
|
-
white-space: pre;
|
|
240
|
-
width: 1px;
|
|
241
|
-
height: 1px;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
#integration-list astro-dev-toolbar-card, .integration-skeleton {
|
|
245
|
-
min-width: 240px;
|
|
246
|
-
height: 160px;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.integration-skeleton {
|
|
250
|
-
animation: pulse 2s calc(var(--i, 0) * 250ms) cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
251
|
-
background-color: rgba(35, 38, 45, 1);
|
|
252
|
-
border-radius: 8px;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
@keyframes pulse {
|
|
256
|
-
0%, 100% {
|
|
257
|
-
opacity: 1;
|
|
258
|
-
}
|
|
259
|
-
50% {
|
|
260
|
-
opacity: .5;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
#integration-list astro-dev-toolbar-card .integration-image {
|
|
265
|
-
width: 40px;
|
|
266
|
-
height: 40px;
|
|
267
|
-
background-color: var(--integration-image-background, white);
|
|
268
|
-
border-radius: 9999px;
|
|
269
|
-
display: flex;
|
|
270
|
-
justify-content: center;
|
|
271
|
-
align-items: center;
|
|
272
|
-
margin-bottom: 8px;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
#integration-list astro-dev-toolbar-card img {
|
|
276
|
-
width: 24px;
|
|
277
|
-
height: 24px;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
#integration-list astro-dev-toolbar-card astro-dev-toolbar-icon {
|
|
281
|
-
width: 24px;
|
|
282
|
-
height: 24px;
|
|
283
|
-
color: #fff;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
#links {
|
|
287
|
-
margin: auto 0;
|
|
288
|
-
display: flex;
|
|
289
|
-
justify-content: center;
|
|
290
|
-
gap: 24px;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
#links a {
|
|
294
|
-
text-decoration: none;
|
|
295
|
-
align-items: center;
|
|
296
|
-
display: flex;
|
|
297
|
-
flex-direction: column;
|
|
298
|
-
gap: 0.7em;
|
|
299
|
-
flex: 1;
|
|
300
|
-
white-space: nowrap;
|
|
301
|
-
font-weight: 600;
|
|
302
|
-
color: white;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
#links a:hover {
|
|
306
|
-
color: rgba(145, 152, 173, 1);
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
#links astro-dev-toolbar-icon {
|
|
310
|
-
width: 1.5em;
|
|
311
|
-
height: 1.5em;
|
|
312
|
-
display: block;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
#integration-list astro-dev-toolbar-card svg {
|
|
316
|
-
width: 24px;
|
|
317
|
-
height: 24px;
|
|
318
|
-
vertical-align: bottom;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
#integration-list astro-dev-toolbar-card h3 {
|
|
322
|
-
margin: 0;
|
|
323
|
-
margin-bottom: 8px;
|
|
324
|
-
color: white;
|
|
325
|
-
white-space: nowrap;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
#integration-list astro-dev-toolbar-card p {
|
|
329
|
-
font-size: 14px;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
@media (forced-colors: active) {
|
|
333
|
-
svg path[fill="#fff"] {
|
|
334
|
-
fill: black;
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
</style>
|
|
338
|
-
|
|
339
|
-
<header>
|
|
340
|
-
<section>
|
|
341
|
-
${astroLogo}
|
|
342
|
-
<astro-dev-toolbar-badge badge-style="gray" size="large">${version}</astro-dev-toolbar-badge>
|
|
343
|
-
${latestAstroVersion ? `<astro-dev-toolbar-badge badge-style="green" size="large">${latestAstroVersion} available!</astro-dev-toolbar-badge>
|
|
344
|
-
` : ""}
|
|
345
|
-
</section>
|
|
346
|
-
<astro-dev-toolbar-button id="copy-debug-button">Copy debug info <astro-dev-toolbar-icon icon="copy" /></astro-dev-toolbar-button>
|
|
347
|
-
</header>
|
|
348
|
-
<hr />
|
|
349
|
-
|
|
350
|
-
<div id="main-container">
|
|
351
|
-
<div>
|
|
352
|
-
<header><h2>Featured integrations</h2><a href="https://astro.build/integrations/" target="_blank">View all</a></header>
|
|
353
|
-
<div id="integration-list-wrapper">
|
|
354
|
-
<section id="integration-list">
|
|
355
|
-
<div class="integration-skeleton" style="--i:0;"></div>
|
|
356
|
-
<div class="integration-skeleton" style="--i:1;"></div>
|
|
357
|
-
<div class="integration-skeleton" style="--i:2;"></div>
|
|
358
|
-
<div class="integration-skeleton" style="--i:3;"></div>
|
|
359
|
-
<div class="integration-skeleton" style="--i:4;"></div>
|
|
360
|
-
</section>
|
|
361
|
-
</div>
|
|
362
|
-
</div>
|
|
363
|
-
<section id="links">
|
|
364
|
-
${links.map(
|
|
365
|
-
(link) => `<a href="${link.link}" target="_blank"><astro-dev-toolbar-icon ${isDefinedIcon(link.icon) ? `icon="${link.icon}">` : `>${link.icon}`}</astro-dev-toolbar-icon>${link.name}</a>`
|
|
366
|
-
).join("")}
|
|
367
|
-
</section>
|
|
368
|
-
</div>
|
|
369
|
-
`
|
|
370
|
-
);
|
|
371
|
-
const copyDebugButton = windowComponent.querySelector("#copy-debug-button");
|
|
372
|
-
copyDebugButton?.addEventListener("click", () => {
|
|
373
|
-
navigator.clipboard.writeText("```\n" + debugInfo + "\n```");
|
|
374
|
-
copyDebugButton.textContent = "Copied to clipboard!";
|
|
375
|
-
setTimeout(() => {
|
|
376
|
-
resetDebugButton();
|
|
377
|
-
}, 3500);
|
|
378
|
-
});
|
|
379
|
-
canvas.append(windowComponent);
|
|
380
|
-
if (integrationData) refreshIntegrationList();
|
|
381
|
-
}
|
|
382
|
-
function resetDebugButton() {
|
|
383
|
-
const copyDebugButton = canvas.querySelector("#copy-debug-button");
|
|
384
|
-
if (!copyDebugButton) return;
|
|
385
|
-
copyDebugButton.innerHTML = 'Copy debug info <astro-dev-toolbar-icon icon="copy" />';
|
|
386
|
-
}
|
|
387
|
-
function refreshIntegrationList() {
|
|
388
|
-
const integrationList = canvas.querySelector("#integration-list");
|
|
389
|
-
if (!integrationList) return;
|
|
390
|
-
integrationList.innerHTML = "";
|
|
391
|
-
const fragment = document.createDocumentFragment();
|
|
392
|
-
for (const integration of integrationData.data) {
|
|
393
|
-
const integrationComponent = document.createElement("astro-dev-toolbar-card");
|
|
394
|
-
integrationComponent.link = integration.homepageUrl;
|
|
395
|
-
const integrationContainer = document.createElement("div");
|
|
396
|
-
integrationContainer.className = "integration-container";
|
|
397
|
-
const integrationImage = document.createElement("div");
|
|
398
|
-
integrationImage.className = "integration-image";
|
|
399
|
-
if (integration.image) {
|
|
400
|
-
const img = document.createElement("img");
|
|
401
|
-
img.src = integration.image;
|
|
402
|
-
img.alt = integration.title;
|
|
403
|
-
integrationImage.append(img);
|
|
404
|
-
} else {
|
|
405
|
-
const icon = document.createElement("astro-dev-toolbar-icon");
|
|
406
|
-
icon.icon = iconForIntegration(integration);
|
|
407
|
-
integrationImage.append(icon);
|
|
408
|
-
integrationImage.style.setProperty(
|
|
409
|
-
"--integration-image-background",
|
|
410
|
-
colorForIntegration()
|
|
411
|
-
);
|
|
412
|
-
}
|
|
413
|
-
integrationContainer.append(integrationImage);
|
|
414
|
-
let integrationTitle = document.createElement("h3");
|
|
415
|
-
integrationTitle.textContent = integration.title;
|
|
416
|
-
if (integration.official || integration.categories.includes("official")) {
|
|
417
|
-
integrationTitle.innerHTML += ' <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 21 20"><rect width="19" height="19" x="1.16602" y=".5" fill="url(#paint0_linear_917_1096)" fill-opacity=".33" rx="9.5"/><path fill="#fff" d="M15.139 6.80657c-.062-.06248-.1357-.11208-.217-.14592-.0812-.03385-.1683-.05127-.2563-.05127-.0881 0-.1752.01742-.2564.05127-.0813.03384-.155.08344-.217.14592L9.22566 11.7799 7.13899 9.68657c-.06435-.06216-.14031-.11103-.22355-.14383-.08323-.03281-.17211-.04889-.26157-.04735-.08945.00155-.17773.0207-.25978.05637a.68120694.68120694 0 0 0-.21843.15148c-.06216.06435-.11104.14031-.14384.22355-.0328.08321-.04889.17211-.04734.26161.00154.0894.0207.1777.05636.2597.03566.0821.08714.1563.15148.2185l2.56 2.56c.06198.0625.13571.1121.21695.1459s.16838.0513.25639.0513c.088 0 .17514-.0175.25638-.0513s.15497-.0834.21695-.1459L15.139 7.78657c.0677-.06242.1217-.13819.1586-.22253.0369-.08433.056-.1754.056-.26747 0-.09206-.0191-.18313-.056-.26747-.0369-.08433-.0909-.1601-.1586-.22253Z"/><rect width="19" height="19" x="1.16602" y=".5" stroke="url(#paint1_linear_917_1096)" rx="9.5"/><defs><linearGradient id="paint0_linear_917_1096" x1="20.666" x2="-3.47548" y1=".00000136" y2="10.1345" gradientUnits="userSpaceOnUse"><stop stop-color="#4AF2C8"/><stop offset="1" stop-color="#2F4CB3"/></linearGradient><linearGradient id="paint1_linear_917_1096" x1="20.666" x2="-3.47548" y1=".00000136" y2="10.1345" gradientUnits="userSpaceOnUse"><stop stop-color="#4AF2C8"/><stop offset="1" stop-color="#2F4CB3"/></linearGradient></defs></svg>';
|
|
418
|
-
}
|
|
419
|
-
integrationContainer.append(integrationTitle);
|
|
420
|
-
const integrationDescription = document.createElement("p");
|
|
421
|
-
integrationDescription.textContent = integration.description.length > 90 ? integration.description.slice(0, 90) + "…" : integration.description;
|
|
422
|
-
integrationContainer.append(integrationDescription);
|
|
423
|
-
integrationComponent.append(integrationContainer);
|
|
424
|
-
fragment.append(integrationComponent);
|
|
425
|
-
}
|
|
426
|
-
integrationList.append(fragment);
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
};
|
|
430
|
-
export {
|
|
431
|
-
astro_default as default
|
|
432
|
-
};
|
|
433
|
-
//# sourceMappingURL=astro-KRVZHBC5.js.map
|