@donotdev/cli 0.1.1 → 0.1.44
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/LICENSE.md +1 -1
- package/README.md +0 -0
- package/dependencies-matrix.json +93 -40
- package/dist/bin/commands/agent-setup.js +695 -420
- package/dist/bin/commands/build.js +1181 -832
- package/dist/bin/commands/bump.js +1065 -771
- package/dist/bin/commands/cacheout.js +253 -355
- package/dist/bin/commands/coach.js +275 -375
- package/dist/bin/commands/create-app.js +1085 -790
- package/dist/bin/commands/create-project.js +1117 -819
- package/dist/bin/commands/db.js +17045 -16542
- package/dist/bin/commands/deploy.js +1999 -1367
- package/dist/bin/commands/dev.js +879 -627
- package/dist/bin/commands/doctor.js +696 -425
- package/dist/bin/commands/emu.js +1001 -712
- package/dist/bin/commands/format.js +253 -355
- package/dist/bin/commands/get-demo.js +979 -706
- package/dist/bin/commands/make-admin.js +6279 -5746
- package/dist/bin/commands/preview.js +883 -628
- package/dist/bin/commands/seed.js +17058 -16555
- package/dist/bin/commands/setup-cicd.js +1024 -749
- package/dist/bin/commands/setup.js +1162 -844
- package/dist/bin/commands/staging.js +2000 -1368
- package/dist/bin/commands/sync-secrets.js +1181 -667
- package/dist/bin/commands/type-check.js +735 -461
- package/dist/bin/commands/wai.js +258 -360
- package/dist/bin/dndev.js +31 -16
- package/dist/bin/donotdev.js +31 -16
- package/dist/index.js +2200 -1513
- package/guidelines/DEPENDENCIES.md +155 -0
- package/guidelines/VERSION_CONTROL.md +0 -0
- package/package.json +1 -1
- package/templates/app-demo/.env.example +1 -1
- package/templates/app-demo/entities/Contact.ts.example +0 -0
- package/templates/app-demo/entities/ExampleEntity.ts.example +0 -0
- package/templates/app-demo/entities/demo.ts.example +0 -0
- package/templates/app-demo/index.html.example +0 -0
- package/templates/app-demo/public/apple-touch-icon.png.example +0 -0
- package/templates/app-demo/public/fonts/fonts.css.example +0 -0
- package/templates/app-demo/public/icon-192x192.png.example +0 -0
- package/templates/app-demo/public/icon-512x512.png.example +0 -0
- package/templates/app-demo/src/App.tsx.example +0 -0
- package/templates/app-demo/src/config/app.ts.example +0 -0
- package/templates/app-demo/src/entities/booking.ts.example +0 -0
- package/templates/app-demo/src/entities/onboarding.ts.example +0 -0
- package/templates/app-demo/src/entities/product.ts.example +0 -0
- package/templates/app-demo/src/entities/quote.ts.example +0 -0
- package/templates/app-demo/src/globals.css.example +0 -0
- package/templates/app-demo/src/main.tsx.example +0 -0
- package/templates/app-demo/src/pages/ChangelogPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ConditionalFormPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/DashboardPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/HomePage.tsx.example +0 -0
- package/templates/app-demo/src/pages/OnboardingPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/PricingPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ProductsPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ProfilePage.tsx.example +0 -0
- package/templates/app-demo/src/pages/SettingsPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ShowcaseDetailPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ShowcasePage.tsx.example +0 -0
- package/templates/app-demo/src/pages/components/ComponentRenderer.tsx.example +0 -0
- package/templates/app-demo/src/pages/components/ComponentsData.tsx.example +0 -0
- package/templates/app-demo/src/pages/components/componentConfig.ts.example +0 -0
- package/templates/app-demo/src/pages/legal/LegalPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/legal/PrivacyPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/legal/TermsPage.tsx.example +0 -0
- package/templates/app-demo/src/themes.css.example +6 -0
- package/templates/app-demo/tsconfig.json.example +0 -0
- package/templates/app-demo/vite.config.ts.example +0 -0
- package/templates/app-dndev/index.html.example +0 -0
- package/templates/app-dndev/src/App.tsx.example +0 -0
- package/templates/app-dndev/src/components/CockpitLayout.css.example +0 -0
- package/templates/app-dndev/src/components/CockpitLayout.tsx.example +0 -0
- package/templates/app-dndev/src/components/Kanban.css.example +0 -0
- package/templates/app-dndev/src/components/ModeToggle.tsx.example +0 -0
- package/templates/app-dndev/src/components/OverlaySlot.tsx.example +0 -0
- package/templates/app-dndev/src/components/TerminalPanel.css.example +0 -0
- package/templates/app-dndev/src/components/TerminalPanel.tsx.example +0 -0
- package/templates/app-dndev/src/components/markdown-prose.css.example +0 -0
- package/templates/app-dndev/src/components/phases/CaptainLog.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/ContextTabs.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/PhaseCard.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/PhaseDetail.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/ReviewPanel.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/phaseData.ts.example +0 -0
- package/templates/app-dndev/src/config/app.ts.example +1 -1
- package/templates/app-dndev/src/config/commands.ts.example +0 -0
- package/templates/app-dndev/src/config/legal.ts.example +0 -0
- package/templates/app-dndev/src/config/providers.ts.example +1 -1
- package/templates/app-dndev/src/globals.css.example +0 -0
- package/templates/app-dndev/src/hooks/useDndevFile.ts.example +0 -0
- package/templates/app-dndev/src/main.tsx.example +0 -0
- package/templates/app-dndev/src/pages/BoardPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/GrillPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/HomePage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/NotFoundPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/PhasesPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/SettingsPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/legal/LegalNoticePage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/legal/PrivacyPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/legal/TermsPage.tsx.example +0 -0
- package/templates/app-dndev/src/stores/dndevStore.ts.example +0 -0
- package/templates/app-dndev/src/themes.css.example +5 -0
- package/templates/app-dndev/terminal-sidecar.cjs.example +0 -0
- package/templates/app-dndev/vite.config.ts.example +0 -0
- package/templates/app-expo/.env.example +0 -32
- package/templates/app-expo/.expo/README.md.example +0 -0
- package/templates/app-expo/.gitignore.example +0 -0
- package/templates/app-expo/README.md.example +1 -1
- package/templates/app-expo/app/.gitkeep +0 -0
- package/templates/app-expo/app/_layout.tsx.example +0 -0
- package/templates/app-expo/app/form.tsx.example +0 -0
- package/templates/app-expo/app/index.tsx.example +0 -0
- package/templates/app-expo/app/list.tsx.example +0 -0
- package/templates/app-expo/app/profile.tsx.example +0 -0
- package/templates/app-expo/app/signin.tsx.example +0 -0
- package/templates/app-expo/app.json.example +0 -0
- package/templates/app-expo/assets/adaptive-icon.png +0 -0
- package/templates/app-expo/assets/favicon.png +0 -0
- package/templates/app-expo/assets/icon.png +0 -0
- package/templates/app-expo/assets/splash.png +0 -0
- package/templates/app-expo/babel.config.js.example +0 -0
- package/templates/app-expo/eas.json.example +0 -0
- package/templates/app-expo/expo-env.d.ts.example +0 -0
- package/templates/app-expo/metro.config.js.example +0 -0
- package/templates/app-expo/service-account-key.json.example +1 -1
- package/templates/app-expo/src/config/app.ts.example +0 -0
- package/templates/app-expo/src/config/providers.ts.example +1 -1
- package/templates/app-expo/tsconfig.json.example +0 -0
- package/templates/app-next/.env.example +0 -33
- package/templates/app-next/next.config.ts.example +0 -2
- package/templates/app-next/postcss.config.js.example +0 -0
- package/templates/app-next/service-account-key.json.example +0 -0
- package/templates/app-next/src/app/ClientLayout.tsx.example +0 -0
- package/templates/app-next/src/app/not-found.tsx.example +14 -1
- package/templates/app-next/src/config/app.ts.example +1 -1
- package/templates/app-next/src/config/legal.ts.example +0 -0
- package/templates/app-next/src/config/providers.ts.example +1 -1
- package/templates/app-next/src/globals.css.example +0 -0
- package/templates/app-next/src/locales/dndev_en.json.example +0 -0
- package/templates/app-next/src/locales/home_en.json.example +6 -6
- package/templates/app-next/src/pages/HomePage.tsx.example +0 -0
- package/templates/app-next/src/pages/legal/LegalNoticePage.tsx.example +0 -0
- package/templates/app-next/src/pages/legal/PrivacyPage.tsx.example +0 -0
- package/templates/app-next/src/pages/legal/TermsPage.tsx.example +0 -0
- package/templates/app-next/src/pages/locales/example_en.json.example +0 -0
- package/templates/app-next/src/themes.css.example +7 -1
- package/templates/app-vite/.env.example +0 -33
- package/templates/app-vite/csp.example.json +0 -0
- package/templates/app-vite/index.html.example +0 -0
- package/templates/app-vite/service-account-key.json.example +0 -0
- package/templates/app-vite/src/App.tsx.example +0 -0
- package/templates/app-vite/src/config/app.ts.example +1 -1
- package/templates/app-vite/src/config/legal.ts.example +0 -0
- package/templates/app-vite/src/config/providers.ts.example +1 -1
- package/templates/app-vite/src/globals.css.example +0 -0
- package/templates/app-vite/src/locales/dndev_en.json.example +0 -0
- package/templates/app-vite/src/locales/home_en.json.example +6 -6
- package/templates/app-vite/src/main.tsx.example +0 -0
- package/templates/app-vite/src/pages/FormPageExample.tsx.example +0 -0
- package/templates/app-vite/src/pages/HomePage.tsx.example +1 -1
- package/templates/app-vite/src/pages/ListPageExample.tsx.example +0 -0
- package/templates/app-vite/src/pages/NotFoundPage.tsx.example +0 -0
- package/templates/app-vite/src/pages/legal/LegalNoticePage.tsx.example +0 -0
- package/templates/app-vite/src/pages/legal/PrivacyPage.tsx.example +0 -0
- package/templates/app-vite/src/pages/legal/TermsPage.tsx.example +0 -0
- package/templates/app-vite/src/pages/locales/example_en.json.example +0 -0
- package/templates/app-vite/src/themes.css.example +5 -0
- package/templates/deploy-config/.firebaserc.example +0 -0
- package/templates/deploy-config/firestore.indexes.json.example +0 -0
- package/templates/deploy-config/firestore.rules.example +0 -0
- package/templates/deploy-config/storage.rules.example +0 -0
- package/templates/deploy-config/tsconfig.functions.json.example +0 -0
- package/templates/deploy-config/vercel.json.example +2 -2
- package/templates/functions-firebase/.env.example +2 -2
- package/templates/functions-firebase/README.md.example +3 -3
- package/templates/functions-firebase/build.mjs.example +0 -0
- package/templates/functions-firebase/functions.config.js.example +0 -0
- package/templates/functions-firebase/functions.yaml.example +0 -0
- package/templates/functions-firebase/src/auth/getCustomClaims.ts.example +0 -0
- package/templates/functions-firebase/src/auth/getUserAuthStatus.ts.example +0 -0
- package/templates/functions-firebase/src/auth/index.ts.example +0 -0
- package/templates/functions-firebase/src/auth/removeCustomClaims.ts.example +0 -0
- package/templates/functions-firebase/src/auth/setCustomClaims.ts.example +0 -0
- package/templates/functions-firebase/src/billing/handleStripeWebhook.ts.example +0 -0
- package/templates/functions-firebase/src/billing/index.ts.example +0 -0
- package/templates/functions-firebase/src/billing/processPaymentSuccess.ts.example +0 -0
- package/templates/functions-firebase/src/billing/refreshSubscriptionStatus.ts.example +0 -0
- package/templates/functions-firebase/src/crud/createEntity.ts.example +0 -0
- package/templates/functions-firebase/src/crud/deleteEntity.ts.example +0 -0
- package/templates/functions-firebase/src/crud/getEntity.ts.example +0 -0
- package/templates/functions-firebase/src/crud/index.ts.example +0 -0
- package/templates/functions-firebase/src/crud/listEntities.ts.example +0 -0
- package/templates/functions-firebase/src/crud/updateEntity.ts.example +0 -0
- package/templates/functions-firebase/src/index.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/checkGitHubAccess.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/disconnect.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/exchangeToken.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/getConnections.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/grantGitHubAccess.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/index.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/refreshToken.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/revokeGitHubAccess.ts.example +0 -0
- package/templates/functions-firebase/tsconfig.json.example +0 -0
- package/templates/functions-supabase/supabase/config.toml.example +0 -0
- package/templates/functions-supabase/supabase/functions/.env.example +0 -0
- package/templates/functions-supabase/supabase/functions/cancel-subscription/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/change-plan/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/create-checkout-session/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/create-customer-portal/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/crud/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/delete-account/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/deno.json.example +0 -0
- package/templates/functions-supabase/supabase/functions/disconnect-oauth/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/exchange-token/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/get-connections/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/get-custom-claims/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/get-user-auth-status/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/refresh-subscription-status/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/refresh-token/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/remove-custom-claims/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/set-custom-claims/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000000_idempotency.sql +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000001_rate_limits.sql +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000002_cleanup_jobs.sql +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000003_operation_metrics.sql +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000004_crud_bulk.sql +192 -0
- package/templates/functions-vercel/.env.example +3 -3
- package/templates/functions-vercel/README.md.example +2 -2
- package/templates/functions-vercel/build.mjs.example +0 -0
- package/templates/functions-vercel/src/api/auth/getCustomClaims.ts.example +0 -0
- package/templates/functions-vercel/src/api/auth/getUserAuthStatus.ts.example +0 -0
- package/templates/functions-vercel/src/api/auth/removeCustomClaims.ts.example +0 -0
- package/templates/functions-vercel/src/api/auth/setCustomClaims.ts.example +0 -0
- package/templates/functions-vercel/src/api/billing/handleStripeWebhook.ts.example +0 -0
- package/templates/functions-vercel/src/api/billing/processPaymentSuccess.ts.example +0 -0
- package/templates/functions-vercel/src/api/billing/refreshSubscriptionStatus.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/createEntity.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/deleteEntity.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/getEntity.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/listEntities.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/updateEntity.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/checkGitHubAccess.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/disconnect.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/exchangeToken.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/getConnections.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/grantGitHubAccess.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/refreshToken.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/revokeGitHubAccess.ts.example +0 -0
- package/templates/functions-vercel/tsconfig.json.example +0 -0
- package/templates/functions-vercel/vercel.json.example +0 -0
- package/templates/github-consumer/.github/workflows/ci.yml.example +0 -0
- package/templates/overlay-firebase/env.fragment.example +0 -0
- package/templates/overlay-firebase/env.fragment.expo.example +0 -0
- package/templates/overlay-firebase/env.fragment.nextjs.example +0 -0
- package/templates/overlay-firebase/src/config/providers.expo.ts.example +0 -0
- package/templates/overlay-firebase/src/config/providers.ts.example +0 -0
- package/templates/overlay-supabase/env.fragment.example +0 -0
- package/templates/overlay-supabase/env.fragment.expo.example +0 -0
- package/templates/overlay-supabase/env.fragment.nextjs.example +0 -0
- package/templates/overlay-supabase/src/config/providers.expo.ts.example +1 -1
- package/templates/overlay-supabase/src/config/providers.ts.example +1 -1
- package/templates/overlay-vercel/env.fragment.example +0 -0
- package/templates/overlay-vercel/env.fragment.nextjs.example +0 -0
- package/templates/overlay-vercel/src/config/providers.ts.example +0 -0
- package/templates/preset-admin/src/pages/DashboardPage.tsx.example +0 -0
- package/templates/preset-admin/src/pages/EntityPage.tsx.example +0 -0
- package/templates/preset-admin/src/pages/ReportsPage.tsx.example +0 -0
- package/templates/preset-admin/src/pages/SettingsPage.tsx.example +0 -0
- package/templates/preset-admin/src/pages/UsersPage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/CartPage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/CatalogPage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/CheckoutPage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/HomePage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/ProductPage.tsx.example +0 -0
- package/templates/preset-landing/src/pages/AboutPage.tsx.example +0 -0
- package/templates/preset-landing/src/pages/ContactPage.tsx.example +0 -0
- package/templates/preset-landing/src/pages/HomePage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/DashboardPage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/HomePage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/PricingPage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/ProfilePage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/SettingsPage.tsx.example +0 -0
- package/templates/root-consumer/.claude/agents/architect.md.example +0 -0
- package/templates/root-consumer/.claude/agents/builder.md.example +0 -0
- package/templates/root-consumer/.claude/agents/coder.md.example +0 -0
- package/templates/root-consumer/.claude/agents/extractor.md.example +0 -0
- package/templates/root-consumer/.claude/agents/polisher.md.example +0 -0
- package/templates/root-consumer/.claude/agents/prompt-engineer.md.example +0 -0
- package/templates/root-consumer/.claude/hooks/guard-bash.sh.example +0 -0
- package/templates/root-consumer/.claude/hooks/guard-write.sh.example +2 -35
- package/templates/root-consumer/.claude/hooks/session-start.sh.example +1 -1
- package/templates/root-consumer/.claude/hooks/typecheck-stop.sh.example +0 -0
- package/templates/root-consumer/.claude/rules/consumer-ux.md.example +1 -1
- package/templates/root-consumer/.claude/rules/definition-of-done.md.example +0 -0
- package/templates/root-consumer/.claude/rules/framework.md.example +0 -0
- package/templates/root-consumer/.claude/rules/git.md.example +0 -0
- package/templates/root-consumer/.claude/rules/security.md.example +0 -0
- package/templates/root-consumer/.claude/settings.json.example +1 -27
- package/templates/root-consumer/.claude/skills/brainstorm/SKILL.md.example +0 -0
- package/templates/root-consumer/.claude/skills/build/SKILL.md.example +23 -106
- package/templates/root-consumer/.claude/skills/design/SKILL.md.example +0 -0
- package/templates/root-consumer/.claude/skills/design/output-template.md +0 -0
- package/templates/root-consumer/.claude/skills/grill/SKILL.md.example +0 -0
- package/templates/root-consumer/.claude/skills/polish/SKILL.md.example +0 -0
- package/templates/root-consumer/.claude/skills/techdebt/SKILL.md.example +0 -0
- package/templates/root-consumer/.cursor/mcp.json.example +0 -0
- package/templates/root-consumer/.cursor/rules/no-docs.mdc.example +5 -1
- package/templates/root-consumer/.dndev/args.json.example +0 -0
- package/templates/root-consumer/.dndev.secrets.example +0 -0
- package/templates/root-consumer/.env.example +0 -1
- package/templates/root-consumer/.gemini/settings.json.example +0 -0
- package/templates/root-consumer/.gitignore.example +1 -0
- package/templates/root-consumer/.mcp.json.example +0 -0
- package/templates/root-consumer/.prettierrc.cjs.example +0 -0
- package/templates/root-consumer/AGENTS.md.example +63 -0
- package/templates/root-consumer/CLAUDE.md.example +1 -33
- package/templates/root-consumer/README.md.example +11 -33
- package/templates/root-consumer/entities/index.ts.example +0 -0
- package/templates/root-consumer/eslint.config.js.example +0 -0
- package/templates/root-consumer/tsconfig.json.example +0 -0
- package/templates/root-consumer/.claude/hooks/framework-compliance.sh.example +0 -56
- package/templates/root-consumer/.claude/hooks/guard-files.sh.example +0 -46
- package/templates/root-consumer/.claude/hooks/guard-mcp.sh.example +0 -91
- package/templates/root-consumer/.claude/hooks/guard-secrets.sh.example +0 -67
- package/templates/root-consumer/.claude/hooks/track-mcp-lookup.sh.example +0 -20
- package/templates/root-consumer/.claude/statusline.py.example +0 -79
- package/templates/root-consumer/.clinerules.example +0 -1
- package/templates/root-consumer/.cursorrules.example +0 -1
- package/templates/root-consumer/.github/copilot-instructions.md.example +0 -1
- package/templates/root-consumer/.windsurfrules.example +0 -1
- package/templates/root-consumer/AI.md.example +0 -108
- package/templates/root-consumer/CONVENTIONS.md.example +0 -1
- package/templates/root-consumer/GEMINI.md.example +0 -1
- package/templates/root-consumer/guides/dndev/AGENT_START_HERE.md.example +0 -135
- package/templates/root-consumer/guides/dndev/COMPONENTS_ADV.md.example +0 -276
- package/templates/root-consumer/guides/dndev/INDEX.md.example +0 -56
- package/templates/root-consumer/guides/dndev/SETUP_AUTH.md.example +0 -134
- package/templates/root-consumer/guides/dndev/SETUP_BILLING.md.example +0 -114
- package/templates/root-consumer/guides/dndev/SETUP_FIREBASE.md.example +0 -231
- package/templates/root-consumer/guides/dndev/SETUP_OAUTH.md.example +0 -59
- package/templates/root-consumer/guides/dndev/SETUP_OAUTH_PROVIDERS.md.example +0 -60
- package/templates/root-consumer/guides/dndev/SETUP_SOC2.md.example +0 -234
- package/templates/root-consumer/guides/dndev/SETUP_STRIPE.md.example +0 -62
- package/templates/root-consumer/guides/dndev/SETUP_SUPABASE.md.example +0 -262
- package/templates/root-consumer/guides/dndev/advanced/APP_CHECK.md.example +0 -111
- package/templates/root-consumer/guides/dndev/advanced/COOKIE_REFERENCE.md.example +0 -252
- package/templates/root-consumer/guides/dndev/advanced/EMULATORS.md.example +0 -48
- package/templates/root-consumer/guides/wai-way/WAI_WAY_CLI.md.example +0 -402
- package/templates/root-consumer/guides/wai-way/agents/architect.md.example +0 -78
- package/templates/root-consumer/guides/wai-way/agents/builder.md.example +0 -97
- package/templates/root-consumer/guides/wai-way/agents/extractor.md.example +0 -363
- package/templates/root-consumer/guides/wai-way/agents/polisher.md.example +0 -133
- package/templates/root-consumer/guides/wai-way/blueprints/0_brainstorm.md.example +0 -315
- package/templates/root-consumer/guides/wai-way/blueprints/1_scaffold.md.example +0 -133
- package/templates/root-consumer/guides/wai-way/blueprints/2_entities.md.example +0 -111
- package/templates/root-consumer/guides/wai-way/blueprints/3_compose.md.example +0 -148
- package/templates/root-consumer/guides/wai-way/blueprints/4_configure.md.example +0 -238
- package/templates/root-consumer/guides/wai-way/context_map.json.example +0 -127
- package/templates/root-consumer/guides/wai-way/entity_patterns.md.example +0 -839
- package/templates/root-consumer/guides/wai-way/hld_template.md.example +0 -138
- package/templates/root-consumer/guides/wai-way/lld_template.md.example +0 -103
- package/templates/root-consumer/guides/wai-way/page_patterns.md.example +0 -722
- package/templates/root-consumer/guides/wai-way/prd_template.md.example +0 -140
- package/templates/root-consumer/guides/wai-way/presets_guide.md.example +0 -217
- package/templates/root-consumer/guides/wai-way/spec_template.md.example +0 -313
|
@@ -5,7 +5,7 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
8
|
-
get: (a,
|
|
8
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
9
9
|
}) : x)(function(x) {
|
|
10
10
|
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
11
11
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
@@ -37,50 +37,456 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
37
37
|
mod
|
|
38
38
|
));
|
|
39
39
|
|
|
40
|
+
// node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/utils.js
|
|
41
|
+
var isAmbiguous, isFullWidth, isWide;
|
|
42
|
+
var init_utils = __esm({
|
|
43
|
+
"node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/utils.js"() {
|
|
44
|
+
init_utils2();
|
|
45
|
+
isAmbiguous = (x) => {
|
|
46
|
+
return x === 161 || x === 164 || x === 167 || x === 168 || x === 170 || x === 173 || x === 174 || x >= 176 && x <= 180 || x >= 182 && x <= 186 || x >= 188 && x <= 191 || x === 198 || x === 208 || x === 215 || x === 216 || x >= 222 && x <= 225 || x === 230 || x >= 232 && x <= 234 || x === 236 || x === 237 || x === 240 || x === 242 || x === 243 || x >= 247 && x <= 250 || x === 252 || x === 254 || x === 257 || x === 273 || x === 275 || x === 283 || x === 294 || x === 295 || x === 299 || x >= 305 && x <= 307 || x === 312 || x >= 319 && x <= 322 || x === 324 || x >= 328 && x <= 331 || x === 333 || x === 338 || x === 339 || x === 358 || x === 359 || x === 363 || x === 462 || x === 464 || x === 466 || x === 468 || x === 470 || x === 472 || x === 474 || x === 476 || x === 593 || x === 609 || x === 708 || x === 711 || x >= 713 && x <= 715 || x === 717 || x === 720 || x >= 728 && x <= 731 || x === 733 || x === 735 || x >= 768 && x <= 879 || x >= 913 && x <= 929 || x >= 931 && x <= 937 || x >= 945 && x <= 961 || x >= 963 && x <= 969 || x === 1025 || x >= 1040 && x <= 1103 || x === 1105 || x === 8208 || x >= 8211 && x <= 8214 || x === 8216 || x === 8217 || x === 8220 || x === 8221 || x >= 8224 && x <= 8226 || x >= 8228 && x <= 8231 || x === 8240 || x === 8242 || x === 8243 || x === 8245 || x === 8251 || x === 8254 || x === 8308 || x === 8319 || x >= 8321 && x <= 8324 || x === 8364 || x === 8451 || x === 8453 || x === 8457 || x === 8467 || x === 8470 || x === 8481 || x === 8482 || x === 8486 || x === 8491 || x === 8531 || x === 8532 || x >= 8539 && x <= 8542 || x >= 8544 && x <= 8555 || x >= 8560 && x <= 8569 || x === 8585 || x >= 8592 && x <= 8601 || x === 8632 || x === 8633 || x === 8658 || x === 8660 || x === 8679 || x === 8704 || x === 8706 || x === 8707 || x === 8711 || x === 8712 || x === 8715 || x === 8719 || x === 8721 || x === 8725 || x === 8730 || x >= 8733 && x <= 8736 || x === 8739 || x === 8741 || x >= 8743 && x <= 8748 || x === 8750 || x >= 8756 && x <= 8759 || x === 8764 || x === 8765 || x === 8776 || x === 8780 || x === 8786 || x === 8800 || x === 8801 || x >= 8804 && x <= 8807 || x === 8810 || x === 8811 || x === 8814 || x === 8815 || x === 8834 || x === 8835 || x === 8838 || x === 8839 || x === 8853 || x === 8857 || x === 8869 || x === 8895 || x === 8978 || x >= 9312 && x <= 9449 || x >= 9451 && x <= 9547 || x >= 9552 && x <= 9587 || x >= 9600 && x <= 9615 || x >= 9618 && x <= 9621 || x === 9632 || x === 9633 || x >= 9635 && x <= 9641 || x === 9650 || x === 9651 || x === 9654 || x === 9655 || x === 9660 || x === 9661 || x === 9664 || x === 9665 || x >= 9670 && x <= 9672 || x === 9675 || x >= 9678 && x <= 9681 || x >= 9698 && x <= 9701 || x === 9711 || x === 9733 || x === 9734 || x === 9737 || x === 9742 || x === 9743 || x === 9756 || x === 9758 || x === 9792 || x === 9794 || x === 9824 || x === 9825 || x >= 9827 && x <= 9829 || x >= 9831 && x <= 9834 || x === 9836 || x === 9837 || x === 9839 || x === 9886 || x === 9887 || x === 9919 || x >= 9926 && x <= 9933 || x >= 9935 && x <= 9939 || x >= 9941 && x <= 9953 || x === 9955 || x === 9960 || x === 9961 || x >= 9963 && x <= 9969 || x === 9972 || x >= 9974 && x <= 9977 || x === 9979 || x === 9980 || x === 9982 || x === 9983 || x === 10045 || x >= 10102 && x <= 10111 || x >= 11094 && x <= 11097 || x >= 12872 && x <= 12879 || x >= 57344 && x <= 63743 || x >= 65024 && x <= 65039 || x === 65533 || x >= 127232 && x <= 127242 || x >= 127248 && x <= 127277 || x >= 127280 && x <= 127337 || x >= 127344 && x <= 127373 || x === 127375 || x === 127376 || x >= 127387 && x <= 127404 || x >= 917760 && x <= 917999 || x >= 983040 && x <= 1048573 || x >= 1048576 && x <= 1114109;
|
|
47
|
+
};
|
|
48
|
+
isFullWidth = (x) => {
|
|
49
|
+
return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
|
|
50
|
+
};
|
|
51
|
+
isWide = (x) => {
|
|
52
|
+
return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9800 && x <= 9811 || x === 9855 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12771 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 19903 || x >= 19968 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x === 94192 || x === 94193 || x >= 94208 && x <= 100343 || x >= 100352 && x <= 101589 || x >= 101632 && x <= 101640 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128727 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129672 || x >= 129680 && x <= 129725 || x >= 129727 && x <= 129733 || x >= 129742 && x <= 129755 || x >= 129760 && x <= 129768 || x >= 129776 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
// node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/index.js
|
|
58
|
+
var ANSI_RE, CONTROL_RE, TAB_RE, EMOJI_RE, LATIN_RE, MODIFIER_RE, NO_TRUNCATION, getStringTruncatedWidth, dist_default;
|
|
59
|
+
var init_dist = __esm({
|
|
60
|
+
"node_modules/.bun/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/index.js"() {
|
|
61
|
+
init_utils2();
|
|
62
|
+
init_utils();
|
|
63
|
+
ANSI_RE = /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/y;
|
|
64
|
+
CONTROL_RE = /[\x00-\x08\x0A-\x1F\x7F-\x9F]{1,1000}/y;
|
|
65
|
+
TAB_RE = /\t{1,1000}/y;
|
|
66
|
+
EMOJI_RE = new RegExp("[\\u{1F1E6}-\\u{1F1FF}]{2}|\\u{1F3F4}[\\u{E0061}-\\u{E007A}]{2}[\\u{E0030}-\\u{E0039}\\u{E0061}-\\u{E007A}]{1,3}\\u{E007F}|(?:\\p{Emoji}\\uFE0F\\u20E3?|\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation})(?:\\u200D(?:\\p{Emoji_Modifier_Base}\\p{Emoji_Modifier}?|\\p{Emoji_Presentation}|\\p{Emoji}\\uFE0F\\u20E3?))*", "yu");
|
|
67
|
+
LATIN_RE = /(?:[\x20-\x7E\xA0-\xFF](?!\uFE0F)){1,1000}/y;
|
|
68
|
+
MODIFIER_RE = new RegExp("\\p{M}+", "gu");
|
|
69
|
+
NO_TRUNCATION = { limit: Infinity, ellipsis: "" };
|
|
70
|
+
getStringTruncatedWidth = (input, truncationOptions = {}, widthOptions = {}) => {
|
|
71
|
+
const LIMIT = truncationOptions.limit ?? Infinity;
|
|
72
|
+
const ELLIPSIS = truncationOptions.ellipsis ?? "";
|
|
73
|
+
const ELLIPSIS_WIDTH = truncationOptions?.ellipsisWidth ?? (ELLIPSIS ? getStringTruncatedWidth(ELLIPSIS, NO_TRUNCATION, widthOptions).width : 0);
|
|
74
|
+
const ANSI_WIDTH = widthOptions.ansiWidth ?? 0;
|
|
75
|
+
const CONTROL_WIDTH = widthOptions.controlWidth ?? 0;
|
|
76
|
+
const TAB_WIDTH = widthOptions.tabWidth ?? 8;
|
|
77
|
+
const AMBIGUOUS_WIDTH = widthOptions.ambiguousWidth ?? 1;
|
|
78
|
+
const EMOJI_WIDTH = widthOptions.emojiWidth ?? 2;
|
|
79
|
+
const FULL_WIDTH_WIDTH = widthOptions.fullWidthWidth ?? 2;
|
|
80
|
+
const REGULAR_WIDTH = widthOptions.regularWidth ?? 1;
|
|
81
|
+
const WIDE_WIDTH = widthOptions.wideWidth ?? 2;
|
|
82
|
+
let indexPrev = 0;
|
|
83
|
+
let index = 0;
|
|
84
|
+
let length = input.length;
|
|
85
|
+
let lengthExtra = 0;
|
|
86
|
+
let truncationEnabled = false;
|
|
87
|
+
let truncationIndex = length;
|
|
88
|
+
let truncationLimit = Math.max(0, LIMIT - ELLIPSIS_WIDTH);
|
|
89
|
+
let unmatchedStart = 0;
|
|
90
|
+
let unmatchedEnd = 0;
|
|
91
|
+
let width = 0;
|
|
92
|
+
let widthExtra = 0;
|
|
93
|
+
outer: while (true) {
|
|
94
|
+
if (unmatchedEnd > unmatchedStart || index >= length && index > indexPrev) {
|
|
95
|
+
const unmatched = input.slice(unmatchedStart, unmatchedEnd) || input.slice(indexPrev, index);
|
|
96
|
+
lengthExtra = 0;
|
|
97
|
+
for (const char of unmatched.replaceAll(MODIFIER_RE, "")) {
|
|
98
|
+
const codePoint = char.codePointAt(0) || 0;
|
|
99
|
+
if (isFullWidth(codePoint)) {
|
|
100
|
+
widthExtra = FULL_WIDTH_WIDTH;
|
|
101
|
+
} else if (isWide(codePoint)) {
|
|
102
|
+
widthExtra = WIDE_WIDTH;
|
|
103
|
+
} else if (AMBIGUOUS_WIDTH !== REGULAR_WIDTH && isAmbiguous(codePoint)) {
|
|
104
|
+
widthExtra = AMBIGUOUS_WIDTH;
|
|
105
|
+
} else {
|
|
106
|
+
widthExtra = REGULAR_WIDTH;
|
|
107
|
+
}
|
|
108
|
+
if (width + widthExtra > truncationLimit) {
|
|
109
|
+
truncationIndex = Math.min(truncationIndex, Math.max(unmatchedStart, indexPrev) + lengthExtra);
|
|
110
|
+
}
|
|
111
|
+
if (width + widthExtra > LIMIT) {
|
|
112
|
+
truncationEnabled = true;
|
|
113
|
+
break outer;
|
|
114
|
+
}
|
|
115
|
+
lengthExtra += char.length;
|
|
116
|
+
width += widthExtra;
|
|
117
|
+
}
|
|
118
|
+
unmatchedStart = unmatchedEnd = 0;
|
|
119
|
+
}
|
|
120
|
+
if (index >= length)
|
|
121
|
+
break;
|
|
122
|
+
LATIN_RE.lastIndex = index;
|
|
123
|
+
if (LATIN_RE.test(input)) {
|
|
124
|
+
lengthExtra = LATIN_RE.lastIndex - index;
|
|
125
|
+
widthExtra = lengthExtra * REGULAR_WIDTH;
|
|
126
|
+
if (width + widthExtra > truncationLimit) {
|
|
127
|
+
truncationIndex = Math.min(truncationIndex, index + Math.floor((truncationLimit - width) / REGULAR_WIDTH));
|
|
128
|
+
}
|
|
129
|
+
if (width + widthExtra > LIMIT) {
|
|
130
|
+
truncationEnabled = true;
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
width += widthExtra;
|
|
134
|
+
unmatchedStart = indexPrev;
|
|
135
|
+
unmatchedEnd = index;
|
|
136
|
+
index = indexPrev = LATIN_RE.lastIndex;
|
|
137
|
+
continue;
|
|
138
|
+
}
|
|
139
|
+
ANSI_RE.lastIndex = index;
|
|
140
|
+
if (ANSI_RE.test(input)) {
|
|
141
|
+
if (width + ANSI_WIDTH > truncationLimit) {
|
|
142
|
+
truncationIndex = Math.min(truncationIndex, index);
|
|
143
|
+
}
|
|
144
|
+
if (width + ANSI_WIDTH > LIMIT) {
|
|
145
|
+
truncationEnabled = true;
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
width += ANSI_WIDTH;
|
|
149
|
+
unmatchedStart = indexPrev;
|
|
150
|
+
unmatchedEnd = index;
|
|
151
|
+
index = indexPrev = ANSI_RE.lastIndex;
|
|
152
|
+
continue;
|
|
153
|
+
}
|
|
154
|
+
CONTROL_RE.lastIndex = index;
|
|
155
|
+
if (CONTROL_RE.test(input)) {
|
|
156
|
+
lengthExtra = CONTROL_RE.lastIndex - index;
|
|
157
|
+
widthExtra = lengthExtra * CONTROL_WIDTH;
|
|
158
|
+
if (width + widthExtra > truncationLimit) {
|
|
159
|
+
truncationIndex = Math.min(truncationIndex, index + Math.floor((truncationLimit - width) / CONTROL_WIDTH));
|
|
160
|
+
}
|
|
161
|
+
if (width + widthExtra > LIMIT) {
|
|
162
|
+
truncationEnabled = true;
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
width += widthExtra;
|
|
166
|
+
unmatchedStart = indexPrev;
|
|
167
|
+
unmatchedEnd = index;
|
|
168
|
+
index = indexPrev = CONTROL_RE.lastIndex;
|
|
169
|
+
continue;
|
|
170
|
+
}
|
|
171
|
+
TAB_RE.lastIndex = index;
|
|
172
|
+
if (TAB_RE.test(input)) {
|
|
173
|
+
lengthExtra = TAB_RE.lastIndex - index;
|
|
174
|
+
widthExtra = lengthExtra * TAB_WIDTH;
|
|
175
|
+
if (width + widthExtra > truncationLimit) {
|
|
176
|
+
truncationIndex = Math.min(truncationIndex, index + Math.floor((truncationLimit - width) / TAB_WIDTH));
|
|
177
|
+
}
|
|
178
|
+
if (width + widthExtra > LIMIT) {
|
|
179
|
+
truncationEnabled = true;
|
|
180
|
+
break;
|
|
181
|
+
}
|
|
182
|
+
width += widthExtra;
|
|
183
|
+
unmatchedStart = indexPrev;
|
|
184
|
+
unmatchedEnd = index;
|
|
185
|
+
index = indexPrev = TAB_RE.lastIndex;
|
|
186
|
+
continue;
|
|
187
|
+
}
|
|
188
|
+
EMOJI_RE.lastIndex = index;
|
|
189
|
+
if (EMOJI_RE.test(input)) {
|
|
190
|
+
if (width + EMOJI_WIDTH > truncationLimit) {
|
|
191
|
+
truncationIndex = Math.min(truncationIndex, index);
|
|
192
|
+
}
|
|
193
|
+
if (width + EMOJI_WIDTH > LIMIT) {
|
|
194
|
+
truncationEnabled = true;
|
|
195
|
+
break;
|
|
196
|
+
}
|
|
197
|
+
width += EMOJI_WIDTH;
|
|
198
|
+
unmatchedStart = indexPrev;
|
|
199
|
+
unmatchedEnd = index;
|
|
200
|
+
index = indexPrev = EMOJI_RE.lastIndex;
|
|
201
|
+
continue;
|
|
202
|
+
}
|
|
203
|
+
index += 1;
|
|
204
|
+
}
|
|
205
|
+
return {
|
|
206
|
+
width: truncationEnabled ? truncationLimit : width,
|
|
207
|
+
index: truncationEnabled ? truncationIndex : length,
|
|
208
|
+
truncated: truncationEnabled,
|
|
209
|
+
ellipsed: truncationEnabled && LIMIT >= ELLIPSIS_WIDTH
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
dist_default = getStringTruncatedWidth;
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
|
|
216
|
+
// node_modules/.bun/fast-string-width@1.1.0/node_modules/fast-string-width/dist/index.js
|
|
217
|
+
var NO_TRUNCATION2, fastStringWidth, dist_default2;
|
|
218
|
+
var init_dist2 = __esm({
|
|
219
|
+
"node_modules/.bun/fast-string-width@1.1.0/node_modules/fast-string-width/dist/index.js"() {
|
|
220
|
+
init_utils2();
|
|
221
|
+
init_dist();
|
|
222
|
+
NO_TRUNCATION2 = {
|
|
223
|
+
limit: Infinity,
|
|
224
|
+
ellipsis: "",
|
|
225
|
+
ellipsisWidth: 0
|
|
226
|
+
};
|
|
227
|
+
fastStringWidth = (input, options = {}) => {
|
|
228
|
+
return dist_default(input, NO_TRUNCATION2, options).width;
|
|
229
|
+
};
|
|
230
|
+
dist_default2 = fastStringWidth;
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
|
|
234
|
+
// node_modules/.bun/fast-wrap-ansi@0.1.6/node_modules/fast-wrap-ansi/lib/main.js
|
|
235
|
+
function wrapAnsi(string, columns, options) {
|
|
236
|
+
return String(string).normalize().split(CRLF_OR_LF).map((line) => exec(line, columns, options)).join("\n");
|
|
237
|
+
}
|
|
238
|
+
var ESC, CSI, END_CODE, ANSI_ESCAPE_BELL, ANSI_CSI, ANSI_OSC, ANSI_SGR_TERMINATOR, ANSI_ESCAPE_LINK, GROUP_REGEX, getClosingCode, wrapAnsiCode, wrapAnsiHyperlink, wrapWord, stringVisibleTrimSpacesRight, exec, CRLF_OR_LF;
|
|
239
|
+
var init_main = __esm({
|
|
240
|
+
"node_modules/.bun/fast-wrap-ansi@0.1.6/node_modules/fast-wrap-ansi/lib/main.js"() {
|
|
241
|
+
init_utils2();
|
|
242
|
+
init_dist2();
|
|
243
|
+
ESC = "\x1B";
|
|
244
|
+
CSI = "\x9B";
|
|
245
|
+
END_CODE = 39;
|
|
246
|
+
ANSI_ESCAPE_BELL = "\x07";
|
|
247
|
+
ANSI_CSI = "[";
|
|
248
|
+
ANSI_OSC = "]";
|
|
249
|
+
ANSI_SGR_TERMINATOR = "m";
|
|
250
|
+
ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
|
|
251
|
+
GROUP_REGEX = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`, "y");
|
|
252
|
+
getClosingCode = (openingCode) => {
|
|
253
|
+
if (openingCode >= 30 && openingCode <= 37)
|
|
254
|
+
return 39;
|
|
255
|
+
if (openingCode >= 90 && openingCode <= 97)
|
|
256
|
+
return 39;
|
|
257
|
+
if (openingCode >= 40 && openingCode <= 47)
|
|
258
|
+
return 49;
|
|
259
|
+
if (openingCode >= 100 && openingCode <= 107)
|
|
260
|
+
return 49;
|
|
261
|
+
if (openingCode === 1 || openingCode === 2)
|
|
262
|
+
return 22;
|
|
263
|
+
if (openingCode === 3)
|
|
264
|
+
return 23;
|
|
265
|
+
if (openingCode === 4)
|
|
266
|
+
return 24;
|
|
267
|
+
if (openingCode === 7)
|
|
268
|
+
return 27;
|
|
269
|
+
if (openingCode === 8)
|
|
270
|
+
return 28;
|
|
271
|
+
if (openingCode === 9)
|
|
272
|
+
return 29;
|
|
273
|
+
if (openingCode === 0)
|
|
274
|
+
return 0;
|
|
275
|
+
return void 0;
|
|
276
|
+
};
|
|
277
|
+
wrapAnsiCode = (code) => `${ESC}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
|
|
278
|
+
wrapAnsiHyperlink = (url) => `${ESC}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`;
|
|
279
|
+
wrapWord = (rows, word, columns) => {
|
|
280
|
+
const characters = word[Symbol.iterator]();
|
|
281
|
+
let isInsideEscape = false;
|
|
282
|
+
let isInsideLinkEscape = false;
|
|
283
|
+
let lastRow = rows.at(-1);
|
|
284
|
+
let visible = lastRow === void 0 ? 0 : dist_default2(lastRow);
|
|
285
|
+
let currentCharacter = characters.next();
|
|
286
|
+
let nextCharacter = characters.next();
|
|
287
|
+
let rawCharacterIndex = 0;
|
|
288
|
+
while (!currentCharacter.done) {
|
|
289
|
+
const character = currentCharacter.value;
|
|
290
|
+
const characterLength = dist_default2(character);
|
|
291
|
+
if (visible + characterLength <= columns) {
|
|
292
|
+
rows[rows.length - 1] += character;
|
|
293
|
+
} else {
|
|
294
|
+
rows.push(character);
|
|
295
|
+
visible = 0;
|
|
296
|
+
}
|
|
297
|
+
if (character === ESC || character === CSI) {
|
|
298
|
+
isInsideEscape = true;
|
|
299
|
+
isInsideLinkEscape = word.startsWith(ANSI_ESCAPE_LINK, rawCharacterIndex + 1);
|
|
300
|
+
}
|
|
301
|
+
if (isInsideEscape) {
|
|
302
|
+
if (isInsideLinkEscape) {
|
|
303
|
+
if (character === ANSI_ESCAPE_BELL) {
|
|
304
|
+
isInsideEscape = false;
|
|
305
|
+
isInsideLinkEscape = false;
|
|
306
|
+
}
|
|
307
|
+
} else if (character === ANSI_SGR_TERMINATOR) {
|
|
308
|
+
isInsideEscape = false;
|
|
309
|
+
}
|
|
310
|
+
} else {
|
|
311
|
+
visible += characterLength;
|
|
312
|
+
if (visible === columns && !nextCharacter.done) {
|
|
313
|
+
rows.push("");
|
|
314
|
+
visible = 0;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
currentCharacter = nextCharacter;
|
|
318
|
+
nextCharacter = characters.next();
|
|
319
|
+
rawCharacterIndex += character.length;
|
|
320
|
+
}
|
|
321
|
+
lastRow = rows.at(-1);
|
|
322
|
+
if (!visible && lastRow !== void 0 && lastRow.length && rows.length > 1) {
|
|
323
|
+
rows[rows.length - 2] += rows.pop();
|
|
324
|
+
}
|
|
325
|
+
};
|
|
326
|
+
stringVisibleTrimSpacesRight = (string) => {
|
|
327
|
+
const words = string.split(" ");
|
|
328
|
+
let last = words.length;
|
|
329
|
+
while (last) {
|
|
330
|
+
if (dist_default2(words[last - 1])) {
|
|
331
|
+
break;
|
|
332
|
+
}
|
|
333
|
+
last--;
|
|
334
|
+
}
|
|
335
|
+
if (last === words.length) {
|
|
336
|
+
return string;
|
|
337
|
+
}
|
|
338
|
+
return words.slice(0, last).join(" ") + words.slice(last).join("");
|
|
339
|
+
};
|
|
340
|
+
exec = (string, columns, options = {}) => {
|
|
341
|
+
if (options.trim !== false && string.trim() === "") {
|
|
342
|
+
return "";
|
|
343
|
+
}
|
|
344
|
+
let returnValue = "";
|
|
345
|
+
let escapeCode;
|
|
346
|
+
let escapeUrl;
|
|
347
|
+
const words = string.split(" ");
|
|
348
|
+
let rows = [""];
|
|
349
|
+
let rowLength = 0;
|
|
350
|
+
for (let index = 0; index < words.length; index++) {
|
|
351
|
+
const word = words[index];
|
|
352
|
+
if (options.trim !== false) {
|
|
353
|
+
const row = rows.at(-1) ?? "";
|
|
354
|
+
const trimmed = row.trimStart();
|
|
355
|
+
if (row.length !== trimmed.length) {
|
|
356
|
+
rows[rows.length - 1] = trimmed;
|
|
357
|
+
rowLength = dist_default2(trimmed);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
if (index !== 0) {
|
|
361
|
+
if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
|
|
362
|
+
rows.push("");
|
|
363
|
+
rowLength = 0;
|
|
364
|
+
}
|
|
365
|
+
if (rowLength || options.trim === false) {
|
|
366
|
+
rows[rows.length - 1] += " ";
|
|
367
|
+
rowLength++;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
const wordLength = dist_default2(word);
|
|
371
|
+
if (options.hard && wordLength > columns) {
|
|
372
|
+
const remainingColumns = columns - rowLength;
|
|
373
|
+
const breaksStartingThisLine = 1 + Math.floor((wordLength - remainingColumns - 1) / columns);
|
|
374
|
+
const breaksStartingNextLine = Math.floor((wordLength - 1) / columns);
|
|
375
|
+
if (breaksStartingNextLine < breaksStartingThisLine) {
|
|
376
|
+
rows.push("");
|
|
377
|
+
}
|
|
378
|
+
wrapWord(rows, word, columns);
|
|
379
|
+
rowLength = dist_default2(rows.at(-1) ?? "");
|
|
380
|
+
continue;
|
|
381
|
+
}
|
|
382
|
+
if (rowLength + wordLength > columns && rowLength && wordLength) {
|
|
383
|
+
if (options.wordWrap === false && rowLength < columns) {
|
|
384
|
+
wrapWord(rows, word, columns);
|
|
385
|
+
rowLength = dist_default2(rows.at(-1) ?? "");
|
|
386
|
+
continue;
|
|
387
|
+
}
|
|
388
|
+
rows.push("");
|
|
389
|
+
rowLength = 0;
|
|
390
|
+
}
|
|
391
|
+
if (rowLength + wordLength > columns && options.wordWrap === false) {
|
|
392
|
+
wrapWord(rows, word, columns);
|
|
393
|
+
rowLength = dist_default2(rows.at(-1) ?? "");
|
|
394
|
+
continue;
|
|
395
|
+
}
|
|
396
|
+
rows[rows.length - 1] += word;
|
|
397
|
+
rowLength += wordLength;
|
|
398
|
+
}
|
|
399
|
+
if (options.trim !== false) {
|
|
400
|
+
rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
|
|
401
|
+
}
|
|
402
|
+
const preString = rows.join("\n");
|
|
403
|
+
let inSurrogate = false;
|
|
404
|
+
for (let i = 0; i < preString.length; i++) {
|
|
405
|
+
const character = preString[i];
|
|
406
|
+
returnValue += character;
|
|
407
|
+
if (!inSurrogate) {
|
|
408
|
+
inSurrogate = character >= "\uD800" && character <= "\uDBFF";
|
|
409
|
+
} else {
|
|
410
|
+
continue;
|
|
411
|
+
}
|
|
412
|
+
if (character === ESC || character === CSI) {
|
|
413
|
+
GROUP_REGEX.lastIndex = i + 1;
|
|
414
|
+
const groupsResult = GROUP_REGEX.exec(preString);
|
|
415
|
+
const groups = groupsResult?.groups;
|
|
416
|
+
if (groups?.code !== void 0) {
|
|
417
|
+
const code = Number.parseFloat(groups.code);
|
|
418
|
+
escapeCode = code === END_CODE ? void 0 : code;
|
|
419
|
+
} else if (groups?.uri !== void 0) {
|
|
420
|
+
escapeUrl = groups.uri.length === 0 ? void 0 : groups.uri;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
if (preString[i + 1] === "\n") {
|
|
424
|
+
if (escapeUrl) {
|
|
425
|
+
returnValue += wrapAnsiHyperlink("");
|
|
426
|
+
}
|
|
427
|
+
const closingCode = escapeCode ? getClosingCode(escapeCode) : void 0;
|
|
428
|
+
if (escapeCode && closingCode) {
|
|
429
|
+
returnValue += wrapAnsiCode(closingCode);
|
|
430
|
+
}
|
|
431
|
+
} else if (character === "\n") {
|
|
432
|
+
if (escapeCode && getClosingCode(escapeCode)) {
|
|
433
|
+
returnValue += wrapAnsiCode(escapeCode);
|
|
434
|
+
}
|
|
435
|
+
if (escapeUrl) {
|
|
436
|
+
returnValue += wrapAnsiHyperlink(escapeUrl);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
return returnValue;
|
|
441
|
+
};
|
|
442
|
+
CRLF_OR_LF = /\r?\n/;
|
|
443
|
+
}
|
|
444
|
+
});
|
|
445
|
+
|
|
40
446
|
// node_modules/.bun/sisteransi@1.0.5/node_modules/sisteransi/src/index.js
|
|
41
447
|
var require_src = __commonJS({
|
|
42
448
|
"node_modules/.bun/sisteransi@1.0.5/node_modules/sisteransi/src/index.js"(exports, module) {
|
|
43
449
|
"use strict";
|
|
44
|
-
|
|
45
|
-
var
|
|
46
|
-
var
|
|
450
|
+
init_utils2();
|
|
451
|
+
var ESC2 = "\x1B";
|
|
452
|
+
var CSI2 = `${ESC2}[`;
|
|
47
453
|
var beep = "\x07";
|
|
48
454
|
var cursor = {
|
|
49
455
|
to(x, y2) {
|
|
50
|
-
if (!y2) return `${
|
|
51
|
-
return `${
|
|
456
|
+
if (!y2) return `${CSI2}${x + 1}G`;
|
|
457
|
+
return `${CSI2}${y2 + 1};${x + 1}H`;
|
|
52
458
|
},
|
|
53
459
|
move(x, y2) {
|
|
54
460
|
let ret = "";
|
|
55
|
-
if (x < 0) ret += `${
|
|
56
|
-
else if (x > 0) ret += `${
|
|
57
|
-
if (y2 < 0) ret += `${
|
|
58
|
-
else if (y2 > 0) ret += `${
|
|
461
|
+
if (x < 0) ret += `${CSI2}${-x}D`;
|
|
462
|
+
else if (x > 0) ret += `${CSI2}${x}C`;
|
|
463
|
+
if (y2 < 0) ret += `${CSI2}${-y2}A`;
|
|
464
|
+
else if (y2 > 0) ret += `${CSI2}${y2}B`;
|
|
59
465
|
return ret;
|
|
60
466
|
},
|
|
61
|
-
up: (count = 1) => `${
|
|
62
|
-
down: (count = 1) => `${
|
|
63
|
-
forward: (count = 1) => `${
|
|
64
|
-
backward: (count = 1) => `${
|
|
65
|
-
nextLine: (count = 1) => `${
|
|
66
|
-
prevLine: (count = 1) => `${
|
|
67
|
-
left: `${
|
|
68
|
-
hide: `${
|
|
69
|
-
show: `${
|
|
70
|
-
save: `${
|
|
71
|
-
restore: `${
|
|
467
|
+
up: (count = 1) => `${CSI2}${count}A`,
|
|
468
|
+
down: (count = 1) => `${CSI2}${count}B`,
|
|
469
|
+
forward: (count = 1) => `${CSI2}${count}C`,
|
|
470
|
+
backward: (count = 1) => `${CSI2}${count}D`,
|
|
471
|
+
nextLine: (count = 1) => `${CSI2}E`.repeat(count),
|
|
472
|
+
prevLine: (count = 1) => `${CSI2}F`.repeat(count),
|
|
473
|
+
left: `${CSI2}G`,
|
|
474
|
+
hide: `${CSI2}?25l`,
|
|
475
|
+
show: `${CSI2}?25h`,
|
|
476
|
+
save: `${ESC2}7`,
|
|
477
|
+
restore: `${ESC2}8`
|
|
72
478
|
};
|
|
73
479
|
var scroll = {
|
|
74
|
-
up: (count = 1) => `${
|
|
75
|
-
down: (count = 1) => `${
|
|
480
|
+
up: (count = 1) => `${CSI2}S`.repeat(count),
|
|
481
|
+
down: (count = 1) => `${CSI2}T`.repeat(count)
|
|
76
482
|
};
|
|
77
483
|
var erase = {
|
|
78
|
-
screen: `${
|
|
79
|
-
up: (count = 1) => `${
|
|
80
|
-
down: (count = 1) => `${
|
|
81
|
-
line: `${
|
|
82
|
-
lineEnd: `${
|
|
83
|
-
lineStart: `${
|
|
484
|
+
screen: `${CSI2}2J`,
|
|
485
|
+
up: (count = 1) => `${CSI2}1J`.repeat(count),
|
|
486
|
+
down: (count = 1) => `${CSI2}J`.repeat(count),
|
|
487
|
+
line: `${CSI2}2K`,
|
|
488
|
+
lineEnd: `${CSI2}K`,
|
|
489
|
+
lineStart: `${CSI2}1K`,
|
|
84
490
|
lines(count) {
|
|
85
491
|
let clear = "";
|
|
86
492
|
for (let i = 0; i < count; i++)
|
|
@@ -94,262 +500,127 @@ var require_src = __commonJS({
|
|
|
94
500
|
}
|
|
95
501
|
});
|
|
96
502
|
|
|
97
|
-
// node_modules/.bun
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
let string = "" + input, index = string.indexOf(close, open.length);
|
|
107
|
-
return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
|
|
108
|
-
};
|
|
109
|
-
var replaceClose = (string, close, replace, index) => {
|
|
110
|
-
let result = "", cursor = 0;
|
|
111
|
-
do {
|
|
112
|
-
result += string.substring(cursor, index) + replace;
|
|
113
|
-
cursor = index + close.length;
|
|
114
|
-
index = string.indexOf(close, cursor);
|
|
115
|
-
} while (~index);
|
|
116
|
-
return result + string.substring(cursor);
|
|
117
|
-
};
|
|
118
|
-
var createColors = (enabled = isColorSupported) => {
|
|
119
|
-
let f = enabled ? formatter : () => String;
|
|
120
|
-
return {
|
|
121
|
-
isColorSupported: enabled,
|
|
122
|
-
reset: f("\x1B[0m", "\x1B[0m"),
|
|
123
|
-
bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
|
|
124
|
-
dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
|
|
125
|
-
italic: f("\x1B[3m", "\x1B[23m"),
|
|
126
|
-
underline: f("\x1B[4m", "\x1B[24m"),
|
|
127
|
-
inverse: f("\x1B[7m", "\x1B[27m"),
|
|
128
|
-
hidden: f("\x1B[8m", "\x1B[28m"),
|
|
129
|
-
strikethrough: f("\x1B[9m", "\x1B[29m"),
|
|
130
|
-
black: f("\x1B[30m", "\x1B[39m"),
|
|
131
|
-
red: f("\x1B[31m", "\x1B[39m"),
|
|
132
|
-
green: f("\x1B[32m", "\x1B[39m"),
|
|
133
|
-
yellow: f("\x1B[33m", "\x1B[39m"),
|
|
134
|
-
blue: f("\x1B[34m", "\x1B[39m"),
|
|
135
|
-
magenta: f("\x1B[35m", "\x1B[39m"),
|
|
136
|
-
cyan: f("\x1B[36m", "\x1B[39m"),
|
|
137
|
-
white: f("\x1B[37m", "\x1B[39m"),
|
|
138
|
-
gray: f("\x1B[90m", "\x1B[39m"),
|
|
139
|
-
bgBlack: f("\x1B[40m", "\x1B[49m"),
|
|
140
|
-
bgRed: f("\x1B[41m", "\x1B[49m"),
|
|
141
|
-
bgGreen: f("\x1B[42m", "\x1B[49m"),
|
|
142
|
-
bgYellow: f("\x1B[43m", "\x1B[49m"),
|
|
143
|
-
bgBlue: f("\x1B[44m", "\x1B[49m"),
|
|
144
|
-
bgMagenta: f("\x1B[45m", "\x1B[49m"),
|
|
145
|
-
bgCyan: f("\x1B[46m", "\x1B[49m"),
|
|
146
|
-
bgWhite: f("\x1B[47m", "\x1B[49m"),
|
|
147
|
-
blackBright: f("\x1B[90m", "\x1B[39m"),
|
|
148
|
-
redBright: f("\x1B[91m", "\x1B[39m"),
|
|
149
|
-
greenBright: f("\x1B[92m", "\x1B[39m"),
|
|
150
|
-
yellowBright: f("\x1B[93m", "\x1B[39m"),
|
|
151
|
-
blueBright: f("\x1B[94m", "\x1B[39m"),
|
|
152
|
-
magentaBright: f("\x1B[95m", "\x1B[39m"),
|
|
153
|
-
cyanBright: f("\x1B[96m", "\x1B[39m"),
|
|
154
|
-
whiteBright: f("\x1B[97m", "\x1B[39m"),
|
|
155
|
-
bgBlackBright: f("\x1B[100m", "\x1B[49m"),
|
|
156
|
-
bgRedBright: f("\x1B[101m", "\x1B[49m"),
|
|
157
|
-
bgGreenBright: f("\x1B[102m", "\x1B[49m"),
|
|
158
|
-
bgYellowBright: f("\x1B[103m", "\x1B[49m"),
|
|
159
|
-
bgBlueBright: f("\x1B[104m", "\x1B[49m"),
|
|
160
|
-
bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
|
|
161
|
-
bgCyanBright: f("\x1B[106m", "\x1B[49m"),
|
|
162
|
-
bgWhiteBright: f("\x1B[107m", "\x1B[49m")
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
module.exports = createColors();
|
|
166
|
-
module.exports.createColors = createColors;
|
|
167
|
-
}
|
|
168
|
-
});
|
|
169
|
-
|
|
170
|
-
// node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs
|
|
171
|
-
import { stdin as j, stdout as M } from "node:process";
|
|
172
|
-
import { Writable as X } from "node:stream";
|
|
173
|
-
function DD({ onlyFirst: e2 = false } = {}) {
|
|
174
|
-
const t = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");
|
|
175
|
-
return new RegExp(t, e2 ? void 0 : "g");
|
|
176
|
-
}
|
|
177
|
-
function L(e2) {
|
|
178
|
-
return e2 && e2.__esModule && Object.prototype.hasOwnProperty.call(e2, "default") ? e2.default : e2;
|
|
179
|
-
}
|
|
180
|
-
function rD() {
|
|
181
|
-
const e2 = /* @__PURE__ */ new Map();
|
|
182
|
-
for (const [u2, t] of Object.entries(r)) {
|
|
183
|
-
for (const [F2, s] of Object.entries(t)) r[F2] = { open: `\x1B[${s[0]}m`, close: `\x1B[${s[1]}m` }, t[F2] = r[F2], e2.set(s[0], s[1]);
|
|
184
|
-
Object.defineProperty(r, u2, { value: t, enumerable: false });
|
|
185
|
-
}
|
|
186
|
-
return Object.defineProperty(r, "codes", { value: e2, enumerable: false }), r.color.close = "\x1B[39m", r.bgColor.close = "\x1B[49m", r.color.ansi = N(), r.color.ansi256 = I(), r.color.ansi16m = R(), r.bgColor.ansi = N(w), r.bgColor.ansi256 = I(w), r.bgColor.ansi16m = R(w), Object.defineProperties(r, { rgbToAnsi256: { value: (u2, t, F2) => u2 === t && t === F2 ? u2 < 8 ? 16 : u2 > 248 ? 231 : Math.round((u2 - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(u2 / 255 * 5) + 6 * Math.round(t / 255 * 5) + Math.round(F2 / 255 * 5), enumerable: false }, hexToRgb: { value: (u2) => {
|
|
187
|
-
const t = /[a-f\d]{6}|[a-f\d]{3}/i.exec(u2.toString(16));
|
|
188
|
-
if (!t) return [0, 0, 0];
|
|
189
|
-
let [F2] = t;
|
|
190
|
-
F2.length === 3 && (F2 = [...F2].map((i) => i + i).join(""));
|
|
191
|
-
const s = Number.parseInt(F2, 16);
|
|
192
|
-
return [s >> 16 & 255, s >> 8 & 255, s & 255];
|
|
193
|
-
}, enumerable: false }, hexToAnsi256: { value: (u2) => r.rgbToAnsi256(...r.hexToRgb(u2)), enumerable: false }, ansi256ToAnsi: { value: (u2) => {
|
|
194
|
-
if (u2 < 8) return 30 + u2;
|
|
195
|
-
if (u2 < 16) return 90 + (u2 - 8);
|
|
196
|
-
let t, F2, s;
|
|
197
|
-
if (u2 >= 232) t = ((u2 - 232) * 10 + 8) / 255, F2 = t, s = t;
|
|
198
|
-
else {
|
|
199
|
-
u2 -= 16;
|
|
200
|
-
const C2 = u2 % 36;
|
|
201
|
-
t = Math.floor(u2 / 36) / 5, F2 = Math.floor(C2 / 6) / 5, s = C2 % 6 / 5;
|
|
202
|
-
}
|
|
203
|
-
const i = Math.max(t, F2, s) * 2;
|
|
204
|
-
if (i === 0) return 30;
|
|
205
|
-
let D2 = 30 + (Math.round(s) << 2 | Math.round(F2) << 1 | Math.round(t));
|
|
206
|
-
return i === 2 && (D2 += 60), D2;
|
|
207
|
-
}, enumerable: false }, rgbToAnsi: { value: (u2, t, F2) => r.ansi256ToAnsi(r.rgbToAnsi256(u2, t, F2)), enumerable: false }, hexToAnsi: { value: (u2) => r.ansi256ToAnsi(r.hexToAnsi256(u2)), enumerable: false } }), r;
|
|
208
|
-
}
|
|
209
|
-
var import_sisteransi, uD, W, tD, eD, FD, sD, w, N, I, R, r, iD, CD, ED, nD, _, xD, B, AD, A;
|
|
210
|
-
var init_dist = __esm({
|
|
211
|
-
"node_modules/.bun/@clack+core@0.5.0/node_modules/@clack/core/dist/index.mjs"() {
|
|
212
|
-
init_utils();
|
|
503
|
+
// node_modules/.bun/@clack+core@1.2.0/node_modules/@clack/core/dist/index.mjs
|
|
504
|
+
import { styleText as y } from "node:util";
|
|
505
|
+
import { stdout as S, stdin as $ } from "node:process";
|
|
506
|
+
import { ReadStream as D } from "node:tty";
|
|
507
|
+
var import_sisteransi, E, G, u, Y, O;
|
|
508
|
+
var init_dist3 = __esm({
|
|
509
|
+
"node_modules/.bun/@clack+core@1.2.0/node_modules/@clack/core/dist/index.mjs"() {
|
|
510
|
+
init_utils2();
|
|
511
|
+
init_main();
|
|
213
512
|
import_sisteransi = __toESM(require_src(), 1);
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
(
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
var s = F2.charCodeAt(0), i = F2.length == 2 ? F2.charCodeAt(1) : 0, D2 = s;
|
|
220
|
-
return 55296 <= s && s <= 56319 && 56320 <= i && i <= 57343 && (s &= 1023, i &= 1023, D2 = s << 10 | i, D2 += 65536), D2 == 12288 || 65281 <= D2 && D2 <= 65376 || 65504 <= D2 && D2 <= 65510 ? "F" : D2 == 8361 || 65377 <= D2 && D2 <= 65470 || 65474 <= D2 && D2 <= 65479 || 65482 <= D2 && D2 <= 65487 || 65490 <= D2 && D2 <= 65495 || 65498 <= D2 && D2 <= 65500 || 65512 <= D2 && D2 <= 65518 ? "H" : 4352 <= D2 && D2 <= 4447 || 4515 <= D2 && D2 <= 4519 || 4602 <= D2 && D2 <= 4607 || 9001 <= D2 && D2 <= 9002 || 11904 <= D2 && D2 <= 11929 || 11931 <= D2 && D2 <= 12019 || 12032 <= D2 && D2 <= 12245 || 12272 <= D2 && D2 <= 12283 || 12289 <= D2 && D2 <= 12350 || 12353 <= D2 && D2 <= 12438 || 12441 <= D2 && D2 <= 12543 || 12549 <= D2 && D2 <= 12589 || 12593 <= D2 && D2 <= 12686 || 12688 <= D2 && D2 <= 12730 || 12736 <= D2 && D2 <= 12771 || 12784 <= D2 && D2 <= 12830 || 12832 <= D2 && D2 <= 12871 || 12880 <= D2 && D2 <= 13054 || 13056 <= D2 && D2 <= 19903 || 19968 <= D2 && D2 <= 42124 || 42128 <= D2 && D2 <= 42182 || 43360 <= D2 && D2 <= 43388 || 44032 <= D2 && D2 <= 55203 || 55216 <= D2 && D2 <= 55238 || 55243 <= D2 && D2 <= 55291 || 63744 <= D2 && D2 <= 64255 || 65040 <= D2 && D2 <= 65049 || 65072 <= D2 && D2 <= 65106 || 65108 <= D2 && D2 <= 65126 || 65128 <= D2 && D2 <= 65131 || 110592 <= D2 && D2 <= 110593 || 127488 <= D2 && D2 <= 127490 || 127504 <= D2 && D2 <= 127546 || 127552 <= D2 && D2 <= 127560 || 127568 <= D2 && D2 <= 127569 || 131072 <= D2 && D2 <= 194367 || 177984 <= D2 && D2 <= 196605 || 196608 <= D2 && D2 <= 262141 ? "W" : 32 <= D2 && D2 <= 126 || 162 <= D2 && D2 <= 163 || 165 <= D2 && D2 <= 166 || D2 == 172 || D2 == 175 || 10214 <= D2 && D2 <= 10221 || 10629 <= D2 && D2 <= 10630 ? "Na" : D2 == 161 || D2 == 164 || 167 <= D2 && D2 <= 168 || D2 == 170 || 173 <= D2 && D2 <= 174 || 176 <= D2 && D2 <= 180 || 182 <= D2 && D2 <= 186 || 188 <= D2 && D2 <= 191 || D2 == 198 || D2 == 208 || 215 <= D2 && D2 <= 216 || 222 <= D2 && D2 <= 225 || D2 == 230 || 232 <= D2 && D2 <= 234 || 236 <= D2 && D2 <= 237 || D2 == 240 || 242 <= D2 && D2 <= 243 || 247 <= D2 && D2 <= 250 || D2 == 252 || D2 == 254 || D2 == 257 || D2 == 273 || D2 == 275 || D2 == 283 || 294 <= D2 && D2 <= 295 || D2 == 299 || 305 <= D2 && D2 <= 307 || D2 == 312 || 319 <= D2 && D2 <= 322 || D2 == 324 || 328 <= D2 && D2 <= 331 || D2 == 333 || 338 <= D2 && D2 <= 339 || 358 <= D2 && D2 <= 359 || D2 == 363 || D2 == 462 || D2 == 464 || D2 == 466 || D2 == 468 || D2 == 470 || D2 == 472 || D2 == 474 || D2 == 476 || D2 == 593 || D2 == 609 || D2 == 708 || D2 == 711 || 713 <= D2 && D2 <= 715 || D2 == 717 || D2 == 720 || 728 <= D2 && D2 <= 731 || D2 == 733 || D2 == 735 || 768 <= D2 && D2 <= 879 || 913 <= D2 && D2 <= 929 || 931 <= D2 && D2 <= 937 || 945 <= D2 && D2 <= 961 || 963 <= D2 && D2 <= 969 || D2 == 1025 || 1040 <= D2 && D2 <= 1103 || D2 == 1105 || D2 == 8208 || 8211 <= D2 && D2 <= 8214 || 8216 <= D2 && D2 <= 8217 || 8220 <= D2 && D2 <= 8221 || 8224 <= D2 && D2 <= 8226 || 8228 <= D2 && D2 <= 8231 || D2 == 8240 || 8242 <= D2 && D2 <= 8243 || D2 == 8245 || D2 == 8251 || D2 == 8254 || D2 == 8308 || D2 == 8319 || 8321 <= D2 && D2 <= 8324 || D2 == 8364 || D2 == 8451 || D2 == 8453 || D2 == 8457 || D2 == 8467 || D2 == 8470 || 8481 <= D2 && D2 <= 8482 || D2 == 8486 || D2 == 8491 || 8531 <= D2 && D2 <= 8532 || 8539 <= D2 && D2 <= 8542 || 8544 <= D2 && D2 <= 8555 || 8560 <= D2 && D2 <= 8569 || D2 == 8585 || 8592 <= D2 && D2 <= 8601 || 8632 <= D2 && D2 <= 8633 || D2 == 8658 || D2 == 8660 || D2 == 8679 || D2 == 8704 || 8706 <= D2 && D2 <= 8707 || 8711 <= D2 && D2 <= 8712 || D2 == 8715 || D2 == 8719 || D2 == 8721 || D2 == 8725 || D2 == 8730 || 8733 <= D2 && D2 <= 8736 || D2 == 8739 || D2 == 8741 || 8743 <= D2 && D2 <= 8748 || D2 == 8750 || 8756 <= D2 && D2 <= 8759 || 8764 <= D2 && D2 <= 8765 || D2 == 8776 || D2 == 8780 || D2 == 8786 || 8800 <= D2 && D2 <= 8801 || 8804 <= D2 && D2 <= 8807 || 8810 <= D2 && D2 <= 8811 || 8814 <= D2 && D2 <= 8815 || 8834 <= D2 && D2 <= 8835 || 8838 <= D2 && D2 <= 8839 || D2 == 8853 || D2 == 8857 || D2 == 8869 || D2 == 8895 || D2 == 8978 || 9312 <= D2 && D2 <= 9449 || 9451 <= D2 && D2 <= 9547 || 9552 <= D2 && D2 <= 9587 || 9600 <= D2 && D2 <= 9615 || 9618 <= D2 && D2 <= 9621 || 9632 <= D2 && D2 <= 9633 || 9635 <= D2 && D2 <= 9641 || 9650 <= D2 && D2 <= 9651 || 9654 <= D2 && D2 <= 9655 || 9660 <= D2 && D2 <= 9661 || 9664 <= D2 && D2 <= 9665 || 9670 <= D2 && D2 <= 9672 || D2 == 9675 || 9678 <= D2 && D2 <= 9681 || 9698 <= D2 && D2 <= 9701 || D2 == 9711 || 9733 <= D2 && D2 <= 9734 || D2 == 9737 || 9742 <= D2 && D2 <= 9743 || 9748 <= D2 && D2 <= 9749 || D2 == 9756 || D2 == 9758 || D2 == 9792 || D2 == 9794 || 9824 <= D2 && D2 <= 9825 || 9827 <= D2 && D2 <= 9829 || 9831 <= D2 && D2 <= 9834 || 9836 <= D2 && D2 <= 9837 || D2 == 9839 || 9886 <= D2 && D2 <= 9887 || 9918 <= D2 && D2 <= 9919 || 9924 <= D2 && D2 <= 9933 || 9935 <= D2 && D2 <= 9953 || D2 == 9955 || 9960 <= D2 && D2 <= 9983 || D2 == 10045 || D2 == 10071 || 10102 <= D2 && D2 <= 10111 || 11093 <= D2 && D2 <= 11097 || 12872 <= D2 && D2 <= 12879 || 57344 <= D2 && D2 <= 63743 || 65024 <= D2 && D2 <= 65039 || D2 == 65533 || 127232 <= D2 && D2 <= 127242 || 127248 <= D2 && D2 <= 127277 || 127280 <= D2 && D2 <= 127337 || 127344 <= D2 && D2 <= 127386 || 917760 <= D2 && D2 <= 917999 || 983040 <= D2 && D2 <= 1048573 || 1048576 <= D2 && D2 <= 1114109 ? "A" : "N";
|
|
221
|
-
}, u2.characterLength = function(F2) {
|
|
222
|
-
var s = this.eastAsianWidth(F2);
|
|
223
|
-
return s == "F" || s == "W" || s == "A" ? 2 : 1;
|
|
224
|
-
};
|
|
225
|
-
function t(F2) {
|
|
226
|
-
return F2.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
|
|
227
|
-
}
|
|
228
|
-
u2.length = function(F2) {
|
|
229
|
-
for (var s = t(F2), i = 0, D2 = 0; D2 < s.length; D2++) i = i + this.characterLength(s[D2]);
|
|
230
|
-
return i;
|
|
231
|
-
}, u2.slice = function(F2, s, i) {
|
|
232
|
-
textLen = u2.length(F2), s = s || 0, i = i || 1, s < 0 && (s = textLen + s), i < 0 && (i = textLen + i);
|
|
233
|
-
for (var D2 = "", C2 = 0, n = t(F2), E = 0; E < n.length; E++) {
|
|
234
|
-
var a = n[E], o2 = u2.length(a);
|
|
235
|
-
if (C2 >= s - (o2 == 2 ? 1 : 0)) if (C2 + o2 <= i) D2 += a;
|
|
236
|
-
else break;
|
|
237
|
-
C2 += o2;
|
|
238
|
-
}
|
|
239
|
-
return D2;
|
|
240
|
-
};
|
|
241
|
-
})(W);
|
|
242
|
-
tD = W.exports;
|
|
243
|
-
eD = L(tD);
|
|
244
|
-
FD = function() {
|
|
245
|
-
return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
|
|
246
|
-
};
|
|
247
|
-
sD = L(FD);
|
|
248
|
-
w = 10;
|
|
249
|
-
N = (e2 = 0) => (u2) => `\x1B[${u2 + e2}m`;
|
|
250
|
-
I = (e2 = 0) => (u2) => `\x1B[${38 + e2};5;${u2}m`;
|
|
251
|
-
R = (e2 = 0) => (u2, t, F2) => `\x1B[${38 + e2};2;${u2};${t};${F2}m`;
|
|
252
|
-
r = { modifier: { reset: [0, 0], bold: [1, 22], dim: [2, 22], italic: [3, 23], underline: [4, 24], overline: [53, 55], inverse: [7, 27], hidden: [8, 28], strikethrough: [9, 29] }, color: { black: [30, 39], red: [31, 39], green: [32, 39], yellow: [33, 39], blue: [34, 39], magenta: [35, 39], cyan: [36, 39], white: [37, 39], blackBright: [90, 39], gray: [90, 39], grey: [90, 39], redBright: [91, 39], greenBright: [92, 39], yellowBright: [93, 39], blueBright: [94, 39], magentaBright: [95, 39], cyanBright: [96, 39], whiteBright: [97, 39] }, bgColor: { bgBlack: [40, 49], bgRed: [41, 49], bgGreen: [42, 49], bgYellow: [43, 49], bgBlue: [44, 49], bgMagenta: [45, 49], bgCyan: [46, 49], bgWhite: [47, 49], bgBlackBright: [100, 49], bgGray: [100, 49], bgGrey: [100, 49], bgRedBright: [101, 49], bgGreenBright: [102, 49], bgYellowBright: [103, 49], bgBlueBright: [104, 49], bgMagentaBright: [105, 49], bgCyanBright: [106, 49], bgWhiteBright: [107, 49] } };
|
|
253
|
-
Object.keys(r.modifier);
|
|
254
|
-
iD = Object.keys(r.color);
|
|
255
|
-
CD = Object.keys(r.bgColor);
|
|
256
|
-
[...iD, ...CD];
|
|
257
|
-
ED = rD();
|
|
258
|
-
nD = "]";
|
|
259
|
-
_ = `${nD}8;;`;
|
|
260
|
-
xD = ["up", "down", "left", "right", "space", "enter", "cancel"];
|
|
261
|
-
B = { actions: new Set(xD), aliases: /* @__PURE__ */ new Map([["k", "up"], ["j", "down"], ["h", "left"], ["l", "right"], ["", "cancel"], ["escape", "cancel"]]) };
|
|
262
|
-
AD = globalThis.process.platform.startsWith("win");
|
|
263
|
-
A = /* @__PURE__ */ new WeakMap();
|
|
513
|
+
E = ["up", "down", "left", "right", "space", "enter", "cancel"];
|
|
514
|
+
G = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
|
515
|
+
u = { actions: new Set(E), aliases: /* @__PURE__ */ new Map([["k", "up"], ["j", "down"], ["h", "left"], ["l", "right"], ["", "cancel"], ["escape", "cancel"]]), messages: { cancel: "Canceled", error: "Something went wrong" }, withGuide: true, date: { monthNames: [...G], messages: { required: "Please enter a valid date", invalidMonth: "There are only 12 months in a year", invalidDay: (r, t2) => `There are only ${r} days in ${t2}`, afterMin: (r) => `Date must be on or after ${r.toISOString().slice(0, 10)}`, beforeMax: (r) => `Date must be on or before ${r.toISOString().slice(0, 10)}` } } };
|
|
516
|
+
Y = globalThis.process.platform.startsWith("win");
|
|
517
|
+
O = (r) => "columns" in r && typeof r.columns == "number" ? r.columns : 80;
|
|
264
518
|
}
|
|
265
519
|
});
|
|
266
520
|
|
|
267
|
-
// node_modules/.bun/@clack+prompts@
|
|
268
|
-
import { stripVTControlCharacters as
|
|
269
|
-
import
|
|
270
|
-
|
|
271
|
-
|
|
521
|
+
// node_modules/.bun/@clack+prompts@1.2.0/node_modules/@clack/prompts/dist/index.mjs
|
|
522
|
+
import { styleText as t, stripVTControlCharacters as ne } from "node:util";
|
|
523
|
+
import P from "node:process";
|
|
524
|
+
import { existsSync as Xe, lstatSync as we, readdirSync as ze } from "node:fs";
|
|
525
|
+
import { dirname as be, join as Qe } from "node:path";
|
|
526
|
+
function Ze() {
|
|
527
|
+
return P.platform !== "win32" ? P.env.TERM !== "linux" : !!P.env.CI || !!P.env.WT_SESSION || !!P.env.TERMINUS_SUBLIME || P.env.ConEmuTask === "{cmd::Cmder}" || P.env.TERM_PROGRAM === "Terminus-Sublime" || P.env.TERM_PROGRAM === "vscode" || P.env.TERM === "xterm-256color" || P.env.TERM === "alacritty" || P.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
272
528
|
}
|
|
273
|
-
var
|
|
274
|
-
var
|
|
275
|
-
"node_modules/.bun/@clack+prompts@
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
529
|
+
var import_sisteransi2, ee, w, _e, oe, ue, F, le, d, E2, Ie, Ee, z2, H2, te, U, J, xe, se, ce, Ge, $e, de, Oe, he, pe, me, ge, O2, mt, gt, ft, vt, wt, Ve, je;
|
|
530
|
+
var init_dist4 = __esm({
|
|
531
|
+
"node_modules/.bun/@clack+prompts@1.2.0/node_modules/@clack/prompts/dist/index.mjs"() {
|
|
532
|
+
init_utils2();
|
|
533
|
+
init_dist3();
|
|
534
|
+
init_dist3();
|
|
535
|
+
init_main();
|
|
536
|
+
init_dist2();
|
|
280
537
|
import_sisteransi2 = __toESM(require_src(), 1);
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
538
|
+
ee = Ze();
|
|
539
|
+
w = (e, i) => ee ? e : i;
|
|
540
|
+
_e = w("\u25C6", "*");
|
|
541
|
+
oe = w("\u25A0", "x");
|
|
542
|
+
ue = w("\u25B2", "x");
|
|
543
|
+
F = w("\u25C7", "o");
|
|
544
|
+
le = w("\u250C", "T");
|
|
545
|
+
d = w("\u2502", "|");
|
|
546
|
+
E2 = w("\u2514", "\u2014");
|
|
547
|
+
Ie = w("\u2510", "T");
|
|
548
|
+
Ee = w("\u2518", "\u2014");
|
|
549
|
+
z2 = w("\u25CF", ">");
|
|
550
|
+
H2 = w("\u25CB", " ");
|
|
551
|
+
te = w("\u25FB", "[\u2022]");
|
|
552
|
+
U = w("\u25FC", "[+]");
|
|
553
|
+
J = w("\u25FB", "[ ]");
|
|
554
|
+
xe = w("\u25AA", "\u2022");
|
|
555
|
+
se = w("\u2500", "-");
|
|
556
|
+
ce = w("\u256E", "+");
|
|
557
|
+
Ge = w("\u251C", "+");
|
|
558
|
+
$e = w("\u256F", "+");
|
|
559
|
+
de = w("\u2570", "+");
|
|
560
|
+
Oe = w("\u256D", "+");
|
|
561
|
+
he = w("\u25CF", "\u2022");
|
|
562
|
+
pe = w("\u25C6", "*");
|
|
563
|
+
me = w("\u25B2", "!");
|
|
564
|
+
ge = w("\u25A0", "x");
|
|
565
|
+
O2 = { message: (e = [], { symbol: i = t("gray", d), secondarySymbol: s = t("gray", d), output: r = process.stdout, spacing: u2 = 1, withGuide: n } = {}) => {
|
|
566
|
+
const o = [], c2 = n ?? u.withGuide, a = c2 ? s : "", l = c2 ? `${i} ` : "", $2 = c2 ? `${s} ` : "";
|
|
567
|
+
for (let p = 0; p < u2; p++) o.push(a);
|
|
568
|
+
const y2 = Array.isArray(e) ? e : e.split(`
|
|
312
569
|
`);
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
${
|
|
316
|
-
|
|
570
|
+
if (y2.length > 0) {
|
|
571
|
+
const [p, ...m] = y2;
|
|
572
|
+
p.length > 0 ? o.push(`${l}${p}`) : o.push(c2 ? i : "");
|
|
573
|
+
for (const g of m) g.length > 0 ? o.push(`${$2}${g}`) : o.push(c2 ? s : "");
|
|
574
|
+
}
|
|
575
|
+
r.write(`${o.join(`
|
|
576
|
+
`)}
|
|
317
577
|
`);
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
|
|
578
|
+
}, info: (e, i) => {
|
|
579
|
+
O2.message(e, { ...i, symbol: t("blue", he) });
|
|
580
|
+
}, success: (e, i) => {
|
|
581
|
+
O2.message(e, { ...i, symbol: t("green", pe) });
|
|
582
|
+
}, step: (e, i) => {
|
|
583
|
+
O2.message(e, { ...i, symbol: t("green", F) });
|
|
584
|
+
}, warn: (e, i) => {
|
|
585
|
+
O2.message(e, { ...i, symbol: t("yellow", me) });
|
|
586
|
+
}, warning: (e, i) => {
|
|
587
|
+
O2.warn(e, i);
|
|
588
|
+
}, error: (e, i) => {
|
|
589
|
+
O2.message(e, { ...i, symbol: t("red", ge) });
|
|
590
|
+
} };
|
|
591
|
+
mt = (e = "", i) => {
|
|
592
|
+
const s = i?.output ?? process.stdout, r = i?.withGuide ?? u.withGuide ? `${t("gray", le)} ` : "";
|
|
593
|
+
s.write(`${r}${e}
|
|
321
594
|
`);
|
|
322
595
|
};
|
|
323
|
-
|
|
324
|
-
process.stdout.
|
|
325
|
-
${
|
|
596
|
+
gt = (e = "", i) => {
|
|
597
|
+
const s = i?.output ?? process.stdout, r = i?.withGuide ?? u.withGuide ? `${t("gray", d)}
|
|
598
|
+
${t("gray", E2)} ` : "";
|
|
599
|
+
s.write(`${r}${e}
|
|
326
600
|
|
|
327
601
|
`);
|
|
328
602
|
};
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
`)
|
|
603
|
+
ft = (e) => t("dim", e);
|
|
604
|
+
vt = (e, i, s) => {
|
|
605
|
+
const r = { hard: true, trim: false }, u2 = wrapAnsi(e, i, r).split(`
|
|
606
|
+
`), n = u2.reduce((a, l) => Math.max(dist_default2(l), a), 0), o = u2.map(s).reduce((a, l) => Math.max(dist_default2(l), a), 0), c2 = i - (o - n);
|
|
607
|
+
return wrapAnsi(e, c2, r);
|
|
608
|
+
};
|
|
609
|
+
wt = (e = "", i = "", s) => {
|
|
610
|
+
const r = s?.output ?? P.stdout, u2 = s?.withGuide ?? u.withGuide, n = s?.format ?? ft, o = ["", ...vt(e, O(r) - 6, n).split(`
|
|
611
|
+
`).map(n), ""], c2 = dist_default2(i), a = Math.max(o.reduce((p, m) => {
|
|
612
|
+
const g = dist_default2(m);
|
|
613
|
+
return g > p ? g : p;
|
|
614
|
+
}, 0), c2) + 2, l = o.map((p) => `${t("gray", d)} ${p}${" ".repeat(a - dist_default2(p))}${t("gray", d)}`).join(`
|
|
615
|
+
`), $2 = u2 ? `${t("gray", d)}
|
|
616
|
+
` : "", y2 = u2 ? Ge : de;
|
|
617
|
+
r.write(`${$2}${t("green", F)} ${t("reset", i)} ${t("gray", se.repeat(Math.max(a - c2 - 1, 1)) + ce)}
|
|
618
|
+
${l}
|
|
619
|
+
${t("gray", y2 + se.repeat(a + 2) + $e)}
|
|
338
620
|
`);
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
M2.message(t, { symbol: import_picocolors.default.green(D) });
|
|
343
|
-
}, step: (t) => {
|
|
344
|
-
M2.message(t, { symbol: import_picocolors.default.green(C) });
|
|
345
|
-
}, warn: (t) => {
|
|
346
|
-
M2.message(t, { symbol: import_picocolors.default.yellow(U) });
|
|
347
|
-
}, warning: (t) => {
|
|
348
|
-
M2.warn(t);
|
|
349
|
-
}, error: (t) => {
|
|
350
|
-
M2.message(t, { symbol: import_picocolors.default.red(K) });
|
|
351
|
-
} };
|
|
352
|
-
J = `${import_picocolors.default.gray(o)} `;
|
|
621
|
+
};
|
|
622
|
+
Ve = { light: w("\u2500", "-"), heavy: w("\u2501", "="), block: w("\u2588", "#") };
|
|
623
|
+
je = `${t("gray", d)} `;
|
|
353
624
|
}
|
|
354
625
|
});
|
|
355
626
|
|
|
@@ -398,9 +669,9 @@ var colors, currentLogLevel, log, error, warn, info, success;
|
|
|
398
669
|
var init_cli_output = __esm({
|
|
399
670
|
"packages/tooling/src/utils/cli-output.ts"() {
|
|
400
671
|
"use strict";
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
672
|
+
init_utils2();
|
|
673
|
+
init_dist4();
|
|
674
|
+
init_dist4();
|
|
404
675
|
colors = {
|
|
405
676
|
reset: "\x1B[0m",
|
|
406
677
|
// Success (green)
|
|
@@ -435,7 +706,7 @@ var init_cli_output = __esm({
|
|
|
435
706
|
error(...args) {
|
|
436
707
|
if (currentLogLevel < 0 /* Quiet */) return;
|
|
437
708
|
const message = formatMessage(...args);
|
|
438
|
-
|
|
709
|
+
O2.error(colorize(message, colors.brightRed));
|
|
439
710
|
},
|
|
440
711
|
/**
|
|
441
712
|
* Logs a warning message (shows at Normal level and above)
|
|
@@ -444,7 +715,7 @@ var init_cli_output = __esm({
|
|
|
444
715
|
warn(...args) {
|
|
445
716
|
if (currentLogLevel < 1 /* Normal */) return;
|
|
446
717
|
const message = formatMessage(...args);
|
|
447
|
-
|
|
718
|
+
O2.warn(colorize(message, colors.brightYellow));
|
|
448
719
|
},
|
|
449
720
|
/**
|
|
450
721
|
* Logs an info message (shows at Normal level and above)
|
|
@@ -453,7 +724,7 @@ var init_cli_output = __esm({
|
|
|
453
724
|
info(...args) {
|
|
454
725
|
if (currentLogLevel < 1 /* Normal */) return;
|
|
455
726
|
const message = formatMessage(...args);
|
|
456
|
-
|
|
727
|
+
O2.info(colorize(message, colors.brightCyan));
|
|
457
728
|
},
|
|
458
729
|
/**
|
|
459
730
|
* Logs a success message (shows at Normal level and above)
|
|
@@ -462,7 +733,7 @@ var init_cli_output = __esm({
|
|
|
462
733
|
success(...args) {
|
|
463
734
|
if (currentLogLevel < 1 /* Normal */) return;
|
|
464
735
|
const message = formatMessage(...args);
|
|
465
|
-
|
|
736
|
+
O2.success(colorize(message, colors.brightGreen));
|
|
466
737
|
},
|
|
467
738
|
/**
|
|
468
739
|
* Logs a debug message (only shows at Verbose level and above)
|
|
@@ -471,7 +742,7 @@ var init_cli_output = __esm({
|
|
|
471
742
|
debug(...args) {
|
|
472
743
|
if (currentLogLevel < 2 /* Verbose */) return;
|
|
473
744
|
const timeStamp = (/* @__PURE__ */ new Date()).toISOString().slice(11, 19);
|
|
474
|
-
|
|
745
|
+
O2.message(
|
|
475
746
|
colorize(
|
|
476
747
|
`[${timeStamp}] \u{1F50D} DEBUG: ${formatMessage(...args)}`,
|
|
477
748
|
colors.gray
|
|
@@ -485,7 +756,7 @@ var init_cli_output = __esm({
|
|
|
485
756
|
trace(...args) {
|
|
486
757
|
if (currentLogLevel < 3 /* Debug */) return;
|
|
487
758
|
const timeStamp = (/* @__PURE__ */ new Date()).toISOString().slice(11, 19);
|
|
488
|
-
|
|
759
|
+
O2.message(
|
|
489
760
|
colorize(
|
|
490
761
|
`[${timeStamp}] \u{1F52C} TRACE: ${formatMessage(...args)}`,
|
|
491
762
|
colors.gray
|
|
@@ -505,7 +776,7 @@ var DO_NOT_DEV_ERROR_CODES, DoNotDevError;
|
|
|
505
776
|
var init_errors = __esm({
|
|
506
777
|
"packages/tooling/src/utils/errors.ts"() {
|
|
507
778
|
"use strict";
|
|
508
|
-
|
|
779
|
+
init_utils2();
|
|
509
780
|
DO_NOT_DEV_ERROR_CODES = {
|
|
510
781
|
CONFIGURATION_ERROR: "configuration-error",
|
|
511
782
|
CONFIG_NOT_FOUND: "config-not-found",
|
|
@@ -646,7 +917,7 @@ var init_errors = __esm({
|
|
|
646
917
|
var require_array = __commonJS({
|
|
647
918
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js"(exports) {
|
|
648
919
|
"use strict";
|
|
649
|
-
|
|
920
|
+
init_utils2();
|
|
650
921
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
651
922
|
exports.splitWhen = exports.flatten = void 0;
|
|
652
923
|
function flatten(items) {
|
|
@@ -674,7 +945,7 @@ var require_array = __commonJS({
|
|
|
674
945
|
var require_errno = __commonJS({
|
|
675
946
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js"(exports) {
|
|
676
947
|
"use strict";
|
|
677
|
-
|
|
948
|
+
init_utils2();
|
|
678
949
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
679
950
|
exports.isEnoentCodeError = void 0;
|
|
680
951
|
function isEnoentCodeError(error2) {
|
|
@@ -688,7 +959,7 @@ var require_errno = __commonJS({
|
|
|
688
959
|
var require_fs = __commonJS({
|
|
689
960
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js"(exports) {
|
|
690
961
|
"use strict";
|
|
691
|
-
|
|
962
|
+
init_utils2();
|
|
692
963
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
693
964
|
exports.createDirentFromStats = void 0;
|
|
694
965
|
var DirentFromStats = class {
|
|
@@ -714,7 +985,7 @@ var require_fs = __commonJS({
|
|
|
714
985
|
var require_path = __commonJS({
|
|
715
986
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js"(exports) {
|
|
716
987
|
"use strict";
|
|
717
|
-
|
|
988
|
+
init_utils2();
|
|
718
989
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
719
990
|
exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
|
|
720
991
|
var os = __require("os");
|
|
@@ -767,7 +1038,7 @@ var require_path = __commonJS({
|
|
|
767
1038
|
// node_modules/.bun/is-extglob@2.1.1/node_modules/is-extglob/index.js
|
|
768
1039
|
var require_is_extglob = __commonJS({
|
|
769
1040
|
"node_modules/.bun/is-extglob@2.1.1/node_modules/is-extglob/index.js"(exports, module) {
|
|
770
|
-
|
|
1041
|
+
init_utils2();
|
|
771
1042
|
module.exports = function isExtglob(str) {
|
|
772
1043
|
if (typeof str !== "string" || str === "") {
|
|
773
1044
|
return false;
|
|
@@ -785,7 +1056,7 @@ var require_is_extglob = __commonJS({
|
|
|
785
1056
|
// node_modules/.bun/is-glob@4.0.3/node_modules/is-glob/index.js
|
|
786
1057
|
var require_is_glob = __commonJS({
|
|
787
1058
|
"node_modules/.bun/is-glob@4.0.3/node_modules/is-glob/index.js"(exports, module) {
|
|
788
|
-
|
|
1059
|
+
init_utils2();
|
|
789
1060
|
var isExtglob = require_is_extglob();
|
|
790
1061
|
var chars = { "{": "}", "(": ")", "[": "]" };
|
|
791
1062
|
var strictCheck = function(str) {
|
|
@@ -918,7 +1189,7 @@ var require_is_glob = __commonJS({
|
|
|
918
1189
|
var require_glob_parent = __commonJS({
|
|
919
1190
|
"node_modules/.bun/glob-parent@5.1.2/node_modules/glob-parent/index.js"(exports, module) {
|
|
920
1191
|
"use strict";
|
|
921
|
-
|
|
1192
|
+
init_utils2();
|
|
922
1193
|
var isGlob = require_is_glob();
|
|
923
1194
|
var pathPosixDirname = __require("path").posix.dirname;
|
|
924
1195
|
var isWin32 = __require("os").platform() === "win32";
|
|
@@ -948,7 +1219,7 @@ var require_glob_parent = __commonJS({
|
|
|
948
1219
|
var require_utils = __commonJS({
|
|
949
1220
|
"node_modules/.bun/braces@3.0.3/node_modules/braces/lib/utils.js"(exports) {
|
|
950
1221
|
"use strict";
|
|
951
|
-
|
|
1222
|
+
init_utils2();
|
|
952
1223
|
exports.isInteger = (num) => {
|
|
953
1224
|
if (typeof num === "number") {
|
|
954
1225
|
return Number.isInteger(num);
|
|
@@ -1031,7 +1302,7 @@ var require_utils = __commonJS({
|
|
|
1031
1302
|
var require_stringify = __commonJS({
|
|
1032
1303
|
"node_modules/.bun/braces@3.0.3/node_modules/braces/lib/stringify.js"(exports, module) {
|
|
1033
1304
|
"use strict";
|
|
1034
|
-
|
|
1305
|
+
init_utils2();
|
|
1035
1306
|
var utils = require_utils();
|
|
1036
1307
|
module.exports = (ast, options = {}) => {
|
|
1037
1308
|
const stringify2 = (node, parent = {}) => {
|
|
@@ -1063,7 +1334,7 @@ var require_stringify = __commonJS({
|
|
|
1063
1334
|
var require_is_number = __commonJS({
|
|
1064
1335
|
"node_modules/.bun/is-number@7.0.0/node_modules/is-number/index.js"(exports, module) {
|
|
1065
1336
|
"use strict";
|
|
1066
|
-
|
|
1337
|
+
init_utils2();
|
|
1067
1338
|
module.exports = function(num) {
|
|
1068
1339
|
if (typeof num === "number") {
|
|
1069
1340
|
return num - num === 0;
|
|
@@ -1080,7 +1351,7 @@ var require_is_number = __commonJS({
|
|
|
1080
1351
|
var require_to_regex_range = __commonJS({
|
|
1081
1352
|
"node_modules/.bun/to-regex-range@5.0.1/node_modules/to-regex-range/index.js"(exports, module) {
|
|
1082
1353
|
"use strict";
|
|
1083
|
-
|
|
1354
|
+
init_utils2();
|
|
1084
1355
|
var isNumber = require_is_number();
|
|
1085
1356
|
var toRegexRange = (min, max, options) => {
|
|
1086
1357
|
if (isNumber(min) === false) {
|
|
@@ -1105,8 +1376,8 @@ var require_to_regex_range = __commonJS({
|
|
|
1105
1376
|
return toRegexRange.cache[cacheKey].result;
|
|
1106
1377
|
}
|
|
1107
1378
|
let a = Math.min(min, max);
|
|
1108
|
-
let
|
|
1109
|
-
if (Math.abs(a -
|
|
1379
|
+
let b = Math.max(min, max);
|
|
1380
|
+
if (Math.abs(a - b) === 1) {
|
|
1110
1381
|
let result = min + "|" + max;
|
|
1111
1382
|
if (opts.capture) {
|
|
1112
1383
|
return `(${result})`;
|
|
@@ -1117,7 +1388,7 @@ var require_to_regex_range = __commonJS({
|
|
|
1117
1388
|
return `(?:${result})`;
|
|
1118
1389
|
}
|
|
1119
1390
|
let isPadded = hasPadding(min) || hasPadding(max);
|
|
1120
|
-
let state = { min, max, a, b
|
|
1391
|
+
let state = { min, max, a, b };
|
|
1121
1392
|
let positives = [];
|
|
1122
1393
|
let negatives = [];
|
|
1123
1394
|
if (isPadded) {
|
|
@@ -1125,12 +1396,12 @@ var require_to_regex_range = __commonJS({
|
|
|
1125
1396
|
state.maxLen = String(state.max).length;
|
|
1126
1397
|
}
|
|
1127
1398
|
if (a < 0) {
|
|
1128
|
-
let newMin =
|
|
1399
|
+
let newMin = b < 0 ? Math.abs(b) : 1;
|
|
1129
1400
|
negatives = splitToPatterns(newMin, Math.abs(a), state, opts);
|
|
1130
1401
|
a = state.a = 0;
|
|
1131
1402
|
}
|
|
1132
|
-
if (
|
|
1133
|
-
positives = splitToPatterns(a,
|
|
1403
|
+
if (b >= 0) {
|
|
1404
|
+
positives = splitToPatterns(a, b, state, opts);
|
|
1134
1405
|
}
|
|
1135
1406
|
state.negatives = negatives;
|
|
1136
1407
|
state.positives = positives;
|
|
@@ -1234,13 +1505,13 @@ var require_to_regex_range = __commonJS({
|
|
|
1234
1505
|
}
|
|
1235
1506
|
return result;
|
|
1236
1507
|
}
|
|
1237
|
-
function zip(a,
|
|
1508
|
+
function zip(a, b) {
|
|
1238
1509
|
let arr = [];
|
|
1239
|
-
for (let i = 0; i < a.length; i++) arr.push([a[i],
|
|
1510
|
+
for (let i = 0; i < a.length; i++) arr.push([a[i], b[i]]);
|
|
1240
1511
|
return arr;
|
|
1241
1512
|
}
|
|
1242
|
-
function compare(a,
|
|
1243
|
-
return a >
|
|
1513
|
+
function compare(a, b) {
|
|
1514
|
+
return a > b ? 1 : b > a ? -1 : 0;
|
|
1244
1515
|
}
|
|
1245
1516
|
function contains(arr, key, val) {
|
|
1246
1517
|
return arr.some((ele) => ele[key] === val);
|
|
@@ -1258,8 +1529,8 @@ var require_to_regex_range = __commonJS({
|
|
|
1258
1529
|
}
|
|
1259
1530
|
return "";
|
|
1260
1531
|
}
|
|
1261
|
-
function toCharacterClass(a,
|
|
1262
|
-
return `[${a}${
|
|
1532
|
+
function toCharacterClass(a, b, options) {
|
|
1533
|
+
return `[${a}${b - a === 1 ? "" : "-"}${b}]`;
|
|
1263
1534
|
}
|
|
1264
1535
|
function hasPadding(str) {
|
|
1265
1536
|
return /^-?(0+)\d/.test(str);
|
|
@@ -1292,7 +1563,7 @@ var require_to_regex_range = __commonJS({
|
|
|
1292
1563
|
var require_fill_range = __commonJS({
|
|
1293
1564
|
"node_modules/.bun/fill-range@7.1.1/node_modules/fill-range/index.js"(exports, module) {
|
|
1294
1565
|
"use strict";
|
|
1295
|
-
|
|
1566
|
+
init_utils2();
|
|
1296
1567
|
var util = __require("util");
|
|
1297
1568
|
var toRegexRange = require_to_regex_range();
|
|
1298
1569
|
var isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
|
|
@@ -1338,8 +1609,8 @@ var require_fill_range = __commonJS({
|
|
|
1338
1609
|
return negative ? "-" + input : input;
|
|
1339
1610
|
};
|
|
1340
1611
|
var toSequence = (parts, options, maxLen) => {
|
|
1341
|
-
parts.negatives.sort((a,
|
|
1342
|
-
parts.positives.sort((a,
|
|
1612
|
+
parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
|
|
1613
|
+
parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
|
|
1343
1614
|
let prefix = options.capture ? "" : "?:";
|
|
1344
1615
|
let positives = "";
|
|
1345
1616
|
let negatives = "";
|
|
@@ -1360,13 +1631,13 @@ var require_fill_range = __commonJS({
|
|
|
1360
1631
|
}
|
|
1361
1632
|
return result;
|
|
1362
1633
|
};
|
|
1363
|
-
var toRange = (a,
|
|
1634
|
+
var toRange = (a, b, isNumbers, options) => {
|
|
1364
1635
|
if (isNumbers) {
|
|
1365
|
-
return toRegexRange(a,
|
|
1636
|
+
return toRegexRange(a, b, { wrap: false, ...options });
|
|
1366
1637
|
}
|
|
1367
1638
|
let start = String.fromCharCode(a);
|
|
1368
|
-
if (a ===
|
|
1369
|
-
let stop = String.fromCharCode(
|
|
1639
|
+
if (a === b) return start;
|
|
1640
|
+
let stop = String.fromCharCode(b);
|
|
1370
1641
|
return `[${start}-${stop}]`;
|
|
1371
1642
|
};
|
|
1372
1643
|
var toRegex = (start, end, options) => {
|
|
@@ -1392,14 +1663,14 @@ var require_fill_range = __commonJS({
|
|
|
1392
1663
|
};
|
|
1393
1664
|
var fillNumbers = (start, end, step = 1, options = {}) => {
|
|
1394
1665
|
let a = Number(start);
|
|
1395
|
-
let
|
|
1396
|
-
if (!Number.isInteger(a) || !Number.isInteger(
|
|
1666
|
+
let b = Number(end);
|
|
1667
|
+
if (!Number.isInteger(a) || !Number.isInteger(b)) {
|
|
1397
1668
|
if (options.strictRanges === true) throw rangeError([start, end]);
|
|
1398
1669
|
return [];
|
|
1399
1670
|
}
|
|
1400
1671
|
if (a === 0) a = 0;
|
|
1401
|
-
if (
|
|
1402
|
-
let descending = a >
|
|
1672
|
+
if (b === 0) b = 0;
|
|
1673
|
+
let descending = a > b;
|
|
1403
1674
|
let startString = String(start);
|
|
1404
1675
|
let endString = String(end);
|
|
1405
1676
|
let stepString = String(step);
|
|
@@ -1415,7 +1686,7 @@ var require_fill_range = __commonJS({
|
|
|
1415
1686
|
let push = (num) => parts[num < 0 ? "negatives" : "positives"].push(Math.abs(num));
|
|
1416
1687
|
let range = [];
|
|
1417
1688
|
let index = 0;
|
|
1418
|
-
while (descending ? a >=
|
|
1689
|
+
while (descending ? a >= b : a <= b) {
|
|
1419
1690
|
if (options.toRegex === true && step > 1) {
|
|
1420
1691
|
push(a);
|
|
1421
1692
|
} else {
|
|
@@ -1435,16 +1706,16 @@ var require_fill_range = __commonJS({
|
|
|
1435
1706
|
}
|
|
1436
1707
|
let format = options.transform || ((val) => String.fromCharCode(val));
|
|
1437
1708
|
let a = `${start}`.charCodeAt(0);
|
|
1438
|
-
let
|
|
1439
|
-
let descending = a >
|
|
1440
|
-
let min = Math.min(a,
|
|
1441
|
-
let max = Math.max(a,
|
|
1709
|
+
let b = `${end}`.charCodeAt(0);
|
|
1710
|
+
let descending = a > b;
|
|
1711
|
+
let min = Math.min(a, b);
|
|
1712
|
+
let max = Math.max(a, b);
|
|
1442
1713
|
if (options.toRegex && step === 1) {
|
|
1443
1714
|
return toRange(min, max, false, options);
|
|
1444
1715
|
}
|
|
1445
1716
|
let range = [];
|
|
1446
1717
|
let index = 0;
|
|
1447
|
-
while (descending ? a >=
|
|
1718
|
+
while (descending ? a >= b : a <= b) {
|
|
1448
1719
|
range.push(format(a, index));
|
|
1449
1720
|
a = descending ? a - step : a + step;
|
|
1450
1721
|
index++;
|
|
@@ -1487,7 +1758,7 @@ var require_fill_range = __commonJS({
|
|
|
1487
1758
|
var require_compile = __commonJS({
|
|
1488
1759
|
"node_modules/.bun/braces@3.0.3/node_modules/braces/lib/compile.js"(exports, module) {
|
|
1489
1760
|
"use strict";
|
|
1490
|
-
|
|
1761
|
+
init_utils2();
|
|
1491
1762
|
var fill = require_fill_range();
|
|
1492
1763
|
var utils = require_utils();
|
|
1493
1764
|
var compile = (ast, options = {}) => {
|
|
@@ -1539,7 +1810,7 @@ var require_compile = __commonJS({
|
|
|
1539
1810
|
var require_expand = __commonJS({
|
|
1540
1811
|
"node_modules/.bun/braces@3.0.3/node_modules/braces/lib/expand.js"(exports, module) {
|
|
1541
1812
|
"use strict";
|
|
1542
|
-
|
|
1813
|
+
init_utils2();
|
|
1543
1814
|
var fill = require_fill_range();
|
|
1544
1815
|
var stringify2 = require_stringify();
|
|
1545
1816
|
var utils = require_utils();
|
|
@@ -1634,7 +1905,7 @@ var require_expand = __commonJS({
|
|
|
1634
1905
|
var require_constants = __commonJS({
|
|
1635
1906
|
"node_modules/.bun/braces@3.0.3/node_modules/braces/lib/constants.js"(exports, module) {
|
|
1636
1907
|
"use strict";
|
|
1637
|
-
|
|
1908
|
+
init_utils2();
|
|
1638
1909
|
module.exports = {
|
|
1639
1910
|
MAX_LENGTH: 1e4,
|
|
1640
1911
|
// Digits
|
|
@@ -1736,7 +2007,7 @@ var require_constants = __commonJS({
|
|
|
1736
2007
|
var require_parse = __commonJS({
|
|
1737
2008
|
"node_modules/.bun/braces@3.0.3/node_modules/braces/lib/parse.js"(exports, module) {
|
|
1738
2009
|
"use strict";
|
|
1739
|
-
|
|
2010
|
+
init_utils2();
|
|
1740
2011
|
var stringify2 = require_stringify();
|
|
1741
2012
|
var {
|
|
1742
2013
|
MAX_LENGTH,
|
|
@@ -1975,7 +2246,7 @@ var require_parse = __commonJS({
|
|
|
1975
2246
|
var require_braces = __commonJS({
|
|
1976
2247
|
"node_modules/.bun/braces@3.0.3/node_modules/braces/index.js"(exports, module) {
|
|
1977
2248
|
"use strict";
|
|
1978
|
-
|
|
2249
|
+
init_utils2();
|
|
1979
2250
|
var stringify2 = require_stringify();
|
|
1980
2251
|
var compile = require_compile();
|
|
1981
2252
|
var expand = require_expand();
|
|
@@ -2039,7 +2310,7 @@ var require_braces = __commonJS({
|
|
|
2039
2310
|
var require_constants2 = __commonJS({
|
|
2040
2311
|
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/constants.js"(exports, module) {
|
|
2041
2312
|
"use strict";
|
|
2042
|
-
|
|
2313
|
+
init_utils2();
|
|
2043
2314
|
var path = __require("path");
|
|
2044
2315
|
var WIN_SLASH = "\\\\/";
|
|
2045
2316
|
var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
@@ -2241,7 +2512,7 @@ var require_constants2 = __commonJS({
|
|
|
2241
2512
|
var require_utils2 = __commonJS({
|
|
2242
2513
|
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/utils.js"(exports) {
|
|
2243
2514
|
"use strict";
|
|
2244
|
-
|
|
2515
|
+
init_utils2();
|
|
2245
2516
|
var path = __require("path");
|
|
2246
2517
|
var win32 = process.platform === "win32";
|
|
2247
2518
|
var {
|
|
@@ -2303,7 +2574,7 @@ var require_utils2 = __commonJS({
|
|
|
2303
2574
|
var require_scan = __commonJS({
|
|
2304
2575
|
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/scan.js"(exports, module) {
|
|
2305
2576
|
"use strict";
|
|
2306
|
-
|
|
2577
|
+
init_utils2();
|
|
2307
2578
|
var utils = require_utils2();
|
|
2308
2579
|
var {
|
|
2309
2580
|
CHAR_ASTERISK,
|
|
@@ -2634,7 +2905,7 @@ var require_scan = __commonJS({
|
|
|
2634
2905
|
var require_parse2 = __commonJS({
|
|
2635
2906
|
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/parse.js"(exports, module) {
|
|
2636
2907
|
"use strict";
|
|
2637
|
-
|
|
2908
|
+
init_utils2();
|
|
2638
2909
|
var constants2 = require_constants2();
|
|
2639
2910
|
var utils = require_utils2();
|
|
2640
2911
|
var {
|
|
@@ -2740,14 +3011,14 @@ var require_parse2 = __commonJS({
|
|
|
2740
3011
|
var hasRepeatedCharPrefixOverlap = (branches) => {
|
|
2741
3012
|
const values = branches.map(normalizeSimpleBranch).filter(Boolean);
|
|
2742
3013
|
for (let i = 0; i < values.length; i++) {
|
|
2743
|
-
for (let
|
|
3014
|
+
for (let j = i + 1; j < values.length; j++) {
|
|
2744
3015
|
const a = values[i];
|
|
2745
|
-
const
|
|
3016
|
+
const b = values[j];
|
|
2746
3017
|
const char = a[0];
|
|
2747
|
-
if (!char || a !== char.repeat(a.length) ||
|
|
3018
|
+
if (!char || a !== char.repeat(a.length) || b !== char.repeat(b.length)) {
|
|
2748
3019
|
continue;
|
|
2749
3020
|
}
|
|
2750
|
-
if (a ===
|
|
3021
|
+
if (a === b || a.startsWith(b) || b.startsWith(a)) {
|
|
2751
3022
|
return true;
|
|
2752
3023
|
}
|
|
2753
3024
|
}
|
|
@@ -3280,8 +3551,8 @@ var require_parse2 = __commonJS({
|
|
|
3280
3551
|
brace.value = brace.output = "\\{";
|
|
3281
3552
|
value = output = "\\}";
|
|
3282
3553
|
state.output = out;
|
|
3283
|
-
for (const
|
|
3284
|
-
state.output +=
|
|
3554
|
+
for (const t2 of toks) {
|
|
3555
|
+
state.output += t2.output || t2.value;
|
|
3285
3556
|
}
|
|
3286
3557
|
}
|
|
3287
3558
|
push({ type: "brace", value, output });
|
|
@@ -3637,7 +3908,7 @@ var require_parse2 = __commonJS({
|
|
|
3637
3908
|
var require_picomatch = __commonJS({
|
|
3638
3909
|
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js"(exports, module) {
|
|
3639
3910
|
"use strict";
|
|
3640
|
-
|
|
3911
|
+
init_utils2();
|
|
3641
3912
|
var path = __require("path");
|
|
3642
3913
|
var scan = require_scan();
|
|
3643
3914
|
var parse2 = require_parse2();
|
|
@@ -3779,7 +4050,7 @@ var require_picomatch = __commonJS({
|
|
|
3779
4050
|
var require_picomatch2 = __commonJS({
|
|
3780
4051
|
"node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/index.js"(exports, module) {
|
|
3781
4052
|
"use strict";
|
|
3782
|
-
|
|
4053
|
+
init_utils2();
|
|
3783
4054
|
module.exports = require_picomatch();
|
|
3784
4055
|
}
|
|
3785
4056
|
});
|
|
@@ -3788,7 +4059,7 @@ var require_picomatch2 = __commonJS({
|
|
|
3788
4059
|
var require_micromatch = __commonJS({
|
|
3789
4060
|
"node_modules/.bun/micromatch@4.0.8/node_modules/micromatch/index.js"(exports, module) {
|
|
3790
4061
|
"use strict";
|
|
3791
|
-
|
|
4062
|
+
init_utils2();
|
|
3792
4063
|
var util = __require("util");
|
|
3793
4064
|
var braces = require_braces();
|
|
3794
4065
|
var picomatch = require_picomatch2();
|
|
@@ -3950,7 +4221,7 @@ var require_micromatch = __commonJS({
|
|
|
3950
4221
|
var require_pattern = __commonJS({
|
|
3951
4222
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js"(exports) {
|
|
3952
4223
|
"use strict";
|
|
3953
|
-
|
|
4224
|
+
init_utils2();
|
|
3954
4225
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3955
4226
|
exports.isAbsolute = exports.partitionAbsoluteAndRelative = exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
|
|
3956
4227
|
var path = __require("path");
|
|
@@ -4060,7 +4331,7 @@ var require_pattern = __commonJS({
|
|
|
4060
4331
|
exports.expandPatternsWithBraceExpansion = expandPatternsWithBraceExpansion;
|
|
4061
4332
|
function expandBraceExpansion(pattern) {
|
|
4062
4333
|
const patterns = micromatch.braces(pattern, { expand: true, nodupes: true, keepEscaping: true });
|
|
4063
|
-
patterns.sort((a,
|
|
4334
|
+
patterns.sort((a, b) => a.length - b.length);
|
|
4064
4335
|
return patterns.filter((pattern2) => pattern2 !== "");
|
|
4065
4336
|
}
|
|
4066
4337
|
exports.expandBraceExpansion = expandBraceExpansion;
|
|
@@ -4116,7 +4387,7 @@ var require_pattern = __commonJS({
|
|
|
4116
4387
|
var require_merge2 = __commonJS({
|
|
4117
4388
|
"node_modules/.bun/merge2@1.4.1/node_modules/merge2/index.js"(exports, module) {
|
|
4118
4389
|
"use strict";
|
|
4119
|
-
|
|
4390
|
+
init_utils2();
|
|
4120
4391
|
var Stream = __require("stream");
|
|
4121
4392
|
var PassThrough = Stream.PassThrough;
|
|
4122
4393
|
var slice = Array.prototype.slice;
|
|
@@ -4236,7 +4507,7 @@ var require_merge2 = __commonJS({
|
|
|
4236
4507
|
var require_stream = __commonJS({
|
|
4237
4508
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js"(exports) {
|
|
4238
4509
|
"use strict";
|
|
4239
|
-
|
|
4510
|
+
init_utils2();
|
|
4240
4511
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4241
4512
|
exports.merge = void 0;
|
|
4242
4513
|
var merge2 = require_merge2();
|
|
@@ -4260,7 +4531,7 @@ var require_stream = __commonJS({
|
|
|
4260
4531
|
var require_string = __commonJS({
|
|
4261
4532
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js"(exports) {
|
|
4262
4533
|
"use strict";
|
|
4263
|
-
|
|
4534
|
+
init_utils2();
|
|
4264
4535
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4265
4536
|
exports.isEmpty = exports.isString = void 0;
|
|
4266
4537
|
function isString(input) {
|
|
@@ -4278,7 +4549,7 @@ var require_string = __commonJS({
|
|
|
4278
4549
|
var require_utils3 = __commonJS({
|
|
4279
4550
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js"(exports) {
|
|
4280
4551
|
"use strict";
|
|
4281
|
-
|
|
4552
|
+
init_utils2();
|
|
4282
4553
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4283
4554
|
exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;
|
|
4284
4555
|
var array = require_array();
|
|
@@ -4302,7 +4573,7 @@ var require_utils3 = __commonJS({
|
|
|
4302
4573
|
var require_tasks = __commonJS({
|
|
4303
4574
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js"(exports) {
|
|
4304
4575
|
"use strict";
|
|
4305
|
-
|
|
4576
|
+
init_utils2();
|
|
4306
4577
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4307
4578
|
exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
|
|
4308
4579
|
var utils = require_utils3();
|
|
@@ -4399,7 +4670,7 @@ var require_tasks = __commonJS({
|
|
|
4399
4670
|
var require_async = __commonJS({
|
|
4400
4671
|
"node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js"(exports) {
|
|
4401
4672
|
"use strict";
|
|
4402
|
-
|
|
4673
|
+
init_utils2();
|
|
4403
4674
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4404
4675
|
exports.read = void 0;
|
|
4405
4676
|
function read(path, settings, callback) {
|
|
@@ -4442,7 +4713,7 @@ var require_async = __commonJS({
|
|
|
4442
4713
|
var require_sync = __commonJS({
|
|
4443
4714
|
"node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js"(exports) {
|
|
4444
4715
|
"use strict";
|
|
4445
|
-
|
|
4716
|
+
init_utils2();
|
|
4446
4717
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4447
4718
|
exports.read = void 0;
|
|
4448
4719
|
function read(path, settings) {
|
|
@@ -4471,7 +4742,7 @@ var require_sync = __commonJS({
|
|
|
4471
4742
|
var require_fs2 = __commonJS({
|
|
4472
4743
|
"node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js"(exports) {
|
|
4473
4744
|
"use strict";
|
|
4474
|
-
|
|
4745
|
+
init_utils2();
|
|
4475
4746
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4476
4747
|
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
4477
4748
|
var fs2 = __require("fs");
|
|
@@ -4495,7 +4766,7 @@ var require_fs2 = __commonJS({
|
|
|
4495
4766
|
var require_settings = __commonJS({
|
|
4496
4767
|
"node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.js"(exports) {
|
|
4497
4768
|
"use strict";
|
|
4498
|
-
|
|
4769
|
+
init_utils2();
|
|
4499
4770
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4500
4771
|
var fs2 = require_fs2();
|
|
4501
4772
|
var Settings = class {
|
|
@@ -4518,7 +4789,7 @@ var require_settings = __commonJS({
|
|
|
4518
4789
|
var require_out = __commonJS({
|
|
4519
4790
|
"node_modules/.bun/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js"(exports) {
|
|
4520
4791
|
"use strict";
|
|
4521
|
-
|
|
4792
|
+
init_utils2();
|
|
4522
4793
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4523
4794
|
exports.statSync = exports.stat = exports.Settings = void 0;
|
|
4524
4795
|
var async = require_async();
|
|
@@ -4550,7 +4821,7 @@ var require_out = __commonJS({
|
|
|
4550
4821
|
// node_modules/.bun/queue-microtask@1.2.3/node_modules/queue-microtask/index.js
|
|
4551
4822
|
var require_queue_microtask = __commonJS({
|
|
4552
4823
|
"node_modules/.bun/queue-microtask@1.2.3/node_modules/queue-microtask/index.js"(exports, module) {
|
|
4553
|
-
|
|
4824
|
+
init_utils2();
|
|
4554
4825
|
var promise;
|
|
4555
4826
|
module.exports = typeof queueMicrotask === "function" ? queueMicrotask.bind(typeof window !== "undefined" ? window : global) : (cb) => (promise || (promise = Promise.resolve())).then(cb).catch((err) => setTimeout(() => {
|
|
4556
4827
|
throw err;
|
|
@@ -4561,7 +4832,7 @@ var require_queue_microtask = __commonJS({
|
|
|
4561
4832
|
// node_modules/.bun/run-parallel@1.2.0/node_modules/run-parallel/index.js
|
|
4562
4833
|
var require_run_parallel = __commonJS({
|
|
4563
4834
|
"node_modules/.bun/run-parallel@1.2.0/node_modules/run-parallel/index.js"(exports, module) {
|
|
4564
|
-
|
|
4835
|
+
init_utils2();
|
|
4565
4836
|
module.exports = runParallel;
|
|
4566
4837
|
var queueMicrotask2 = require_queue_microtask();
|
|
4567
4838
|
function runParallel(tasks, cb) {
|
|
@@ -4613,7 +4884,7 @@ var require_run_parallel = __commonJS({
|
|
|
4613
4884
|
var require_constants3 = __commonJS({
|
|
4614
4885
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js"(exports) {
|
|
4615
4886
|
"use strict";
|
|
4616
|
-
|
|
4887
|
+
init_utils2();
|
|
4617
4888
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4618
4889
|
exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
|
|
4619
4890
|
var NODE_PROCESS_VERSION_PARTS = process.versions.node.split(".");
|
|
@@ -4634,7 +4905,7 @@ var require_constants3 = __commonJS({
|
|
|
4634
4905
|
var require_fs3 = __commonJS({
|
|
4635
4906
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js"(exports) {
|
|
4636
4907
|
"use strict";
|
|
4637
|
-
|
|
4908
|
+
init_utils2();
|
|
4638
4909
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4639
4910
|
exports.createDirentFromStats = void 0;
|
|
4640
4911
|
var DirentFromStats = class {
|
|
@@ -4660,7 +4931,7 @@ var require_fs3 = __commonJS({
|
|
|
4660
4931
|
var require_utils4 = __commonJS({
|
|
4661
4932
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js"(exports) {
|
|
4662
4933
|
"use strict";
|
|
4663
|
-
|
|
4934
|
+
init_utils2();
|
|
4664
4935
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4665
4936
|
exports.fs = void 0;
|
|
4666
4937
|
var fs2 = require_fs3();
|
|
@@ -4672,14 +4943,14 @@ var require_utils4 = __commonJS({
|
|
|
4672
4943
|
var require_common = __commonJS({
|
|
4673
4944
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js"(exports) {
|
|
4674
4945
|
"use strict";
|
|
4675
|
-
|
|
4946
|
+
init_utils2();
|
|
4676
4947
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4677
4948
|
exports.joinPathSegments = void 0;
|
|
4678
|
-
function joinPathSegments(a,
|
|
4949
|
+
function joinPathSegments(a, b, separator) {
|
|
4679
4950
|
if (a.endsWith(separator)) {
|
|
4680
|
-
return a +
|
|
4951
|
+
return a + b;
|
|
4681
4952
|
}
|
|
4682
|
-
return a + separator +
|
|
4953
|
+
return a + separator + b;
|
|
4683
4954
|
}
|
|
4684
4955
|
exports.joinPathSegments = joinPathSegments;
|
|
4685
4956
|
}
|
|
@@ -4689,7 +4960,7 @@ var require_common = __commonJS({
|
|
|
4689
4960
|
var require_async2 = __commonJS({
|
|
4690
4961
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js"(exports) {
|
|
4691
4962
|
"use strict";
|
|
4692
|
-
|
|
4963
|
+
init_utils2();
|
|
4693
4964
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4694
4965
|
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
|
|
4695
4966
|
var fsStat = require_out();
|
|
@@ -4800,7 +5071,7 @@ var require_async2 = __commonJS({
|
|
|
4800
5071
|
var require_sync2 = __commonJS({
|
|
4801
5072
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js"(exports) {
|
|
4802
5073
|
"use strict";
|
|
4803
|
-
|
|
5074
|
+
init_utils2();
|
|
4804
5075
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4805
5076
|
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
|
|
4806
5077
|
var fsStat = require_out();
|
|
@@ -4860,7 +5131,7 @@ var require_sync2 = __commonJS({
|
|
|
4860
5131
|
var require_fs4 = __commonJS({
|
|
4861
5132
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js"(exports) {
|
|
4862
5133
|
"use strict";
|
|
4863
|
-
|
|
5134
|
+
init_utils2();
|
|
4864
5135
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4865
5136
|
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
4866
5137
|
var fs2 = __require("fs");
|
|
@@ -4886,7 +5157,7 @@ var require_fs4 = __commonJS({
|
|
|
4886
5157
|
var require_settings2 = __commonJS({
|
|
4887
5158
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.js"(exports) {
|
|
4888
5159
|
"use strict";
|
|
4889
|
-
|
|
5160
|
+
init_utils2();
|
|
4890
5161
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4891
5162
|
var path = __require("path");
|
|
4892
5163
|
var fsStat = require_out();
|
|
@@ -4917,7 +5188,7 @@ var require_settings2 = __commonJS({
|
|
|
4917
5188
|
var require_out2 = __commonJS({
|
|
4918
5189
|
"node_modules/.bun/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js"(exports) {
|
|
4919
5190
|
"use strict";
|
|
4920
|
-
|
|
5191
|
+
init_utils2();
|
|
4921
5192
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4922
5193
|
exports.Settings = exports.scandirSync = exports.scandir = void 0;
|
|
4923
5194
|
var async = require_async2();
|
|
@@ -4950,7 +5221,7 @@ var require_out2 = __commonJS({
|
|
|
4950
5221
|
var require_reusify = __commonJS({
|
|
4951
5222
|
"node_modules/.bun/reusify@1.1.0/node_modules/reusify/reusify.js"(exports, module) {
|
|
4952
5223
|
"use strict";
|
|
4953
|
-
|
|
5224
|
+
init_utils2();
|
|
4954
5225
|
function reusify(Constructor) {
|
|
4955
5226
|
var head = new Constructor();
|
|
4956
5227
|
var tail = head;
|
|
@@ -4982,7 +5253,7 @@ var require_reusify = __commonJS({
|
|
|
4982
5253
|
var require_queue = __commonJS({
|
|
4983
5254
|
"node_modules/.bun/fastq@1.20.1/node_modules/fastq/queue.js"(exports, module) {
|
|
4984
5255
|
"use strict";
|
|
4985
|
-
|
|
5256
|
+
init_utils2();
|
|
4986
5257
|
var reusify = require_reusify();
|
|
4987
5258
|
function fastqueue(context, worker, _concurrency) {
|
|
4988
5259
|
if (typeof context === "function") {
|
|
@@ -5267,7 +5538,7 @@ var require_queue = __commonJS({
|
|
|
5267
5538
|
var require_common2 = __commonJS({
|
|
5268
5539
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js"(exports) {
|
|
5269
5540
|
"use strict";
|
|
5270
|
-
|
|
5541
|
+
init_utils2();
|
|
5271
5542
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5272
5543
|
exports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;
|
|
5273
5544
|
function isFatalError(settings, error2) {
|
|
@@ -5285,14 +5556,14 @@ var require_common2 = __commonJS({
|
|
|
5285
5556
|
return filepath.split(/[/\\]/).join(separator);
|
|
5286
5557
|
}
|
|
5287
5558
|
exports.replacePathSegmentSeparator = replacePathSegmentSeparator;
|
|
5288
|
-
function joinPathSegments(a,
|
|
5559
|
+
function joinPathSegments(a, b, separator) {
|
|
5289
5560
|
if (a === "") {
|
|
5290
|
-
return
|
|
5561
|
+
return b;
|
|
5291
5562
|
}
|
|
5292
5563
|
if (a.endsWith(separator)) {
|
|
5293
|
-
return a +
|
|
5564
|
+
return a + b;
|
|
5294
5565
|
}
|
|
5295
|
-
return a + separator +
|
|
5566
|
+
return a + separator + b;
|
|
5296
5567
|
}
|
|
5297
5568
|
exports.joinPathSegments = joinPathSegments;
|
|
5298
5569
|
}
|
|
@@ -5302,7 +5573,7 @@ var require_common2 = __commonJS({
|
|
|
5302
5573
|
var require_reader = __commonJS({
|
|
5303
5574
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.js"(exports) {
|
|
5304
5575
|
"use strict";
|
|
5305
|
-
|
|
5576
|
+
init_utils2();
|
|
5306
5577
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5307
5578
|
var common = require_common2();
|
|
5308
5579
|
var Reader = class {
|
|
@@ -5320,7 +5591,7 @@ var require_reader = __commonJS({
|
|
|
5320
5591
|
var require_async3 = __commonJS({
|
|
5321
5592
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.js"(exports) {
|
|
5322
5593
|
"use strict";
|
|
5323
|
-
|
|
5594
|
+
init_utils2();
|
|
5324
5595
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5325
5596
|
var events_1 = __require("events");
|
|
5326
5597
|
var fsScandir = require_out2();
|
|
@@ -5424,7 +5695,7 @@ var require_async3 = __commonJS({
|
|
|
5424
5695
|
var require_async4 = __commonJS({
|
|
5425
5696
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.js"(exports) {
|
|
5426
5697
|
"use strict";
|
|
5427
|
-
|
|
5698
|
+
init_utils2();
|
|
5428
5699
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5429
5700
|
var async_1 = require_async3();
|
|
5430
5701
|
var AsyncProvider = class {
|
|
@@ -5461,7 +5732,7 @@ var require_async4 = __commonJS({
|
|
|
5461
5732
|
var require_stream2 = __commonJS({
|
|
5462
5733
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.js"(exports) {
|
|
5463
5734
|
"use strict";
|
|
5464
|
-
|
|
5735
|
+
init_utils2();
|
|
5465
5736
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5466
5737
|
var stream_1 = __require("stream");
|
|
5467
5738
|
var async_1 = require_async3();
|
|
@@ -5503,7 +5774,7 @@ var require_stream2 = __commonJS({
|
|
|
5503
5774
|
var require_sync3 = __commonJS({
|
|
5504
5775
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.js"(exports) {
|
|
5505
5776
|
"use strict";
|
|
5506
|
-
|
|
5777
|
+
init_utils2();
|
|
5507
5778
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5508
5779
|
var fsScandir = require_out2();
|
|
5509
5780
|
var common = require_common2();
|
|
@@ -5568,7 +5839,7 @@ var require_sync3 = __commonJS({
|
|
|
5568
5839
|
var require_sync4 = __commonJS({
|
|
5569
5840
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.js"(exports) {
|
|
5570
5841
|
"use strict";
|
|
5571
|
-
|
|
5842
|
+
init_utils2();
|
|
5572
5843
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5573
5844
|
var sync_1 = require_sync3();
|
|
5574
5845
|
var SyncProvider = class {
|
|
@@ -5589,7 +5860,7 @@ var require_sync4 = __commonJS({
|
|
|
5589
5860
|
var require_settings3 = __commonJS({
|
|
5590
5861
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.js"(exports) {
|
|
5591
5862
|
"use strict";
|
|
5592
|
-
|
|
5863
|
+
init_utils2();
|
|
5593
5864
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5594
5865
|
var path = __require("path");
|
|
5595
5866
|
var fsScandir = require_out2();
|
|
@@ -5622,7 +5893,7 @@ var require_settings3 = __commonJS({
|
|
|
5622
5893
|
var require_out3 = __commonJS({
|
|
5623
5894
|
"node_modules/.bun/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js"(exports) {
|
|
5624
5895
|
"use strict";
|
|
5625
|
-
|
|
5896
|
+
init_utils2();
|
|
5626
5897
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5627
5898
|
exports.Settings = exports.walkStream = exports.walkSync = exports.walk = void 0;
|
|
5628
5899
|
var async_1 = require_async4();
|
|
@@ -5663,7 +5934,7 @@ var require_out3 = __commonJS({
|
|
|
5663
5934
|
var require_reader2 = __commonJS({
|
|
5664
5935
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js"(exports) {
|
|
5665
5936
|
"use strict";
|
|
5666
|
-
|
|
5937
|
+
init_utils2();
|
|
5667
5938
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5668
5939
|
var path = __require("path");
|
|
5669
5940
|
var fsStat = require_out();
|
|
@@ -5703,7 +5974,7 @@ var require_reader2 = __commonJS({
|
|
|
5703
5974
|
var require_stream3 = __commonJS({
|
|
5704
5975
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.js"(exports) {
|
|
5705
5976
|
"use strict";
|
|
5706
|
-
|
|
5977
|
+
init_utils2();
|
|
5707
5978
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5708
5979
|
var stream_1 = __require("stream");
|
|
5709
5980
|
var fsStat = require_out();
|
|
@@ -5761,7 +6032,7 @@ var require_stream3 = __commonJS({
|
|
|
5761
6032
|
var require_async5 = __commonJS({
|
|
5762
6033
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.js"(exports) {
|
|
5763
6034
|
"use strict";
|
|
5764
|
-
|
|
6035
|
+
init_utils2();
|
|
5765
6036
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5766
6037
|
var fsWalk = require_out3();
|
|
5767
6038
|
var reader_1 = require_reader2();
|
|
@@ -5801,7 +6072,7 @@ var require_async5 = __commonJS({
|
|
|
5801
6072
|
var require_matcher = __commonJS({
|
|
5802
6073
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.js"(exports) {
|
|
5803
6074
|
"use strict";
|
|
5804
|
-
|
|
6075
|
+
init_utils2();
|
|
5805
6076
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5806
6077
|
var utils = require_utils3();
|
|
5807
6078
|
var Matcher = class {
|
|
@@ -5853,7 +6124,7 @@ var require_matcher = __commonJS({
|
|
|
5853
6124
|
var require_partial = __commonJS({
|
|
5854
6125
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.js"(exports) {
|
|
5855
6126
|
"use strict";
|
|
5856
|
-
|
|
6127
|
+
init_utils2();
|
|
5857
6128
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5858
6129
|
var matcher_1 = require_matcher();
|
|
5859
6130
|
var PartialMatcher = class extends matcher_1.default {
|
|
@@ -5891,7 +6162,7 @@ var require_partial = __commonJS({
|
|
|
5891
6162
|
var require_deep = __commonJS({
|
|
5892
6163
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.js"(exports) {
|
|
5893
6164
|
"use strict";
|
|
5894
|
-
|
|
6165
|
+
init_utils2();
|
|
5895
6166
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5896
6167
|
var utils = require_utils3();
|
|
5897
6168
|
var partial_1 = require_partial();
|
|
@@ -5957,7 +6228,7 @@ var require_deep = __commonJS({
|
|
|
5957
6228
|
var require_entry = __commonJS({
|
|
5958
6229
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.js"(exports) {
|
|
5959
6230
|
"use strict";
|
|
5960
|
-
|
|
6231
|
+
init_utils2();
|
|
5961
6232
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5962
6233
|
var utils = require_utils3();
|
|
5963
6234
|
var EntryFilter = class {
|
|
@@ -6046,7 +6317,7 @@ var require_entry = __commonJS({
|
|
|
6046
6317
|
var require_error = __commonJS({
|
|
6047
6318
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.js"(exports) {
|
|
6048
6319
|
"use strict";
|
|
6049
|
-
|
|
6320
|
+
init_utils2();
|
|
6050
6321
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6051
6322
|
var utils = require_utils3();
|
|
6052
6323
|
var ErrorFilter = class {
|
|
@@ -6068,7 +6339,7 @@ var require_error = __commonJS({
|
|
|
6068
6339
|
var require_entry2 = __commonJS({
|
|
6069
6340
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.js"(exports) {
|
|
6070
6341
|
"use strict";
|
|
6071
|
-
|
|
6342
|
+
init_utils2();
|
|
6072
6343
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6073
6344
|
var utils = require_utils3();
|
|
6074
6345
|
var EntryTransformer = class {
|
|
@@ -6101,7 +6372,7 @@ var require_entry2 = __commonJS({
|
|
|
6101
6372
|
var require_provider = __commonJS({
|
|
6102
6373
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js"(exports) {
|
|
6103
6374
|
"use strict";
|
|
6104
|
-
|
|
6375
|
+
init_utils2();
|
|
6105
6376
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6106
6377
|
var path = __require("path");
|
|
6107
6378
|
var deep_1 = require_deep();
|
|
@@ -6156,7 +6427,7 @@ var require_provider = __commonJS({
|
|
|
6156
6427
|
var require_async6 = __commonJS({
|
|
6157
6428
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.js"(exports) {
|
|
6158
6429
|
"use strict";
|
|
6159
|
-
|
|
6430
|
+
init_utils2();
|
|
6160
6431
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6161
6432
|
var async_1 = require_async5();
|
|
6162
6433
|
var provider_1 = require_provider();
|
|
@@ -6186,7 +6457,7 @@ var require_async6 = __commonJS({
|
|
|
6186
6457
|
var require_stream4 = __commonJS({
|
|
6187
6458
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.js"(exports) {
|
|
6188
6459
|
"use strict";
|
|
6189
|
-
|
|
6460
|
+
init_utils2();
|
|
6190
6461
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6191
6462
|
var stream_1 = __require("stream");
|
|
6192
6463
|
var stream_2 = require_stream3();
|
|
@@ -6221,7 +6492,7 @@ var require_stream4 = __commonJS({
|
|
|
6221
6492
|
var require_sync5 = __commonJS({
|
|
6222
6493
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.js"(exports) {
|
|
6223
6494
|
"use strict";
|
|
6224
|
-
|
|
6495
|
+
init_utils2();
|
|
6225
6496
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6226
6497
|
var fsStat = require_out();
|
|
6227
6498
|
var fsWalk = require_out3();
|
|
@@ -6270,7 +6541,7 @@ var require_sync5 = __commonJS({
|
|
|
6270
6541
|
var require_sync6 = __commonJS({
|
|
6271
6542
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.js"(exports) {
|
|
6272
6543
|
"use strict";
|
|
6273
|
-
|
|
6544
|
+
init_utils2();
|
|
6274
6545
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6275
6546
|
var sync_1 = require_sync5();
|
|
6276
6547
|
var provider_1 = require_provider();
|
|
@@ -6300,7 +6571,7 @@ var require_sync6 = __commonJS({
|
|
|
6300
6571
|
var require_settings4 = __commonJS({
|
|
6301
6572
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js"(exports) {
|
|
6302
6573
|
"use strict";
|
|
6303
|
-
|
|
6574
|
+
init_utils2();
|
|
6304
6575
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6305
6576
|
exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
|
6306
6577
|
var fs2 = __require("fs");
|
|
@@ -6361,7 +6632,7 @@ var require_settings4 = __commonJS({
|
|
|
6361
6632
|
var require_out4 = __commonJS({
|
|
6362
6633
|
"node_modules/.bun/fast-glob@3.3.3/node_modules/fast-glob/out/index.js"(exports, module) {
|
|
6363
6634
|
"use strict";
|
|
6364
|
-
|
|
6635
|
+
init_utils2();
|
|
6365
6636
|
var taskManager = require_tasks();
|
|
6366
6637
|
var async_1 = require_async6();
|
|
6367
6638
|
var stream_1 = require_stream4();
|
|
@@ -6480,7 +6751,7 @@ var I18N_PATHS, SCAN_PATTERNS, GLOB_OPTIONS;
|
|
|
6480
6751
|
var init_constants = __esm({
|
|
6481
6752
|
"packages/core/config/constants.js"() {
|
|
6482
6753
|
"use strict";
|
|
6483
|
-
|
|
6754
|
+
init_utils2();
|
|
6484
6755
|
I18N_PATHS = {
|
|
6485
6756
|
// Monorepo source structure (locales at root, not in src/)
|
|
6486
6757
|
SOURCE_ROOT: "packages/core/i18n",
|
|
@@ -6642,7 +6913,7 @@ var import_fast_glob, constants, log2, PACKAGE_PATHS, PathResolver;
|
|
|
6642
6913
|
var init_PathResolver = __esm({
|
|
6643
6914
|
"packages/core/config/utils/PathResolver.ts"() {
|
|
6644
6915
|
"use strict";
|
|
6645
|
-
|
|
6916
|
+
init_utils2();
|
|
6646
6917
|
import_fast_glob = __toESM(require_out4(), 1);
|
|
6647
6918
|
init_constants();
|
|
6648
6919
|
constants = {
|
|
@@ -7646,7 +7917,7 @@ var pathResolverInstance, normalizePath, pathExists, readSync, statSync2, joinPa
|
|
|
7646
7917
|
var init_pathResolver = __esm({
|
|
7647
7918
|
"packages/tooling/src/utils/pathResolver.ts"() {
|
|
7648
7919
|
"use strict";
|
|
7649
|
-
|
|
7920
|
+
init_utils2();
|
|
7650
7921
|
init_PathResolver();
|
|
7651
7922
|
pathResolverInstance = PathResolver.getInstance({ debug: false });
|
|
7652
7923
|
normalizePath = (...pathSegments) => {
|
|
@@ -7683,7 +7954,7 @@ function readPackageJson(filePath) {
|
|
|
7683
7954
|
var init_typed_file_operations = __esm({
|
|
7684
7955
|
"packages/tooling/src/utils/typed-file-operations.ts"() {
|
|
7685
7956
|
"use strict";
|
|
7686
|
-
|
|
7957
|
+
init_utils2();
|
|
7687
7958
|
init_errors();
|
|
7688
7959
|
init_pathResolver();
|
|
7689
7960
|
}
|
|
@@ -7697,7 +7968,7 @@ import { dirname as dirname3, resolve as resolve3 } from "node:path";
|
|
|
7697
7968
|
import process from "node:process";
|
|
7698
7969
|
import { fileURLToPath as fileURLToPath3 } from "node:url";
|
|
7699
7970
|
var require2, __filename, __dirname;
|
|
7700
|
-
var
|
|
7971
|
+
var init_utils2 = __esm({
|
|
7701
7972
|
"packages/tooling/src/bundler/utils.ts"() {
|
|
7702
7973
|
"use strict";
|
|
7703
7974
|
require2 = createRequire3(import.meta.url);
|
|
@@ -7938,7 +8209,7 @@ var PROVIDERS_CANDIDATES;
|
|
|
7938
8209
|
var init_app_detection = __esm({
|
|
7939
8210
|
"packages/tooling/src/utils/app-detection.ts"() {
|
|
7940
8211
|
"use strict";
|
|
7941
|
-
|
|
8212
|
+
init_utils2();
|
|
7942
8213
|
init_pathResolver();
|
|
7943
8214
|
init_typed_file_operations();
|
|
7944
8215
|
PROVIDERS_CANDIDATES = [
|
|
@@ -8050,7 +8321,7 @@ var LEGACY_PATHS, warnedLegacy, cachedSecretsPath, cachedSecrets;
|
|
|
8050
8321
|
var init_secrets_resolver = __esm({
|
|
8051
8322
|
"packages/tooling/src/utils/secrets-resolver.ts"() {
|
|
8052
8323
|
"use strict";
|
|
8053
|
-
|
|
8324
|
+
init_utils2();
|
|
8054
8325
|
init_cli_output();
|
|
8055
8326
|
init_pathResolver();
|
|
8056
8327
|
LEGACY_PATHS = {
|
|
@@ -8093,7 +8364,7 @@ var envCheck;
|
|
|
8093
8364
|
var init_check_env = __esm({
|
|
8094
8365
|
"packages/tooling/src/cli/doctor/check-env.ts"() {
|
|
8095
8366
|
"use strict";
|
|
8096
|
-
|
|
8367
|
+
init_utils2();
|
|
8097
8368
|
init_pathResolver();
|
|
8098
8369
|
envCheck = {
|
|
8099
8370
|
id: "env",
|
|
@@ -8188,7 +8459,7 @@ var firebaseCheck;
|
|
|
8188
8459
|
var init_check_firebase = __esm({
|
|
8189
8460
|
"packages/tooling/src/cli/doctor/check-firebase.ts"() {
|
|
8190
8461
|
"use strict";
|
|
8191
|
-
|
|
8462
|
+
init_utils2();
|
|
8192
8463
|
init_app_detection();
|
|
8193
8464
|
init_pathResolver();
|
|
8194
8465
|
firebaseCheck = {
|
|
@@ -8335,7 +8606,7 @@ function isValidPublicKey(key) {
|
|
|
8335
8606
|
var init_supabase = __esm({
|
|
8336
8607
|
"packages/tooling/src/cli/setup/supabase.ts"() {
|
|
8337
8608
|
"use strict";
|
|
8338
|
-
|
|
8609
|
+
init_utils2();
|
|
8339
8610
|
}
|
|
8340
8611
|
});
|
|
8341
8612
|
|
|
@@ -8348,7 +8619,7 @@ var supabaseCheck;
|
|
|
8348
8619
|
var init_check_supabase = __esm({
|
|
8349
8620
|
"packages/tooling/src/cli/doctor/check-supabase.ts"() {
|
|
8350
8621
|
"use strict";
|
|
8351
|
-
|
|
8622
|
+
init_utils2();
|
|
8352
8623
|
init_app_detection();
|
|
8353
8624
|
init_pathResolver();
|
|
8354
8625
|
init_secrets_resolver();
|
|
@@ -8461,7 +8732,7 @@ var authCheck;
|
|
|
8461
8732
|
var init_check_auth = __esm({
|
|
8462
8733
|
"packages/tooling/src/cli/doctor/check-auth.ts"() {
|
|
8463
8734
|
"use strict";
|
|
8464
|
-
|
|
8735
|
+
init_utils2();
|
|
8465
8736
|
init_pathResolver();
|
|
8466
8737
|
authCheck = {
|
|
8467
8738
|
id: "auth",
|
|
@@ -8488,7 +8759,7 @@ var init_check_auth = __esm({
|
|
|
8488
8759
|
joinPath(ctx.appDir, "src", "config", "providers.ts"),
|
|
8489
8760
|
joinPath(ctx.appDir, "src", "lib", "providers.ts")
|
|
8490
8761
|
];
|
|
8491
|
-
const providerFile = candidates.find((
|
|
8762
|
+
const providerFile = candidates.find((c2) => pathExists(c2));
|
|
8492
8763
|
if (providerFile) {
|
|
8493
8764
|
results.push({
|
|
8494
8765
|
name: "Providers config",
|
|
@@ -8551,16 +8822,16 @@ var init_check_auth = __esm({
|
|
|
8551
8822
|
});
|
|
8552
8823
|
|
|
8553
8824
|
// packages/cli/src/bin/commands/doctor.ts
|
|
8554
|
-
|
|
8825
|
+
init_utils2();
|
|
8555
8826
|
|
|
8556
8827
|
// packages/tooling/src/index.ts
|
|
8557
|
-
|
|
8828
|
+
init_utils2();
|
|
8558
8829
|
|
|
8559
8830
|
// packages/tooling/src/cli/index.ts
|
|
8560
|
-
|
|
8831
|
+
init_utils2();
|
|
8561
8832
|
|
|
8562
8833
|
// packages/tooling/src/cli/doctor/doctor.ts
|
|
8563
|
-
|
|
8834
|
+
init_utils2();
|
|
8564
8835
|
init_app_detection();
|
|
8565
8836
|
init_cli_output();
|
|
8566
8837
|
init_app_detection();
|
|
@@ -8599,7 +8870,7 @@ function renderResults(allResults, verbose, multiApp) {
|
|
|
8599
8870
|
}
|
|
8600
8871
|
lines.push("");
|
|
8601
8872
|
}
|
|
8602
|
-
|
|
8873
|
+
wt(lines.join("\n"), "Health Check Results");
|
|
8603
8874
|
}
|
|
8604
8875
|
function buildDoctorContext(app, projectRoot, topology, options) {
|
|
8605
8876
|
const backendApp = findBackendApp(topology, app.name);
|
|
@@ -8613,7 +8884,7 @@ function buildDoctorContext(app, projectRoot, topology, options) {
|
|
|
8613
8884
|
};
|
|
8614
8885
|
}
|
|
8615
8886
|
async function main(options = {}) {
|
|
8616
|
-
|
|
8887
|
+
mt("DoNotDev Doctor");
|
|
8617
8888
|
const projectRoot = process.cwd();
|
|
8618
8889
|
const topology = analyzeProjectTopology(projectRoot);
|
|
8619
8890
|
let apps = topology.apps;
|
|
@@ -8621,12 +8892,12 @@ async function main(options = {}) {
|
|
|
8621
8892
|
apps = [createRootAppInfo(projectRoot)];
|
|
8622
8893
|
}
|
|
8623
8894
|
const multiApp = apps.length > 1;
|
|
8624
|
-
const registry = options.check ? CHECK_REGISTRY.filter((
|
|
8895
|
+
const registry = options.check ? CHECK_REGISTRY.filter((e) => e.id === options.check) : CHECK_REGISTRY;
|
|
8625
8896
|
if (options.check && registry.length === 0) {
|
|
8626
8897
|
log.error(
|
|
8627
|
-
`Unknown check: ${options.check}. Available: ${CHECK_REGISTRY.map((
|
|
8898
|
+
`Unknown check: ${options.check}. Available: ${CHECK_REGISTRY.map((e) => e.id).join(", ")}`
|
|
8628
8899
|
);
|
|
8629
|
-
|
|
8900
|
+
gt("Doctor aborted.");
|
|
8630
8901
|
return 1;
|
|
8631
8902
|
}
|
|
8632
8903
|
const allResults = [];
|
|
@@ -8638,14 +8909,14 @@ async function main(options = {}) {
|
|
|
8638
8909
|
if (!check.isRelevant(ctx)) continue;
|
|
8639
8910
|
const results = await check.run(ctx);
|
|
8640
8911
|
allResults.push({ appName: app.name, checkName: check.name, results });
|
|
8641
|
-
if (results.some((
|
|
8912
|
+
if (results.some((r) => r.status === "fail")) {
|
|
8642
8913
|
hasFail = true;
|
|
8643
8914
|
}
|
|
8644
8915
|
}
|
|
8645
8916
|
}
|
|
8646
8917
|
if (allResults.length === 0) {
|
|
8647
8918
|
log.warn("No checks were relevant for this project.");
|
|
8648
|
-
|
|
8919
|
+
gt("Nothing to check.");
|
|
8649
8920
|
return 0;
|
|
8650
8921
|
}
|
|
8651
8922
|
renderResults(allResults, options.verbose ?? false, multiApp);
|
|
@@ -8653,10 +8924,10 @@ async function main(options = {}) {
|
|
|
8653
8924
|
let warnings = 0;
|
|
8654
8925
|
let fails = 0;
|
|
8655
8926
|
for (const { results } of allResults) {
|
|
8656
|
-
for (const
|
|
8657
|
-
if (
|
|
8658
|
-
else if (
|
|
8659
|
-
else if (
|
|
8927
|
+
for (const r of results) {
|
|
8928
|
+
if (r.status === "pass") passes++;
|
|
8929
|
+
else if (r.status === "warn") warnings++;
|
|
8930
|
+
else if (r.status === "fail") fails++;
|
|
8660
8931
|
}
|
|
8661
8932
|
}
|
|
8662
8933
|
const totalChecks = passes + warnings + fails;
|
|
@@ -8664,7 +8935,7 @@ async function main(options = {}) {
|
|
|
8664
8935
|
if (warnings > 0) summaryParts.push(`${warnings} warning(s)`);
|
|
8665
8936
|
if (fails > 0) summaryParts.push(`${fails} failure(s)`);
|
|
8666
8937
|
const exitCode = hasFail ? 1 : 0;
|
|
8667
|
-
|
|
8938
|
+
gt(
|
|
8668
8939
|
hasFail ? `Health check failed: ${summaryParts.join(", ")}` : `All clear: ${summaryParts.join(", ")}`
|
|
8669
8940
|
);
|
|
8670
8941
|
return exitCode;
|