astro-tractstack 2.0.0-rc.5 → 2.0.0-rc.51
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 +0 -0
- package/README.md +1 -1
- package/astro.d.ts +0 -0
- package/bin/create-tractstack.js +124 -38
- package/dist/index.js +42 -6
- package/package.json +7 -2
- package/templates/artpacks/kCz/captainBreakfast_1080px.webp +0 -0
- package/templates/artpacks/kCz/captainBreakfast_1920px.webp +0 -0
- package/templates/artpacks/kCz/captainBreakfast_600px.webp +0 -0
- package/templates/artpacks/kCz/cleanDrips_1080px.webp +0 -0
- package/templates/artpacks/kCz/cleanDrips_1920px.webp +0 -0
- package/templates/artpacks/kCz/cleanDrips_600px.webp +0 -0
- package/templates/artpacks/kCz/crispwaves_1080px.webp +0 -0
- package/templates/artpacks/kCz/crispwaves_1920px.webp +0 -0
- package/templates/artpacks/kCz/crispwaves_600px.webp +0 -0
- package/templates/artpacks/kCz/dragonSkin_1080px.webp +0 -0
- package/templates/artpacks/kCz/dragonSkin_1920px.webp +0 -0
- package/templates/artpacks/kCz/dragonSkin_600px.webp +0 -0
- package/templates/artpacks/kCz/dragon_1080px.webp +0 -0
- package/templates/artpacks/kCz/dragon_1920px.webp +0 -0
- package/templates/artpacks/kCz/dragon_600px.webp +0 -0
- package/templates/artpacks/kCz/nightcity_1080px.webp +0 -0
- package/templates/artpacks/kCz/nightcity_1920px.webp +0 -0
- package/templates/artpacks/kCz/nightcity_600px.webp +0 -0
- package/templates/artpacks/kCz/pattern1_1080px.webp +0 -0
- package/templates/artpacks/kCz/pattern1_1920px.webp +0 -0
- package/templates/artpacks/kCz/pattern1_600px.webp +0 -0
- package/templates/artpacks/kCz/pattern2_1080px.webp +0 -0
- package/templates/artpacks/kCz/pattern2_1920px.webp +0 -0
- package/templates/artpacks/kCz/pattern2_600px.webp +0 -0
- package/templates/artpacks/kCz/skindrips_1080px.webp +0 -0
- package/templates/artpacks/kCz/skindrips_1920px.webp +0 -0
- package/templates/artpacks/kCz/skindrips_600px.webp +0 -0
- package/templates/artpacks/kCz/slimetime_1080px.webp +0 -0
- package/templates/artpacks/kCz/slimetime_1920px.webp +0 -0
- package/templates/artpacks/kCz/slimetime_600px.webp +0 -0
- package/templates/artpacks/kCz/snake_1080px.webp +0 -0
- package/templates/artpacks/kCz/snake_1920px.webp +0 -0
- package/templates/artpacks/kCz/snake_600px.webp +0 -0
- package/templates/artpacks/kCz/toxicshock_1080px.webp +0 -0
- package/templates/artpacks/kCz/toxicshock_1920px.webp +0 -0
- package/templates/artpacks/kCz/toxicshock_600px.webp +0 -0
- package/templates/artpacks/kCz/tractstack_1080px.webp +0 -0
- package/templates/artpacks/kCz/tractstack_1920px.webp +0 -0
- package/templates/artpacks/kCz/tractstack_600px.webp +0 -0
- package/templates/artpacks/kCz/tripdrips_1080px.webp +0 -0
- package/templates/artpacks/kCz/tripdrips_1920px.webp +0 -0
- package/templates/artpacks/kCz/tripdrips_600px.webp +0 -0
- package/templates/artpacks/kCz/wavedrips_1080px.webp +0 -0
- package/templates/artpacks/kCz/wavedrips_1920px.webp +0 -0
- package/templates/artpacks/kCz/wavedrips_600px.webp +0 -0
- package/templates/artpacks/t8k/beach_1080px.webp +0 -0
- package/templates/artpacks/t8k/beach_1920px.webp +0 -0
- package/templates/artpacks/t8k/beach_600px.webp +0 -0
- package/templates/artpacks/t8k/blast_1080px.webp +0 -0
- package/templates/artpacks/t8k/blast_1920px.webp +0 -0
- package/templates/artpacks/t8k/blast_600px.webp +0 -0
- package/templates/artpacks/t8k/bokeh_1080px.webp +0 -0
- package/templates/artpacks/t8k/bokeh_1920px.webp +0 -0
- package/templates/artpacks/t8k/bokeh_600px.webp +0 -0
- package/templates/artpacks/t8k/cartoon_1080px.webp +0 -0
- package/templates/artpacks/t8k/cartoon_1920px.webp +0 -0
- package/templates/artpacks/t8k/cartoon_600px.webp +0 -0
- package/templates/artpacks/t8k/darkeggshell_1080px.webp +0 -0
- package/templates/artpacks/t8k/darkeggshell_1920px.webp +0 -0
- package/templates/artpacks/t8k/darkeggshell_600px.webp +0 -0
- package/templates/artpacks/t8k/explosion_1080px.webp +0 -0
- package/templates/artpacks/t8k/explosion_1920px.webp +0 -0
- package/templates/artpacks/t8k/explosion_600px.webp +0 -0
- package/templates/artpacks/t8k/floral_1080px.webp +0 -0
- package/templates/artpacks/t8k/floral_1920px.webp +0 -0
- package/templates/artpacks/t8k/floral_600px.webp +0 -0
- package/templates/artpacks/t8k/flower_1080px.webp +0 -0
- package/templates/artpacks/t8k/flower_1920px.webp +0 -0
- package/templates/artpacks/t8k/flower_600px.webp +0 -0
- package/templates/artpacks/t8k/foliage_1080px.webp +0 -0
- package/templates/artpacks/t8k/foliage_1920px.webp +0 -0
- package/templates/artpacks/t8k/foliage_600px.webp +0 -0
- package/templates/artpacks/t8k/mist_1080px.webp +0 -0
- package/templates/artpacks/t8k/mist_1920px.webp +0 -0
- package/templates/artpacks/t8k/mist_600px.webp +0 -0
- package/templates/artpacks/t8k/portal_1080px.webp +0 -0
- package/templates/artpacks/t8k/portal_1920px.webp +0 -0
- package/templates/artpacks/t8k/portal_600px.webp +0 -0
- package/templates/artpacks/t8k/storytime_1080px.webp +0 -0
- package/templates/artpacks/t8k/storytime_1920px.webp +0 -0
- package/templates/artpacks/t8k/storytime_600px.webp +0 -0
- package/templates/artpacks/t8k/tacky_1080px.webp +0 -0
- package/templates/artpacks/t8k/tacky_1920px.webp +0 -0
- package/templates/artpacks/t8k/tacky_600px.webp +0 -0
- package/templates/artpacks/t8k/wallpaper_1080px.webp +0 -0
- package/templates/artpacks/t8k/wallpaper_1920px.webp +0 -0
- package/templates/artpacks/t8k/wallpaper_600px.webp +0 -0
- package/templates/brand/favicon.ico +0 -0
- package/templates/brand/logo.svg +0 -0
- package/templates/brand/oglogo.png +0 -0
- package/templates/brand/static.jpg +0 -0
- package/templates/brand/wordmark.svg +0 -0
- package/templates/css/custom.css +0 -0
- package/templates/css/frontend.css +1 -1
- package/templates/css/storykeep.css +0 -0
- package/templates/custom/minimal/CodeHook.astro +5 -6
- package/templates/custom/minimal/CustomRoutes.astro +25 -31
- package/templates/custom/with-examples/CodeHook.astro +5 -6
- package/templates/custom/with-examples/CustomHero.astro +0 -0
- package/templates/custom/with-examples/CustomRoutes.astro +4 -8
- package/templates/custom/with-examples/pages/Collections.astro +58 -98
- package/templates/env.example +0 -0
- package/templates/fonts/Inter-Black.woff2 +0 -0
- package/templates/fonts/Inter-Bold.woff2 +0 -0
- package/templates/fonts/Inter-Regular.woff2 +0 -0
- package/templates/gitignore +42 -0
- package/templates/icons/h2.svg +0 -0
- package/templates/icons/h3.svg +0 -0
- package/templates/icons/h4.svg +0 -0
- package/templates/icons/h5.svg +0 -0
- package/templates/icons/image.svg +0 -0
- package/templates/icons/text.svg +0 -0
- package/templates/prettierignore +5 -0
- package/templates/prettierrc +19 -0
- package/templates/socials/codepen.svg +0 -0
- package/templates/socials/discord.svg +0 -0
- package/templates/socials/facebook.svg +0 -0
- package/templates/socials/github.svg +0 -0
- package/templates/socials/instagram.svg +0 -0
- package/templates/socials/linkedin.svg +0 -0
- package/templates/socials/mail.svg +0 -0
- package/templates/socials/rumble.svg +0 -0
- package/templates/socials/tiktok.svg +0 -0
- package/templates/socials/twitch.svg +0 -0
- package/templates/socials/twitter.svg +0 -0
- package/templates/socials/x.svg +0 -0
- package/templates/socials/youtube.svg +0 -0
- package/templates/src/client/htmx.min.js +3519 -0
- package/templates/src/client/sse.js +106 -54
- package/templates/src/components/Footer.astro +4 -4
- package/templates/src/components/Fragment.astro +0 -0
- package/templates/src/components/Header.astro +63 -60
- package/templates/src/components/Menu.tsx +0 -0
- package/templates/src/components/codehooks/BunnyVideoSetup.tsx +0 -0
- package/templates/src/components/codehooks/BunnyVideoWrapper.astro +0 -0
- package/templates/src/components/codehooks/EpinetDurationSelector.tsx +9 -13
- package/templates/src/components/codehooks/EpinetTableView.tsx +11 -7
- package/templates/src/components/codehooks/EpinetWrapper.tsx +0 -0
- package/templates/src/components/codehooks/FeaturedContent.astro +0 -0
- package/templates/src/components/codehooks/FeaturedContentSetup.tsx +0 -0
- package/templates/src/components/codehooks/ListContent.astro +0 -0
- package/templates/src/components/codehooks/ListContentSetup.tsx +0 -0
- package/templates/src/components/codehooks/SankeyDiagram.tsx +4 -3
- package/templates/src/components/compositor/Compositor.tsx +0 -0
- package/templates/src/components/compositor/Node.tsx +1 -1
- package/templates/src/components/compositor/NodeWithGuid.tsx +0 -0
- package/templates/src/components/compositor/PanelVisibilityWrapper.tsx +25 -11
- package/templates/src/components/compositor/elements/Belief.tsx +0 -0
- package/templates/src/components/compositor/elements/BgImage.tsx +0 -0
- package/templates/src/components/compositor/elements/BgVisualBreak.tsx +0 -0
- package/templates/src/components/compositor/elements/BunnyVideo.tsx +15 -20
- package/templates/src/components/compositor/elements/IdentifyAs.tsx +0 -0
- package/templates/src/components/compositor/elements/PlayButton.tsx +0 -0
- package/templates/src/components/compositor/elements/SignUp.tsx +0 -0
- package/templates/src/components/compositor/elements/Svg.tsx +0 -0
- package/templates/src/components/compositor/elements/ToggleBelief.tsx +0 -0
- package/templates/src/components/compositor/elements/YouTubeWrapper.tsx +0 -0
- package/templates/src/components/compositor/nodes/BgPaneWrapper.tsx +0 -0
- package/templates/src/components/compositor/nodes/GhostInsertBlock.tsx +0 -0
- package/templates/src/components/compositor/nodes/Markdown.tsx +0 -0
- package/templates/src/components/compositor/nodes/Pane.tsx +13 -6
- package/templates/src/components/compositor/nodes/Pane_eraser.tsx +0 -0
- package/templates/src/components/compositor/nodes/Pane_layout.tsx +0 -0
- package/templates/src/components/compositor/nodes/RenderChildren.tsx +0 -0
- package/templates/src/components/compositor/nodes/StoryFragment.tsx +0 -0
- package/templates/src/components/compositor/nodes/TagElement.tsx +0 -0
- package/templates/src/components/compositor/nodes/Widget.tsx +1 -1
- package/templates/src/components/compositor/nodes/tagElements/NodeA.tsx +0 -0
- package/templates/src/components/compositor/nodes/tagElements/NodeA_eraser.tsx +0 -0
- package/templates/src/components/compositor/nodes/tagElements/NodeAnchorComponent.tsx +0 -0
- package/templates/src/components/compositor/nodes/tagElements/NodeBasicTag.tsx +0 -0
- package/templates/src/components/compositor/nodes/tagElements/NodeBasicTag_eraser.tsx +0 -0
- package/templates/src/components/compositor/nodes/tagElements/NodeBasicTag_insert.tsx +0 -0
- package/templates/src/components/compositor/nodes/tagElements/NodeBasicTag_settings.tsx +0 -0
- package/templates/src/components/compositor/nodes/tagElements/NodeButton.tsx +0 -0
- package/templates/src/components/compositor/nodes/tagElements/NodeButton_eraser.tsx +0 -0
- package/templates/src/components/compositor/nodes/tagElements/NodeImg.tsx +0 -0
- package/templates/src/components/compositor/nodes/tagElements/NodeText.tsx +0 -0
- package/templates/src/components/compositor/nodes/tagElements/TabIndicator.tsx +0 -0
- package/templates/src/components/compositor/preview/FeaturedContentPreview.tsx +0 -0
- package/templates/src/components/compositor/preview/ListContentPreview.tsx +0 -0
- package/templates/src/components/compositor/preview/OgImagePreview.tsx +0 -0
- package/templates/src/components/compositor/preview/PaneSnapshotGenerator.tsx +0 -0
- package/templates/src/components/compositor/preview/PanesPreviewGenerator.tsx +0 -0
- package/templates/src/components/compositor/preview/VisualBreakPreview.tsx +0 -0
- package/templates/src/components/edit/Header.tsx +9 -3
- package/templates/src/components/edit/PanelSwitch.tsx +12 -14
- package/templates/src/components/edit/SettingsPanel.tsx +28 -17
- package/templates/src/components/edit/ToolBar.tsx +0 -0
- package/templates/src/components/edit/ToolMode.tsx +93 -33
- package/templates/src/components/edit/context/ContextPaneConfig.tsx +0 -0
- package/templates/src/components/edit/context/ContextPaneConfig_slug.tsx +0 -0
- package/templates/src/components/edit/context/ContextPaneConfig_title.tsx +0 -0
- package/templates/src/components/edit/pane/AddPanePanel.tsx +0 -0
- package/templates/src/components/edit/pane/AddPanePanel_break.tsx +0 -0
- package/templates/src/components/edit/pane/AddPanePanel_codehook.tsx +2 -1
- package/templates/src/components/edit/pane/AddPanePanel_new.tsx +1 -1
- package/templates/src/components/edit/pane/AddPanePanel_newAICopy.tsx +0 -0
- package/templates/src/components/edit/pane/AddPanePanel_newAICopy_modal.tsx +1 -1
- package/templates/src/components/edit/pane/AddPanePanel_newCopyMode.tsx +0 -0
- package/templates/src/components/edit/pane/AddPanePanel_newCustomCopy.tsx +0 -0
- package/templates/src/components/edit/pane/AddPanePanel_reuse.tsx +0 -0
- package/templates/src/components/edit/pane/ConfigPanePanel.tsx +17 -27
- package/templates/src/components/edit/pane/PageGen.tsx +0 -0
- package/templates/src/components/edit/pane/PageGenSelector.tsx +0 -0
- package/templates/src/components/edit/pane/PageGenSpecial.tsx +0 -0
- package/templates/src/components/edit/pane/PageGen_preview.tsx +0 -0
- package/templates/src/components/edit/pane/PanePanel_impression.tsx +0 -0
- package/templates/src/components/edit/pane/PanePanel_path.tsx +2 -2
- package/templates/src/components/edit/pane/PanePanel_title.tsx +243 -76
- package/templates/src/components/edit/panels/StyleBreakPanel.tsx +0 -0
- package/templates/src/components/edit/panels/StyleCodeHookPanel.tsx +48 -37
- package/templates/src/components/edit/panels/StyleElementPanel.tsx +0 -0
- package/templates/src/components/edit/panels/StyleElementPanel_add.tsx +60 -55
- package/templates/src/components/edit/panels/StyleElementPanel_remove.tsx +0 -0
- package/templates/src/components/edit/panels/StyleElementPanel_update.tsx +0 -0
- package/templates/src/components/edit/panels/StyleImagePanel.tsx +0 -0
- package/templates/src/components/edit/panels/StyleImagePanel_add.tsx +56 -50
- package/templates/src/components/edit/panels/StyleImagePanel_remove.tsx +0 -0
- package/templates/src/components/edit/panels/StyleImagePanel_update.tsx +0 -0
- package/templates/src/components/edit/panels/StyleLiElementPanel.tsx +0 -0
- package/templates/src/components/edit/panels/StyleLiElementPanel_add.tsx +54 -47
- package/templates/src/components/edit/panels/StyleLiElementPanel_remove.tsx +0 -0
- package/templates/src/components/edit/panels/StyleLiElementPanel_update.tsx +0 -0
- package/templates/src/components/edit/panels/StyleLinkPanel.tsx +0 -0
- package/templates/src/components/edit/panels/StyleLinkPanel_add.tsx +54 -44
- package/templates/src/components/edit/panels/StyleLinkPanel_config.tsx +2 -2
- package/templates/src/components/edit/panels/StyleLinkPanel_remove.tsx +0 -0
- package/templates/src/components/edit/panels/StyleLinkPanel_update.tsx +0 -0
- package/templates/src/components/edit/panels/StyleParentPanel.tsx +0 -0
- package/templates/src/components/edit/panels/StyleParentPanel_add.tsx +54 -40
- package/templates/src/components/edit/panels/StyleParentPanel_deleteLayer.tsx +0 -0
- package/templates/src/components/edit/panels/StyleParentPanel_remove.tsx +0 -0
- package/templates/src/components/edit/panels/StyleParentPanel_update.tsx +0 -0
- package/templates/src/components/edit/panels/StyleWidgetPanel.tsx +2 -0
- package/templates/src/components/edit/panels/StyleWidgetPanel_add.tsx +56 -49
- package/templates/src/components/edit/panels/StyleWidgetPanel_config.tsx +0 -0
- package/templates/src/components/edit/panels/StyleWidgetPanel_remove.tsx +0 -0
- package/templates/src/components/edit/panels/StyleWidgetPanel_update.tsx +0 -0
- package/templates/src/components/edit/state/SaveModal.tsx +309 -168
- package/templates/src/components/edit/state/StylesMemory.tsx +0 -0
- package/templates/src/components/edit/storyfragment/StoryFragmentConfigPanel.tsx +0 -0
- package/templates/src/components/edit/storyfragment/StoryFragmentPanel_menu.tsx +0 -0
- package/templates/src/components/edit/storyfragment/StoryFragmentPanel_og.tsx +0 -0
- package/templates/src/components/edit/storyfragment/StoryFragmentPanel_slug.tsx +56 -55
- package/templates/src/components/edit/storyfragment/StoryFragmentPanel_title.tsx +0 -0
- package/templates/src/components/edit/widgets/BeliefWidget.tsx +0 -0
- package/templates/src/components/edit/widgets/BunnyWidget.tsx +54 -56
- package/templates/src/components/edit/widgets/IdentifyAsWidget.tsx +0 -0
- package/templates/src/components/edit/widgets/SignupWidget.tsx +0 -0
- package/templates/src/components/edit/widgets/ToggleWidget.tsx +0 -0
- package/templates/src/components/edit/widgets/YouTubeWidget.tsx +0 -0
- package/templates/src/components/fields/ActionBuilderTimeSelector.tsx +0 -0
- package/templates/src/components/fields/ArtpackImage.tsx +0 -0
- package/templates/src/components/fields/BackgroundImage.tsx +0 -0
- package/templates/src/components/fields/BackgroundImageWrapper.tsx +127 -35
- package/templates/src/components/fields/BooleanParam.tsx +0 -0
- package/templates/src/components/fields/BunnyMomentSelector.tsx +0 -0
- package/templates/src/components/fields/ColorPickerCombo.tsx +0 -0
- package/templates/src/components/fields/ImageUpload.tsx +0 -0
- package/templates/src/components/fields/MultiParam.tsx +0 -0
- package/templates/src/components/fields/PaneBreakCollectionSelector.tsx +0 -0
- package/templates/src/components/fields/PaneBreakShapeSelector.tsx +0 -0
- package/templates/src/components/fields/SelectedTailwindClass.tsx +0 -0
- package/templates/src/components/fields/SingleParam.tsx +0 -0
- package/templates/src/components/fields/ViewportComboBox.tsx +59 -42
- package/templates/src/components/form/ActionBuilderField.tsx +3 -1
- package/templates/src/components/form/ActionBuilderSlugSelector.tsx +0 -0
- package/templates/src/components/form/BooleanToggle.tsx +0 -0
- package/templates/src/components/form/ColorPicker.tsx +0 -0
- package/templates/src/components/form/DateTimeInput.tsx +0 -0
- package/templates/src/components/form/EnumSelect.tsx +0 -0
- package/templates/src/components/form/FileUpload.tsx +0 -0
- package/templates/src/components/form/MagicPathBuilder.tsx +0 -0
- package/templates/src/components/form/NumberInput.tsx +0 -0
- package/templates/src/components/form/ParagraphArrayInput.tsx +0 -0
- package/templates/src/components/form/StringArrayInput.tsx +0 -0
- package/templates/src/components/form/StringInput.tsx +0 -0
- package/templates/src/components/form/UnsavedChangesBar.tsx +0 -0
- package/templates/src/components/form/advanced/APIConfigSection.tsx +0 -0
- package/templates/src/components/form/advanced/AuthConfigSection.tsx +0 -0
- package/templates/src/components/form/brand/BrandAssetsSection.tsx +0 -0
- package/templates/src/components/form/brand/BrandColorsSection.tsx +0 -0
- package/templates/src/components/form/brand/SEOSection.tsx +0 -0
- package/templates/src/components/form/brand/SiteConfigSection.tsx +0 -0
- package/templates/src/components/form/brand/SocialLinksSection.tsx +0 -0
- package/templates/src/components/profile/ProfileConsent.tsx +0 -0
- package/templates/src/components/profile/ProfileCreate.tsx +0 -0
- package/templates/src/components/profile/ProfileEdit.tsx +0 -0
- package/templates/src/components/profile/ProfileSwitch.tsx +0 -0
- package/templates/src/components/profile/ProfileUnlock.tsx +0 -0
- package/templates/src/components/search/SearchModal.tsx +404 -0
- package/templates/src/components/search/SearchResults.tsx +367 -0
- package/templates/src/components/search/SearchWrapper.tsx +46 -0
- package/templates/src/components/storykeep/Dashboard.tsx +0 -0
- package/templates/src/components/storykeep/Dashboard_Activity.tsx +0 -0
- package/templates/src/components/storykeep/Dashboard_Advanced.tsx +1 -1
- package/templates/src/components/storykeep/Dashboard_Analytics.tsx +34 -8
- package/templates/src/components/storykeep/Dashboard_Branding.tsx +0 -0
- package/templates/src/components/storykeep/Dashboard_Content.tsx +6 -0
- package/templates/src/components/storykeep/StoryKeepBackdrop.astro +87 -0
- package/templates/src/components/storykeep/controls/UsageCell.tsx +0 -0
- package/templates/src/components/storykeep/controls/content/BeliefForm.tsx +0 -0
- package/templates/src/components/storykeep/controls/content/BeliefTable.tsx +0 -0
- package/templates/src/components/storykeep/controls/content/ContentBrowser.tsx +0 -0
- package/templates/src/components/storykeep/controls/content/ContentSummary.tsx +0 -0
- package/templates/src/components/storykeep/controls/content/KnownResourceForm.tsx +0 -0
- package/templates/src/components/storykeep/controls/content/KnownResourceTable.tsx +0 -0
- package/templates/src/components/storykeep/controls/content/ManageContent.tsx +0 -0
- package/templates/src/components/storykeep/controls/content/MenuForm.tsx +0 -0
- package/templates/src/components/storykeep/controls/content/MenuTable.tsx +0 -0
- package/templates/src/components/storykeep/controls/content/ResourceBulkIngest.tsx +0 -0
- package/templates/src/components/storykeep/controls/content/ResourceForm.tsx +0 -0
- package/templates/src/components/storykeep/controls/content/ResourceTable.tsx +0 -0
- package/templates/src/components/storykeep/controls/content/StoryFragmentTable.tsx +5 -8
- package/templates/src/components/storykeep/state/BrandingWrapper.tsx +0 -0
- package/templates/src/components/storykeep/state/FetchAnalytics.tsx +274 -228
- package/templates/src/components/storykeep/widgets/ResponsiveLine.tsx +0 -0
- package/templates/src/components/storykeep/widgets/Wizard.tsx +13 -6
- package/templates/src/components/tenant/RegistrationForm.tsx +5 -3
- package/templates/src/components/widgets/BunnyVideoHero.astro +0 -0
- package/templates/src/components/widgets/Impression.tsx +0 -0
- package/templates/src/components/widgets/ImpressionWrapper.tsx +0 -0
- package/templates/src/constants/beliefs.ts +0 -0
- package/templates/src/constants/brandThemes.ts +0 -0
- package/templates/src/constants/prompts.json +0 -0
- package/templates/src/constants/shapes.ts +0 -0
- package/templates/src/constants/stopWords.ts +0 -0
- package/templates/src/constants/tailwindColors.json +0 -0
- package/templates/src/constants.ts +1 -1
- package/templates/src/hooks/useFormState.ts +0 -0
- package/templates/src/hooks/useSearch.ts +228 -0
- package/templates/src/layouts/Layout.astro +136 -28
- package/templates/src/lib/session.ts +0 -0
- package/templates/src/lib/storyData.ts +4 -1
- package/templates/src/middleware.ts +0 -0
- package/templates/src/pages/404.astro +0 -0
- package/templates/src/pages/[...slug]/edit.astro +18 -5
- package/templates/src/pages/[...slug].astro +59 -5
- package/templates/src/pages/api/auth/decode.ts +0 -0
- package/templates/src/pages/api/auth/login.ts +0 -0
- package/templates/src/pages/api/auth/logout.ts +0 -0
- package/templates/src/pages/api/auth/profile.ts +0 -0
- package/templates/src/pages/api/orphan-analysis.ts +0 -1
- package/templates/src/pages/api/tailwind.ts +23 -21
- package/templates/src/pages/collections/[param1].astro +0 -0
- package/templates/src/pages/context/[...contextSlug]/edit.astro +18 -5
- package/templates/src/pages/context/[...contextSlug].astro +7 -2
- package/templates/src/pages/llms.txt.ts +0 -0
- package/templates/src/pages/maint.astro +0 -0
- package/templates/src/pages/media/[...slug].astro +0 -0
- package/templates/src/pages/robots.txt.ts +0 -0
- package/templates/src/pages/sandbox/activate.astro +0 -0
- package/templates/src/pages/sandbox/register.astro +0 -0
- package/templates/src/pages/sandbox/success.astro +0 -0
- package/templates/src/pages/sitemap.xml.ts +0 -0
- package/templates/src/pages/storykeep/advanced.astro +5 -4
- package/templates/src/pages/storykeep/branding.astro +5 -4
- package/templates/src/pages/storykeep/content.astro +5 -4
- package/templates/src/pages/storykeep/init.astro +40 -1
- package/templates/src/pages/storykeep/login.astro +1 -1
- package/templates/src/pages/storykeep/logout.astro +0 -0
- package/templates/src/pages/storykeep/profile.astro +0 -0
- package/templates/src/pages/storykeep.astro +5 -4
- package/templates/src/stores/analytics.ts +0 -0
- package/templates/src/stores/backend.ts +0 -0
- package/templates/src/stores/navigation.ts +0 -0
- package/templates/src/stores/nodes.ts +44 -1
- package/templates/src/stores/nodesHistory.ts +0 -0
- package/templates/src/stores/notificationSystem.ts +0 -0
- package/templates/src/stores/orphanAnalysis.ts +19 -21
- package/templates/src/stores/storykeep.ts +7 -0
- package/templates/src/types/astro.ts +0 -0
- package/templates/src/types/compositorTypes.ts +1 -0
- package/templates/src/types/formTypes.ts +0 -0
- package/templates/src/types/multiTenant.ts +0 -0
- package/templates/src/types/nodeProps.ts +0 -0
- package/templates/src/types/tractstack.ts +17 -0
- package/templates/src/utils/aai/getTitleSlug.ts +0 -0
- package/templates/src/utils/actions/actionButton.ts +0 -0
- package/templates/src/utils/actions/lispLexer.ts +0 -0
- package/templates/src/utils/actions/preParse_Action.ts +0 -0
- package/templates/src/utils/actions/preParse_Bunny.ts +0 -0
- package/templates/src/utils/actions/preParse_Clicked.ts +0 -0
- package/templates/src/utils/actions/preParse_Impression.ts +0 -0
- package/templates/src/utils/api/advancedConfig.ts +0 -0
- package/templates/src/utils/api/advancedHelpers.ts +0 -0
- package/templates/src/utils/api/beliefConfig.ts +0 -0
- package/templates/src/utils/api/beliefHelpers.ts +0 -0
- package/templates/src/utils/api/brandConfig.ts +0 -0
- package/templates/src/utils/api/brandHelpers.ts +0 -0
- package/templates/src/utils/api/fileHelpers.ts +0 -0
- package/templates/src/utils/api/menuConfig.ts +0 -0
- package/templates/src/utils/api/menuHelpers.ts +0 -0
- package/templates/src/utils/api/resourceConfig.ts +0 -0
- package/templates/src/utils/api/resourceHelpers.ts +0 -0
- package/templates/src/utils/api/tenantConfig.ts +0 -0
- package/templates/src/utils/api/tenantHelpers.ts +0 -0
- package/templates/src/utils/api.ts +26 -0
- package/templates/src/utils/auth.ts +0 -0
- package/templates/src/utils/backend.ts +0 -0
- package/templates/src/utils/compositor/TemplateMarkdowns.ts +0 -0
- package/templates/src/utils/compositor/TemplateNodes.ts +0 -0
- package/templates/src/utils/compositor/TemplatePanes.ts +0 -0
- package/templates/src/utils/compositor/allowInsert.ts +0 -0
- package/templates/src/utils/compositor/domHelpers.ts +0 -0
- package/templates/src/utils/compositor/handleClickEvent.ts +0 -0
- package/templates/src/utils/compositor/nodesHelper.ts +0 -0
- package/templates/src/utils/compositor/nodesMarkdownGenerator.ts +0 -0
- package/templates/src/utils/compositor/processMarkdown.ts +0 -0
- package/templates/src/utils/compositor/reduceNodesClassNames.ts +4 -0
- package/templates/src/utils/compositor/tailwindClasses.ts +0 -0
- package/templates/src/utils/compositor/tailwindColors.ts +0 -0
- package/templates/src/utils/compositor/templateMarkdownStyles.ts +8 -0
- package/templates/src/utils/compositor/typeGuards.ts +0 -0
- package/templates/src/utils/customHelpers.ts +38 -0
- package/templates/src/utils/etl/extractor.ts +0 -0
- package/templates/src/utils/etl/index.ts +0 -0
- package/templates/src/utils/etl/loader.ts +0 -0
- package/templates/src/utils/etl/transformer.ts +0 -0
- package/templates/src/utils/helpers.ts +1 -0
- package/templates/src/utils/layout.ts +71 -121
- package/templates/src/utils/profileStorage.ts +0 -0
- package/templates/src/utils/useInterval.ts +0 -0
- package/templates/tailwind.config.cjs +0 -0
- package/utils/create-resolver.ts +0 -0
- package/utils/inject-files.ts +42 -6
- package/utils/validate-config.ts +0 -0
- package/templates/src/components/edit/pane/PanePanel_slug.tsx +0 -219
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
@@ -283,7 +283,7 @@ sudo ~/t8k/src/tractstack-go/pkg/scripts/t8k-uninstall.sh
|
|
|
283
283
|
|
|
284
284
|
## Support & Documentation
|
|
285
285
|
|
|
286
|
-
- **Documentation**: https://tractstack.org
|
|
286
|
+
- **Documentation**: https://tractstack.org
|
|
287
287
|
- **GitHub Issues**: https://github.com/AtRiskMedia/tractstack-go/issues
|
|
288
288
|
- **Email Support**: hello@tractstack.com
|
|
289
289
|
- **Community**: Join discussions about adaptive web experiences
|
package/astro.d.ts
CHANGED
|
File without changes
|
package/bin/create-tractstack.js
CHANGED
|
@@ -29,16 +29,25 @@ function detectPackageManager() {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
// Parse existing .env file
|
|
32
|
-
function
|
|
32
|
+
function getEnvState() {
|
|
33
33
|
const defaults = {
|
|
34
34
|
goBackend: 'http://localhost:8080',
|
|
35
35
|
tenantId: 'default',
|
|
36
36
|
goBackendPath: `${homedir()}/t8k-go-server/`,
|
|
37
37
|
enableMultiTenant: false,
|
|
38
|
+
enableBunny: false,
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
const found = {
|
|
42
|
+
goBackend: false,
|
|
43
|
+
tenantId: false,
|
|
44
|
+
goBackendPath: false,
|
|
45
|
+
enableMultiTenant: false,
|
|
46
|
+
enableBunny: false,
|
|
38
47
|
};
|
|
39
48
|
|
|
40
49
|
if (!existsSync('.env')) {
|
|
41
|
-
return defaults;
|
|
50
|
+
return { envDefaults: defaults, envState: found };
|
|
42
51
|
}
|
|
43
52
|
|
|
44
53
|
try {
|
|
@@ -50,7 +59,6 @@ function parseExistingEnv() {
|
|
|
50
59
|
if (line && !line.startsWith('#')) {
|
|
51
60
|
const [key, ...valueParts] = line.split('=');
|
|
52
61
|
if (key && valueParts.length > 0) {
|
|
53
|
-
// Remove surrounding quotes and trim
|
|
54
62
|
let value = valueParts.join('=').trim();
|
|
55
63
|
if (
|
|
56
64
|
(value.startsWith('"') && value.endsWith('"')) ||
|
|
@@ -64,18 +72,30 @@ function parseExistingEnv() {
|
|
|
64
72
|
});
|
|
65
73
|
|
|
66
74
|
return {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
75
|
+
envDefaults: {
|
|
76
|
+
goBackend: envVars.PUBLIC_GO_BACKEND || defaults.goBackend,
|
|
77
|
+
tenantId: envVars.PUBLIC_TENANTID || defaults.tenantId,
|
|
78
|
+
goBackendPath:
|
|
79
|
+
envVars.PRIVATE_GO_BACKEND_PATH || defaults.goBackendPath,
|
|
80
|
+
enableMultiTenant:
|
|
81
|
+
envVars.PUBLIC_ENABLE_MULTI_TENANT === 'true' ||
|
|
82
|
+
defaults.enableMultiTenant,
|
|
83
|
+
enableBunny:
|
|
84
|
+
envVars.PUBLIC_ENABLE_BUNNY === 'true' || defaults.enableBunny,
|
|
85
|
+
},
|
|
86
|
+
envState: {
|
|
87
|
+
goBackend: !!envVars.PUBLIC_GO_BACKEND,
|
|
88
|
+
tenantId: !!envVars.PUBLIC_TENANTID,
|
|
89
|
+
goBackendPath: !!envVars.PRIVATE_GO_BACKEND_PATH,
|
|
90
|
+
enableMultiTenant: envVars.PUBLIC_ENABLE_MULTI_TENANT !== undefined,
|
|
91
|
+
enableBunny: envVars.PUBLIC_ENABLE_BUNNY !== undefined,
|
|
92
|
+
},
|
|
73
93
|
};
|
|
74
94
|
} catch (error) {
|
|
75
95
|
console.log(
|
|
76
96
|
kleur.yellow('⚠️ Found .env file but could not parse it, using defaults')
|
|
77
97
|
);
|
|
78
|
-
return defaults;
|
|
98
|
+
return { envDefaults: defaults, envState: found };
|
|
79
99
|
}
|
|
80
100
|
}
|
|
81
101
|
|
|
@@ -141,7 +161,7 @@ ${kleur.bold('Examples:')}
|
|
|
141
161
|
}
|
|
142
162
|
|
|
143
163
|
// Parse existing .env values
|
|
144
|
-
const envDefaults =
|
|
164
|
+
const { envDefaults, envState } = getEnvState();
|
|
145
165
|
const hasExistingEnv = existsSync('.env');
|
|
146
166
|
|
|
147
167
|
if (hasExistingEnv) {
|
|
@@ -152,9 +172,11 @@ ${kleur.bold('Examples:')}
|
|
|
152
172
|
);
|
|
153
173
|
}
|
|
154
174
|
|
|
155
|
-
//
|
|
156
|
-
const
|
|
157
|
-
|
|
175
|
+
// Build prompts array conditionally - only prompt for values not in .env
|
|
176
|
+
const promptQuestions = [];
|
|
177
|
+
|
|
178
|
+
if (!envState.goBackend) {
|
|
179
|
+
promptQuestions.push({
|
|
158
180
|
type: 'text',
|
|
159
181
|
name: 'goBackend',
|
|
160
182
|
message: 'TractStack Go backend URL:',
|
|
@@ -167,21 +189,61 @@ ${kleur.bold('Examples:')}
|
|
|
167
189
|
return 'Please enter a valid URL';
|
|
168
190
|
}
|
|
169
191
|
},
|
|
170
|
-
}
|
|
171
|
-
|
|
192
|
+
});
|
|
193
|
+
} else {
|
|
194
|
+
console.log(
|
|
195
|
+
kleur.green(`✓ Using Go backend URL: ${envDefaults.goBackend}`)
|
|
196
|
+
);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
if (!envState.enableMultiTenant && !enableMultiTenant) {
|
|
200
|
+
promptQuestions.push({
|
|
172
201
|
type: 'confirm',
|
|
173
202
|
name: 'enableMultiTenant',
|
|
174
203
|
message: 'Enable multi-tenant functionality?',
|
|
175
204
|
initial: enableMultiTenant || envDefaults.enableMultiTenant,
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
|
|
205
|
+
});
|
|
206
|
+
} else {
|
|
207
|
+
const willEnable = enableMultiTenant || envDefaults.enableMultiTenant;
|
|
208
|
+
console.log(
|
|
209
|
+
kleur.green(
|
|
210
|
+
`✓ Multi-tenant functionality: ${willEnable ? 'enabled' : 'disabled'}`
|
|
211
|
+
)
|
|
212
|
+
);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
if (!envState.enableBunny) {
|
|
216
|
+
promptQuestions.push({
|
|
217
|
+
type: 'confirm',
|
|
218
|
+
name: 'enableBunny',
|
|
219
|
+
message: 'Enable Bunny Video Player?',
|
|
220
|
+
initial: envDefaults.enableBunny,
|
|
221
|
+
});
|
|
222
|
+
} else {
|
|
223
|
+
console.log(
|
|
224
|
+
kleur.green(
|
|
225
|
+
`✓ Bunny Video Player: ${envDefaults.enableBunny ? 'enabled' : 'disabled'}`
|
|
226
|
+
)
|
|
227
|
+
);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
// Only prompt for tenantId if multi-tenant will be enabled and tenantId not in .env
|
|
231
|
+
const willEnableMultiTenant =
|
|
232
|
+
enableMultiTenant || envDefaults.enableMultiTenant;
|
|
233
|
+
if (willEnableMultiTenant && !envState.tenantId) {
|
|
234
|
+
promptQuestions.push({
|
|
235
|
+
type: 'text',
|
|
179
236
|
name: 'tenantId',
|
|
180
237
|
message: 'Tenant ID:',
|
|
181
238
|
initial: envDefaults.tenantId,
|
|
182
239
|
validate: (value) => value.length > 0 || 'Tenant ID is required',
|
|
183
|
-
}
|
|
184
|
-
|
|
240
|
+
});
|
|
241
|
+
} else if (willEnableMultiTenant) {
|
|
242
|
+
console.log(kleur.green(`✓ Using Tenant ID: ${envDefaults.tenantId}`));
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
if (!envState.goBackendPath) {
|
|
246
|
+
promptQuestions.push({
|
|
185
247
|
type: 'text',
|
|
186
248
|
name: 'goBackendPath',
|
|
187
249
|
message: 'TractStack Go backend path:',
|
|
@@ -192,37 +254,61 @@ ${kleur.bold('Examples:')}
|
|
|
192
254
|
}
|
|
193
255
|
return true;
|
|
194
256
|
},
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
257
|
+
});
|
|
258
|
+
} else {
|
|
259
|
+
console.log(
|
|
260
|
+
kleur.green(`✓ Using Go backend path: ${envDefaults.goBackendPath}`)
|
|
261
|
+
);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
// Always ask about examples (not stored in .env)
|
|
265
|
+
promptQuestions.push({
|
|
266
|
+
type: 'confirm',
|
|
267
|
+
name: 'includeExamples',
|
|
268
|
+
message:
|
|
269
|
+
'Include CodeHook examples? (custom components, collections route)',
|
|
270
|
+
initial: includeExamples,
|
|
271
|
+
});
|
|
272
|
+
|
|
273
|
+
// Run prompts only if there are questions
|
|
274
|
+
const responses =
|
|
275
|
+
promptQuestions.length > 0 ? await prompts(promptQuestions) : {};
|
|
276
|
+
|
|
277
|
+
// Merge responses with env defaults for final values
|
|
278
|
+
const finalResponses = {
|
|
279
|
+
goBackend: responses.goBackend || envDefaults.goBackend,
|
|
280
|
+
enableMultiTenant:
|
|
281
|
+
responses.enableMultiTenant === true || // explicit true from prompt
|
|
282
|
+
enableMultiTenant || // CLI flag --multi-tenant
|
|
283
|
+
envDefaults.enableMultiTenant === true, // existing .env value was "true"
|
|
284
|
+
enableBunny: responses.enableBunny ?? envDefaults.enableBunny,
|
|
285
|
+
tenantId: responses.tenantId || envDefaults.tenantId,
|
|
286
|
+
goBackendPath: responses.goBackendPath || envDefaults.goBackendPath,
|
|
287
|
+
includeExamples: responses.includeExamples ?? includeExamples,
|
|
288
|
+
};
|
|
204
289
|
|
|
205
|
-
if (!
|
|
206
|
-
console.log(kleur.red('\n
|
|
290
|
+
if (!finalResponses.goBackend) {
|
|
291
|
+
console.log(kleur.red('\n✗ Setup cancelled.'));
|
|
207
292
|
process.exit(1);
|
|
208
293
|
}
|
|
209
294
|
|
|
210
295
|
// Use existing tenantId if multi-tenant is disabled
|
|
211
|
-
const finalTenantId =
|
|
212
|
-
?
|
|
296
|
+
const finalTenantId = finalResponses.enableMultiTenant
|
|
297
|
+
? finalResponses.tenantId
|
|
213
298
|
: envDefaults.tenantId;
|
|
214
299
|
|
|
215
300
|
if (!finalTenantId) {
|
|
216
|
-
console.log(kleur.red('\n
|
|
301
|
+
console.log(kleur.red('\n✗ Setup cancelled - Tenant ID is required.'));
|
|
217
302
|
process.exit(1);
|
|
218
303
|
}
|
|
219
304
|
|
|
220
305
|
// Create .env file
|
|
221
306
|
const envContent = `# TractStack Configuration
|
|
222
|
-
PUBLIC_GO_BACKEND="${
|
|
307
|
+
PUBLIC_GO_BACKEND="${finalResponses.goBackend}"
|
|
223
308
|
PUBLIC_TENANTID="${finalTenantId}"
|
|
224
|
-
PRIVATE_GO_BACKEND_PATH="${
|
|
225
|
-
${
|
|
309
|
+
PRIVATE_GO_BACKEND_PATH="${finalResponses.goBackendPath.endsWith('/') ? finalResponses.goBackendPath : finalResponses.goBackendPath + '/'}"
|
|
310
|
+
PUBLIC_ENABLE_MULTI_TENANT="${finalResponses.enableMultiTenant ? 'true' : 'false'}"
|
|
311
|
+
PUBLIC_ENABLE_BUNNY="${finalResponses.enableBunny ? 'true' : 'false'}"
|
|
226
312
|
`;
|
|
227
313
|
|
|
228
314
|
try {
|
package/dist/index.js
CHANGED
|
@@ -30,7 +30,15 @@ async function w(t, e, c) {
|
|
|
30
30
|
dest: "env.example"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
src: t("../templates
|
|
33
|
+
src: t("../templates/prettierrc"),
|
|
34
|
+
dest: ".prettierrc"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
src: t("../templates/prettierignore"),
|
|
38
|
+
dest: ".prettierignore"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
src: t("../templates/gitignore"),
|
|
34
42
|
dest: ".gitignore"
|
|
35
43
|
},
|
|
36
44
|
{
|
|
@@ -470,10 +478,6 @@ async function w(t, e, c) {
|
|
|
470
478
|
src: t("../templates/src/components/edit/pane/PanePanel_path.tsx"),
|
|
471
479
|
dest: "src/components/edit/pane/PanePanel_path.tsx"
|
|
472
480
|
},
|
|
473
|
-
{
|
|
474
|
-
src: t("../templates/src/components/edit/pane/PanePanel_slug.tsx"),
|
|
475
|
-
dest: "src/components/edit/pane/PanePanel_slug.tsx"
|
|
476
|
-
},
|
|
477
481
|
{
|
|
478
482
|
src: t("../templates/src/components/edit/pane/PanePanel_title.tsx"),
|
|
479
483
|
dest: "src/components/edit/pane/PanePanel_title.tsx"
|
|
@@ -889,6 +893,23 @@ async function w(t, e, c) {
|
|
|
889
893
|
src: t("../templates/src/components/Fragment.astro"),
|
|
890
894
|
dest: "src/components/Fragment.astro"
|
|
891
895
|
},
|
|
896
|
+
// Search Components
|
|
897
|
+
{
|
|
898
|
+
src: t("../templates/src/components/search/SearchWrapper.tsx"),
|
|
899
|
+
dest: "src/components/search/SearchWrapper.tsx"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
src: t("../templates/src/components/search/SearchModal.tsx"),
|
|
903
|
+
dest: "src/components/search/SearchModal.tsx"
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
src: t("../templates/src/components/search/SearchResults.tsx"),
|
|
907
|
+
dest: "src/components/search/SearchResults.tsx"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
src: t("../templates/src/hooks/useSearch.ts"),
|
|
911
|
+
dest: "src/hooks/useSearch.ts"
|
|
912
|
+
},
|
|
892
913
|
// Profile Components
|
|
893
914
|
{
|
|
894
915
|
src: t("../templates/src/components/profile/ProfileConsent.tsx"),
|
|
@@ -1020,6 +1041,12 @@ async function w(t, e, c) {
|
|
|
1020
1041
|
dest: "src/components/form/advanced/APIConfigSection.tsx"
|
|
1021
1042
|
},
|
|
1022
1043
|
// StoryKeep Dashboard Components
|
|
1044
|
+
{
|
|
1045
|
+
src: t(
|
|
1046
|
+
"../templates/src/components/storykeep/StoryKeepBackdrop.astro"
|
|
1047
|
+
),
|
|
1048
|
+
dest: "src/components/storykeep/StoryKeepBackdrop.astro"
|
|
1049
|
+
},
|
|
1023
1050
|
{
|
|
1024
1051
|
src: t("../templates/src/components/storykeep/Dashboard.tsx"),
|
|
1025
1052
|
dest: "src/components/storykeep/Dashboard.tsx"
|
|
@@ -1244,6 +1271,10 @@ async function w(t, e, c) {
|
|
|
1244
1271
|
dest: "src/lib/session.ts"
|
|
1245
1272
|
},
|
|
1246
1273
|
// Client Scripts
|
|
1274
|
+
{
|
|
1275
|
+
src: t("../templates/src/client/htmx.min.js"),
|
|
1276
|
+
dest: "public/client/htmx.min.js"
|
|
1277
|
+
},
|
|
1247
1278
|
{
|
|
1248
1279
|
src: t("../templates/src/client/sse.js"),
|
|
1249
1280
|
dest: "public/client/sse.js"
|
|
@@ -2001,6 +2032,11 @@ async function w(t, e, c) {
|
|
|
2001
2032
|
dest: "src/custom/CustomRoutes.astro",
|
|
2002
2033
|
protected: !0
|
|
2003
2034
|
},
|
|
2035
|
+
{
|
|
2036
|
+
src: t("../templates/src/utils/customHelpers.ts"),
|
|
2037
|
+
dest: "src/utils/customHelpers.ts",
|
|
2038
|
+
protected: !0
|
|
2039
|
+
},
|
|
2004
2040
|
// Example Components (Conditional)
|
|
2005
2041
|
...c?.includeExamples ? [
|
|
2006
2042
|
{
|
|
@@ -2026,7 +2062,7 @@ async function w(t, e, c) {
|
|
|
2026
2062
|
try {
|
|
2027
2063
|
const p = i(s.dest);
|
|
2028
2064
|
r(p) || x(p, { recursive: !0 });
|
|
2029
|
-
const o = !s.protected && (s.dest === "tailwind.config.cjs" || s.dest.startsWith("src/components/codehooks/") || s.dest.startsWith("src/components/widgets/") || s.dest.startsWith("src/") || s.dest === ".gitignore");
|
|
2065
|
+
const o = !s.protected && (s.dest === "tailwind.config.cjs" || s.dest.startsWith("src/components/codehooks/") || s.dest.startsWith("src/components/widgets/") || s.dest.startsWith("src/") || s.dest.startsWith("public/client/") || s.dest === ".gitignore");
|
|
2030
2066
|
if (!r(s.dest) || o)
|
|
2031
2067
|
if (r(s.src))
|
|
2032
2068
|
k(s.src, s.dest), e.info(`Updated ${s.dest}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astro-tractstack",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.51",
|
|
4
4
|
"description": "Astro integration for TractStack - redeeming the web from boring experiences",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -85,5 +85,10 @@
|
|
|
85
85
|
"engines": {
|
|
86
86
|
"node": ">=18.14.1"
|
|
87
87
|
},
|
|
88
|
-
"packageManager": "pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0"
|
|
88
|
+
"packageManager": "pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0",
|
|
89
|
+
"pnpm": {
|
|
90
|
+
"overrides": {
|
|
91
|
+
"esbuild@<=0.24.2": ">=0.25.0"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
89
94
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/templates/brand/logo.svg
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/templates/css/custom.css
CHANGED
|
File without changes
|