├── .changeset ├── README.md ├── changelog-config.cjs └── config.json ├── .github ├── FUNDING.yml ├── actions │ └── setup │ │ └── action.yml └── workflows │ ├── ci.yml │ ├── fix.yml │ ├── release-dev.yml │ └── release.yml ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── eslint.config.js ├── examples ├── custom-head │ ├── README.md │ ├── astro.config.ts │ ├── package.json │ ├── src │ │ ├── components │ │ │ ├── CustomFont.html │ │ │ ├── CustomHead.astro │ │ │ ├── Typography.astro │ │ │ ├── Typography.stories.ts │ │ │ └── global.css │ │ └── env.d.ts │ └── tsconfig.json ├── custom-home │ ├── README.md │ ├── astro.config.ts │ ├── package.json │ ├── src │ │ ├── components │ │ │ └── CustomHome.astro │ │ └── env.d.ts │ └── tsconfig.json ├── mixed │ ├── README.md │ ├── astro.config.ts │ ├── package.json │ ├── src │ │ ├── components │ │ │ └── Card.astro │ │ ├── env.d.ts │ │ ├── layouts │ │ │ └── Layout.astro │ │ ├── pages │ │ │ └── index.astro │ │ ├── stories │ │ │ ├── PreactCounter.stories.ts │ │ │ └── PreactCounter.tsx │ │ └── styles │ │ │ └── global.css │ └── tsconfig.json ├── pandacss │ ├── README.md │ ├── astro.config.ts │ ├── package.json │ ├── panda.config.ts │ ├── postcss.config.js │ ├── src │ │ ├── components │ │ │ ├── Button.astro │ │ │ └── Button.stories.ts │ │ ├── env.d.ts │ │ └── styles │ │ │ ├── colors.ts │ │ │ └── global.css │ └── tsconfig.json ├── playground │ ├── .npmrc │ ├── README.md │ ├── astro.config.ts │ ├── package.json │ ├── src │ │ ├── components │ │ │ ├── astro │ │ │ │ ├── AstroCounter.astro │ │ │ │ └── AstroCounter.stories.ts │ │ │ ├── decorators │ │ │ │ ├── AstroDecorator.astro │ │ │ │ ├── PreactDecorator.tsx │ │ │ │ ├── ReactDecorator.tsx │ │ │ │ ├── SvelteDecorator.svelte │ │ │ │ ├── VueDecorator.vue │ │ │ │ └── decorators.stories.ts │ │ │ ├── hoist │ │ │ │ ├── Hoist.stories.ts │ │ │ │ ├── NoHoistDifferentName.stories.ts │ │ │ │ └── NoHoistMultiple.stories.ts │ │ │ ├── lit │ │ │ │ ├── LitCounter.astro │ │ │ │ ├── LitCounter.stories.ts │ │ │ │ └── LitCounter.ts │ │ │ ├── preact │ │ │ │ ├── PreactCounter.stories.ts │ │ │ │ └── PreactCounter.tsx │ │ │ ├── react │ │ │ │ ├── ReactCounter.stories.ts │ │ │ │ └── ReactCounter.tsx │ │ │ ├── solid │ │ │ │ ├── SolidCounter.stories.ts │ │ │ │ └── SolidCounter.tsx │ │ │ ├── svelte │ │ │ │ ├── SvelteCounter.stories.ts │ │ │ │ └── SvelteCounter.svelte │ │ │ └── vue │ │ │ │ ├── VueCounter.stories.ts │ │ │ │ └── VueCounter.vue │ │ ├── env.d.ts │ │ └── styles │ │ │ └── global.css │ └── tsconfig.json ├── tailwindcss │ ├── README.md │ ├── astro.config.ts │ ├── package.json │ ├── src │ │ ├── env.d.ts │ │ ├── stories │ │ │ ├── PreactCounter.stories.ts │ │ │ └── PreactCounter.tsx │ │ └── styles │ │ │ └── global.css │ └── tsconfig.json └── unocss │ ├── README.md │ ├── astro.config.ts │ ├── package.json │ ├── src │ ├── env.d.ts │ └── stories │ │ ├── PreactCounter.stories.ts │ │ └── PreactCounter.tsx │ ├── tsconfig.json │ └── uno.config.ts ├── package.json ├── packages ├── astrobook │ ├── CHANGELOG.md │ ├── README.md │ ├── lib │ │ ├── components │ │ │ ├── head.astro │ │ │ ├── home.astro │ │ │ └── with-decorators.astro │ │ └── pages │ │ │ ├── app.astro │ │ │ └── story.astro │ ├── package.json │ ├── src │ │ ├── client.ts │ │ └── index.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── core │ ├── package.json │ ├── src │ │ ├── astro-integration.ts │ │ ├── client.ts │ │ ├── index.ts │ │ ├── options.spec.ts │ │ ├── options.ts │ │ ├── utils │ │ │ ├── get-exports.spec.ts │ │ │ ├── get-exports.ts │ │ │ ├── invariant.ts │ │ │ ├── path-builder.spec.ts │ │ │ ├── path-builder.ts │ │ │ └── path.ts │ │ └── virtual-module │ │ │ ├── get-story-modules.spec.ts │ │ │ ├── get-story-modules.ts │ │ │ ├── story-modules.ts │ │ │ ├── virtual-module-ids.ts │ │ │ ├── virtual-routes.ts │ │ │ └── vite-plugin.ts │ ├── tsconfig.json │ ├── tsdown.config.ts │ └── vitest.config.ts ├── types │ ├── lib │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── types.d.ts │ │ └── virtual.d.ts │ ├── package.json │ └── tsconfig.json └── ui │ ├── copy.ts │ ├── package.json │ ├── src │ ├── components │ │ ├── app.astro │ │ ├── build-path.ts │ │ ├── home.astro │ │ ├── layout.astro │ │ ├── layout.css │ │ ├── sidebar-button-fullscreen.astro │ │ ├── sidebar-button-theme.astro │ │ ├── sidebar-button.astro │ │ ├── sidebar-component-list.astro │ │ ├── sidebar-title.astro │ │ ├── sidebar.astro │ │ └── theme-message.ts │ ├── env.d.ts │ ├── index.ts │ └── style.css │ ├── tsconfig.json │ └── uno.config.ts ├── playwright.config.ts ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── tests ├── custom-head │ └── index.test.ts ├── custom-home │ └── index.test.ts ├── example-urls.js ├── helpers │ └── counter.ts ├── mixed │ └── index.test.ts ├── pandacss │ └── index.test.ts ├── playground │ ├── counter.test.ts │ ├── decorator.test.ts │ ├── hoist.test.ts │ └── home.test.ts ├── tailwindcss │ └── index.test.ts └── unocss │ └── index.test.ts ├── tsconfig.json ├── turbo.json └── vitest.config.ts /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/changelog-config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/.changeset/changelog-config.cjs -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [ocavue] 2 | -------------------------------------------------------------------------------- /.github/actions/setup/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/.github/actions/setup/action.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/fix.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/.github/workflows/fix.yml -------------------------------------------------------------------------------- /.github/workflows/release-dev.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/.github/workflows/release-dev.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "unocss.root": ["packages/ui"] 3 | } 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ./packages/astrobook/README.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/eslint.config.js -------------------------------------------------------------------------------- /examples/custom-head/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/custom-head/README.md -------------------------------------------------------------------------------- /examples/custom-head/astro.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/custom-head/astro.config.ts -------------------------------------------------------------------------------- /examples/custom-head/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/custom-head/package.json -------------------------------------------------------------------------------- /examples/custom-head/src/components/CustomFont.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/custom-head/src/components/CustomFont.html -------------------------------------------------------------------------------- /examples/custom-head/src/components/CustomHead.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/custom-head/src/components/CustomHead.astro -------------------------------------------------------------------------------- /examples/custom-head/src/components/Typography.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/custom-head/src/components/Typography.astro -------------------------------------------------------------------------------- /examples/custom-head/src/components/Typography.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/custom-head/src/components/Typography.stories.ts -------------------------------------------------------------------------------- /examples/custom-head/src/components/global.css: -------------------------------------------------------------------------------- 1 | p { 2 | padding: 1rem; 3 | } 4 | -------------------------------------------------------------------------------- /examples/custom-head/src/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/custom-head/src/env.d.ts -------------------------------------------------------------------------------- /examples/custom-head/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/custom-head/tsconfig.json -------------------------------------------------------------------------------- /examples/custom-home/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/custom-home/README.md -------------------------------------------------------------------------------- /examples/custom-home/astro.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/custom-home/astro.config.ts -------------------------------------------------------------------------------- /examples/custom-home/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/custom-home/package.json -------------------------------------------------------------------------------- /examples/custom-home/src/components/CustomHome.astro: -------------------------------------------------------------------------------- 1 |

