@batijs/cli 0.0.688 → 0.0.690
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{asset-env-DvKtWq7P.js → asset-env-CdkrETMo.js} +1 -2
- package/dist/{asset-package.json-thpQh5rj.js → asset-package.json-0HhYnegB.js} +3 -4
- package/dist/{asset-package.json-PT4ecaCh.js → asset-package.json-0OcQsEZB.js} +4 -5
- package/dist/{asset-package.json-B54dcErI.js → asset-package.json-AKyD2v6W.js} +3 -4
- package/dist/{asset-package.json-BsOz1Qtn.js → asset-package.json-B-IQH2Ax.js} +2 -3
- package/dist/{asset-package.json-B9fyS9ol.js → asset-package.json-B0M-Hy5s.js} +1 -2
- package/dist/{asset-package.json-fFiMUZiC.js → asset-package.json-B0US5URl.js} +5 -6
- package/dist/{asset-package.json-nJZMPAut.js → asset-package.json-B6g5h9_0.js} +2 -3
- package/dist/{asset-package.json-DdabfmBk.js → asset-package.json-B7F7Wx63.js} +2 -3
- package/dist/{asset-package.json-BuM3wec-.js → asset-package.json-BJw0tWgY.js} +3 -4
- package/dist/{asset-package.json-BHhJFp1f.js → asset-package.json-BW55_eMV.js} +1 -2
- package/dist/{asset-package.json-BCcXIWVE.js → asset-package.json-BguJ7VWg.js} +1 -2
- package/dist/{asset-package.json-1M1adAgB.js → asset-package.json-Bij13g7r.js} +2 -3
- package/dist/{asset-package.json-CoQQ7j-T.js → asset-package.json-BmKdFYhk.js} +2 -3
- package/dist/{asset-package.json-B2OBvLMV.js → asset-package.json-BqbokPK_.js} +4 -5
- package/dist/{asset-package.json-CKVkxAhF.js → asset-package.json-BrVJ8Cas.js} +3 -4
- package/dist/{asset-package.json-CPZpOkgd.js → asset-package.json-BvSVojrT.js} +4 -5
- package/dist/{asset-package.json-VkUXvqsr.js → asset-package.json-ByD8Xyg7.js} +1 -2
- package/dist/{asset-package.json-CE3XrZHr.js → asset-package.json-CHtbJ8AO.js} +2 -3
- package/dist/{asset-package.json-DqGXTjLe.js → asset-package.json-CLOVtTki.js} +1 -2
- package/dist/{asset-package.json-C0pjbm9Y.js → asset-package.json-CSnguoJS.js} +1 -2
- package/dist/{asset-package.json-_607AoXW.js → asset-package.json-CTSsGWep.js} +1 -2
- package/dist/{asset-package.json-Bp5OqVkb.js → asset-package.json-CUho6Sfy.js} +3 -4
- package/dist/{asset-package.json-BpAQW_YA.js → asset-package.json-CYD7ihrL.js} +5 -6
- package/dist/{asset-package.json-e2518RzC.js → asset-package.json-Cct1fYvX.js} +3 -4
- package/dist/{asset-package.json-BkrvoQq_.js → asset-package.json-CpFujh9Q.js} +1 -2
- package/dist/{asset-package.json-C_W63Sd4.js → asset-package.json-Cua28iQR.js} +1 -2
- package/dist/{asset-package.json-CsPkf_Nf.js → asset-package.json-DF39PUPm.js} +3 -4
- package/dist/{asset-package.json-DND0OHll.js → asset-package.json-DFrTP7mB.js} +1 -2
- package/dist/{asset-package.json-DKxk5ZW-.js → asset-package.json-DJB-rxQI.js} +4 -5
- package/dist/{asset-package.json-Dbibqwju.js → asset-package.json-DNZ-W1DW.js} +3 -4
- package/dist/{asset-package.json-CQACBif7.js → asset-package.json-DaMLR-27.js} +1 -2
- package/dist/{asset-package.json-B6RCFZXC.js → asset-package.json-Dc7LmJiX.js} +2 -3
- package/dist/{asset-package.json-CYZNLPWB.js → asset-package.json-DoQwM6Vc.js} +2 -3
- package/dist/{asset-package.json-CsKH-qVa.js → asset-package.json-Dr5C2M19.js} +3 -4
- package/dist/{asset-package.json-C-xGfN1u.js → asset-package.json-OoloAndD.js} +3 -4
- package/dist/{asset-package.json-C5xRFj1K.js → asset-package.json-RlcPECQL.js} +3 -4
- package/dist/{asset-package.json-8kO14FIM.js → asset-package.json-WK62eq80.js} +5 -6
- package/dist/{asset-package.json-D75wNltL.js → asset-package.json-Wp2JIruC.js} +3 -4
- package/dist/{asset-package.json-Ctv512h0.js → asset-package.json-_sykCzlI.js} +2 -3
- package/dist/{asset-package.json-D0cV5JO6.js → asset-package.json-lkF62-cC.js} +3 -4
- package/dist/{asset-package.json-Fz1Q3HSz.js → asset-package.json-vMduulhO.js} +3 -4
- package/dist/boilerplates/@batijs/auth0/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/auth0/files/$TODO.md.js +1 -2
- package/dist/boilerplates/@batijs/authjs/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/authjs/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/authjs/files/asset-package.json.mjs +2 -3
- package/dist/boilerplates/@batijs/authjs/types/server/authjs-handler.d.mts +1 -3
- package/dist/boilerplates/@batijs/aws/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/aws/files/$README.md.js +1 -2
- package/dist/boilerplates/@batijs/aws/files/$TODO.md.js +1 -2
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -2
- package/dist/boilerplates/@batijs/aws/files/$vite.config.ts.js +1 -2
- package/dist/boilerplates/@batijs/aws/files/asset-package.json.mjs +5 -6
- package/dist/boilerplates/@batijs/aws/files/cdk/$stack-name-suffix.json.js +1 -2
- package/dist/boilerplates/@batijs/aws/types/cdk/bin/infrastructure.d.mts +1 -3
- package/dist/boilerplates/@batijs/aws/types/cdk/lib/vike-stack.d.mts +0 -2
- package/dist/boilerplates/@batijs/aws/types/vitest.config.d.mts +0 -2
- package/dist/boilerplates/@batijs/better-auth/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/better-auth/files/$TODO.md.js +1 -2
- package/dist/boilerplates/@batijs/better-auth/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/better-auth/files/asset-package.json.mjs +4 -5
- package/dist/boilerplates/@batijs/better-auth/files/database/migrations/$better-auth.sql.js +1 -2
- package/dist/boilerplates/@batijs/better-auth/types/database/drizzle/schema/auth.d.mts +1 -3
- package/dist/boilerplates/@batijs/better-auth/types/server/better-auth-handler.d.mts +1 -3
- package/dist/boilerplates/@batijs/better-auth/types/server/better-auth.d.mts +1 -3
- package/dist/boilerplates/@batijs/biome/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/biome/files/$biome.json.js +1 -2
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/biome/files/asset-package.json.mjs +3 -4
- package/dist/boilerplates/@batijs/cloudflare/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/cloudflare/files/$TODO.md.js +1 -2
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +1 -2
- package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +1 -2
- package/dist/boilerplates/@batijs/cloudflare/files/$wrangler.jsonc.js +2 -4
- package/dist/boilerplates/@batijs/cloudflare/files/asset-env.mjs +1 -2
- package/dist/boilerplates/@batijs/cloudflare/files/asset-package.json.mjs +3 -4
- package/dist/boilerplates/@batijs/compiled/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +1 -2
- package/dist/boilerplates/@batijs/compiled/files/asset-package.json.mjs +2 -3
- package/dist/boilerplates/@batijs/d1/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/d1/files/$TODO.md.js +1 -2
- package/dist/boilerplates/@batijs/d1/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/d1/files/$wrangler.jsonc.js +1 -2
- package/dist/boilerplates/@batijs/d1/files/asset-package.json.mjs +3 -4
- package/dist/boilerplates/@batijs/d1/types/database/d1/helpers.d.mts +1 -3
- package/dist/boilerplates/@batijs/d1-kysely/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/d1-kysely/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/d1-kysely/files/asset-package.json.mjs +1 -2
- package/dist/boilerplates/@batijs/d1-sqlite/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/d1-sqlite/files/asset-package.json.mjs +2 -3
- package/dist/boilerplates/@batijs/d1-sqlite/types/database/d1/queries/todos.d.mts +1 -3
- package/dist/boilerplates/@batijs/docker-compose/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/docker-compose/files/$.dockerignore.js +1 -2
- package/dist/boilerplates/@batijs/docker-compose/files/$Dockerfile.js +2 -3
- package/dist/boilerplates/@batijs/docker-compose/files/$docker-compose.yml.js +2 -3
- package/dist/boilerplates/@batijs/docker-compose/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/docker-compose/files/asset-env.mjs +1 -2
- package/dist/boilerplates/@batijs/docker-compose/files/asset-package.json.mjs +1 -2
- package/dist/boilerplates/@batijs/dokploy/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/dokploy/files/$TODO.md.js +1 -2
- package/dist/boilerplates/@batijs/drizzle/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/drizzle/files/$TODO.md.js +1 -2
- package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/drizzle/files/asset-package.json.mjs +1 -2
- package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/db.d.mts +1 -3
- package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/queries/todos.d.mts +1 -3
- package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/schema/todos.d.mts +1 -3
- package/dist/boilerplates/@batijs/drizzle/types/drizzle.config.d.mts +0 -2
- package/dist/boilerplates/@batijs/edgeone/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/edgeone/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/edgeone/files/$vite.config.ts.js +1 -2
- package/dist/boilerplates/@batijs/edgeone/files/asset-package.json.mjs +1 -2
- package/dist/boilerplates/@batijs/elysia/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/elysia/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/elysia/files/asset-package.json.mjs +3 -4
- package/dist/boilerplates/@batijs/elysia/types/+server.d.mts +0 -2
- package/dist/boilerplates/@batijs/elysia/types/server/elysia.d.mts +1 -3
- package/dist/boilerplates/@batijs/eslint/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/eslint/files/asset-package.json.mjs +3 -4
- package/dist/boilerplates/@batijs/eslint/types/eslint.config.d.mts +0 -2
- package/dist/boilerplates/@batijs/express/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/express/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/express/files/asset-package.json.mjs +3 -4
- package/dist/boilerplates/@batijs/express/types/+server.d.mts +0 -2
- package/dist/boilerplates/@batijs/fastify/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/fastify/files/asset-package.json.mjs +3 -4
- package/dist/boilerplates/@batijs/fastify/types/+server.d.mts +0 -2
- package/dist/boilerplates/@batijs/google-analytics/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/hono/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/hono/files/asset-package.json.mjs +4 -5
- package/dist/boilerplates/@batijs/hono/types/+server.d.mts +0 -2
- package/dist/boilerplates/@batijs/hono/types/entry_aws_lambda.d.mts +1 -3
- package/dist/boilerplates/@batijs/hono/types/server/hono.d.mts +1 -3
- package/dist/boilerplates/@batijs/kysely/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/kysely/files/$TODO.md.js +1 -2
- package/dist/boilerplates/@batijs/kysely/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/kysely/files/$vite.config.ts.js +1 -2
- package/dist/boilerplates/@batijs/kysely/files/asset-package.json.mjs +4 -5
- package/dist/boilerplates/@batijs/kysely/types/database/kysely/db.d.mts +1 -3
- package/dist/boilerplates/@batijs/kysely/types/database/kysely/migrations/001_create_todos_table.d.mts +1 -3
- package/dist/boilerplates/@batijs/kysely/types/database/kysely/queries/todos.d.mts +1 -3
- package/dist/boilerplates/@batijs/kysely/types/database/kysely/types.d.mts +1 -3
- package/dist/boilerplates/@batijs/kysely/types/vite-plugin-input.d.mts +1 -3
- package/dist/boilerplates/@batijs/mantine/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -2
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/mantine/files/asset-package.json.mjs +5 -6
- package/dist/boilerplates/@batijs/mantine/types/components/Link.d.mts +1 -3
- package/dist/boilerplates/@batijs/mantine/types/pages/+Layout.d.mts +1 -3
- package/dist/boilerplates/@batijs/netlify/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/netlify/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/netlify/files/$vite.config.ts.js +1 -2
- package/dist/boilerplates/@batijs/netlify/files/asset-package.json.mjs +1 -2
- package/dist/boilerplates/@batijs/oxlint/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/oxlint/files/$.oxlintrc.json.js +1 -2
- package/dist/boilerplates/@batijs/oxlint/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/oxlint/files/asset-package.json.mjs +3 -4
- package/dist/boilerplates/@batijs/plausible.io/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +1 -2
- package/dist/boilerplates/@batijs/pnpm/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +1 -2
- package/dist/boilerplates/@batijs/postgres/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/postgres/files/$TODO.md.js +1 -2
- package/dist/boilerplates/@batijs/postgres/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/postgres/files/asset-package.json.mjs +1 -2
- package/dist/boilerplates/@batijs/postgres/types/database/postgres/db.d.mts +1 -3
- package/dist/boilerplates/@batijs/postgres/types/database/postgres/queries/todos.d.mts +1 -3
- package/dist/boilerplates/@batijs/prettier/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/prettier/files/asset-package.json.mjs +1 -2
- package/dist/boilerplates/@batijs/prisma/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/prisma/files/$TODO.md.js +1 -2
- package/dist/boilerplates/@batijs/prisma/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/prisma/files/asset-package.json.mjs +1 -2
- package/dist/boilerplates/@batijs/react/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/react/files/$README.md.js +1 -2
- package/dist/boilerplates/@batijs/react/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +1 -2
- package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +1 -2
- package/dist/boilerplates/@batijs/react/files/asset-package.json.mjs +5 -6
- package/dist/boilerplates/@batijs/react/types/components/Link.d.mts +1 -3
- package/dist/boilerplates/@batijs/react/types/pages/+Head.d.mts +1 -3
- package/dist/boilerplates/@batijs/react/types/pages/+Layout.d.mts +1 -3
- package/dist/boilerplates/@batijs/react/types/pages/+config.d.mts +0 -2
- package/dist/boilerplates/@batijs/react/types/pages/+onPageTransitionEnd.d.mts +1 -3
- package/dist/boilerplates/@batijs/react/types/pages/+onPageTransitionStart.d.mts +1 -3
- package/dist/boilerplates/@batijs/react/types/pages/_error/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/react/types/pages/index/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/react/types/pages/index/Counter.d.mts +1 -3
- package/dist/boilerplates/@batijs/react/types/pages/star-wars/@id/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/react/types/pages/star-wars/@id/+data.d.mts +1 -3
- package/dist/boilerplates/@batijs/react/types/pages/star-wars/index/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/react/types/pages/star-wars/index/+data.d.mts +1 -3
- package/dist/boilerplates/@batijs/react/types/pages/star-wars/types.d.mts +1 -3
- package/dist/boilerplates/@batijs/react/types/pages/todo/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/react/types/pages/todo/TodoList.d.mts +1 -3
- package/dist/boilerplates/@batijs/react-better-auth/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/react-better-auth/types/components/AuthNav.d.mts +1 -3
- package/dist/boilerplates/@batijs/react-better-auth/types/pages/account/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/react-better-auth/types/pages/account/+guard.d.mts +1 -3
- package/dist/boilerplates/@batijs/react-better-auth/types/pages/login/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/react-better-auth/types/pages/signup/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/react-sentry/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/react-sentry/files/asset-package.json.mjs +2 -3
- package/dist/boilerplates/@batijs/react-sentry/types/pages/sentry/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/react-sentry/types/sentry.browser.config.d.mts +1 -3
- package/dist/boilerplates/@batijs/sentry/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/sentry/files/$README.md.js +1 -2
- package/dist/boilerplates/@batijs/sentry/files/$TODO.md.js +1 -2
- package/dist/boilerplates/@batijs/sentry/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +1 -2
- package/dist/boilerplates/@batijs/sentry/files/asset-package.json.mjs +2 -3
- package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +1 -2
- package/dist/boilerplates/@batijs/shadcn-ui/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +1 -2
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +1 -2
- package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +1 -2
- package/dist/boilerplates/@batijs/shadcn-ui/files/asset-package.json.mjs +2 -3
- package/dist/boilerplates/@batijs/shadcn-ui/types/lib/utils.d.mts +1 -3
- package/dist/boilerplates/@batijs/shared/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/shared/files/$.env.js +2 -4
- package/dist/boilerplates/@batijs/shared/files/$README.md.js +1 -2
- package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +2 -4
- package/dist/boilerplates/@batijs/shared/files/$package.json.js +1 -2
- package/dist/boilerplates/@batijs/shared/files/asset-const.mjs +1 -2
- package/dist/boilerplates/@batijs/shared/files/asset-env.mjs +1 -2
- package/dist/boilerplates/@batijs/shared/hooks/after.mjs +1 -2
- package/dist/boilerplates/@batijs/shared/hooks/asset-const.mjs +1 -2
- package/dist/boilerplates/@batijs/shared/types/vite.config.d.mts +0 -2
- package/dist/boilerplates/@batijs/shared-agents/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/shared-agents/hooks/after.mjs +1 -2
- package/dist/boilerplates/@batijs/shared-agents/hooks/asset-boilerplates/shared-agents/compose.mjs +2 -3
- package/dist/boilerplates/@batijs/shared-agents/hooks/asset-packages/features/dist/{features-Blmihkil.mjs → features-D6DHpWno.mjs} +1 -2
- package/dist/boilerplates/@batijs/shared-agents/hooks/asset-packages/features/dist/index.mjs +2 -3
- package/dist/boilerplates/@batijs/shared-db/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/shared-db/types/server/db-middleware.d.mts +1 -3
- package/dist/boilerplates/@batijs/shared-env/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/shared-env/types/server/env.d.mts +1 -3
- package/dist/boilerplates/@batijs/shared-env/types/server/load.d.mts +1 -3
- package/dist/boilerplates/@batijs/shared-server/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/shared-server/files/asset-package.json.mjs +3 -4
- package/dist/boilerplates/@batijs/shared-server/types/server/create-todo-handler.d.mts +1 -3
- package/dist/boilerplates/@batijs/shared-todo/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/shared-todo/types/pages/todo/+config.d.mts +1 -3
- package/dist/boilerplates/@batijs/shared-todo/types/pages/todo/+data.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +1 -2
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +1 -2
- package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +1 -2
- package/dist/boilerplates/@batijs/solid/files/asset-package.json.mjs +3 -4
- package/dist/boilerplates/@batijs/solid/types/components/Link.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid/types/pages/+Head.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid/types/pages/+Layout.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid/types/pages/+config.d.mts +0 -2
- package/dist/boilerplates/@batijs/solid/types/pages/+onPageTransitionEnd.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid/types/pages/+onPageTransitionStart.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid/types/pages/_error/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid/types/pages/index/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid/types/pages/index/Counter.d.mts +0 -2
- package/dist/boilerplates/@batijs/solid/types/pages/star-wars/@id/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid/types/pages/star-wars/@id/+data.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid/types/pages/star-wars/index/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid/types/pages/star-wars/index/+data.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid/types/pages/star-wars/types.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid/types/pages/todo/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid/types/pages/todo/TodoList.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid-better-auth/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/solid-better-auth/types/components/AuthNav.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid-better-auth/types/pages/account/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid-better-auth/types/pages/account/+guard.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid-better-auth/types/pages/login/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid-better-auth/types/pages/signup/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid-sentry/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/solid-sentry/files/asset-package.json.mjs +3 -4
- package/dist/boilerplates/@batijs/solid-sentry/types/pages/sentry/+Page.d.mts +1 -3
- package/dist/boilerplates/@batijs/solid-sentry/types/sentry.browser.config.d.mts +1 -3
- package/dist/boilerplates/@batijs/sqlite/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/sqlite/files/$TODO.md.js +1 -2
- package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/sqlite/files/asset-package.json.mjs +1 -2
- package/dist/boilerplates/@batijs/sqlite/types/database/sqlite/db.d.mts +1 -3
- package/dist/boilerplates/@batijs/sqlite/types/database/sqlite/queries/todos.d.mts +1 -3
- package/dist/boilerplates/@batijs/storybook/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/storybook/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/storybook/files/asset-package.json.mjs +1 -2
- package/dist/boilerplates/@batijs/storybook/hooks/after.mjs +1 -2
- package/dist/boilerplates/@batijs/tailwindcss/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +1 -2
- package/dist/boilerplates/@batijs/tailwindcss/files/asset-package.json.mjs +2 -3
- package/dist/boilerplates/@batijs/telefunc/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -2
- package/dist/boilerplates/@batijs/telefunc/files/asset-package.json.mjs +4 -5
- package/dist/boilerplates/@batijs/telefunc/files/server/telefunc-handler.ts +5 -8
- package/dist/boilerplates/@batijs/telefunc/types/pages/todo/TodoList.telefunc.d.mts +1 -3
- package/dist/boilerplates/@batijs/telefunc/types/server/telefunc-handler.d.mts +1 -3
- package/dist/boilerplates/@batijs/trpc/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/trpc/files/asset-package.json.mjs +3 -4
- package/dist/boilerplates/@batijs/trpc/types/server/trpc-handler.d.mts +1 -3
- package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.mts +1 -3
- package/dist/boilerplates/@batijs/trpc/types/trpc/server.d.mts +1 -3
- package/dist/boilerplates/@batijs/ts-rest/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/ts-rest/files/asset-package.json.mjs +2 -3
- package/dist/boilerplates/@batijs/ts-rest/types/server/ts-rest-handler.d.mts +1 -3
- package/dist/boilerplates/@batijs/ts-rest/types/ts-rest/client.d.mts +1 -3
- package/dist/boilerplates/@batijs/ts-rest/types/ts-rest/contract.d.mts +1 -3
- package/dist/boilerplates/@batijs/universal-deploy/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/universal-deploy/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/universal-deploy/files/asset-package.json.mjs +1 -2
- package/dist/boilerplates/@batijs/vercel/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +1 -2
- package/dist/boilerplates/@batijs/vercel/files/asset-package.json.mjs +2 -3
- package/dist/boilerplates/@batijs/vue/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +1 -2
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -2
- package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +1 -2
- package/dist/boilerplates/@batijs/vue/files/asset-package.json.mjs +3 -4
- package/dist/boilerplates/@batijs/vue/types/pages/+config.d.mts +0 -2
- package/dist/boilerplates/@batijs/vue/types/pages/+onCreateApp.d.mts +1 -3
- package/dist/boilerplates/@batijs/vue/types/pages/+onPageTransitionEnd.d.mts +1 -3
- package/dist/boilerplates/@batijs/vue/types/pages/+onPageTransitionStart.d.mts +1 -3
- package/dist/boilerplates/@batijs/vue/types/pages/star-wars/@id/+data.d.mts +1 -3
- package/dist/boilerplates/@batijs/vue/types/pages/star-wars/index/+data.d.mts +1 -3
- package/dist/boilerplates/@batijs/vue/types/pages/star-wars/types.d.mts +1 -3
- package/dist/boilerplates/@batijs/vue-better-auth/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/vue-better-auth/types/pages/account/+guard.d.mts +1 -3
- package/dist/boilerplates/@batijs/vue-sentry/bati.config.mjs +2 -4
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +2 -3
- package/dist/boilerplates/@batijs/vue-sentry/files/asset-package.json.mjs +3 -4
- package/dist/boilerplates/@batijs/vue-sentry/types/sentry.browser.config.d.mts +1 -3
- package/dist/index.js +47 -81
- package/package.json +10 -10
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
2
|
function e(e, t) {
|
|
3
3
|
if (!e) throw Error(t);
|
|
4
4
|
}
|
|
5
5
|
function t(t) {
|
|
6
6
|
return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
//#region bati.config.ts
|
|
8
|
+
// bati.config.ts
|
|
10
9
|
var bati_config_default = t({
|
|
11
10
|
if(meta) {
|
|
12
11
|
return meta.BATI.has("google-analytics");
|
|
@@ -20,5 +19,4 @@ var bati_config_default = t({
|
|
|
20
19
|
See the documentation https://support.google.com/analytics/answer/9304153?hl=en#zippy=%2Cweb`
|
|
21
20
|
}]
|
|
22
21
|
});
|
|
23
|
-
//#endregion
|
|
24
22
|
export { bati_config_default as default };
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
2
|
function e(e, t) {
|
|
3
3
|
if (!e) throw Error(t);
|
|
4
4
|
}
|
|
5
5
|
function t(t) {
|
|
6
6
|
return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
//#region bati.config.ts
|
|
8
|
+
// bati.config.ts
|
|
10
9
|
var bati_config_default = t({
|
|
11
10
|
if(meta) {
|
|
12
11
|
return meta.BATI.has("hono");
|
|
13
12
|
},
|
|
14
13
|
knip: { entry: ["+server.ts"] }
|
|
15
14
|
});
|
|
16
|
-
//#endregion
|
|
17
15
|
export { bati_config_default as default };
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { loadPackageJson } from "@batijs/core";
|
|
4
|
-
|
|
4
|
+
// ../../boilerplates/hono/dist/files/$package.json.mjs
|
|
5
5
|
async function getPackageJson(props) {
|
|
6
|
-
return (await loadPackageJson(props, await import("../../../../asset-package.json-
|
|
6
|
+
return (await loadPackageJson(props, await import("../../../../asset-package.json-BqbokPK_.js").then((x) => x.default))).addDevDependencies(["@types/node", "vite"]).addDevDependencies(["@types/aws-lambda"], props.meta.BATI.has("aws")).addDependencies([
|
|
7
7
|
"@vikejs/hono",
|
|
8
8
|
"hono",
|
|
9
9
|
"vike"
|
|
10
10
|
]);
|
|
11
11
|
}
|
|
12
|
-
//#endregion
|
|
13
12
|
export { getPackageJson as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@batijs/hono",
|
|
4
4
|
"private": true,
|
|
@@ -28,10 +28,10 @@ var package_default = {
|
|
|
28
28
|
"@types/aws-lambda": "^8.10.164",
|
|
29
29
|
"@types/node": "^20.19.37",
|
|
30
30
|
"@vikejs/hono": "^0.4.1",
|
|
31
|
-
"hono": "^4.13.
|
|
32
|
-
"telefunc": "^0.
|
|
31
|
+
"hono": "^4.13.14",
|
|
32
|
+
"telefunc": "^0.3.0",
|
|
33
33
|
"vike": "^0.4.268",
|
|
34
|
-
"vite": "^8.3.
|
|
34
|
+
"vite": "^8.3.5"
|
|
35
35
|
},
|
|
36
36
|
files: ["dist/"],
|
|
37
37
|
exports: {
|
|
@@ -46,5 +46,4 @@ var package_default = {
|
|
|
46
46
|
} },
|
|
47
47
|
nx: { "tags": ["type:boilerplate"] }
|
|
48
48
|
};
|
|
49
|
-
//#endregion
|
|
50
49
|
export { package_default as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import "@batijs/shared-env/server/load";
|
|
2
|
-
//#region files/+server.d.ts
|
|
3
2
|
declare const _default: {
|
|
4
3
|
fetch: (request: Request, env?: unknown, executionCtx?: import("hono").ExecutionContext) => Response | Promise<Response>;
|
|
5
4
|
prod: {
|
|
@@ -7,5 +6,4 @@ declare const _default: {
|
|
|
7
6
|
static: string;
|
|
8
7
|
};
|
|
9
8
|
};
|
|
10
|
-
//#endregion
|
|
11
9
|
export { _default as default };
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import { Hono } from "hono";
|
|
2
|
-
|
|
3
|
-
export declare const app: Hono<import("hono/types").BlankEnv, import("hono/types").BlankSchema, "/">;
|
|
4
|
-
//#endregion
|
|
2
|
+
export declare const app: Hono<import("hono/types").BlankEnv, import("hono/types").BlankSchema, "/">;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
2
|
function e(e, t) {
|
|
3
3
|
if (!e) throw Error(t);
|
|
4
4
|
}
|
|
5
5
|
function t(t) {
|
|
6
6
|
return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
//#region bati.config.ts
|
|
8
|
+
// bati.config.ts
|
|
10
9
|
var bati_config_default = t({
|
|
11
10
|
if(meta) {
|
|
12
11
|
return meta.BATI.has("kysely");
|
|
@@ -24,5 +23,4 @@ var bati_config_default = t({
|
|
|
24
23
|
},
|
|
25
24
|
knip: { entry: ["database/kysely/migrations/*.ts"] }
|
|
26
25
|
});
|
|
27
|
-
//#endregion
|
|
28
26
|
export { bati_config_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { loadMarkdown, packageManager } from "@batijs/core";
|
|
4
|
-
|
|
4
|
+
// ../../boilerplates/kysely/dist/files/$TODO.md.mjs
|
|
5
5
|
async function getTodo(props) {
|
|
6
6
|
if (props.meta.BATI.hasD1) return;
|
|
7
7
|
const content = await loadMarkdown(props);
|
|
@@ -16,5 +16,4 @@ ${packageManager().run} kysely:migrate # creates kysely tables
|
|
|
16
16
|
content.addMarkdownFeature(todo, "kysely");
|
|
17
17
|
return content;
|
|
18
18
|
}
|
|
19
|
-
//#endregion
|
|
20
19
|
export { getTodo as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { loadPackageJson, packageManager } from "@batijs/core";
|
|
4
|
-
|
|
4
|
+
// ../../boilerplates/kysely/dist/files/$package.json.mjs
|
|
5
5
|
async function getPackageJson(props) {
|
|
6
|
-
const packageJson = await loadPackageJson(props, await import("../../../../asset-package.json-
|
|
6
|
+
const packageJson = await loadPackageJson(props, await import("../../../../asset-package.json-0OcQsEZB.js").then((x) => x.default));
|
|
7
7
|
if (props.meta.BATI.hasD1) return packageJson.addDependencies(["kysely", "kysely-d1"]);
|
|
8
8
|
const hasPostgres = props.meta.BATI.has("postgres");
|
|
9
9
|
const bunDirect = packageManager().name === "bun" && hasPostgres;
|
|
@@ -12,5 +12,4 @@ async function getPackageJson(props) {
|
|
|
12
12
|
precedence: 20
|
|
13
13
|
}).addDevDependencies(["@types/better-sqlite3"], !hasPostgres).addDevDependencies(["tsx"], ["kysely:migrate"], !bunDirect).addDependencies(["kysely"]).addDependencies(["better-sqlite3"], !hasPostgres).addDependencies(["postgres", "kysely-postgres-js"], hasPostgres);
|
|
14
14
|
}
|
|
15
|
-
//#endregion
|
|
16
15
|
export { getPackageJson as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { addVitePlugin, transformConfig } from "@batijs/core";
|
|
4
|
-
|
|
4
|
+
// ../../boilerplates/kysely/dist/files/$vite.config.ts.mjs
|
|
5
5
|
function getViteConfig(props) {
|
|
6
6
|
if (props.meta.BATI.hasD1) return;
|
|
7
7
|
return transformConfig(props, (root) => {
|
|
@@ -13,5 +13,4 @@ function getViteConfig(props) {
|
|
|
13
13
|
});
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
//#endregion
|
|
17
16
|
export { getViteConfig as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@batijs/kysely",
|
|
4
4
|
"private": true,
|
|
@@ -16,16 +16,16 @@ var package_default = {
|
|
|
16
16
|
"@batijs/compile": "workspace:*",
|
|
17
17
|
"@batijs/core": "workspace:*",
|
|
18
18
|
"@batijs/shared-env": "workspace:*",
|
|
19
|
-
"@cloudflare/workers-types": "^5.
|
|
19
|
+
"@cloudflare/workers-types": "^5.20261026.1",
|
|
20
20
|
"@types/better-sqlite3": "^9.6.0",
|
|
21
21
|
"@types/node": "^20.19.37",
|
|
22
22
|
"better-sqlite3": "^13.0.3",
|
|
23
23
|
"kysely": "^0.29.7",
|
|
24
24
|
"kysely-d1": "^0.4.0",
|
|
25
|
-
"kysely-postgres-js": "^
|
|
25
|
+
"kysely-postgres-js": "^5.0.1",
|
|
26
26
|
"postgres": "^3.4.9",
|
|
27
27
|
"tsx": "^4.23.15",
|
|
28
|
-
"vite": "^8.3.
|
|
28
|
+
"vite": "^8.3.5"
|
|
29
29
|
},
|
|
30
30
|
files: ["dist/"],
|
|
31
31
|
exports: {
|
|
@@ -46,5 +46,4 @@ var package_default = {
|
|
|
46
46
|
} },
|
|
47
47
|
nx: { "tags": ["type:boilerplate"] }
|
|
48
48
|
};
|
|
49
|
-
//#endregion
|
|
50
49
|
export { package_default as default };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { Database } from "./types.mjs";
|
|
2
2
|
import "@batijs/shared-env/server/load";
|
|
3
3
|
import { Kysely } from "kysely";
|
|
4
|
-
//#region files/database/kysely/db.d.ts
|
|
5
4
|
export declare function dbKysely(): Kysely<Database>;
|
|
6
5
|
export declare function dbKyselyD1(d1: D1Database): Kysely<Database>;
|
|
7
|
-
export declare function dbKyselyPostgres(): Kysely<Database>;
|
|
8
|
-
//#endregion
|
|
6
|
+
export declare function dbKyselyPostgres(): Kysely<Database>;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { Database } from "../types.mjs";
|
|
2
2
|
import { Kysely } from "kysely";
|
|
3
|
-
//#region files/database/kysely/migrations/001_create_todos_table.d.ts
|
|
4
3
|
export declare function up(db: Kysely<Database>): Promise<void>;
|
|
5
|
-
export declare function down(db: Kysely<Database>): Promise<void>;
|
|
6
|
-
//#endregion
|
|
4
|
+
export declare function down(db: Kysely<Database>): Promise<void>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { dbKysely, dbKyselyD1, dbKyselyPostgres } from "../db.mjs";
|
|
2
|
-
//#region files/database/kysely/queries/todos.d.ts
|
|
3
2
|
export declare function insertTodo(db: $$.If<{
|
|
4
3
|
'$$.BATI.has("postgres")': ReturnType<typeof dbKyselyPostgres>;
|
|
5
4
|
"!$$.BATI.hasD1": ReturnType<typeof dbKysely>;
|
|
@@ -15,5 +14,4 @@ export declare function getAllTodos(db: $$.If<{
|
|
|
15
14
|
}>): Promise<{
|
|
16
15
|
id: number;
|
|
17
16
|
text: string;
|
|
18
|
-
}[]>;
|
|
19
|
-
//#endregion
|
|
17
|
+
}[]>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Generated, Insertable, Selectable } from "kysely";
|
|
2
|
-
//#region files/database/kysely/types.d.ts
|
|
3
2
|
export interface Database {
|
|
4
3
|
todos: TodoTable;
|
|
5
4
|
}
|
|
@@ -8,5 +7,4 @@ export interface TodoTable {
|
|
|
8
7
|
text: string;
|
|
9
8
|
}
|
|
10
9
|
export type Todo = Selectable<TodoTable>;
|
|
11
|
-
export type NewTodo = Insertable<TodoTable>;
|
|
12
|
-
//#endregion
|
|
10
|
+
export type NewTodo = Insertable<TodoTable>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Plugin } from "vite";
|
|
2
|
-
//#region files/vite-plugin-input.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Add entries to the ssr build step. Used to compile kysely migration scripts
|
|
5
4
|
*/
|
|
@@ -7,5 +6,4 @@ export declare function inputPlugin({ name, entry, env }: {
|
|
|
7
6
|
name: string;
|
|
8
7
|
entry: string;
|
|
9
8
|
env?: string;
|
|
10
|
-
}): Plugin;
|
|
11
|
-
//#endregion
|
|
9
|
+
}): Plugin;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
2
|
function e(e, t) {
|
|
3
3
|
if (!e) throw Error(t);
|
|
4
4
|
}
|
|
5
5
|
function t(t) {
|
|
6
6
|
return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
//#region bati.config.ts
|
|
8
|
+
// bati.config.ts
|
|
10
9
|
var bati_config_default = t({
|
|
11
10
|
enforce: "post",
|
|
12
11
|
if(meta) {
|
|
@@ -14,5 +13,4 @@ var bati_config_default = t({
|
|
|
14
13
|
},
|
|
15
14
|
knip: { ignoreDependencies: ["postcss"] }
|
|
16
15
|
});
|
|
17
|
-
//#endregion
|
|
18
16
|
export { bati_config_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { loadMarkdown } from "@batijs/core";
|
|
4
|
-
|
|
4
|
+
// ../../boilerplates/mantine/dist/files/$README.md.mjs
|
|
5
5
|
async function getReadme(props) {
|
|
6
6
|
const content = await loadMarkdown(props);
|
|
7
7
|
content.addMarkdownFeature(`
|
|
@@ -19,5 +19,4 @@ The theme is defined in \`layouts/theme.ts\`.
|
|
|
19
19
|
`, "mantine");
|
|
20
20
|
return content;
|
|
21
21
|
}
|
|
22
|
-
//#endregion
|
|
23
22
|
export { getReadme as default };
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { loadPackageJson } from "@batijs/core";
|
|
4
|
-
|
|
4
|
+
// ../../boilerplates/mantine/dist/files/$package.json.mjs
|
|
5
5
|
async function getPackageJson(props) {
|
|
6
|
-
return (await loadPackageJson(props, await import("../../../../asset-package.json-
|
|
6
|
+
return (await loadPackageJson(props, await import("../../../../asset-package.json-B0US5URl.js").then((x) => x.default))).addDevDependencies([
|
|
7
7
|
"postcss",
|
|
8
8
|
"postcss-preset-mantine",
|
|
9
9
|
"postcss-simple-vars"
|
|
10
10
|
]).addDependencies(["@mantine/core", "@mantine/hooks"]);
|
|
11
11
|
}
|
|
12
|
-
//#endregion
|
|
13
12
|
export { getPackageJson as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@batijs/mantine",
|
|
4
4
|
"private": true,
|
|
@@ -16,8 +16,8 @@ var package_default = {
|
|
|
16
16
|
"@batijs/compile": "workspace:*",
|
|
17
17
|
"@batijs/core": "workspace:*",
|
|
18
18
|
"@batijs/react": "workspace:*",
|
|
19
|
-
"@mantine/core": "^9.7.
|
|
20
|
-
"@mantine/hooks": "^9.7.
|
|
19
|
+
"@mantine/core": "^9.7.4",
|
|
20
|
+
"@mantine/hooks": "^9.7.4",
|
|
21
21
|
"@types/node": "^20.19.37",
|
|
22
22
|
"@types/react": "^19.3.0",
|
|
23
23
|
"@types/react-dom": "^19.3.0",
|
|
@@ -26,8 +26,8 @@ var package_default = {
|
|
|
26
26
|
"postcss-simple-vars": "^7.0.1",
|
|
27
27
|
"react": "^19.3.1",
|
|
28
28
|
"react-dom": "^19.3.1",
|
|
29
|
-
"vike-react": "^0.6.
|
|
30
|
-
"vite": "^8.3.
|
|
29
|
+
"vike-react": "^0.6.31",
|
|
30
|
+
"vite": "^8.3.5",
|
|
31
31
|
"vite-plugin-compiled-react": "^1.3.1"
|
|
32
32
|
},
|
|
33
33
|
files: ["dist/"],
|
|
@@ -41,5 +41,4 @@ var package_default = {
|
|
|
41
41
|
} },
|
|
42
42
|
nx: { "tags": ["type:boilerplate"] }
|
|
43
43
|
};
|
|
44
|
-
//#endregion
|
|
45
44
|
export { package_default as default };
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
2
|
function e(e, t) {
|
|
3
3
|
if (!e) throw Error(t);
|
|
4
4
|
}
|
|
5
5
|
function t(t) {
|
|
6
6
|
return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
//#region bati.config.ts
|
|
8
|
+
// bati.config.ts
|
|
10
9
|
var bati_config_default = t({ if(meta) {
|
|
11
10
|
return meta.BATI.has("netlify");
|
|
12
11
|
} });
|
|
13
|
-
//#endregion
|
|
14
12
|
export { bati_config_default as default };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { loadPackageJson } from "@batijs/core";
|
|
4
|
-
|
|
4
|
+
// ../../boilerplates/netlify/dist/files/$package.json.mjs
|
|
5
5
|
async function getPackageJson(props) {
|
|
6
|
-
return (await loadPackageJson(props, await import("../../../../asset-package.json-
|
|
6
|
+
return (await loadPackageJson(props, await import("../../../../asset-package.json-CpFujh9Q.js").then((x) => x.default))).addDevDependencies(["@netlify/vite-plugin"]);
|
|
7
7
|
}
|
|
8
|
-
//#endregion
|
|
9
8
|
export { getPackageJson as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { addVitePlugin, transformConfig } from "@batijs/core";
|
|
4
|
-
|
|
4
|
+
// ../../boilerplates/netlify/dist/files/$vite.config.ts.mjs
|
|
5
5
|
function getViteConfig(props) {
|
|
6
6
|
return transformConfig(props, (root) => {
|
|
7
7
|
addVitePlugin(root, {
|
|
@@ -11,5 +11,4 @@ function getViteConfig(props) {
|
|
|
11
11
|
});
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
-
//#endregion
|
|
15
14
|
export { getViteConfig as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@batijs/netlify",
|
|
4
4
|
"private": true,
|
|
@@ -21,5 +21,4 @@ var package_default = {
|
|
|
21
21
|
nx: { "tags": ["type:boilerplate"] },
|
|
22
22
|
files: ["dist/"]
|
|
23
23
|
};
|
|
24
|
-
//#endregion
|
|
25
24
|
export { package_default as default };
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
2
|
function e(e, t) {
|
|
3
3
|
if (!e) throw Error(t);
|
|
4
4
|
}
|
|
5
5
|
function t(t) {
|
|
6
6
|
return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
//#region bati.config.ts
|
|
8
|
+
// bati.config.ts
|
|
10
9
|
var bati_config_default = t({
|
|
11
10
|
if(meta) {
|
|
12
11
|
return meta.BATI.has("oxlint");
|
|
13
12
|
},
|
|
14
13
|
knip: { ignoreDependencies: ["oxlint", "oxlint-tsgolint"] }
|
|
15
14
|
});
|
|
16
|
-
//#endregion
|
|
17
15
|
export { bati_config_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// ../../boilerplates/oxlint/dist/files/$.oxlintrc.json.mjs
|
|
4
4
|
async function getOxlintJson(props) {
|
|
5
5
|
const oxlintPlugins = [
|
|
6
6
|
"eslint",
|
|
@@ -41,5 +41,4 @@ async function getOxlintJson(props) {
|
|
|
41
41
|
jsPlugins
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
|
-
//#endregion
|
|
45
44
|
export { getOxlintJson as default };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { loadPackageJson } from "@batijs/core";
|
|
4
|
-
|
|
4
|
+
// ../../boilerplates/oxlint/dist/files/$package.json.mjs
|
|
5
5
|
async function getPackageJson(props) {
|
|
6
|
-
const packageJson = await loadPackageJson(props, await import("../../../../asset-package.json-
|
|
6
|
+
const packageJson = await loadPackageJson(props, await import("../../../../asset-package.json-Cct1fYvX.js").then((x) => x.default));
|
|
7
7
|
const gitIgnore = props.meta.BATI_IS_CI || props.meta.BATI_SKIP_GIT ? "--ignore-path .gitignore " : "";
|
|
8
8
|
return packageJson.setScript("lint", {
|
|
9
9
|
value: `oxlint --type-aware ${gitIgnore}.`,
|
|
10
10
|
precedence: 0
|
|
11
11
|
}).addDevDependencies(["oxlint", "oxlint-tsgolint"]);
|
|
12
12
|
}
|
|
13
|
-
//#endregion
|
|
14
13
|
export { getPackageJson as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@batijs/oxlint",
|
|
4
4
|
"private": true,
|
|
@@ -16,11 +16,10 @@ var package_default = {
|
|
|
16
16
|
"@batijs/compile": "workspace:*",
|
|
17
17
|
"@batijs/core": "workspace:*",
|
|
18
18
|
"@types/node": "^20.19.37",
|
|
19
|
-
"oxlint": "^1.
|
|
20
|
-
"oxlint-tsgolint": "^7.0.
|
|
19
|
+
"oxlint": "^1.89.0",
|
|
20
|
+
"oxlint-tsgolint": "^7.0.2005"
|
|
21
21
|
},
|
|
22
22
|
files: ["dist/"],
|
|
23
23
|
nx: { "tags": ["type:boilerplate"] }
|
|
24
24
|
};
|
|
25
|
-
//#endregion
|
|
26
25
|
export { package_default as default };
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
2
|
function e(e, t) {
|
|
3
3
|
if (!e) throw Error(t);
|
|
4
4
|
}
|
|
5
5
|
function t(t) {
|
|
6
6
|
return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
//#region bati.config.ts
|
|
8
|
+
// bati.config.ts
|
|
10
9
|
var bati_config_default = t({ if(meta) {
|
|
11
10
|
return meta.BATI.has("plausible.io");
|
|
12
11
|
} });
|
|
13
|
-
//#endregion
|
|
14
12
|
export { bati_config_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { loadMarkdown } from "@batijs/core";
|
|
4
|
-
|
|
4
|
+
// ../../boilerplates/plausible.io/dist/files/$TODO.md.mjs
|
|
5
5
|
async function getTodo(props) {
|
|
6
6
|
const content = await loadMarkdown(props);
|
|
7
7
|
const todo = `
|
|
@@ -13,5 +13,4 @@ Update \`pages/${props.meta.BATI.has("vue") ? "+Head.vue" : "+Head.tsx"}\` to pr
|
|
|
13
13
|
content.addMarkdownFeature(todo, "plausible.io");
|
|
14
14
|
return content;
|
|
15
15
|
}
|
|
16
|
-
//#endregion
|
|
17
16
|
export { getTodo as default };
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
2
|
function e(e, t) {
|
|
3
3
|
if (!e) throw Error(t);
|
|
4
4
|
}
|
|
5
5
|
function t(t) {
|
|
6
6
|
return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
//#region bati.config.ts
|
|
8
|
+
// bati.config.ts
|
|
10
9
|
var bati_config_default = t({
|
|
11
10
|
enforce: "post",
|
|
12
11
|
if(_, pm) {
|
|
13
12
|
return pm === "pnpm";
|
|
14
13
|
}
|
|
15
14
|
});
|
|
16
|
-
//#endregion
|
|
17
15
|
export { bati_config_default as default };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { loadYaml } from "@batijs/core";
|
|
4
|
-
|
|
4
|
+
// ../../boilerplates/pnpm/dist/files/$pnpm-workspace.yaml.mjs
|
|
5
5
|
async function getPnpmWorkspace(props) {
|
|
6
6
|
const pnpmWorkspace = await loadYaml(props, { fallbackEmpty: true });
|
|
7
7
|
pnpmWorkspace.set("dangerouslyAllowAllBuilds", true);
|
|
8
8
|
return pnpmWorkspace;
|
|
9
9
|
}
|
|
10
|
-
//#endregion
|
|
11
10
|
export { getPnpmWorkspace as default };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
2
|
function e(e, t) {
|
|
3
3
|
if (!e) throw Error(t);
|
|
4
4
|
}
|
|
5
5
|
function t(t) {
|
|
6
6
|
return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
//#region bati.config.ts
|
|
8
|
+
// bati.config.ts
|
|
10
9
|
var bati_config_default = t({
|
|
11
10
|
if(meta) {
|
|
12
11
|
return meta.BATI.has("postgres") && !meta.BATI.hasOrm;
|
|
@@ -22,5 +21,4 @@ var bati_config_default = t({
|
|
|
22
21
|
}];
|
|
23
22
|
}
|
|
24
23
|
});
|
|
25
|
-
//#endregion
|
|
26
24
|
export { bati_config_default as default };
|