@maizzle/framework 6.0.0-8 → 6.0.0-rc.0
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/bin/maizzle.mjs +10 -0
- package/dist/build.d.mts +19 -0
- package/dist/build.d.mts.map +1 -0
- package/dist/build.mjs +121 -0
- package/dist/build.mjs.map +1 -0
- package/dist/components/Button.vue +141 -0
- package/dist/components/Divider.vue +105 -0
- package/dist/components/NoWidows.vue +123 -0
- package/dist/components/NotOutlook.vue +17 -0
- package/dist/components/Outlook.vue +74 -0
- package/dist/components/Spacer.vue +36 -0
- package/dist/components/Vml.vue +89 -0
- package/dist/components/WithUrl.vue +190 -0
- package/dist/components/utils.d.mts +5 -0
- package/dist/components/utils.d.mts.map +1 -0
- package/dist/components/utils.mjs +9 -0
- package/dist/components/utils.mjs.map +1 -0
- package/dist/components/utils.ts +6 -0
- package/dist/composables/defineConfig.d.mts +14 -0
- package/dist/composables/defineConfig.d.mts.map +1 -0
- package/dist/composables/defineConfig.mjs +34 -0
- package/dist/composables/defineConfig.mjs.map +1 -0
- package/dist/composables/renderContext.d.mts +19 -0
- package/dist/composables/renderContext.d.mts.map +1 -0
- package/dist/composables/renderContext.mjs +6 -0
- package/dist/composables/renderContext.mjs.map +1 -0
- package/dist/composables/useConfig.d.mts +9 -0
- package/dist/composables/useConfig.d.mts.map +1 -0
- package/dist/composables/useConfig.mjs +13 -0
- package/dist/composables/useConfig.mjs.map +1 -0
- package/dist/composables/useDoctype.d.mts +13 -0
- package/dist/composables/useDoctype.d.mts.map +1 -0
- package/dist/composables/useDoctype.mjs +20 -0
- package/dist/composables/useDoctype.mjs.map +1 -0
- package/dist/composables/useEvent.d.mts +17 -0
- package/dist/composables/useEvent.d.mts.map +1 -0
- package/dist/composables/useEvent.mjs +25 -0
- package/dist/composables/useEvent.mjs.map +1 -0
- package/dist/composables/usePlaintext.d.mts +19 -0
- package/dist/composables/usePlaintext.d.mts.map +1 -0
- package/dist/composables/usePlaintext.mjs +22 -0
- package/dist/composables/usePlaintext.mjs.map +1 -0
- package/dist/config/defaults.d.mts +6 -0
- package/dist/config/defaults.d.mts.map +1 -0
- package/dist/config/defaults.mjs +28 -0
- package/dist/config/defaults.mjs.map +1 -0
- package/dist/config/index.d.mts +15 -0
- package/dist/config/index.d.mts.map +1 -0
- package/dist/config/index.mjs +47 -0
- package/dist/config/index.mjs.map +1 -0
- package/dist/events/index.d.mts +91 -0
- package/dist/events/index.d.mts.map +1 -0
- package/dist/events/index.mjs +110 -0
- package/dist/events/index.mjs.map +1 -0
- package/dist/index.d.mts +29 -0
- package/dist/index.mjs +29 -0
- package/dist/plaintext.d.mts +5 -0
- package/dist/plaintext.d.mts.map +1 -0
- package/dist/plaintext.mjs +15 -0
- package/dist/plaintext.mjs.map +1 -0
- package/dist/plugin.d.mts +17 -0
- package/dist/plugin.d.mts.map +1 -0
- package/dist/plugin.mjs +41 -0
- package/dist/plugin.mjs.map +1 -0
- package/dist/plugins/postcss/mergeMediaQueries.d.mts +18 -0
- package/dist/plugins/postcss/mergeMediaQueries.d.mts.map +1 -0
- package/dist/plugins/postcss/mergeMediaQueries.mjs +22 -0
- package/dist/plugins/postcss/mergeMediaQueries.mjs.map +1 -0
- package/dist/plugins/postcss/pruneVars.d.mts +8 -0
- package/dist/plugins/postcss/pruneVars.d.mts.map +1 -0
- package/dist/plugins/postcss/pruneVars.mjs +49 -0
- package/dist/plugins/postcss/pruneVars.mjs.map +1 -0
- package/dist/plugins/postcss/removeDeclarations.d.mts +12 -0
- package/dist/plugins/postcss/removeDeclarations.d.mts.map +1 -0
- package/dist/plugins/postcss/removeDeclarations.mjs +45 -0
- package/dist/plugins/postcss/removeDeclarations.mjs.map +1 -0
- package/dist/plugins/postcss/tailwindCleanup.d.mts +18 -0
- package/dist/plugins/postcss/tailwindCleanup.d.mts.map +1 -0
- package/dist/plugins/postcss/tailwindCleanup.mjs +35 -0
- package/dist/plugins/postcss/tailwindCleanup.mjs.map +1 -0
- package/dist/render/createRenderer.d.mts +34 -0
- package/dist/render/createRenderer.d.mts.map +1 -0
- package/dist/render/createRenderer.mjs +149 -0
- package/dist/render/createRenderer.mjs.map +1 -0
- package/dist/render/index.d.mts +26 -0
- package/dist/render/index.d.mts.map +1 -0
- package/dist/render/index.mjs +40 -0
- package/dist/render/index.mjs.map +1 -0
- package/dist/serve.d.mts +25 -0
- package/dist/serve.d.mts.map +1 -0
- package/dist/serve.mjs +402 -0
- package/dist/serve.mjs.map +1 -0
- package/dist/server/compatibility.d.mts +6 -0
- package/dist/server/compatibility.d.mts.map +1 -0
- package/dist/server/compatibility.mjs +83 -0
- package/dist/server/compatibility.mjs.map +1 -0
- package/dist/server/linter.d.mts +6 -0
- package/dist/server/linter.d.mts.map +1 -0
- package/dist/server/linter.mjs +200 -0
- package/dist/server/linter.mjs.map +1 -0
- package/dist/server/ui/App.vue +360 -0
- package/dist/server/ui/components/ui/button/Button.vue +31 -0
- package/dist/server/ui/components/ui/button/index.ts +38 -0
- package/dist/server/ui/components/ui/command/Command.vue +87 -0
- package/dist/server/ui/components/ui/command/CommandDialog.vue +31 -0
- package/dist/server/ui/components/ui/command/CommandEmpty.vue +27 -0
- package/dist/server/ui/components/ui/command/CommandGroup.vue +45 -0
- package/dist/server/ui/components/ui/command/CommandInput.vue +39 -0
- package/dist/server/ui/components/ui/command/CommandItem.vue +76 -0
- package/dist/server/ui/components/ui/command/CommandList.vue +25 -0
- package/dist/server/ui/components/ui/command/CommandSeparator.vue +21 -0
- package/dist/server/ui/components/ui/command/CommandShortcut.vue +17 -0
- package/dist/server/ui/components/ui/command/index.ts +25 -0
- package/dist/server/ui/components/ui/dialog/Dialog.vue +19 -0
- package/dist/server/ui/components/ui/dialog/DialogClose.vue +15 -0
- package/dist/server/ui/components/ui/dialog/DialogContent.vue +53 -0
- package/dist/server/ui/components/ui/dialog/DialogDescription.vue +23 -0
- package/dist/server/ui/components/ui/dialog/DialogFooter.vue +27 -0
- package/dist/server/ui/components/ui/dialog/DialogHeader.vue +17 -0
- package/dist/server/ui/components/ui/dialog/DialogOverlay.vue +21 -0
- package/dist/server/ui/components/ui/dialog/DialogScrollContent.vue +59 -0
- package/dist/server/ui/components/ui/dialog/DialogTitle.vue +23 -0
- package/dist/server/ui/components/ui/dialog/DialogTrigger.vue +15 -0
- package/dist/server/ui/components/ui/dialog/index.ts +10 -0
- package/dist/server/ui/components/ui/dropdown-menu/DropdownMenu.vue +19 -0
- package/dist/server/ui/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +39 -0
- package/dist/server/ui/components/ui/dropdown-menu/DropdownMenuContent.vue +39 -0
- package/dist/server/ui/components/ui/dropdown-menu/DropdownMenuGroup.vue +15 -0
- package/dist/server/ui/components/ui/dropdown-menu/DropdownMenuItem.vue +31 -0
- package/dist/server/ui/components/ui/dropdown-menu/DropdownMenuLabel.vue +23 -0
- package/dist/server/ui/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +21 -0
- package/dist/server/ui/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +40 -0
- package/dist/server/ui/components/ui/dropdown-menu/DropdownMenuSeparator.vue +23 -0
- package/dist/server/ui/components/ui/dropdown-menu/DropdownMenuShortcut.vue +17 -0
- package/dist/server/ui/components/ui/dropdown-menu/DropdownMenuSub.vue +18 -0
- package/dist/server/ui/components/ui/dropdown-menu/DropdownMenuSubContent.vue +27 -0
- package/dist/server/ui/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +31 -0
- package/dist/server/ui/components/ui/dropdown-menu/DropdownMenuTrigger.vue +17 -0
- package/dist/server/ui/components/ui/dropdown-menu/index.ts +16 -0
- package/dist/server/ui/components/ui/empty/Empty.vue +20 -0
- package/dist/server/ui/components/ui/empty/EmptyContent.vue +20 -0
- package/dist/server/ui/components/ui/empty/EmptyDescription.vue +20 -0
- package/dist/server/ui/components/ui/empty/EmptyHeader.vue +20 -0
- package/dist/server/ui/components/ui/empty/EmptyMedia.vue +21 -0
- package/dist/server/ui/components/ui/empty/EmptyTitle.vue +17 -0
- package/dist/server/ui/components/ui/empty/index.ts +26 -0
- package/dist/server/ui/components/ui/input/Input.vue +33 -0
- package/dist/server/ui/components/ui/input/index.ts +1 -0
- package/dist/server/ui/components/ui/kbd/Kbd.vue +20 -0
- package/dist/server/ui/components/ui/kbd/KbdGroup.vue +17 -0
- package/dist/server/ui/components/ui/kbd/index.ts +2 -0
- package/dist/server/ui/components/ui/resizable/ResizableHandle.vue +30 -0
- package/dist/server/ui/components/ui/resizable/ResizablePanel.vue +21 -0
- package/dist/server/ui/components/ui/resizable/ResizablePanelGroup.vue +25 -0
- package/dist/server/ui/components/ui/resizable/index.ts +3 -0
- package/dist/server/ui/components/ui/scroll-area/ScrollArea.vue +33 -0
- package/dist/server/ui/components/ui/scroll-area/ScrollBar.vue +32 -0
- package/dist/server/ui/components/ui/scroll-area/index.ts +2 -0
- package/dist/server/ui/components/ui/separator/Separator.vue +29 -0
- package/dist/server/ui/components/ui/separator/index.ts +1 -0
- package/dist/server/ui/components/ui/sheet/Sheet.vue +19 -0
- package/dist/server/ui/components/ui/sheet/SheetClose.vue +15 -0
- package/dist/server/ui/components/ui/sheet/SheetContent.vue +62 -0
- package/dist/server/ui/components/ui/sheet/SheetDescription.vue +21 -0
- package/dist/server/ui/components/ui/sheet/SheetFooter.vue +16 -0
- package/dist/server/ui/components/ui/sheet/SheetHeader.vue +15 -0
- package/dist/server/ui/components/ui/sheet/SheetOverlay.vue +21 -0
- package/dist/server/ui/components/ui/sheet/SheetTitle.vue +21 -0
- package/dist/server/ui/components/ui/sheet/SheetTrigger.vue +15 -0
- package/dist/server/ui/components/ui/sheet/index.ts +8 -0
- package/dist/server/ui/components/ui/sidebar/Sidebar.vue +96 -0
- package/dist/server/ui/components/ui/sidebar/SidebarContent.vue +18 -0
- package/dist/server/ui/components/ui/sidebar/SidebarFooter.vue +18 -0
- package/dist/server/ui/components/ui/sidebar/SidebarGroup.vue +18 -0
- package/dist/server/ui/components/ui/sidebar/SidebarGroupAction.vue +27 -0
- package/dist/server/ui/components/ui/sidebar/SidebarGroupContent.vue +18 -0
- package/dist/server/ui/components/ui/sidebar/SidebarGroupLabel.vue +25 -0
- package/dist/server/ui/components/ui/sidebar/SidebarHeader.vue +18 -0
- package/dist/server/ui/components/ui/sidebar/SidebarInput.vue +31 -0
- package/dist/server/ui/components/ui/sidebar/SidebarInset.vue +21 -0
- package/dist/server/ui/components/ui/sidebar/SidebarMenu.vue +18 -0
- package/dist/server/ui/components/ui/sidebar/SidebarMenuAction.vue +35 -0
- package/dist/server/ui/components/ui/sidebar/SidebarMenuBadge.vue +26 -0
- package/dist/server/ui/components/ui/sidebar/SidebarMenuButton.vue +48 -0
- package/dist/server/ui/components/ui/sidebar/SidebarMenuButtonChild.vue +36 -0
- package/dist/server/ui/components/ui/sidebar/SidebarMenuItem.vue +18 -0
- package/dist/server/ui/components/ui/sidebar/SidebarMenuSkeleton.vue +35 -0
- package/dist/server/ui/components/ui/sidebar/SidebarMenuSub.vue +22 -0
- package/dist/server/ui/components/ui/sidebar/SidebarMenuSubButton.vue +36 -0
- package/dist/server/ui/components/ui/sidebar/SidebarMenuSubItem.vue +18 -0
- package/dist/server/ui/components/ui/sidebar/SidebarProvider.vue +82 -0
- package/dist/server/ui/components/ui/sidebar/SidebarRail.vue +33 -0
- package/dist/server/ui/components/ui/sidebar/SidebarSeparator.vue +19 -0
- package/dist/server/ui/components/ui/sidebar/SidebarTrigger.vue +28 -0
- package/dist/server/ui/components/ui/sidebar/index.ts +60 -0
- package/dist/server/ui/components/ui/sidebar/utils.ts +19 -0
- package/dist/server/ui/components/ui/skeleton/Skeleton.vue +17 -0
- package/dist/server/ui/components/ui/skeleton/index.ts +1 -0
- package/dist/server/ui/components/ui/tabs/Tabs.vue +24 -0
- package/dist/server/ui/components/ui/tabs/TabsContent.vue +21 -0
- package/dist/server/ui/components/ui/tabs/TabsList.vue +24 -0
- package/dist/server/ui/components/ui/tabs/TabsTrigger.vue +26 -0
- package/dist/server/ui/components/ui/tabs/index.ts +4 -0
- package/dist/server/ui/components/ui/toggle/Toggle.vue +35 -0
- package/dist/server/ui/components/ui/toggle/index.ts +28 -0
- package/dist/server/ui/components/ui/toggle-group/ToggleGroup.vue +49 -0
- package/dist/server/ui/components/ui/toggle-group/ToggleGroupItem.vue +46 -0
- package/dist/server/ui/components/ui/toggle-group/index.ts +2 -0
- package/dist/server/ui/components/ui/tooltip/Tooltip.vue +19 -0
- package/dist/server/ui/components/ui/tooltip/TooltipContent.vue +34 -0
- package/dist/server/ui/components/ui/tooltip/TooltipProvider.vue +14 -0
- package/dist/server/ui/components/ui/tooltip/TooltipTrigger.vue +15 -0
- package/dist/server/ui/components/ui/tooltip/index.ts +4 -0
- package/dist/server/ui/favicon.svg +1 -0
- package/dist/server/ui/index.html +13 -0
- package/dist/server/ui/lib/utils.ts +7 -0
- package/dist/server/ui/logo-gradient.svg +1 -0
- package/dist/server/ui/logo.svg +1 -0
- package/dist/server/ui/main.css +129 -0
- package/dist/server/ui/main.ts +16 -0
- package/dist/server/ui/mark-gradient.svg +1 -0
- package/dist/server/ui/mark.svg +1 -0
- package/dist/server/ui/pages/Home.vue +39 -0
- package/dist/server/ui/pages/Preview.vue +609 -0
- package/dist/server/ui/stripes.svg +174 -0
- package/dist/transformers/addAttributes.d.mts +32 -0
- package/dist/transformers/addAttributes.d.mts.map +1 -0
- package/dist/transformers/addAttributes.mjs +101 -0
- package/dist/transformers/addAttributes.mjs.map +1 -0
- package/dist/transformers/attributeToStyle.d.mts +25 -0
- package/dist/transformers/attributeToStyle.d.mts.map +1 -0
- package/dist/transformers/attributeToStyle.mjs +80 -0
- package/dist/transformers/attributeToStyle.mjs.map +1 -0
- package/dist/transformers/base.d.mts +8 -0
- package/dist/transformers/base.d.mts.map +1 -0
- package/dist/transformers/base.mjs +160 -0
- package/dist/transformers/base.mjs.map +1 -0
- package/dist/transformers/entities.d.mts +8 -0
- package/dist/transformers/entities.d.mts.map +1 -0
- package/dist/transformers/entities.mjs +38 -0
- package/dist/transformers/entities.mjs.map +1 -0
- package/dist/transformers/format.d.mts +15 -0
- package/dist/transformers/format.d.mts.map +1 -0
- package/dist/transformers/format.mjs +26 -0
- package/dist/transformers/format.mjs.map +1 -0
- package/dist/transformers/index.d.mts +35 -0
- package/dist/transformers/index.d.mts.map +1 -0
- package/dist/transformers/index.mjs +73 -0
- package/dist/transformers/index.mjs.map +1 -0
- package/dist/transformers/inlineCSS.d.mts +30 -0
- package/dist/transformers/inlineCSS.d.mts.map +1 -0
- package/dist/transformers/inlineCSS.mjs +79 -0
- package/dist/transformers/inlineCSS.mjs.map +1 -0
- package/dist/transformers/inlineLink.d.mts +14 -0
- package/dist/transformers/inlineLink.d.mts.map +1 -0
- package/dist/transformers/inlineLink.mjs +76 -0
- package/dist/transformers/inlineLink.mjs.map +1 -0
- package/dist/transformers/minify.d.mts +17 -0
- package/dist/transformers/minify.d.mts.map +1 -0
- package/dist/transformers/minify.mjs +24 -0
- package/dist/transformers/minify.mjs.map +1 -0
- package/dist/transformers/purgeCSS.d.mts +23 -0
- package/dist/transformers/purgeCSS.d.mts.map +1 -0
- package/dist/transformers/purgeCSS.mjs +66 -0
- package/dist/transformers/purgeCSS.mjs.map +1 -0
- package/dist/transformers/removeAttributes.d.mts +31 -0
- package/dist/transformers/removeAttributes.d.mts.map +1 -0
- package/dist/transformers/removeAttributes.mjs +63 -0
- package/dist/transformers/removeAttributes.mjs.map +1 -0
- package/dist/transformers/replaceStrings.d.mts +16 -0
- package/dist/transformers/replaceStrings.d.mts.map +1 -0
- package/dist/transformers/replaceStrings.mjs +19 -0
- package/dist/transformers/replaceStrings.mjs.map +1 -0
- package/dist/transformers/safeClassNames.d.mts +22 -0
- package/dist/transformers/safeClassNames.d.mts.map +1 -0
- package/dist/transformers/safeClassNames.mjs +103 -0
- package/dist/transformers/safeClassNames.mjs.map +1 -0
- package/dist/transformers/shorthandCSS.d.mts +24 -0
- package/dist/transformers/shorthandCSS.d.mts.map +1 -0
- package/dist/transformers/shorthandCSS.mjs +48 -0
- package/dist/transformers/shorthandCSS.mjs.map +1 -0
- package/dist/transformers/tailwindcss.d.mts +20 -0
- package/dist/transformers/tailwindcss.d.mts.map +1 -0
- package/dist/transformers/tailwindcss.mjs +136 -0
- package/dist/transformers/tailwindcss.mjs.map +1 -0
- package/dist/transformers/urlQuery.d.mts +24 -0
- package/dist/transformers/urlQuery.d.mts.map +1 -0
- package/dist/transformers/urlQuery.mjs +65 -0
- package/dist/transformers/urlQuery.mjs.map +1 -0
- package/dist/types/config.d.mts +129 -0
- package/dist/types/config.d.mts.map +1 -0
- package/dist/types/config.mjs +1 -0
- package/dist/types/index.d.mts +2 -0
- package/dist/types/index.mjs +1 -0
- package/dist/utils/ast/index.d.mts +4 -0
- package/dist/utils/ast/index.mjs +5 -0
- package/dist/utils/ast/parser.d.mts +7 -0
- package/dist/utils/ast/parser.d.mts.map +1 -0
- package/dist/utils/ast/parser.mjs +15 -0
- package/dist/utils/ast/parser.mjs.map +1 -0
- package/dist/utils/ast/serializer.d.mts +7 -0
- package/dist/utils/ast/serializer.d.mts.map +1 -0
- package/dist/utils/ast/serializer.mjs +13 -0
- package/dist/utils/ast/serializer.mjs.map +1 -0
- package/dist/utils/ast/walker.d.mts +7 -0
- package/dist/utils/ast/walker.d.mts.map +1 -0
- package/dist/utils/ast/walker.mjs +12 -0
- package/dist/utils/ast/walker.mjs.map +1 -0
- package/dist/utils/url.d.mts +8 -0
- package/dist/utils/url.d.mts.map +1 -0
- package/dist/utils/url.mjs +32 -0
- package/dist/utils/url.mjs.map +1 -0
- package/node_modules/@clack/core/CHANGELOG.md +257 -0
- package/node_modules/@clack/core/LICENSE +9 -0
- package/node_modules/@clack/core/README.md +22 -0
- package/node_modules/@clack/core/dist/index.cjs +15 -0
- package/node_modules/@clack/core/dist/index.cjs.map +1 -0
- package/node_modules/@clack/core/dist/index.d.cts +211 -0
- package/node_modules/@clack/core/dist/index.d.mts +211 -0
- package/node_modules/@clack/core/dist/index.d.ts +211 -0
- package/node_modules/@clack/core/dist/index.mjs +15 -0
- package/node_modules/@clack/core/dist/index.mjs.map +1 -0
- package/node_modules/@clack/core/package.json +62 -0
- package/node_modules/@clack/prompts/CHANGELOG.md +412 -0
- package/node_modules/@clack/prompts/LICENSE +9 -0
- package/node_modules/@clack/prompts/README.md +207 -0
- package/node_modules/@clack/prompts/dist/index.cjs +87 -0
- package/node_modules/@clack/prompts/dist/index.cjs.map +1 -0
- package/node_modules/@clack/prompts/dist/index.d.cts +165 -0
- package/node_modules/@clack/prompts/dist/index.d.mts +165 -0
- package/node_modules/@clack/prompts/dist/index.d.ts +165 -0
- package/node_modules/@clack/prompts/dist/index.mjs +87 -0
- package/node_modules/@clack/prompts/dist/index.mjs.map +1 -0
- package/node_modules/@clack/prompts/package.json +61 -0
- package/node_modules/@maizzle/cli/LICENSE +21 -0
- package/node_modules/@maizzle/cli/README.md +58 -0
- package/node_modules/@maizzle/cli/dist/commands/make/component.d.mts +4 -0
- package/node_modules/@maizzle/cli/dist/commands/make/component.mjs +31 -0
- package/node_modules/@maizzle/cli/dist/commands/make/config.d.mts +4 -0
- package/node_modules/@maizzle/cli/dist/commands/make/config.mjs +21 -0
- package/node_modules/@maizzle/cli/dist/commands/make/layout.d.mts +4 -0
- package/node_modules/@maizzle/cli/dist/commands/make/layout.mjs +31 -0
- package/node_modules/@maizzle/cli/dist/commands/make/scaffold.d.mts +5 -0
- package/node_modules/@maizzle/cli/dist/commands/make/scaffold.mjs +28 -0
- package/node_modules/@maizzle/cli/dist/commands/make/stubs/component.vue +9 -0
- package/node_modules/@maizzle/cli/dist/commands/make/stubs/config.ts +9 -0
- package/node_modules/@maizzle/cli/dist/commands/make/stubs/layout.vue +39 -0
- package/node_modules/@maizzle/cli/dist/commands/make/stubs/template.vue +8 -0
- package/node_modules/@maizzle/cli/dist/commands/make/template.d.mts +4 -0
- package/node_modules/@maizzle/cli/dist/commands/make/template.mjs +31 -0
- package/node_modules/@maizzle/cli/dist/index.d.mts +8 -0
- package/node_modules/@maizzle/cli/dist/index.mjs +42 -0
- package/node_modules/@maizzle/cli/package.json +59 -0
- package/node_modules/citty/LICENSE +36 -0
- package/node_modules/citty/README.md +134 -0
- package/node_modules/citty/dist/index.cjs +475 -0
- package/node_modules/citty/dist/index.d.cts +80 -0
- package/node_modules/citty/dist/index.d.mts +80 -0
- package/node_modules/citty/dist/index.d.ts +80 -0
- package/node_modules/citty/dist/index.mjs +463 -0
- package/node_modules/citty/package.json +49 -0
- package/node_modules/commander/LICENSE +22 -0
- package/node_modules/commander/Readme.md +1149 -0
- package/node_modules/commander/esm.mjs +16 -0
- package/node_modules/commander/index.js +24 -0
- package/node_modules/commander/lib/argument.js +149 -0
- package/node_modules/commander/lib/command.js +2662 -0
- package/node_modules/commander/lib/error.js +39 -0
- package/node_modules/commander/lib/help.js +709 -0
- package/node_modules/commander/lib/option.js +367 -0
- package/node_modules/commander/lib/suggestSimilar.js +101 -0
- package/node_modules/commander/package-support.json +16 -0
- package/node_modules/commander/package.json +82 -0
- package/node_modules/commander/typings/esm.d.mts +3 -0
- package/node_modules/commander/typings/index.d.ts +1045 -0
- package/node_modules/consola/LICENSE +47 -0
- package/node_modules/consola/README.md +352 -0
- package/node_modules/consola/basic.d.ts +1 -0
- package/node_modules/consola/browser.d.ts +1 -0
- package/node_modules/consola/core.d.ts +1 -0
- package/node_modules/consola/dist/basic.cjs +32 -0
- package/node_modules/consola/dist/basic.d.cts +23 -0
- package/node_modules/consola/dist/basic.d.mts +21 -0
- package/node_modules/consola/dist/basic.d.ts +23 -0
- package/node_modules/consola/dist/basic.mjs +24 -0
- package/node_modules/consola/dist/browser.cjs +84 -0
- package/node_modules/consola/dist/browser.d.cts +23 -0
- package/node_modules/consola/dist/browser.d.mts +21 -0
- package/node_modules/consola/dist/browser.d.ts +23 -0
- package/node_modules/consola/dist/browser.mjs +76 -0
- package/node_modules/consola/dist/chunks/prompt.cjs +288 -0
- package/node_modules/consola/dist/chunks/prompt.mjs +280 -0
- package/node_modules/consola/dist/core.cjs +517 -0
- package/node_modules/consola/dist/core.d.cts +459 -0
- package/node_modules/consola/dist/core.d.mts +459 -0
- package/node_modules/consola/dist/core.d.ts +459 -0
- package/node_modules/consola/dist/core.mjs +512 -0
- package/node_modules/consola/dist/index.cjs +663 -0
- package/node_modules/consola/dist/index.d.cts +24 -0
- package/node_modules/consola/dist/index.d.mts +22 -0
- package/node_modules/consola/dist/index.d.ts +24 -0
- package/node_modules/consola/dist/index.mjs +651 -0
- package/node_modules/consola/dist/shared/consola.DCGIlDNP.cjs +75 -0
- package/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
- package/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
- package/node_modules/consola/dist/shared/consola.DwRq1yyg.cjs +312 -0
- package/node_modules/consola/dist/utils.cjs +64 -0
- package/node_modules/consola/dist/utils.d.cts +286 -0
- package/node_modules/consola/dist/utils.d.mts +286 -0
- package/node_modules/consola/dist/utils.d.ts +286 -0
- package/node_modules/consola/dist/utils.mjs +54 -0
- package/node_modules/consola/lib/index.cjs +10 -0
- package/node_modules/consola/package.json +136 -0
- package/node_modules/consola/utils.d.ts +1 -0
- package/node_modules/create-maizzle/README.md +86 -0
- package/node_modules/create-maizzle/bin/create-maizzle.mjs +4 -0
- package/node_modules/create-maizzle/node_modules/@clack/core/CHANGELOG.md +340 -0
- package/node_modules/create-maizzle/node_modules/@clack/core/LICENSE +9 -0
- package/node_modules/create-maizzle/node_modules/@clack/core/README.md +22 -0
- package/node_modules/create-maizzle/node_modules/@clack/core/dist/index.d.mts +349 -0
- package/node_modules/create-maizzle/node_modules/@clack/core/dist/index.mjs +11 -0
- package/node_modules/create-maizzle/node_modules/@clack/core/dist/index.mjs.map +1 -0
- package/node_modules/create-maizzle/node_modules/@clack/core/package.json +60 -0
- package/node_modules/create-maizzle/node_modules/@clack/prompts/CHANGELOG.md +576 -0
- package/node_modules/create-maizzle/node_modules/@clack/prompts/LICENSE +9 -0
- package/node_modules/create-maizzle/node_modules/@clack/prompts/README.md +270 -0
- package/node_modules/create-maizzle/node_modules/@clack/prompts/dist/index.d.mts +391 -0
- package/node_modules/create-maizzle/node_modules/@clack/prompts/dist/index.mjs +137 -0
- package/node_modules/create-maizzle/node_modules/@clack/prompts/dist/index.mjs.map +1 -0
- package/node_modules/create-maizzle/node_modules/@clack/prompts/package.json +65 -0
- package/node_modules/create-maizzle/package.json +47 -0
- package/node_modules/create-maizzle/src/index.js +242 -0
- package/node_modules/defu/LICENSE +21 -0
- package/node_modules/defu/README.md +171 -0
- package/node_modules/defu/dist/defu.cjs +77 -0
- package/node_modules/defu/dist/defu.d.cts +31 -0
- package/node_modules/defu/dist/defu.d.mts +29 -0
- package/node_modules/defu/dist/defu.d.ts +31 -0
- package/node_modules/defu/dist/defu.mjs +69 -0
- package/node_modules/defu/lib/defu.cjs +10 -0
- package/node_modules/defu/lib/defu.d.cts +12 -0
- package/node_modules/defu/package.json +48 -0
- package/node_modules/fast-string-truncated-width/dist/index.d.ts +4 -0
- package/node_modules/fast-string-truncated-width/dist/index.js +171 -0
- package/node_modules/fast-string-truncated-width/dist/types.d.ts +22 -0
- package/node_modules/fast-string-truncated-width/dist/types.js +2 -0
- package/node_modules/fast-string-truncated-width/dist/utils.d.ts +4 -0
- package/node_modules/fast-string-truncated-width/dist/utils.js +15 -0
- package/node_modules/fast-string-truncated-width/license +21 -0
- package/node_modules/fast-string-truncated-width/package.json +35 -0
- package/node_modules/fast-string-truncated-width/readme.md +60 -0
- package/node_modules/fast-string-width/dist/index.d.ts +4 -0
- package/node_modules/fast-string-width/dist/index.js +14 -0
- package/node_modules/fast-string-width/license +21 -0
- package/node_modules/fast-string-width/package.json +34 -0
- package/node_modules/fast-string-width/readme.md +45 -0
- package/node_modules/fast-wrap-ansi/LICENSE +23 -0
- package/node_modules/fast-wrap-ansi/README.md +26 -0
- package/node_modules/fast-wrap-ansi/lib/main.d.ts +6 -0
- package/node_modules/fast-wrap-ansi/lib/main.js +216 -0
- package/node_modules/fast-wrap-ansi/lib/main.js.map +1 -0
- package/node_modules/fast-wrap-ansi/package.json +51 -0
- package/node_modules/giget/LICENSE +184 -0
- package/node_modules/giget/README.md +248 -0
- package/node_modules/giget/dist/cli.mjs +112 -0
- package/node_modules/giget/dist/index.d.mts +49 -0
- package/node_modules/giget/dist/index.mjs +22 -0
- package/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +468 -0
- package/node_modules/giget/package.json +62 -0
- package/node_modules/node-fetch-native/LICENSE +114 -0
- package/node_modules/node-fetch-native/README.md +225 -0
- package/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs +2 -0
- package/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +2 -0
- package/node_modules/node-fetch-native/dist/index.cjs +1 -0
- package/node_modules/node-fetch-native/dist/index.mjs +1 -0
- package/node_modules/node-fetch-native/dist/native.cjs +1 -0
- package/node_modules/node-fetch-native/dist/native.mjs +1 -0
- package/node_modules/node-fetch-native/dist/node.cjs +19 -0
- package/node_modules/node-fetch-native/dist/node.mjs +19 -0
- package/node_modules/node-fetch-native/dist/polyfill.cjs +1 -0
- package/node_modules/node-fetch-native/dist/polyfill.mjs +1 -0
- package/node_modules/node-fetch-native/dist/proxy-stub.cjs +1 -0
- package/node_modules/node-fetch-native/dist/proxy-stub.mjs +1 -0
- package/node_modules/node-fetch-native/dist/proxy.cjs +58 -0
- package/node_modules/node-fetch-native/dist/shared/node-fetch-native.DfbY2q-x.mjs +1 -0
- package/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +1 -0
- package/node_modules/node-fetch-native/index.d.ts +1 -0
- package/node_modules/node-fetch-native/lib/empty.cjs +0 -0
- package/node_modules/node-fetch-native/lib/empty.mjs +0 -0
- package/node_modules/node-fetch-native/lib/index.cjs +11 -0
- package/node_modules/node-fetch-native/lib/index.d.cts +10 -0
- package/node_modules/node-fetch-native/lib/index.d.mts +10 -0
- package/node_modules/node-fetch-native/lib/index.d.ts +10 -0
- package/node_modules/node-fetch-native/lib/native.cjs +11 -0
- package/node_modules/node-fetch-native/lib/polyfill.d.cts +1 -0
- package/node_modules/node-fetch-native/lib/polyfill.d.mts +1 -0
- package/node_modules/node-fetch-native/lib/polyfill.d.ts +1 -0
- package/node_modules/node-fetch-native/lib/proxy.d.ts +32 -0
- package/node_modules/node-fetch-native/node.d.ts +1 -0
- package/node_modules/node-fetch-native/package.json +138 -0
- package/node_modules/node-fetch-native/polyfill.d.ts +1 -0
- package/node_modules/node-fetch-native/proxy.d.ts +1 -0
- package/node_modules/nypm/LICENSE +21 -0
- package/node_modules/nypm/README.md +152 -0
- package/node_modules/nypm/dist/cli.d.mts +1 -0
- package/node_modules/nypm/dist/cli.mjs +460 -0
- package/node_modules/nypm/dist/index.d.mts +209 -0
- package/node_modules/nypm/dist/index.mjs +423 -0
- package/node_modules/nypm/node_modules/citty/LICENSE +21 -0
- package/node_modules/nypm/node_modules/citty/README.md +231 -0
- package/node_modules/nypm/node_modules/citty/dist/THIRD-PARTY-LICENSES.md +33 -0
- package/node_modules/nypm/node_modules/citty/dist/_chunks/libs/scule.mjs +70 -0
- package/node_modules/nypm/node_modules/citty/dist/index.d.mts +112 -0
- package/node_modules/nypm/node_modules/citty/dist/index.mjs +425 -0
- package/node_modules/nypm/node_modules/citty/package.json +42 -0
- package/node_modules/nypm/package.json +54 -0
- package/node_modules/pathe/LICENSE +70 -0
- package/node_modules/pathe/README.md +73 -0
- package/node_modules/pathe/dist/index.cjs +39 -0
- package/node_modules/pathe/dist/index.d.cts +47 -0
- package/node_modules/pathe/dist/index.d.mts +47 -0
- package/node_modules/pathe/dist/index.d.ts +47 -0
- package/node_modules/pathe/dist/index.mjs +19 -0
- package/node_modules/pathe/dist/shared/pathe.BSlhyZSM.cjs +266 -0
- package/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs +249 -0
- package/node_modules/pathe/dist/utils.cjs +82 -0
- package/node_modules/pathe/dist/utils.d.cts +32 -0
- package/node_modules/pathe/dist/utils.d.mts +32 -0
- package/node_modules/pathe/dist/utils.d.ts +32 -0
- package/node_modules/pathe/dist/utils.mjs +77 -0
- package/node_modules/pathe/package.json +61 -0
- package/node_modules/pathe/utils.d.ts +1 -0
- package/node_modules/picocolors/LICENSE +15 -0
- package/node_modules/picocolors/README.md +21 -0
- package/node_modules/picocolors/package.json +25 -0
- package/node_modules/picocolors/picocolors.browser.js +4 -0
- package/node_modules/picocolors/picocolors.d.ts +5 -0
- package/node_modules/picocolors/picocolors.js +75 -0
- package/node_modules/picocolors/types.d.ts +51 -0
- package/node_modules/sisteransi/license +21 -0
- package/node_modules/sisteransi/package.json +34 -0
- package/node_modules/sisteransi/readme.md +113 -0
- package/node_modules/sisteransi/src/index.js +58 -0
- package/node_modules/sisteransi/src/sisteransi.d.ts +35 -0
- package/node_modules/tinyexec/LICENSE +21 -0
- package/node_modules/tinyexec/README.md +269 -0
- package/node_modules/tinyexec/dist/LICENSES.txt +83 -0
- package/node_modules/tinyexec/dist/main.d.mts +71 -0
- package/node_modules/tinyexec/dist/main.mjs +642 -0
- package/node_modules/tinyexec/package.json +62 -0
- package/package.json +74 -74
- package/CHANGELOG.md +0 -764
- package/bin/maizzle +0 -5
- package/src/commands/build.js +0 -348
- package/src/commands/serve.js +0 -3
- package/src/generators/plaintext.js +0 -222
- package/src/generators/render.js +0 -129
- package/src/index.js +0 -49
- package/src/posthtml/defaultComponentsConfig.js +0 -19
- package/src/posthtml/defaultConfig.js +0 -14
- package/src/posthtml/index.js +0 -102
- package/src/posthtml/plugins/combineMediaQueries.js +0 -42
- package/src/posthtml/plugins/envAttributes.js +0 -32
- package/src/posthtml/plugins/envTags.js +0 -33
- package/src/posthtml/plugins/expandLinkTag.js +0 -59
- package/src/posthtml/plugins/postcss/compileCss.js +0 -129
- package/src/posthtml/plugins/removeRawStyleAttributes.js +0 -30
- package/src/server/client.js +0 -182
- package/src/server/index.js +0 -464
- package/src/server/routes/hmr.js +0 -26
- package/src/server/routes/index.js +0 -77
- package/src/server/views/404.html +0 -59
- package/src/server/views/error.html +0 -83
- package/src/server/views/index.html +0 -172
- package/src/server/websockets.js +0 -27
- package/src/transformers/addAttributes.js +0 -29
- package/src/transformers/attributeToStyle.js +0 -90
- package/src/transformers/baseUrl.js +0 -154
- package/src/transformers/core.js +0 -32
- package/src/transformers/filters/defaultFilters.js +0 -146
- package/src/transformers/filters/index.js +0 -18
- package/src/transformers/index.js +0 -259
- package/src/transformers/inline.js +0 -306
- package/src/transformers/markdown.js +0 -26
- package/src/transformers/minify.js +0 -27
- package/src/transformers/posthtmlMso.js +0 -14
- package/src/transformers/prettify.js +0 -29
- package/src/transformers/preventWidows.js +0 -37
- package/src/transformers/purge.js +0 -56
- package/src/transformers/removeAttributes.js +0 -55
- package/src/transformers/replaceStrings.js +0 -37
- package/src/transformers/safeClassNames.js +0 -29
- package/src/transformers/shorthandCss.js +0 -20
- package/src/transformers/sixHex.js +0 -30
- package/src/transformers/template.js +0 -26
- package/src/transformers/urlParameters.js +0 -20
- package/src/transformers/useAttributeSizes.js +0 -63
- package/src/utils/getConfigByFilePath.js +0 -143
- package/src/utils/node.js +0 -68
- package/src/utils/string.js +0 -186
- package/types/build.d.ts +0 -166
- package/types/config.d.ts +0 -638
- package/types/css/combineMediaQueries.d.ts +0 -90
- package/types/css/inline.d.ts +0 -218
- package/types/css/purge.d.ts +0 -125
- package/types/events.d.ts +0 -153
- package/types/index.d.ts +0 -232
- package/types/markdown.d.ts +0 -33
- package/types/minify.d.ts +0 -138
- package/types/plaintext.d.ts +0 -56
- package/types/posthtml.d.ts +0 -162
- package/types/render.d.ts +0 -13
- package/types/urlParameters.d.ts +0 -40
- package/types/widowWords.d.ts +0 -38
|
@@ -0,0 +1,642 @@
|
|
|
1
|
+
import { createRequire as e } from "node:module";
|
|
2
|
+
import { spawn as t } from "node:child_process";
|
|
3
|
+
import { delimiter as n, dirname as r, normalize as i, resolve as a } from "node:path";
|
|
4
|
+
import { cwd as o } from "node:process";
|
|
5
|
+
import { PassThrough as s } from "node:stream";
|
|
6
|
+
import c from "node:readline";
|
|
7
|
+
//#region \0rolldown/runtime.js
|
|
8
|
+
var l = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
|
|
9
|
+
var u = /* @__PURE__ */ e(import.meta.url);
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region src/env.ts
|
|
12
|
+
const d = /^path$/i;
|
|
13
|
+
const f = {
|
|
14
|
+
key: "PATH",
|
|
15
|
+
value: ""
|
|
16
|
+
};
|
|
17
|
+
function p(e) {
|
|
18
|
+
for (const t in e) {
|
|
19
|
+
if (!Object.prototype.hasOwnProperty.call(e, t) || !d.test(t)) continue;
|
|
20
|
+
const n = e[t];
|
|
21
|
+
if (!n) return f;
|
|
22
|
+
return {
|
|
23
|
+
key: t,
|
|
24
|
+
value: n
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
return f;
|
|
28
|
+
}
|
|
29
|
+
function m(e, t) {
|
|
30
|
+
const i = t.value.split(n);
|
|
31
|
+
const o = [];
|
|
32
|
+
let s = e;
|
|
33
|
+
let c;
|
|
34
|
+
do {
|
|
35
|
+
o.push(a(s, "node_modules", ".bin"));
|
|
36
|
+
c = s;
|
|
37
|
+
s = r(s);
|
|
38
|
+
} while (s !== c);
|
|
39
|
+
const l = o.concat(i).join(n);
|
|
40
|
+
return {
|
|
41
|
+
key: t.key,
|
|
42
|
+
value: l
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function h(e, t) {
|
|
46
|
+
const n = {
|
|
47
|
+
...process.env,
|
|
48
|
+
...t
|
|
49
|
+
};
|
|
50
|
+
const r = m(e, p(n));
|
|
51
|
+
n[r.key] = r.value;
|
|
52
|
+
return n;
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/stream.ts
|
|
56
|
+
const g = (e) => {
|
|
57
|
+
let t = e.length;
|
|
58
|
+
const n = new s();
|
|
59
|
+
const r = () => {
|
|
60
|
+
if (--t === 0) n.emit("end");
|
|
61
|
+
};
|
|
62
|
+
for (const t of e) {
|
|
63
|
+
t.pipe(n, { end: false });
|
|
64
|
+
t.on("end", r);
|
|
65
|
+
}
|
|
66
|
+
return n;
|
|
67
|
+
};
|
|
68
|
+
//#endregion
|
|
69
|
+
//#region node_modules/isexe/windows.js
|
|
70
|
+
var _ = /* @__PURE__ */ l(((e, t) => {
|
|
71
|
+
t.exports = a;
|
|
72
|
+
a.sync = o;
|
|
73
|
+
var n = u("fs");
|
|
74
|
+
function r(e, t) {
|
|
75
|
+
var n = t.pathExt !== void 0 ? t.pathExt : process.env.PATHEXT;
|
|
76
|
+
if (!n) return true;
|
|
77
|
+
n = n.split(";");
|
|
78
|
+
if (n.indexOf("") !== -1) return true;
|
|
79
|
+
for (var r = 0; r < n.length; r++) {
|
|
80
|
+
var i = n[r].toLowerCase();
|
|
81
|
+
if (i && e.substr(-i.length).toLowerCase() === i) return true;
|
|
82
|
+
}
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
function i(e, t, n) {
|
|
86
|
+
if (!e.isSymbolicLink() && !e.isFile()) return false;
|
|
87
|
+
return r(t, n);
|
|
88
|
+
}
|
|
89
|
+
function a(e, t, r) {
|
|
90
|
+
n.stat(e, function(n, a) {
|
|
91
|
+
r(n, n ? false : i(a, e, t));
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
function o(e, t) {
|
|
95
|
+
return i(n.statSync(e), e, t);
|
|
96
|
+
}
|
|
97
|
+
}));
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region node_modules/isexe/mode.js
|
|
100
|
+
var v = /* @__PURE__ */ l(((e, t) => {
|
|
101
|
+
t.exports = r;
|
|
102
|
+
r.sync = i;
|
|
103
|
+
var n = u("fs");
|
|
104
|
+
function r(e, t, r) {
|
|
105
|
+
n.stat(e, function(e, n) {
|
|
106
|
+
r(e, e ? false : a(n, t));
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
function i(e, t) {
|
|
110
|
+
return a(n.statSync(e), t);
|
|
111
|
+
}
|
|
112
|
+
function a(e, t) {
|
|
113
|
+
return e.isFile() && o(e, t);
|
|
114
|
+
}
|
|
115
|
+
function o(e, t) {
|
|
116
|
+
var n = e.mode;
|
|
117
|
+
var r = e.uid;
|
|
118
|
+
var i = e.gid;
|
|
119
|
+
var a = t.uid !== void 0 ? t.uid : process.getuid && process.getuid();
|
|
120
|
+
var o = t.gid !== void 0 ? t.gid : process.getgid && process.getgid();
|
|
121
|
+
var s = parseInt("100", 8);
|
|
122
|
+
var c = parseInt("010", 8);
|
|
123
|
+
var l = parseInt("001", 8);
|
|
124
|
+
var u = s | c;
|
|
125
|
+
return n & l || n & c && i === o || n & s && r === a || n & u && a === 0;
|
|
126
|
+
}
|
|
127
|
+
}));
|
|
128
|
+
//#endregion
|
|
129
|
+
//#region node_modules/isexe/index.js
|
|
130
|
+
var y = /* @__PURE__ */ l(((e, t) => {
|
|
131
|
+
u("fs");
|
|
132
|
+
var n;
|
|
133
|
+
if (process.platform === "win32" || global.TESTING_WINDOWS) n = _();
|
|
134
|
+
else n = v();
|
|
135
|
+
t.exports = r;
|
|
136
|
+
r.sync = i;
|
|
137
|
+
function r(e, t, i) {
|
|
138
|
+
if (typeof t === "function") {
|
|
139
|
+
i = t;
|
|
140
|
+
t = {};
|
|
141
|
+
}
|
|
142
|
+
if (!i) {
|
|
143
|
+
if (typeof Promise !== "function") throw new TypeError("callback not provided");
|
|
144
|
+
return new Promise(function(n, i) {
|
|
145
|
+
r(e, t || {}, function(e, t) {
|
|
146
|
+
if (e) i(e);
|
|
147
|
+
else n(t);
|
|
148
|
+
});
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
n(e, t || {}, function(e, n) {
|
|
152
|
+
if (e) {
|
|
153
|
+
if (e.code === "EACCES" || t && t.ignoreErrors) {
|
|
154
|
+
e = null;
|
|
155
|
+
n = false;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
i(e, n);
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
function i(e, t) {
|
|
162
|
+
try {
|
|
163
|
+
return n.sync(e, t || {});
|
|
164
|
+
} catch (e) {
|
|
165
|
+
if (t && t.ignoreErrors || e.code === "EACCES") return false;
|
|
166
|
+
else throw e;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}));
|
|
170
|
+
//#endregion
|
|
171
|
+
//#region node_modules/which/which.js
|
|
172
|
+
var b = /* @__PURE__ */ l(((e, t) => {
|
|
173
|
+
const n = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
174
|
+
const r = u("path");
|
|
175
|
+
const i = n ? ";" : ":";
|
|
176
|
+
const a = y();
|
|
177
|
+
const o = (e) => Object.assign(/* @__PURE__ */ new Error(`not found: ${e}`), { code: "ENOENT" });
|
|
178
|
+
const s = (e, t) => {
|
|
179
|
+
const r = t.colon || i;
|
|
180
|
+
const a = e.match(/\//) || n && e.match(/\\/) ? [""] : [...n ? [process.cwd()] : [], ...(t.path || process.env.PATH || "").split(r)];
|
|
181
|
+
const o = n ? t.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
182
|
+
const s = n ? o.split(r) : [""];
|
|
183
|
+
if (n) {
|
|
184
|
+
if (e.indexOf(".") !== -1 && s[0] !== "") s.unshift("");
|
|
185
|
+
}
|
|
186
|
+
return {
|
|
187
|
+
pathEnv: a,
|
|
188
|
+
pathExt: s,
|
|
189
|
+
pathExtExe: o
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
const c = (e, t, n) => {
|
|
193
|
+
if (typeof t === "function") {
|
|
194
|
+
n = t;
|
|
195
|
+
t = {};
|
|
196
|
+
}
|
|
197
|
+
if (!t) t = {};
|
|
198
|
+
const { pathEnv: i, pathExt: c, pathExtExe: l } = s(e, t);
|
|
199
|
+
const u = [];
|
|
200
|
+
const d = (n) => new Promise((a, s) => {
|
|
201
|
+
if (n === i.length) return t.all && u.length ? a(u) : s(o(e));
|
|
202
|
+
const c = i[n];
|
|
203
|
+
const l = /^".*"$/.test(c) ? c.slice(1, -1) : c;
|
|
204
|
+
const d = r.join(l, e);
|
|
205
|
+
a(f(!l && /^\.[\\\/]/.test(e) ? e.slice(0, 2) + d : d, n, 0));
|
|
206
|
+
});
|
|
207
|
+
const f = (e, n, r) => new Promise((i, o) => {
|
|
208
|
+
if (r === c.length) return i(d(n + 1));
|
|
209
|
+
const s = c[r];
|
|
210
|
+
a(e + s, { pathExt: l }, (a, o) => {
|
|
211
|
+
if (!a && o) if (t.all) u.push(e + s);
|
|
212
|
+
else return i(e + s);
|
|
213
|
+
return i(f(e, n, r + 1));
|
|
214
|
+
});
|
|
215
|
+
});
|
|
216
|
+
return n ? d(0).then((e) => n(null, e), n) : d(0);
|
|
217
|
+
};
|
|
218
|
+
const l = (e, t) => {
|
|
219
|
+
t = t || {};
|
|
220
|
+
const { pathEnv: n, pathExt: i, pathExtExe: c } = s(e, t);
|
|
221
|
+
const l = [];
|
|
222
|
+
for (let o = 0; o < n.length; o++) {
|
|
223
|
+
const s = n[o];
|
|
224
|
+
const u = /^".*"$/.test(s) ? s.slice(1, -1) : s;
|
|
225
|
+
const d = r.join(u, e);
|
|
226
|
+
const f = !u && /^\.[\\\/]/.test(e) ? e.slice(0, 2) + d : d;
|
|
227
|
+
for (let e = 0; e < i.length; e++) {
|
|
228
|
+
const n = f + i[e];
|
|
229
|
+
try {
|
|
230
|
+
if (a.sync(n, { pathExt: c })) if (t.all) l.push(n);
|
|
231
|
+
else return n;
|
|
232
|
+
} catch (e) {}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
if (t.all && l.length) return l;
|
|
236
|
+
if (t.nothrow) return null;
|
|
237
|
+
throw o(e);
|
|
238
|
+
};
|
|
239
|
+
t.exports = c;
|
|
240
|
+
c.sync = l;
|
|
241
|
+
}));
|
|
242
|
+
//#endregion
|
|
243
|
+
//#region node_modules/path-key/index.js
|
|
244
|
+
var x = /* @__PURE__ */ l(((e, t) => {
|
|
245
|
+
const n = (e = {}) => {
|
|
246
|
+
const t = e.env || process.env;
|
|
247
|
+
if ((e.platform || process.platform) !== "win32") return "PATH";
|
|
248
|
+
return Object.keys(t).reverse().find((e) => e.toUpperCase() === "PATH") || "Path";
|
|
249
|
+
};
|
|
250
|
+
t.exports = n;
|
|
251
|
+
t.exports.default = n;
|
|
252
|
+
}));
|
|
253
|
+
//#endregion
|
|
254
|
+
//#region node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
255
|
+
var S = /* @__PURE__ */ l(((e, t) => {
|
|
256
|
+
const n = u("path");
|
|
257
|
+
const r = b();
|
|
258
|
+
const i = x();
|
|
259
|
+
function a(e, t) {
|
|
260
|
+
const a = e.options.env || process.env;
|
|
261
|
+
const o = process.cwd();
|
|
262
|
+
const s = e.options.cwd != null;
|
|
263
|
+
const c = s && process.chdir !== void 0 && !process.chdir.disabled;
|
|
264
|
+
if (c) try {
|
|
265
|
+
process.chdir(e.options.cwd);
|
|
266
|
+
} catch (e) {}
|
|
267
|
+
let l;
|
|
268
|
+
try {
|
|
269
|
+
l = r.sync(e.command, {
|
|
270
|
+
path: a[i({ env: a })],
|
|
271
|
+
pathExt: t ? n.delimiter : void 0
|
|
272
|
+
});
|
|
273
|
+
} catch (e) {} finally {
|
|
274
|
+
if (c) process.chdir(o);
|
|
275
|
+
}
|
|
276
|
+
if (l) l = n.resolve(s ? e.options.cwd : "", l);
|
|
277
|
+
return l;
|
|
278
|
+
}
|
|
279
|
+
function o(e) {
|
|
280
|
+
return a(e) || a(e, true);
|
|
281
|
+
}
|
|
282
|
+
t.exports = o;
|
|
283
|
+
}));
|
|
284
|
+
//#endregion
|
|
285
|
+
//#region node_modules/cross-spawn/lib/util/escape.js
|
|
286
|
+
var C = /* @__PURE__ */ l(((e, t) => {
|
|
287
|
+
const n = /([()\][%!^"`<>&|;, *?])/g;
|
|
288
|
+
function r(e) {
|
|
289
|
+
e = e.replace(n, "^$1");
|
|
290
|
+
return e;
|
|
291
|
+
}
|
|
292
|
+
function i(e, t) {
|
|
293
|
+
e = `${e}`;
|
|
294
|
+
e = e.replace(/(?=(\\+?)?)\1"/g, "$1$1\\\"");
|
|
295
|
+
e = e.replace(/(?=(\\+?)?)\1$/, "$1$1");
|
|
296
|
+
e = `"${e}"`;
|
|
297
|
+
e = e.replace(n, "^$1");
|
|
298
|
+
if (t) e = e.replace(n, "^$1");
|
|
299
|
+
return e;
|
|
300
|
+
}
|
|
301
|
+
t.exports.command = r;
|
|
302
|
+
t.exports.argument = i;
|
|
303
|
+
}));
|
|
304
|
+
//#endregion
|
|
305
|
+
//#region node_modules/shebang-regex/index.js
|
|
306
|
+
var w = /* @__PURE__ */ l(((e, t) => {
|
|
307
|
+
t.exports = /^#!(.*)/;
|
|
308
|
+
}));
|
|
309
|
+
//#endregion
|
|
310
|
+
//#region node_modules/shebang-command/index.js
|
|
311
|
+
var T = /* @__PURE__ */ l(((e, t) => {
|
|
312
|
+
const n = w();
|
|
313
|
+
t.exports = (e = "") => {
|
|
314
|
+
const t = e.match(n);
|
|
315
|
+
if (!t) return null;
|
|
316
|
+
const [r, i] = t[0].replace(/#! ?/, "").split(" ");
|
|
317
|
+
const a = r.split("/").pop();
|
|
318
|
+
if (a === "env") return i;
|
|
319
|
+
return i ? `${a} ${i}` : a;
|
|
320
|
+
};
|
|
321
|
+
}));
|
|
322
|
+
//#endregion
|
|
323
|
+
//#region node_modules/cross-spawn/lib/util/readShebang.js
|
|
324
|
+
var E = /* @__PURE__ */ l(((e, t) => {
|
|
325
|
+
const n = u("fs");
|
|
326
|
+
const r = T();
|
|
327
|
+
function i(e) {
|
|
328
|
+
const t = 150;
|
|
329
|
+
const i = Buffer.alloc(t);
|
|
330
|
+
let a;
|
|
331
|
+
try {
|
|
332
|
+
a = n.openSync(e, "r");
|
|
333
|
+
n.readSync(a, i, 0, t, 0);
|
|
334
|
+
n.closeSync(a);
|
|
335
|
+
} catch (e) {}
|
|
336
|
+
return r(i.toString());
|
|
337
|
+
}
|
|
338
|
+
t.exports = i;
|
|
339
|
+
}));
|
|
340
|
+
//#endregion
|
|
341
|
+
//#region node_modules/cross-spawn/lib/parse.js
|
|
342
|
+
var D = /* @__PURE__ */ l(((e, t) => {
|
|
343
|
+
const n = u("path");
|
|
344
|
+
const r = S();
|
|
345
|
+
const i = C();
|
|
346
|
+
const a = E();
|
|
347
|
+
const o = process.platform === "win32";
|
|
348
|
+
const s = /\.(?:com|exe)$/i;
|
|
349
|
+
const c = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
350
|
+
function l(e) {
|
|
351
|
+
e.file = r(e);
|
|
352
|
+
const t = e.file && a(e.file);
|
|
353
|
+
if (t) {
|
|
354
|
+
e.args.unshift(e.file);
|
|
355
|
+
e.command = t;
|
|
356
|
+
return r(e);
|
|
357
|
+
}
|
|
358
|
+
return e.file;
|
|
359
|
+
}
|
|
360
|
+
function d(e) {
|
|
361
|
+
if (!o) return e;
|
|
362
|
+
const t = l(e);
|
|
363
|
+
const r = !s.test(t);
|
|
364
|
+
if (e.options.forceShell || r) {
|
|
365
|
+
const r = c.test(t);
|
|
366
|
+
e.command = n.normalize(e.command);
|
|
367
|
+
e.command = i.command(e.command);
|
|
368
|
+
e.args = e.args.map((e) => i.argument(e, r));
|
|
369
|
+
e.args = [
|
|
370
|
+
"/d",
|
|
371
|
+
"/s",
|
|
372
|
+
"/c",
|
|
373
|
+
`"${[e.command].concat(e.args).join(" ")}"`
|
|
374
|
+
];
|
|
375
|
+
e.command = process.env.comspec || "cmd.exe";
|
|
376
|
+
e.options.windowsVerbatimArguments = true;
|
|
377
|
+
}
|
|
378
|
+
return e;
|
|
379
|
+
}
|
|
380
|
+
function f(e, t, n) {
|
|
381
|
+
if (t && !Array.isArray(t)) {
|
|
382
|
+
n = t;
|
|
383
|
+
t = null;
|
|
384
|
+
}
|
|
385
|
+
t = t ? t.slice(0) : [];
|
|
386
|
+
n = Object.assign({}, n);
|
|
387
|
+
const r = {
|
|
388
|
+
command: e,
|
|
389
|
+
args: t,
|
|
390
|
+
options: n,
|
|
391
|
+
file: void 0,
|
|
392
|
+
original: {
|
|
393
|
+
command: e,
|
|
394
|
+
args: t
|
|
395
|
+
}
|
|
396
|
+
};
|
|
397
|
+
return n.shell ? r : d(r);
|
|
398
|
+
}
|
|
399
|
+
t.exports = f;
|
|
400
|
+
}));
|
|
401
|
+
//#endregion
|
|
402
|
+
//#region node_modules/cross-spawn/lib/enoent.js
|
|
403
|
+
var O = /* @__PURE__ */ l(((e, t) => {
|
|
404
|
+
const n = process.platform === "win32";
|
|
405
|
+
function r(e, t) {
|
|
406
|
+
return Object.assign(/* @__PURE__ */ new Error(`${t} ${e.command} ENOENT`), {
|
|
407
|
+
code: "ENOENT",
|
|
408
|
+
errno: "ENOENT",
|
|
409
|
+
syscall: `${t} ${e.command}`,
|
|
410
|
+
path: e.command,
|
|
411
|
+
spawnargs: e.args
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
function i(e, t) {
|
|
415
|
+
if (!n) return;
|
|
416
|
+
const r = e.emit;
|
|
417
|
+
e.emit = function(n, i) {
|
|
418
|
+
if (n === "exit") {
|
|
419
|
+
const n = a(i, t);
|
|
420
|
+
if (n) return r.call(e, "error", n);
|
|
421
|
+
}
|
|
422
|
+
return r.apply(e, arguments);
|
|
423
|
+
};
|
|
424
|
+
}
|
|
425
|
+
function a(e, t) {
|
|
426
|
+
if (n && e === 1 && !t.file) return r(t.original, "spawn");
|
|
427
|
+
return null;
|
|
428
|
+
}
|
|
429
|
+
function o(e, t) {
|
|
430
|
+
if (n && e === 1 && !t.file) return r(t.original, "spawnSync");
|
|
431
|
+
return null;
|
|
432
|
+
}
|
|
433
|
+
t.exports = {
|
|
434
|
+
hookChildProcess: i,
|
|
435
|
+
verifyENOENT: a,
|
|
436
|
+
verifyENOENTSync: o,
|
|
437
|
+
notFoundError: r
|
|
438
|
+
};
|
|
439
|
+
}));
|
|
440
|
+
//#endregion
|
|
441
|
+
//#region node_modules/cross-spawn/index.js
|
|
442
|
+
var k = /* @__PURE__ */ l(((e, t) => {
|
|
443
|
+
const n = u("child_process");
|
|
444
|
+
const r = D();
|
|
445
|
+
const i = O();
|
|
446
|
+
function a(e, t, a) {
|
|
447
|
+
const o = r(e, t, a);
|
|
448
|
+
const s = n.spawn(o.command, o.args, o.options);
|
|
449
|
+
i.hookChildProcess(s, o);
|
|
450
|
+
return s;
|
|
451
|
+
}
|
|
452
|
+
function o(e, t, a) {
|
|
453
|
+
const o = r(e, t, a);
|
|
454
|
+
const s = n.spawnSync(o.command, o.args, o.options);
|
|
455
|
+
s.error = s.error || i.verifyENOENTSync(s.status, o);
|
|
456
|
+
return s;
|
|
457
|
+
}
|
|
458
|
+
t.exports = a;
|
|
459
|
+
t.exports.spawn = a;
|
|
460
|
+
t.exports.sync = o;
|
|
461
|
+
t.exports._parse = r;
|
|
462
|
+
t.exports._enoent = i;
|
|
463
|
+
}));
|
|
464
|
+
//#endregion
|
|
465
|
+
//#region src/non-zero-exit-error.ts
|
|
466
|
+
var A = k();
|
|
467
|
+
var j = class extends Error {
|
|
468
|
+
result;
|
|
469
|
+
output;
|
|
470
|
+
get exitCode() {
|
|
471
|
+
if (this.result.exitCode !== null) return this.result.exitCode;
|
|
472
|
+
}
|
|
473
|
+
constructor(e, t) {
|
|
474
|
+
super(`Process exited with non-zero status (${e.exitCode})`);
|
|
475
|
+
this.result = e;
|
|
476
|
+
this.output = t;
|
|
477
|
+
}
|
|
478
|
+
};
|
|
479
|
+
//#endregion
|
|
480
|
+
//#region src/main.ts
|
|
481
|
+
const M = {
|
|
482
|
+
timeout: void 0,
|
|
483
|
+
persist: false
|
|
484
|
+
};
|
|
485
|
+
const N = { windowsHide: true };
|
|
486
|
+
function P(e, t) {
|
|
487
|
+
return {
|
|
488
|
+
command: i(e),
|
|
489
|
+
args: t ?? []
|
|
490
|
+
};
|
|
491
|
+
}
|
|
492
|
+
function F(e) {
|
|
493
|
+
const t = new AbortController();
|
|
494
|
+
for (const n of e) {
|
|
495
|
+
if (n.aborted) {
|
|
496
|
+
t.abort();
|
|
497
|
+
return n;
|
|
498
|
+
}
|
|
499
|
+
const e = () => {
|
|
500
|
+
t.abort(n.reason);
|
|
501
|
+
};
|
|
502
|
+
n.addEventListener("abort", e, { signal: t.signal });
|
|
503
|
+
}
|
|
504
|
+
return t.signal;
|
|
505
|
+
}
|
|
506
|
+
async function I(e) {
|
|
507
|
+
let t = "";
|
|
508
|
+
for await (const n of e) t += n.toString();
|
|
509
|
+
return t;
|
|
510
|
+
}
|
|
511
|
+
var L = class {
|
|
512
|
+
_process;
|
|
513
|
+
_aborted = false;
|
|
514
|
+
_options;
|
|
515
|
+
_command;
|
|
516
|
+
_args;
|
|
517
|
+
_resolveClose;
|
|
518
|
+
_processClosed;
|
|
519
|
+
_thrownError;
|
|
520
|
+
get process() {
|
|
521
|
+
return this._process;
|
|
522
|
+
}
|
|
523
|
+
get pid() {
|
|
524
|
+
return this._process?.pid;
|
|
525
|
+
}
|
|
526
|
+
get exitCode() {
|
|
527
|
+
if (this._process && this._process.exitCode !== null) return this._process.exitCode;
|
|
528
|
+
}
|
|
529
|
+
constructor(e, t, n) {
|
|
530
|
+
this._options = {
|
|
531
|
+
...M,
|
|
532
|
+
...n
|
|
533
|
+
};
|
|
534
|
+
this._command = e;
|
|
535
|
+
this._args = t ?? [];
|
|
536
|
+
this._processClosed = new Promise((e) => {
|
|
537
|
+
this._resolveClose = e;
|
|
538
|
+
});
|
|
539
|
+
}
|
|
540
|
+
kill(e) {
|
|
541
|
+
return this._process?.kill(e) === true;
|
|
542
|
+
}
|
|
543
|
+
get aborted() {
|
|
544
|
+
return this._aborted;
|
|
545
|
+
}
|
|
546
|
+
get killed() {
|
|
547
|
+
return this._process?.killed === true;
|
|
548
|
+
}
|
|
549
|
+
pipe(e, t, n) {
|
|
550
|
+
return z(e, t, {
|
|
551
|
+
...n,
|
|
552
|
+
stdin: this
|
|
553
|
+
});
|
|
554
|
+
}
|
|
555
|
+
async *[Symbol.asyncIterator]() {
|
|
556
|
+
const e = this._process;
|
|
557
|
+
if (!e) return;
|
|
558
|
+
const t = [];
|
|
559
|
+
if (this._streamErr) t.push(this._streamErr);
|
|
560
|
+
if (this._streamOut) t.push(this._streamOut);
|
|
561
|
+
const n = g(t);
|
|
562
|
+
const r = c.createInterface({ input: n });
|
|
563
|
+
for await (const e of r) yield e.toString();
|
|
564
|
+
await this._processClosed;
|
|
565
|
+
e.removeAllListeners();
|
|
566
|
+
if (this._thrownError) throw this._thrownError;
|
|
567
|
+
if (this._options?.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new j(this);
|
|
568
|
+
}
|
|
569
|
+
async _waitForOutput() {
|
|
570
|
+
const e = this._process;
|
|
571
|
+
if (!e) throw new Error("No process was started");
|
|
572
|
+
const [t, n] = await Promise.all([this._streamOut ? I(this._streamOut) : "", this._streamErr ? I(this._streamErr) : ""]);
|
|
573
|
+
await this._processClosed;
|
|
574
|
+
if (this._options?.stdin) await this._options.stdin;
|
|
575
|
+
e.removeAllListeners();
|
|
576
|
+
if (this._thrownError) throw this._thrownError;
|
|
577
|
+
const r = {
|
|
578
|
+
stderr: n,
|
|
579
|
+
stdout: t,
|
|
580
|
+
exitCode: this.exitCode
|
|
581
|
+
};
|
|
582
|
+
if (this._options.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new j(this, r);
|
|
583
|
+
return r;
|
|
584
|
+
}
|
|
585
|
+
then(e, t) {
|
|
586
|
+
return this._waitForOutput().then(e, t);
|
|
587
|
+
}
|
|
588
|
+
_streamOut;
|
|
589
|
+
_streamErr;
|
|
590
|
+
spawn() {
|
|
591
|
+
const e = o();
|
|
592
|
+
const n = this._options;
|
|
593
|
+
const r = {
|
|
594
|
+
...N,
|
|
595
|
+
...n.nodeOptions
|
|
596
|
+
};
|
|
597
|
+
const i = [];
|
|
598
|
+
this._resetState();
|
|
599
|
+
if (n.timeout !== void 0) i.push(AbortSignal.timeout(n.timeout));
|
|
600
|
+
if (n.signal !== void 0) i.push(n.signal);
|
|
601
|
+
if (n.persist === true) r.detached = true;
|
|
602
|
+
if (i.length > 0) r.signal = F(i);
|
|
603
|
+
r.env = h(e, r.env);
|
|
604
|
+
const { command: a, args: s } = P(this._command, this._args);
|
|
605
|
+
const c = (0, A._parse)(a, s, r);
|
|
606
|
+
const l = t(c.command, c.args, c.options);
|
|
607
|
+
if (l.stderr) this._streamErr = l.stderr;
|
|
608
|
+
if (l.stdout) this._streamOut = l.stdout;
|
|
609
|
+
this._process = l;
|
|
610
|
+
l.once("error", this._onError);
|
|
611
|
+
l.once("close", this._onClose);
|
|
612
|
+
if (n.stdin !== void 0 && l.stdin && n.stdin.process) {
|
|
613
|
+
const { stdout: e } = n.stdin.process;
|
|
614
|
+
if (e) e.pipe(l.stdin);
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
_resetState() {
|
|
618
|
+
this._aborted = false;
|
|
619
|
+
this._processClosed = new Promise((e) => {
|
|
620
|
+
this._resolveClose = e;
|
|
621
|
+
});
|
|
622
|
+
this._thrownError = void 0;
|
|
623
|
+
}
|
|
624
|
+
_onError = (e) => {
|
|
625
|
+
if (e.name === "AbortError" && (!(e.cause instanceof Error) || e.cause.name !== "TimeoutError")) {
|
|
626
|
+
this._aborted = true;
|
|
627
|
+
return;
|
|
628
|
+
}
|
|
629
|
+
this._thrownError = e;
|
|
630
|
+
};
|
|
631
|
+
_onClose = () => {
|
|
632
|
+
if (this._resolveClose) this._resolveClose();
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
const R = (e, t, n) => {
|
|
636
|
+
const r = new L(e, t, n);
|
|
637
|
+
r.spawn();
|
|
638
|
+
return r;
|
|
639
|
+
};
|
|
640
|
+
const z = R;
|
|
641
|
+
//#endregion
|
|
642
|
+
export { L as ExecProcess, j as NonZeroExitError, z as exec, R as x };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tinyexec",
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "A minimal library for executing processes in Node",
|
|
6
|
+
"main": "./dist/main.mjs",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=18"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "tsdown",
|
|
15
|
+
"build:types": "tsc",
|
|
16
|
+
"dev": "tsdown --watch",
|
|
17
|
+
"format": "prettier --write src",
|
|
18
|
+
"format:check": "prettier --check src",
|
|
19
|
+
"lint": "eslint src",
|
|
20
|
+
"prepare": "npm run build",
|
|
21
|
+
"test": "npm run build && vitest run"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/tinylibs/tinyexec.git"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"execa",
|
|
29
|
+
"exec",
|
|
30
|
+
"tiny",
|
|
31
|
+
"child_process",
|
|
32
|
+
"spawn"
|
|
33
|
+
],
|
|
34
|
+
"author": "James Garbutt (https://github.com/43081j)",
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"bugs": {
|
|
37
|
+
"url": "https://github.com/tinylibs/tinyexec/issues"
|
|
38
|
+
},
|
|
39
|
+
"homepage": "https://github.com/tinylibs/tinyexec#readme",
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@eslint/js": "^10.0.1",
|
|
42
|
+
"@types/cross-spawn": "^6.0.6",
|
|
43
|
+
"@types/node": "^25.4.0",
|
|
44
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
45
|
+
"cross-spawn": "^7.0.6",
|
|
46
|
+
"eslint": "^10.0.3",
|
|
47
|
+
"prettier": "^3.8.1",
|
|
48
|
+
"rollup-plugin-license": "^3.7.0",
|
|
49
|
+
"tsdown": "^0.21.1",
|
|
50
|
+
"typescript": "^5.9.3",
|
|
51
|
+
"typescript-eslint": "^8.57.0",
|
|
52
|
+
"vitest": "^4.0.7"
|
|
53
|
+
},
|
|
54
|
+
"exports": {
|
|
55
|
+
".": {
|
|
56
|
+
"types": "./dist/main.d.mts",
|
|
57
|
+
"default": "./dist/main.mjs"
|
|
58
|
+
},
|
|
59
|
+
"./package.json": "./package.json"
|
|
60
|
+
},
|
|
61
|
+
"types": "./dist/main.d.mts"
|
|
62
|
+
}
|