Custom home

2 | -------------------------------------------------------------------------------- /examples/custom-home/src/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/custom-home/src/env.d.ts -------------------------------------------------------------------------------- /examples/custom-home/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/custom-home/tsconfig.json -------------------------------------------------------------------------------- /examples/mixed/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/mixed/README.md -------------------------------------------------------------------------------- /examples/mixed/astro.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/mixed/astro.config.ts -------------------------------------------------------------------------------- /examples/mixed/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/mixed/package.json -------------------------------------------------------------------------------- /examples/mixed/src/components/Card.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/mixed/src/components/Card.astro -------------------------------------------------------------------------------- /examples/mixed/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /examples/mixed/src/layouts/Layout.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/mixed/src/layouts/Layout.astro -------------------------------------------------------------------------------- /examples/mixed/src/pages/index.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/mixed/src/pages/index.astro -------------------------------------------------------------------------------- /examples/mixed/src/stories/PreactCounter.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/mixed/src/stories/PreactCounter.stories.ts -------------------------------------------------------------------------------- /examples/mixed/src/stories/PreactCounter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/mixed/src/stories/PreactCounter.tsx -------------------------------------------------------------------------------- /examples/mixed/src/styles/global.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/mixed/src/styles/global.css -------------------------------------------------------------------------------- /examples/mixed/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/mixed/tsconfig.json -------------------------------------------------------------------------------- /examples/pandacss/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/pandacss/README.md -------------------------------------------------------------------------------- /examples/pandacss/astro.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/pandacss/astro.config.ts -------------------------------------------------------------------------------- /examples/pandacss/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/pandacss/package.json -------------------------------------------------------------------------------- /examples/pandacss/panda.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/pandacss/panda.config.ts -------------------------------------------------------------------------------- /examples/pandacss/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/pandacss/postcss.config.js -------------------------------------------------------------------------------- /examples/pandacss/src/components/Button.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/pandacss/src/components/Button.astro -------------------------------------------------------------------------------- /examples/pandacss/src/components/Button.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/pandacss/src/components/Button.stories.ts -------------------------------------------------------------------------------- /examples/pandacss/src/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/pandacss/src/env.d.ts -------------------------------------------------------------------------------- /examples/pandacss/src/styles/colors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/pandacss/src/styles/colors.ts -------------------------------------------------------------------------------- /examples/pandacss/src/styles/global.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/pandacss/src/styles/global.css -------------------------------------------------------------------------------- /examples/pandacss/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/pandacss/tsconfig.json -------------------------------------------------------------------------------- /examples/playground/.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/.npmrc -------------------------------------------------------------------------------- /examples/playground/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/README.md -------------------------------------------------------------------------------- /examples/playground/astro.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/astro.config.ts -------------------------------------------------------------------------------- /examples/playground/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/package.json -------------------------------------------------------------------------------- /examples/playground/src/components/astro/AstroCounter.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/astro/AstroCounter.astro -------------------------------------------------------------------------------- /examples/playground/src/components/astro/AstroCounter.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/astro/AstroCounter.stories.ts -------------------------------------------------------------------------------- /examples/playground/src/components/decorators/AstroDecorator.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/decorators/AstroDecorator.astro -------------------------------------------------------------------------------- /examples/playground/src/components/decorators/PreactDecorator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/decorators/PreactDecorator.tsx -------------------------------------------------------------------------------- /examples/playground/src/components/decorators/ReactDecorator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/decorators/ReactDecorator.tsx -------------------------------------------------------------------------------- /examples/playground/src/components/decorators/SvelteDecorator.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/decorators/SvelteDecorator.svelte -------------------------------------------------------------------------------- /examples/playground/src/components/decorators/VueDecorator.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/decorators/VueDecorator.vue -------------------------------------------------------------------------------- /examples/playground/src/components/decorators/decorators.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/decorators/decorators.stories.ts -------------------------------------------------------------------------------- /examples/playground/src/components/hoist/Hoist.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/hoist/Hoist.stories.ts -------------------------------------------------------------------------------- /examples/playground/src/components/hoist/NoHoistDifferentName.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/hoist/NoHoistDifferentName.stories.ts -------------------------------------------------------------------------------- /examples/playground/src/components/hoist/NoHoistMultiple.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/hoist/NoHoistMultiple.stories.ts -------------------------------------------------------------------------------- /examples/playground/src/components/lit/LitCounter.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/lit/LitCounter.astro -------------------------------------------------------------------------------- /examples/playground/src/components/lit/LitCounter.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/lit/LitCounter.stories.ts -------------------------------------------------------------------------------- /examples/playground/src/components/lit/LitCounter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/lit/LitCounter.ts -------------------------------------------------------------------------------- /examples/playground/src/components/preact/PreactCounter.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/preact/PreactCounter.stories.ts -------------------------------------------------------------------------------- /examples/playground/src/components/preact/PreactCounter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/preact/PreactCounter.tsx -------------------------------------------------------------------------------- /examples/playground/src/components/react/ReactCounter.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/react/ReactCounter.stories.ts -------------------------------------------------------------------------------- /examples/playground/src/components/react/ReactCounter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/react/ReactCounter.tsx -------------------------------------------------------------------------------- /examples/playground/src/components/solid/SolidCounter.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/solid/SolidCounter.stories.ts -------------------------------------------------------------------------------- /examples/playground/src/components/solid/SolidCounter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/solid/SolidCounter.tsx -------------------------------------------------------------------------------- /examples/playground/src/components/svelte/SvelteCounter.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/svelte/SvelteCounter.stories.ts -------------------------------------------------------------------------------- /examples/playground/src/components/svelte/SvelteCounter.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/svelte/SvelteCounter.svelte -------------------------------------------------------------------------------- /examples/playground/src/components/vue/VueCounter.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/vue/VueCounter.stories.ts -------------------------------------------------------------------------------- /examples/playground/src/components/vue/VueCounter.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/components/vue/VueCounter.vue -------------------------------------------------------------------------------- /examples/playground/src/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/env.d.ts -------------------------------------------------------------------------------- /examples/playground/src/styles/global.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/src/styles/global.css -------------------------------------------------------------------------------- /examples/playground/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/playground/tsconfig.json -------------------------------------------------------------------------------- /examples/tailwindcss/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/tailwindcss/README.md -------------------------------------------------------------------------------- /examples/tailwindcss/astro.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/tailwindcss/astro.config.ts -------------------------------------------------------------------------------- /examples/tailwindcss/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/tailwindcss/package.json -------------------------------------------------------------------------------- /examples/tailwindcss/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /examples/tailwindcss/src/stories/PreactCounter.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/tailwindcss/src/stories/PreactCounter.stories.ts -------------------------------------------------------------------------------- /examples/tailwindcss/src/stories/PreactCounter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/tailwindcss/src/stories/PreactCounter.tsx -------------------------------------------------------------------------------- /examples/tailwindcss/src/styles/global.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/tailwindcss/src/styles/global.css -------------------------------------------------------------------------------- /examples/tailwindcss/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/tailwindcss/tsconfig.json -------------------------------------------------------------------------------- /examples/unocss/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/unocss/README.md -------------------------------------------------------------------------------- /examples/unocss/astro.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/unocss/astro.config.ts -------------------------------------------------------------------------------- /examples/unocss/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/unocss/package.json -------------------------------------------------------------------------------- /examples/unocss/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /examples/unocss/src/stories/PreactCounter.stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/unocss/src/stories/PreactCounter.stories.ts -------------------------------------------------------------------------------- /examples/unocss/src/stories/PreactCounter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/unocss/src/stories/PreactCounter.tsx -------------------------------------------------------------------------------- /examples/unocss/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/unocss/tsconfig.json -------------------------------------------------------------------------------- /examples/unocss/uno.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/examples/unocss/uno.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/package.json -------------------------------------------------------------------------------- /packages/astrobook/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/astrobook/CHANGELOG.md -------------------------------------------------------------------------------- /packages/astrobook/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/astrobook/README.md -------------------------------------------------------------------------------- /packages/astrobook/lib/components/head.astro: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/astrobook/lib/components/home.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/astrobook/lib/components/home.astro -------------------------------------------------------------------------------- /packages/astrobook/lib/components/with-decorators.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/astrobook/lib/components/with-decorators.astro -------------------------------------------------------------------------------- /packages/astrobook/lib/pages/app.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/astrobook/lib/pages/app.astro -------------------------------------------------------------------------------- /packages/astrobook/lib/pages/story.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/astrobook/lib/pages/story.astro -------------------------------------------------------------------------------- /packages/astrobook/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/astrobook/package.json -------------------------------------------------------------------------------- /packages/astrobook/src/client.ts: -------------------------------------------------------------------------------- 1 | export * from '@astrobook/core/client' 2 | -------------------------------------------------------------------------------- /packages/astrobook/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/astrobook/src/index.ts -------------------------------------------------------------------------------- /packages/astrobook/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/astrobook/tsconfig.build.json -------------------------------------------------------------------------------- /packages/astrobook/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/astrobook/tsconfig.json -------------------------------------------------------------------------------- /packages/core/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/package.json -------------------------------------------------------------------------------- /packages/core/src/astro-integration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/astro-integration.ts -------------------------------------------------------------------------------- /packages/core/src/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/client.ts -------------------------------------------------------------------------------- /packages/core/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/index.ts -------------------------------------------------------------------------------- /packages/core/src/options.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/options.spec.ts -------------------------------------------------------------------------------- /packages/core/src/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/options.ts -------------------------------------------------------------------------------- /packages/core/src/utils/get-exports.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/utils/get-exports.spec.ts -------------------------------------------------------------------------------- /packages/core/src/utils/get-exports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/utils/get-exports.ts -------------------------------------------------------------------------------- /packages/core/src/utils/invariant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/utils/invariant.ts -------------------------------------------------------------------------------- /packages/core/src/utils/path-builder.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/utils/path-builder.spec.ts -------------------------------------------------------------------------------- /packages/core/src/utils/path-builder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/utils/path-builder.ts -------------------------------------------------------------------------------- /packages/core/src/utils/path.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/utils/path.ts -------------------------------------------------------------------------------- /packages/core/src/virtual-module/get-story-modules.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/virtual-module/get-story-modules.spec.ts -------------------------------------------------------------------------------- /packages/core/src/virtual-module/get-story-modules.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/virtual-module/get-story-modules.ts -------------------------------------------------------------------------------- /packages/core/src/virtual-module/story-modules.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/virtual-module/story-modules.ts -------------------------------------------------------------------------------- /packages/core/src/virtual-module/virtual-module-ids.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/virtual-module/virtual-module-ids.ts -------------------------------------------------------------------------------- /packages/core/src/virtual-module/virtual-routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/virtual-module/virtual-routes.ts -------------------------------------------------------------------------------- /packages/core/src/virtual-module/vite-plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/src/virtual-module/vite-plugin.ts -------------------------------------------------------------------------------- /packages/core/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/tsconfig.json -------------------------------------------------------------------------------- /packages/core/tsdown.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/tsdown.config.ts -------------------------------------------------------------------------------- /packages/core/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/core/vitest.config.ts -------------------------------------------------------------------------------- /packages/types/lib/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/types/lib/index.d.ts -------------------------------------------------------------------------------- /packages/types/lib/index.js: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /packages/types/lib/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/types/lib/types.d.ts -------------------------------------------------------------------------------- /packages/types/lib/virtual.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/types/lib/virtual.d.ts -------------------------------------------------------------------------------- /packages/types/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/types/package.json -------------------------------------------------------------------------------- /packages/types/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/types/tsconfig.json -------------------------------------------------------------------------------- /packages/ui/copy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/copy.ts -------------------------------------------------------------------------------- /packages/ui/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/package.json -------------------------------------------------------------------------------- /packages/ui/src/components/app.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/src/components/app.astro -------------------------------------------------------------------------------- /packages/ui/src/components/build-path.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/src/components/build-path.ts -------------------------------------------------------------------------------- /packages/ui/src/components/home.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/src/components/home.astro -------------------------------------------------------------------------------- /packages/ui/src/components/layout.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/src/components/layout.astro -------------------------------------------------------------------------------- /packages/ui/src/components/layout.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/src/components/layout.css -------------------------------------------------------------------------------- /packages/ui/src/components/sidebar-button-fullscreen.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/src/components/sidebar-button-fullscreen.astro -------------------------------------------------------------------------------- /packages/ui/src/components/sidebar-button-theme.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/src/components/sidebar-button-theme.astro -------------------------------------------------------------------------------- /packages/ui/src/components/sidebar-button.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/src/components/sidebar-button.astro -------------------------------------------------------------------------------- /packages/ui/src/components/sidebar-component-list.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/src/components/sidebar-component-list.astro -------------------------------------------------------------------------------- /packages/ui/src/components/sidebar-title.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/src/components/sidebar-title.astro -------------------------------------------------------------------------------- /packages/ui/src/components/sidebar.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/src/components/sidebar.astro -------------------------------------------------------------------------------- /packages/ui/src/components/theme-message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/src/components/theme-message.ts -------------------------------------------------------------------------------- /packages/ui/src/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/src/env.d.ts -------------------------------------------------------------------------------- /packages/ui/src/index.ts: -------------------------------------------------------------------------------- 1 | export {} 2 | -------------------------------------------------------------------------------- /packages/ui/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/src/style.css -------------------------------------------------------------------------------- /packages/ui/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/tsconfig.json -------------------------------------------------------------------------------- /packages/ui/uno.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/packages/ui/uno.config.ts -------------------------------------------------------------------------------- /playwright.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/playwright.config.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /tests/custom-head/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/tests/custom-head/index.test.ts -------------------------------------------------------------------------------- /tests/custom-home/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/tests/custom-home/index.test.ts -------------------------------------------------------------------------------- /tests/example-urls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/tests/example-urls.js -------------------------------------------------------------------------------- /tests/helpers/counter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/tests/helpers/counter.ts -------------------------------------------------------------------------------- /tests/mixed/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/tests/mixed/index.test.ts -------------------------------------------------------------------------------- /tests/pandacss/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/tests/pandacss/index.test.ts -------------------------------------------------------------------------------- /tests/playground/counter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/tests/playground/counter.test.ts -------------------------------------------------------------------------------- /tests/playground/decorator.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/tests/playground/decorator.test.ts -------------------------------------------------------------------------------- /tests/playground/hoist.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/tests/playground/hoist.test.ts -------------------------------------------------------------------------------- /tests/playground/home.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/tests/playground/home.test.ts -------------------------------------------------------------------------------- /tests/tailwindcss/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/tests/tailwindcss/index.test.ts -------------------------------------------------------------------------------- /tests/unocss/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/tests/unocss/index.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/tsconfig.json -------------------------------------------------------------------------------- /turbo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/turbo.json -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/astrobook/HEAD/vitest.config.ts --------------------------------------------------------------------------------