@batijs/cli 0.0.681 → 0.0.682
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-package2.json-8pJwRB75.js → asset-package.json-4VVNMy83.js} +5 -5
- package/dist/{asset-package.json-BOjU7Woi.js → asset-package.json-4nKbxP28.js} +2 -2
- package/dist/{asset-package.json-C00xIdyh.js → asset-package.json-8f7FGjYF.js} +3 -3
- package/dist/{asset-package.json-B_pazplk.js → asset-package.json-B-Ng5ivx.js} +3 -3
- package/dist/{asset-package.json-DUxbWZtN.js → asset-package.json-BCG1ITok.js} +2 -2
- package/dist/{asset-package2.json-BlKSajuX.js → asset-package.json-BJ83YIzS.js} +3 -3
- package/dist/{asset-package.json-DRVZaLqw.js → asset-package.json-BKA4O4pe.js} +4 -4
- package/dist/{asset-package.json-D8gWgpen.js → asset-package.json-BOEJE5Wg.js} +4 -4
- package/dist/{asset-package.json-B4wAsHrC.js → asset-package.json-BOo2zFRW.js} +9 -9
- package/dist/{asset-package.json-C5n7w3va.js → asset-package.json-BU9-a27h.js} +1 -1
- package/dist/{asset-package.json-5iqCyT0F.js → asset-package.json-BZoIwTx6.js} +5 -5
- package/dist/{asset-package.json-Dxqmhkqq.js → asset-package.json-BbrOChk1.js} +6 -6
- package/dist/{asset-package.json-Cd8k1mrL.js → asset-package.json-BxAluOtt.js} +4 -4
- package/dist/{asset-package.json-4hHDvG5M.js → asset-package.json-ByK9pW92.js} +5 -5
- package/dist/{asset-package.json-DcFKh5ZX.js → asset-package.json-C-pRJQmK.js} +2 -2
- package/dist/{asset-package.json-CZMyNgM5.js → asset-package.json-C0Oi3CTx.js} +1 -1
- package/dist/{asset-package.json-vwvN2THl.js → asset-package.json-C0pjbm9Y.js} +1 -1
- package/dist/{asset-package.json-BcaaH1fT.js → asset-package.json-C5xxSFiN.js} +3 -3
- package/dist/{asset-package.json-C3ghodCO.js → asset-package.json-CAb3mWax.js} +5 -5
- package/dist/{asset-package.json-CcCHCWn-.js → asset-package.json-CWtMDcmz.js} +2 -2
- package/dist/{asset-package.json-D9l7Wxa1.js → asset-package.json-CX0WW__c.js} +10 -10
- package/dist/{asset-package.json-CRn7GwYA.js → asset-package.json-Cmhu0Zen.js} +6 -6
- package/dist/{asset-package.json-DnHh08nC.js → asset-package.json-CsPkf_Nf.js} +2 -2
- package/dist/{asset-package2.json-Ba8YAFW0.js → asset-package.json-CtqaM0Wq.js} +2 -2
- package/dist/{asset-package.json-B9fQhA_A.js → asset-package.json-DDeIXLJn.js} +1 -1
- package/dist/{asset-package.json-D737QeLo.js → asset-package.json-DFq3NS2g.js} +2 -2
- package/dist/{asset-package.json-DQMAwShU.js → asset-package.json-DIzfdvZS.js} +4 -4
- package/dist/{asset-package.json-BpbN9AfX.js → asset-package.json-Da_kvCXm.js} +2 -2
- package/dist/{asset-package.json-OIaoYz3d.js → asset-package.json-DpC4WSwY.js} +4 -4
- package/dist/{asset-package.json-CIhRMg8g.js → asset-package.json-Ds_RZpAB.js} +4 -4
- package/dist/{asset-package.json-B44tqElU.js → asset-package.json-DxNnEz4u.js} +2 -2
- package/dist/{asset-package2.json-oYvHMynY.js → asset-package.json-QLEGE9Ft.js} +4 -4
- package/dist/{asset-package.json-CE51k3w7.js → asset-package.json-VkUXvqsr.js} +1 -1
- package/dist/{asset-package.json-BrErWJQ6.js → asset-package.json-XMh1pOtf.js} +4 -4
- package/dist/boilerplates/@batijs/authjs/types/server/authjs-handler.d.mts +4 -5
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/asset-package.json.mjs +5 -5
- package/dist/boilerplates/@batijs/aws/types/cdk/bin/infrastructure.d.mts +3 -4
- package/dist/boilerplates/@batijs/aws/types/cdk/lib/vike-stack.d.mts +3 -4
- package/dist/boilerplates/@batijs/better-auth/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/better-auth/files/asset-package.json.mjs +4 -4
- package/dist/boilerplates/@batijs/better-auth/files/database/drizzle/schema/auth.ts +32 -44
- package/dist/boilerplates/@batijs/better-auth/files/database/migrations/$better-auth.sql.js +0 -3
- package/dist/boilerplates/@batijs/better-auth/types/database/drizzle/schema/auth.d.mts +5 -42
- package/dist/boilerplates/@batijs/better-auth/types/server/better-auth-handler.d.mts +3 -4
- package/dist/boilerplates/@batijs/better-auth/types/server/better-auth.d.mts +2 -3
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/biome/files/asset-package.json.mjs +2 -2
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/cloudflare/files/asset-package.json.mjs +3 -3
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/compiled/files/asset-package.json.mjs +2 -2
- package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/asset-package.json.mjs +2 -2
- package/dist/boilerplates/@batijs/d1/types/database/d1/helpers.d.mts +2 -3
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/d1-sqlite/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/d1-sqlite/types/database/d1/queries/todos.d.mts +3 -4
- package/dist/boilerplates/@batijs/docker-compose/files/$docker-compose.yml.js +2 -1
- package/dist/boilerplates/@batijs/docker-compose/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/docker-compose/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/asset-package.json.mjs +2 -2
- package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/db.d.mts +4 -5
- package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/queries/todos.d.mts +3 -4
- package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/schema/todos.d.mts +4 -5
- package/dist/boilerplates/@batijs/elysia/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/elysia/files/asset-package.json.mjs +5 -5
- package/dist/boilerplates/@batijs/elysia/types/server/elysia.d.mts +2 -3
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/eslint/files/asset-package.json.mjs +4 -4
- package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/express/files/asset-package.json.mjs +4 -4
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/fastify/files/asset-package.json.mjs +5 -5
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/hono/files/asset-package.json.mjs +6 -6
- package/dist/boilerplates/@batijs/hono/types/entry_aws_lambda.d.mts +3 -5
- package/dist/boilerplates/@batijs/hono/types/server/hono.d.mts +2 -3
- package/dist/boilerplates/@batijs/kysely/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/kysely/files/asset-package.json.mjs +4 -4
- package/dist/boilerplates/@batijs/kysely/types/database/kysely/db.d.mts +4 -5
- package/dist/boilerplates/@batijs/kysely/types/database/kysely/migrations/001_create_todos_table.d.mts +3 -4
- package/dist/boilerplates/@batijs/kysely/types/database/kysely/queries/todos.d.mts +3 -4
- package/dist/boilerplates/@batijs/kysely/types/database/kysely/types.d.mts +5 -6
- package/dist/boilerplates/@batijs/kysely/types/vite-plugin-input.d.mts +2 -3
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/mantine/files/asset-package.json.mjs +9 -9
- package/dist/boilerplates/@batijs/mantine/types/components/Link.d.mts +2 -3
- package/dist/boilerplates/@batijs/mantine/types/pages/+Layout.d.mts +2 -3
- package/dist/boilerplates/@batijs/oxlint/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/oxlint/files/asset-package.json.mjs +2 -2
- package/dist/boilerplates/@batijs/postgres/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/postgres/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/postgres/types/database/postgres/db.d.mts +2 -3
- package/dist/boilerplates/@batijs/postgres/types/database/postgres/queries/todos.d.mts +3 -4
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/prettier/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/prisma/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/prisma/files/asset-package.json.mjs +2 -2
- package/dist/boilerplates/@batijs/react/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/react/files/asset-package.json.mjs +10 -10
- package/dist/boilerplates/@batijs/react/types/components/Link.d.mts +2 -3
- package/dist/boilerplates/@batijs/react/types/pages/+Head.d.mts +2 -3
- package/dist/boilerplates/@batijs/react/types/pages/+Layout.d.mts +2 -3
- package/dist/boilerplates/@batijs/react/types/pages/+onPageTransitionEnd.d.mts +2 -3
- package/dist/boilerplates/@batijs/react/types/pages/+onPageTransitionStart.d.mts +2 -3
- package/dist/boilerplates/@batijs/react/types/pages/_error/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/react/types/pages/index/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/react/types/pages/index/Counter.d.mts +2 -3
- package/dist/boilerplates/@batijs/react/types/pages/star-wars/@id/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/react/types/pages/star-wars/@id/+data.d.mts +3 -4
- package/dist/boilerplates/@batijs/react/types/pages/star-wars/index/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/react/types/pages/star-wars/index/+data.d.mts +3 -4
- package/dist/boilerplates/@batijs/react/types/pages/star-wars/types.d.mts +3 -4
- package/dist/boilerplates/@batijs/react/types/pages/todo/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/react/types/pages/todo/TodoList.d.mts +2 -3
- package/dist/boilerplates/@batijs/react-better-auth/types/components/AuthNav.d.mts +2 -3
- package/dist/boilerplates/@batijs/react-better-auth/types/pages/account/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/react-better-auth/types/pages/account/+guard.d.mts +2 -3
- package/dist/boilerplates/@batijs/react-better-auth/types/pages/login/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/react-better-auth/types/pages/signup/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/react-sentry/files/asset-package.json.mjs +6 -6
- package/dist/boilerplates/@batijs/react-sentry/types/pages/sentry/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/react-sentry/types/sentry.browser.config.d.mts +2 -3
- package/dist/boilerplates/@batijs/sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/asset-package.json.mjs +2 -2
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/asset-package.json.mjs +3 -3
- package/dist/boilerplates/@batijs/shadcn-ui/types/lib/utils.d.mts +2 -3
- package/dist/boilerplates/@batijs/shared-db/types/server/db-middleware.d.mts +2 -3
- package/dist/boilerplates/@batijs/shared-env/types/server/env.d.mts +2 -3
- package/dist/boilerplates/@batijs/shared-env/types/server/load.d.mts +2 -3
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/shared-server/files/asset-package.json.mjs +2 -2
- package/dist/boilerplates/@batijs/shared-server/types/server/create-todo-handler.d.mts +2 -3
- package/dist/boilerplates/@batijs/shared-todo/types/pages/todo/+config.d.mts +2 -3
- package/dist/boilerplates/@batijs/shared-todo/types/pages/todo/+data.d.mts +3 -4
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/asset-package.json.mjs +4 -4
- package/dist/boilerplates/@batijs/solid/types/components/Link.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid/types/pages/+Head.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid/types/pages/+Layout.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid/types/pages/+onPageTransitionEnd.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid/types/pages/+onPageTransitionStart.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid/types/pages/_error/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid/types/pages/index/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid/types/pages/star-wars/@id/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid/types/pages/star-wars/@id/+data.d.mts +3 -4
- package/dist/boilerplates/@batijs/solid/types/pages/star-wars/index/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid/types/pages/star-wars/index/+data.d.mts +3 -4
- package/dist/boilerplates/@batijs/solid/types/pages/star-wars/types.d.mts +3 -4
- package/dist/boilerplates/@batijs/solid/types/pages/todo/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid/types/pages/todo/TodoList.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid-better-auth/types/components/AuthNav.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid-better-auth/types/pages/account/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid-better-auth/types/pages/account/+guard.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid-better-auth/types/pages/login/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid-better-auth/types/pages/signup/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/solid-sentry/files/asset-package.json.mjs +4 -4
- package/dist/boilerplates/@batijs/solid-sentry/types/pages/sentry/+Page.d.mts +2 -3
- package/dist/boilerplates/@batijs/solid-sentry/types/sentry.browser.config.d.mts +2 -3
- package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/sqlite/types/database/sqlite/db.d.mts +2 -3
- package/dist/boilerplates/@batijs/sqlite/types/database/sqlite/queries/todos.d.mts +3 -4
- package/dist/boilerplates/@batijs/storybook/hooks/after.mjs +2 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +2 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/asset-package.json.mjs +4 -4
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/telefunc/files/asset-package.json.mjs +3 -3
- package/dist/boilerplates/@batijs/telefunc/types/pages/todo/TodoList.telefunc.d.mts +2 -3
- package/dist/boilerplates/@batijs/telefunc/types/server/telefunc-handler.d.mts +2 -3
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/trpc/files/asset-package.json.mjs +3 -3
- package/dist/boilerplates/@batijs/trpc/types/server/trpc-handler.d.mts +2 -3
- package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.mts +2 -3
- package/dist/boilerplates/@batijs/trpc/types/trpc/server.d.mts +5 -6
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/ts-rest/types/server/ts-rest-handler.d.mts +2 -3
- package/dist/boilerplates/@batijs/ts-rest/types/ts-rest/client.d.mts +2 -3
- package/dist/boilerplates/@batijs/ts-rest/types/ts-rest/contract.d.mts +2 -3
- package/dist/boilerplates/@batijs/universal-deploy/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/asset-package.json.mjs +2 -2
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/asset-package.json.mjs +5 -5
- package/dist/boilerplates/@batijs/vue/types/pages/+onCreateApp.d.mts +3 -5
- package/dist/boilerplates/@batijs/vue/types/pages/+onPageTransitionEnd.d.mts +2 -3
- package/dist/boilerplates/@batijs/vue/types/pages/+onPageTransitionStart.d.mts +2 -3
- package/dist/boilerplates/@batijs/vue/types/pages/star-wars/@id/+data.d.mts +3 -4
- package/dist/boilerplates/@batijs/vue/types/pages/star-wars/index/+data.d.mts +3 -4
- package/dist/boilerplates/@batijs/vue/types/pages/star-wars/types.d.mts +3 -4
- package/dist/boilerplates/@batijs/vue-better-auth/types/pages/account/+guard.d.mts +2 -3
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vue-sentry/files/asset-package.json.mjs +4 -4
- package/dist/boilerplates/@batijs/vue-sentry/types/sentry.browser.config.d.mts +2 -3
- package/dist/index.js +163 -133
- package/package.json +10 -10
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/handler.d.mts +0 -247
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/index.d.mts +0 -44
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/alb.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/amplify-resolver.d.mts +0 -2
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/api-gateway-authorizer.d.mts +0 -2
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/appsync-resolver.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/autoscaling.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cdk-custom-resource.d.mts +0 -2
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cloudformation-custom-resource.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cloudfront-request.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cloudfront-response.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cloudwatch-alarm.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cloudwatch-events.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cloudwatch-logs.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/codebuild-cloudwatch-state.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/codecommit.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-action.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-pipeline.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-stage.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch.d.mts +0 -4
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/codepipeline.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/create-auth-challenge.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-email-sender.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-message.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-sms-sender.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/define-auth-challenge.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/inbound-federation.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/index.d.mts +0 -16
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/post-authentication.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/post-confirmation.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-authentication.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-signup.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation-v2.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation-v3.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/user-migration.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/verify-auth-challenge-response.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/connect-contact-flow.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/dynamodb-stream.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/eventbridge.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/guard-duty-event-notification.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/iot-authorizer.d.mts +0 -2
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/iot.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/kinesis-firehose-transformation.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/kinesis-stream.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/lambda-function-url.d.mts +0 -2
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/lex-v2.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/lex.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/msk.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/s3-batch.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/s3-event-notification.d.mts +0 -2
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/s3.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/secretsmanager.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/self-managed-kafka.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/ses.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/sns.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/sqs.d.mts +0 -1
- package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/transfer-family-authorizer.d.mts +0 -1
- package/dist/boilerplates/@batijs/vue/types/node_modules/.bun/vike-vue@0.9.13+65a302fece80211b/node_modules/vike-vue/dist/types/VikeHooks.d.mts +0 -12
- package/dist/boilerplates/@batijs/vue/types/node_modules/.bun/vike-vue@0.9.13+65a302fece80211b/node_modules/vike-vue/dist/types/public.d.mts +0 -2
- /package/dist/{asset-package2.json-DND0OHll.js → asset-package.json-DND0OHll.js} +0 -0
- /package/dist/{asset-package2.json-KyL19vnl.js → asset-package.json-KyL19vnl.js} +0 -0
|
@@ -17,16 +17,16 @@ var package_default = {
|
|
|
17
17
|
"@batijs/core": "workspace:*",
|
|
18
18
|
"@types/node": "^20.19.37",
|
|
19
19
|
"@types/which": "^3.0.4",
|
|
20
|
-
"aws-cdk": "^2.
|
|
21
|
-
"aws-cdk-lib": "^2.
|
|
22
|
-
"cdk": "^2.
|
|
20
|
+
"aws-cdk": "^2.1144.0",
|
|
21
|
+
"aws-cdk-lib": "^2.272.0",
|
|
22
|
+
"cdk": "^2.1144.0",
|
|
23
23
|
"constructs": "^10.8.0",
|
|
24
24
|
"esbuild": "^0.28.2",
|
|
25
25
|
"npm-run-all2": "^9.0.3",
|
|
26
26
|
"source-map-support": "^0.5.21",
|
|
27
|
-
"tsx": "^4.23.
|
|
27
|
+
"tsx": "^4.23.15",
|
|
28
28
|
"typescript": "^6.0.3",
|
|
29
|
-
"vitest": "^4.1.
|
|
29
|
+
"vitest": "^4.1.11",
|
|
30
30
|
"which": "^7.0.0"
|
|
31
31
|
},
|
|
32
32
|
files: ["dist/"],
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import "source-map-support/register
|
|
1
|
+
import "source-map-support/register";
|
|
2
2
|
import * as cdk from "aws-cdk-lib";
|
|
3
3
|
import * as certificatemanager from "aws-cdk-lib/aws-certificatemanager";
|
|
4
4
|
import * as route53 from "aws-cdk-lib/aws-route53";
|
|
5
5
|
//#region files/cdk/bin/infrastructure.d.ts
|
|
6
|
-
type CustomStackProps = cdk.StackProps & {
|
|
6
|
+
export type CustomStackProps = cdk.StackProps & {
|
|
7
7
|
domainName?: string;
|
|
8
8
|
subDomain?: string;
|
|
9
9
|
certificate?: string | certificatemanager.ICertificate;
|
|
10
10
|
hostedZone?: route53.IHostedZone;
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { CustomStackProps };
|
|
12
|
+
//#endregion
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { CustomStackProps } from "../bin/infrastructure.mjs";
|
|
2
|
-
import "source-map-support/register
|
|
2
|
+
import "source-map-support/register";
|
|
3
3
|
import * as cdk from "aws-cdk-lib";
|
|
4
4
|
import { Construct } from "constructs";
|
|
5
5
|
//#region files/cdk/lib/vike-stack.d.ts
|
|
6
6
|
type VikeStackProps = cdk.StackProps & {
|
|
7
7
|
customStackProps: CustomStackProps;
|
|
8
8
|
};
|
|
9
|
-
declare class VikeStack extends cdk.Stack {
|
|
9
|
+
export declare class VikeStack extends cdk.Stack {
|
|
10
10
|
readonly distributionUrlParameterName: string;
|
|
11
11
|
constructor(scope: Construct, id: string, props: VikeStackProps);
|
|
12
12
|
}
|
|
13
|
-
//#endregion
|
|
14
|
-
export { VikeStack };
|
|
13
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { loadPackageJson, packageManager } from "@batijs/core";
|
|
4
4
|
//#region ../../boilerplates/better-auth/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-BOEJE5Wg.js").then((x) => x.default));
|
|
7
7
|
const { BATI } = props.meta;
|
|
8
8
|
packageJson.addDependencies(["better-auth", "@universal-middleware/core"]);
|
|
9
9
|
if (BATI.has("drizzle")) return packageJson;
|
|
@@ -21,14 +21,14 @@ var package_default = {
|
|
|
21
21
|
"@types/node": "^20.19.37",
|
|
22
22
|
"@universal-middleware/core": "^0.4.18",
|
|
23
23
|
"better-sqlite3": "^13.0.3",
|
|
24
|
-
"drizzle-orm": "^0.45.
|
|
25
|
-
"kysely": "^0.29.
|
|
24
|
+
"drizzle-orm": "^0.45.3",
|
|
25
|
+
"kysely": "^0.29.6",
|
|
26
26
|
"kysely-d1": "^0.4.0",
|
|
27
27
|
"kysely-postgres-js": "^3.0.0",
|
|
28
28
|
"postgres": "^3.4.9",
|
|
29
|
-
"tsx": "^4.23.
|
|
29
|
+
"tsx": "^4.23.15"
|
|
30
30
|
},
|
|
31
|
-
dependencies: { "better-auth": "^1.7.
|
|
31
|
+
dependencies: { "better-auth": "^1.7.7" },
|
|
32
32
|
files: ["dist/"],
|
|
33
33
|
exports: {
|
|
34
34
|
"./database/better-auth/migrate": { "types": "./dist/types/database/better-auth/migrate.d.mts" },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* $$.keepFileIfImported */
|
|
2
|
-
import { boolean, pgTable, text as pgText, timestamp
|
|
3
|
-
import { integer, sqliteTable, text as sqliteText
|
|
2
|
+
import { boolean, pgTable, text as pgText, timestamp } from "drizzle-orm/pg-core";
|
|
3
|
+
import { integer, sqliteTable, text as sqliteText } from "drizzle-orm/sqlite-core";
|
|
4
4
|
|
|
5
5
|
// Better Auth's tables, owned by Drizzle so its migrations create them.
|
|
6
6
|
// Regenerate with `npx auth generate` if you customize the Better Auth config.
|
|
@@ -48,49 +48,37 @@ export const session = $$.BATI.has("postgres")
|
|
|
48
48
|
userId: sqliteText("user_id").notNull(),
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
// Since Better Auth 1.7 account identity is scoped by `issuer`: the column is required and
|
|
52
|
-
// (issuer, accountId) must be unique. https://better-auth.com/docs/guides/1-7-upgrade-guide
|
|
53
51
|
export const account = $$.BATI.has("postgres")
|
|
54
|
-
? pgTable(
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
idToken: sqliteText("id_token"),
|
|
85
|
-
accessTokenExpiresAt: integer("access_token_expires_at", { mode: "timestamp_ms" }),
|
|
86
|
-
refreshTokenExpiresAt: integer("refresh_token_expires_at", { mode: "timestamp_ms" }),
|
|
87
|
-
scope: sqliteText("scope"),
|
|
88
|
-
password: sqliteText("password"),
|
|
89
|
-
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
90
|
-
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull(),
|
|
91
|
-
},
|
|
92
|
-
(table) => [sqliteUniqueIndex("account_issuer_accountId_uidx").on(table.issuer, table.accountId)],
|
|
93
|
-
);
|
|
52
|
+
? pgTable("account", {
|
|
53
|
+
id: pgText("id").primaryKey(),
|
|
54
|
+
accountId: pgText("account_id").notNull(),
|
|
55
|
+
providerId: pgText("provider_id").notNull(),
|
|
56
|
+
userId: pgText("user_id").notNull(),
|
|
57
|
+
accessToken: pgText("access_token"),
|
|
58
|
+
refreshToken: pgText("refresh_token"),
|
|
59
|
+
idToken: pgText("id_token"),
|
|
60
|
+
accessTokenExpiresAt: timestamp("access_token_expires_at"),
|
|
61
|
+
refreshTokenExpiresAt: timestamp("refresh_token_expires_at"),
|
|
62
|
+
scope: pgText("scope"),
|
|
63
|
+
password: pgText("password"),
|
|
64
|
+
createdAt: timestamp("created_at").notNull(),
|
|
65
|
+
updatedAt: timestamp("updated_at").notNull(),
|
|
66
|
+
})
|
|
67
|
+
: sqliteTable("account", {
|
|
68
|
+
id: sqliteText("id").primaryKey(),
|
|
69
|
+
accountId: sqliteText("account_id").notNull(),
|
|
70
|
+
providerId: sqliteText("provider_id").notNull(),
|
|
71
|
+
userId: sqliteText("user_id").notNull(),
|
|
72
|
+
accessToken: sqliteText("access_token"),
|
|
73
|
+
refreshToken: sqliteText("refresh_token"),
|
|
74
|
+
idToken: sqliteText("id_token"),
|
|
75
|
+
accessTokenExpiresAt: integer("access_token_expires_at", { mode: "timestamp_ms" }),
|
|
76
|
+
refreshTokenExpiresAt: integer("refresh_token_expires_at", { mode: "timestamp_ms" }),
|
|
77
|
+
scope: sqliteText("scope"),
|
|
78
|
+
password: sqliteText("password"),
|
|
79
|
+
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
80
|
+
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull(),
|
|
81
|
+
});
|
|
94
82
|
|
|
95
83
|
export const verification = $$.BATI.has("postgres")
|
|
96
84
|
? pgTable("verification", {
|
|
@@ -28,7 +28,6 @@ CREATE TABLE IF NOT EXISTS "account" (
|
|
|
28
28
|
"id" text NOT NULL PRIMARY KEY,
|
|
29
29
|
"accountId" text NOT NULL,
|
|
30
30
|
"providerId" text NOT NULL,
|
|
31
|
-
"issuer" text NOT NULL,
|
|
32
31
|
"userId" text NOT NULL REFERENCES "user" ("id"),
|
|
33
32
|
"accessToken" text,
|
|
34
33
|
"refreshToken" text,
|
|
@@ -41,8 +40,6 @@ CREATE TABLE IF NOT EXISTS "account" (
|
|
|
41
40
|
"updatedAt" date NOT NULL DEFAULT CURRENT_TIMESTAMP
|
|
42
41
|
);
|
|
43
42
|
|
|
44
|
-
CREATE UNIQUE INDEX IF NOT EXISTS "account_issuer_accountId_uidx" ON "account" ("issuer", "accountId");
|
|
45
|
-
|
|
46
43
|
CREATE TABLE IF NOT EXISTS "verification" (
|
|
47
44
|
"id" text NOT NULL PRIMARY KEY,
|
|
48
45
|
"identifier" text NOT NULL,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region files/database/drizzle/schema/auth.d.ts
|
|
2
|
-
declare const user: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
2
|
+
export declare const user: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
3
3
|
name: "user";
|
|
4
4
|
schema: undefined;
|
|
5
5
|
columns: {
|
|
@@ -258,7 +258,7 @@ declare const user: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
258
258
|
};
|
|
259
259
|
dialect: "sqlite";
|
|
260
260
|
}>;
|
|
261
|
-
declare const session: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
261
|
+
export declare const session: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
262
262
|
name: "session";
|
|
263
263
|
schema: undefined;
|
|
264
264
|
columns: {
|
|
@@ -553,7 +553,7 @@ declare const session: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
553
553
|
};
|
|
554
554
|
dialect: "sqlite";
|
|
555
555
|
}>;
|
|
556
|
-
declare const account: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
556
|
+
export declare const account: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
557
557
|
name: "account";
|
|
558
558
|
schema: undefined;
|
|
559
559
|
columns: {
|
|
@@ -608,23 +608,6 @@ declare const account: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
608
608
|
identity: undefined;
|
|
609
609
|
generated: undefined;
|
|
610
610
|
}, {}, {}>;
|
|
611
|
-
issuer: import("drizzle-orm/pg-core").PgColumn<{
|
|
612
|
-
name: "issuer";
|
|
613
|
-
tableName: "account";
|
|
614
|
-
dataType: "string";
|
|
615
|
-
columnType: "PgText";
|
|
616
|
-
data: string;
|
|
617
|
-
driverParam: string;
|
|
618
|
-
notNull: true;
|
|
619
|
-
hasDefault: false;
|
|
620
|
-
isPrimaryKey: false;
|
|
621
|
-
isAutoincrement: false;
|
|
622
|
-
hasRuntimeDefault: false;
|
|
623
|
-
enumValues: [string, ...string[]];
|
|
624
|
-
baseColumn: never;
|
|
625
|
-
identity: undefined;
|
|
626
|
-
generated: undefined;
|
|
627
|
-
}, {}, {}>;
|
|
628
611
|
userId: import("drizzle-orm/pg-core").PgColumn<{
|
|
629
612
|
name: "user_id";
|
|
630
613
|
tableName: "account";
|
|
@@ -858,25 +841,6 @@ declare const account: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
858
841
|
}, {}, {
|
|
859
842
|
length: number | undefined;
|
|
860
843
|
}>;
|
|
861
|
-
issuer: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
862
|
-
name: "issuer";
|
|
863
|
-
tableName: "account";
|
|
864
|
-
dataType: "string";
|
|
865
|
-
columnType: "SQLiteText";
|
|
866
|
-
data: string;
|
|
867
|
-
driverParam: string;
|
|
868
|
-
notNull: true;
|
|
869
|
-
hasDefault: false;
|
|
870
|
-
isPrimaryKey: false;
|
|
871
|
-
isAutoincrement: false;
|
|
872
|
-
hasRuntimeDefault: false;
|
|
873
|
-
enumValues: [string, ...string[]];
|
|
874
|
-
baseColumn: never;
|
|
875
|
-
identity: undefined;
|
|
876
|
-
generated: undefined;
|
|
877
|
-
}, {}, {
|
|
878
|
-
length: number | undefined;
|
|
879
|
-
}>;
|
|
880
844
|
userId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
881
845
|
name: "user_id";
|
|
882
846
|
tableName: "account";
|
|
@@ -1062,7 +1026,7 @@ declare const account: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
1062
1026
|
};
|
|
1063
1027
|
dialect: "sqlite";
|
|
1064
1028
|
}>;
|
|
1065
|
-
declare const verification: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
1029
|
+
export declare const verification: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
1066
1030
|
name: "verification";
|
|
1067
1031
|
schema: undefined;
|
|
1068
1032
|
columns: {
|
|
@@ -1285,5 +1249,4 @@ declare const verification: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
1285
1249
|
};
|
|
1286
1250
|
dialect: "sqlite";
|
|
1287
1251
|
}>;
|
|
1288
|
-
//#endregion
|
|
1289
|
-
export { account, session, user, verification };
|
|
1252
|
+
//#endregion
|
|
@@ -4,16 +4,15 @@ import { RuntimeAdapter, UniversalMiddleware } from "@universal-middleware/core"
|
|
|
4
4
|
* Add the Better Auth user to the context.
|
|
5
5
|
* @link {@see https://better-auth.com/docs/concepts/session-management}
|
|
6
6
|
*/
|
|
7
|
-
declare const betterAuthSessionMiddleware: UniversalMiddleware;
|
|
7
|
+
export declare const betterAuthSessionMiddleware: UniversalMiddleware;
|
|
8
8
|
/**
|
|
9
9
|
* Better Auth route
|
|
10
10
|
* @link {@see https://better-auth.com/docs/installation}
|
|
11
11
|
**/
|
|
12
|
-
declare const betterAuthHandler: ((request: Request<unknown, CfProperties<unknown>>, _context: Universal.Context, runtime: RuntimeAdapter) => Promise<Response>) & import("@universal-middleware/core").WithUniversalSymbols<{
|
|
12
|
+
export declare const betterAuthHandler: ((request: Request<unknown, CfProperties<unknown>>, _context: Universal.Context, runtime: RuntimeAdapter) => Promise<Response>) & import("@universal-middleware/core").WithUniversalSymbols<{
|
|
13
13
|
name: string;
|
|
14
14
|
path: string;
|
|
15
15
|
method: ("GET" | "POST")[];
|
|
16
16
|
immutable: false;
|
|
17
17
|
}>;
|
|
18
|
-
//#endregion
|
|
19
|
-
export { betterAuthHandler, betterAuthSessionMiddleware };
|
|
18
|
+
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { RuntimeAdapter } from "@universal-middleware/core";
|
|
2
2
|
import { BetterAuthOptions } from "better-auth";
|
|
3
3
|
//#region files/server/better-auth.d.ts
|
|
4
|
-
declare function getAuthConfig(runtime?: RuntimeAdapter): BetterAuthOptions;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { getAuthConfig };
|
|
4
|
+
export declare function getAuthConfig(runtime?: RuntimeAdapter): BetterAuthOptions;
|
|
5
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { loadPackageJson } from "@batijs/core";
|
|
4
4
|
//#region ../../boilerplates/biome/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-CsPkf_Nf.js").then((x) => x.default))).setScript("lint", {
|
|
7
7
|
value: "biome lint --write .",
|
|
8
8
|
precedence: 0
|
|
9
9
|
}).setScript("format", {
|
|
@@ -15,8 +15,8 @@ var package_default = {
|
|
|
15
15
|
devDependencies: {
|
|
16
16
|
"@batijs/compile": "workspace:*",
|
|
17
17
|
"@batijs/core": "workspace:*",
|
|
18
|
-
"@biomejs/biome": "2.5.
|
|
19
|
-
"@biomejs/wasm-nodejs": "^2.5.
|
|
18
|
+
"@biomejs/biome": "2.5.15",
|
|
19
|
+
"@biomejs/wasm-nodejs": "^2.5.15",
|
|
20
20
|
"@types/node": "^20.19.37"
|
|
21
21
|
},
|
|
22
22
|
files: ["dist/"],
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { loadPackageJson } from "@batijs/core";
|
|
4
4
|
//#region ../../boilerplates/cloudflare/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-8f7FGjYF.js").then((x) => x.default))).removeScript("prod").setScript("deploy", {
|
|
7
7
|
value: "vike build && wrangler deploy",
|
|
8
8
|
precedence: 25,
|
|
9
9
|
warnIfReplaced: true
|
|
@@ -16,10 +16,10 @@ var package_default = {
|
|
|
16
16
|
devDependencies: {
|
|
17
17
|
"@batijs/compile": "workspace:*",
|
|
18
18
|
"@batijs/core": "workspace:*",
|
|
19
|
-
"@cloudflare/vite-plugin": "^1.
|
|
19
|
+
"@cloudflare/vite-plugin": "^1.63.0",
|
|
20
20
|
"@types/node": "^20.19.37",
|
|
21
|
-
"vitest": "^4.1.
|
|
22
|
-
"wrangler": "^4.
|
|
21
|
+
"vitest": "^4.1.11",
|
|
22
|
+
"wrangler": "^4.148.0"
|
|
23
23
|
},
|
|
24
24
|
files: ["dist/"],
|
|
25
25
|
nx: { "tags": ["type:boilerplate"] }
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { loadPackageJson } from "@batijs/core";
|
|
4
4
|
//#region ../../boilerplates/compiled/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-BCG1ITok.js").then((x) => x.default))).addDevDependencies(["vite-plugin-compiled-react"]).addDependencies(["@compiled/react"]);
|
|
7
7
|
}
|
|
8
8
|
//#endregion
|
|
9
9
|
export { getPackageJson as default };
|
|
@@ -15,9 +15,9 @@ var package_default = {
|
|
|
15
15
|
devDependencies: {
|
|
16
16
|
"@batijs/compile": "workspace:*",
|
|
17
17
|
"@batijs/core": "workspace:*",
|
|
18
|
-
"@compiled/react": "^1.0.
|
|
18
|
+
"@compiled/react": "^1.0.2",
|
|
19
19
|
"@types/node": "^20.19.37",
|
|
20
|
-
"vite": "^8.
|
|
20
|
+
"vite": "^8.3.3",
|
|
21
21
|
"vite-plugin-compiled-react": "^1.3.1"
|
|
22
22
|
},
|
|
23
23
|
files: ["dist/"],
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { loadPackageJson } from "@batijs/core";
|
|
4
4
|
//#region ../../boilerplates/d1/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-DFq3NS2g.js").then((x) => x.default))).addDevDependencies(["@universal-middleware/core"]);
|
|
7
7
|
}
|
|
8
8
|
//#endregion
|
|
9
9
|
export { getPackageJson as default };
|
|
@@ -17,8 +17,8 @@ var package_default = {
|
|
|
17
17
|
"@batijs/core": "workspace:*",
|
|
18
18
|
"@types/node": "^20.19.37",
|
|
19
19
|
"@universal-middleware/core": "^0.4.18",
|
|
20
|
-
"vike": "^0.4.
|
|
21
|
-
"wrangler": "^4.
|
|
20
|
+
"vike": "^0.4.267",
|
|
21
|
+
"wrangler": "^4.148.0"
|
|
22
22
|
},
|
|
23
23
|
files: ["dist/"],
|
|
24
24
|
exports: { "./database/d1/helpers": { "types": "./dist/types/database/d1/helpers.d.mts" } },
|
|
@@ -3,6 +3,5 @@ import { RuntimeAdapter } from "@universal-middleware/core";
|
|
|
3
3
|
/**
|
|
4
4
|
* Retrieve Cloudflare `env.DB` from `universal-middleware` runtime
|
|
5
5
|
*/
|
|
6
|
-
declare function getDbFromRuntime(runtime: RuntimeAdapter): Promise<D1Database>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { getDbFromRuntime };
|
|
6
|
+
export declare function getDbFromRuntime(runtime: RuntimeAdapter): Promise<D1Database>;
|
|
7
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { loadPackageJson } from "@batijs/core";
|
|
4
4
|
//#region ../../boilerplates/d1-sqlite/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-DDeIXLJn.js").then((x) => x.default))).setScript("d1:migrate", {
|
|
7
7
|
value: "wrangler d1 migrations apply MY_VIKE_DEMO_DATABASE --local",
|
|
8
8
|
precedence: 0
|
|
9
9
|
}).setScript("d1:deploy", {
|
|
@@ -17,7 +17,7 @@ var package_default = {
|
|
|
17
17
|
"@batijs/core": "workspace:*",
|
|
18
18
|
"@types/node": "^20.19.37",
|
|
19
19
|
"@universal-middleware/core": "^0.4.18",
|
|
20
|
-
"vike": "^0.4.
|
|
20
|
+
"vike": "^0.4.267"
|
|
21
21
|
},
|
|
22
22
|
files: ["dist/"],
|
|
23
23
|
exports: { "./database/d1/queries/todos": { "types": "./dist/types/database/d1/queries/todos.d.mts" } },
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region files/database/d1/queries/todos.d.ts
|
|
2
|
-
declare function insertTodo(db: D1Database, text: string): Promise<D1Result<Record<string, unknown>>>;
|
|
3
|
-
declare function getAllTodos(db: D1Database): Promise<{
|
|
2
|
+
export declare function insertTodo(db: D1Database, text: string): Promise<D1Result<Record<string, unknown>>>;
|
|
3
|
+
export declare function getAllTodos(db: D1Database): Promise<{
|
|
4
4
|
id: number;
|
|
5
5
|
text: string;
|
|
6
6
|
}[]>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { getAllTodos, insertTodo };
|
|
7
|
+
//#endregion
|
|
@@ -4,7 +4,8 @@ import { t as composeEnvEntries } from "../../../../asset-env-DvKtWq7P.js";
|
|
|
4
4
|
import { setComposeEnvironment } from "@batijs/core";
|
|
5
5
|
//#region ../../boilerplates/docker-compose/dist/files/$docker-compose.yml.mjs
|
|
6
6
|
async function getDockerCompose(props) {
|
|
7
|
-
|
|
7
|
+
const code = await props.readfile();
|
|
8
|
+
return setComposeEnvironment(code, composeEnvEntries(props.env));
|
|
8
9
|
}
|
|
9
10
|
//#endregion
|
|
10
11
|
export { getDockerCompose as default };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { loadPackageJson } from "@batijs/core";
|
|
4
4
|
//#region ../../boilerplates/docker-compose/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-BU9-a27h.js").then((x) => x.default))).setScript("prod", {
|
|
7
7
|
value: "docker compose up -d --build",
|
|
8
8
|
precedence: 25,
|
|
9
9
|
warnIfReplaced: true
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { loadPackageJson } from "@batijs/core";
|
|
4
4
|
//#region ../../boilerplates/drizzle/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-C-pRJQmK.js").then((x) => x.default));
|
|
7
7
|
const hasPostgres = props.meta.BATI.has("postgres");
|
|
8
8
|
const hasSqliteEngine = !props.meta.BATI.hasD1 && !hasPostgres;
|
|
9
9
|
return packageJson.setScript("drizzle:generate", {
|
|
@@ -19,8 +19,8 @@ var package_default = {
|
|
|
19
19
|
"@types/better-sqlite3": "^9.6.0",
|
|
20
20
|
"@types/node": "^20.19.37",
|
|
21
21
|
"better-sqlite3": "^13.0.3",
|
|
22
|
-
"drizzle-kit": "^0.31.
|
|
23
|
-
"drizzle-orm": "^0.45.
|
|
22
|
+
"drizzle-kit": "^0.31.11",
|
|
23
|
+
"drizzle-orm": "^0.45.3",
|
|
24
24
|
"postgres": "^3.4.9"
|
|
25
25
|
},
|
|
26
26
|
files: ["dist/"],
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import Database from "better-sqlite3";
|
|
2
2
|
import postgres from "postgres";
|
|
3
3
|
//#region files/database/drizzle/db.d.ts
|
|
4
|
-
declare function dbSqlite(): import("drizzle-orm/better-sqlite3").BetterSQLite3Database<Record<string, never>> & {
|
|
4
|
+
export declare function dbSqlite(): import("drizzle-orm/better-sqlite3").BetterSQLite3Database<Record<string, never>> & {
|
|
5
5
|
$client: Database.Database;
|
|
6
6
|
};
|
|
7
|
-
declare function dbD1(d1: D1Database): import("drizzle-orm/d1").DrizzleD1Database<Record<string, never>> & {
|
|
7
|
+
export declare function dbD1(d1: D1Database): import("drizzle-orm/d1").DrizzleD1Database<Record<string, never>> & {
|
|
8
8
|
$client: D1Database;
|
|
9
9
|
};
|
|
10
|
-
declare function dbPostgres(): import("drizzle-orm/postgres-js").PostgresJsDatabase<Record<string, never>> & {
|
|
10
|
+
export declare function dbPostgres(): import("drizzle-orm/postgres-js").PostgresJsDatabase<Record<string, never>> & {
|
|
11
11
|
$client: postgres.Sql<{}>;
|
|
12
12
|
};
|
|
13
|
-
//#endregion
|
|
14
|
-
export { dbD1, dbPostgres, dbSqlite };
|
|
13
|
+
//#endregion
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { dbD1, dbPostgres, dbSqlite } from "../db.mjs";
|
|
2
2
|
//#region files/database/drizzle/queries/todos.d.ts
|
|
3
|
-
declare function insertTodo(db: $$.If<{
|
|
3
|
+
export declare function insertTodo(db: $$.If<{
|
|
4
4
|
'$$.BATI.has("postgres")': ReturnType<typeof dbPostgres>;
|
|
5
5
|
"!$$.BATI.hasD1": ReturnType<typeof dbSqlite>;
|
|
6
6
|
_: ReturnType<typeof dbD1>;
|
|
7
7
|
}>, text: string): any;
|
|
8
|
-
declare function getAllTodos(db: $$.If<{
|
|
8
|
+
export declare function getAllTodos(db: $$.If<{
|
|
9
9
|
'$$.BATI.has("postgres")': ReturnType<typeof dbPostgres>;
|
|
10
10
|
"!$$.BATI.hasD1": ReturnType<typeof dbSqlite>;
|
|
11
11
|
_: ReturnType<typeof dbD1>;
|
|
12
12
|
}, "union">): Promise<any>;
|
|
13
|
-
//#endregion
|
|
14
|
-
export { getAllTodos, insertTodo };
|
|
13
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region files/database/drizzle/schema/todos.d.ts
|
|
2
|
-
declare const todoTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
2
|
+
export declare const todoTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
3
3
|
name: "todos";
|
|
4
4
|
schema: undefined;
|
|
5
5
|
columns: {
|
|
@@ -84,7 +84,6 @@ declare const todoTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
84
84
|
};
|
|
85
85
|
dialect: "sqlite";
|
|
86
86
|
}>;
|
|
87
|
-
type TodoItem = typeof todoTable.$inferSelect;
|
|
88
|
-
type TodoInsert = typeof todoTable.$inferInsert;
|
|
89
|
-
//#endregion
|
|
90
|
-
export { TodoInsert, TodoItem, todoTable };
|
|
87
|
+
export type TodoItem = typeof todoTable.$inferSelect;
|
|
88
|
+
export type TodoInsert = typeof todoTable.$inferInsert;
|
|
89
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { loadPackageJson } from "@batijs/core";
|
|
4
4
|
//#region ../../boilerplates/elysia/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-CAb3mWax.js").then((x) => x.default))).addDevDependencies(["@types/node", "vite"]).addDependencies([
|
|
7
7
|
"@vikejs/elysia",
|
|
8
8
|
"elysia",
|
|
9
9
|
"vike"
|
|
@@ -24,13 +24,13 @@ var package_default = {
|
|
|
24
24
|
"@batijs/telefunc": "workspace:*",
|
|
25
25
|
"@batijs/trpc": "workspace:*",
|
|
26
26
|
"@batijs/ts-rest": "workspace:*",
|
|
27
|
-
"@trpc/server": "^11.
|
|
27
|
+
"@trpc/server": "^11.19.0",
|
|
28
28
|
"@types/node": "^20.19.37",
|
|
29
29
|
"@vikejs/elysia": "^0.2.1",
|
|
30
|
-
"elysia": "^1.4.
|
|
31
|
-
"telefunc": "^0.2.
|
|
32
|
-
"vike": "^0.4.
|
|
33
|
-
"vite": "^8.
|
|
30
|
+
"elysia": "^1.4.30",
|
|
31
|
+
"telefunc": "^0.2.24",
|
|
32
|
+
"vike": "^0.4.267",
|
|
33
|
+
"vite": "^8.3.3"
|
|
34
34
|
},
|
|
35
35
|
files: ["dist/"],
|
|
36
36
|
exports: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Elysia } from "elysia";
|
|
2
2
|
//#region files/server/elysia.d.ts
|
|
3
|
-
declare const app: Elysia<"", {
|
|
3
|
+
export declare const app: Elysia<"", {
|
|
4
4
|
decorator: {};
|
|
5
5
|
store: {};
|
|
6
6
|
derive: {};
|
|
@@ -28,5 +28,4 @@ declare const app: Elysia<"", {
|
|
|
28
28
|
standaloneSchema: {};
|
|
29
29
|
response: {};
|
|
30
30
|
}>;
|
|
31
|
-
//#endregion
|
|
32
|
-
export { app };
|
|
31
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { loadPackageJson } from "@batijs/core";
|
|
4
4
|
//#region ../../boilerplates/eslint/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-DpC4WSwY.js").then((x) => x.default))).setScript("lint", {
|
|
7
7
|
value: "eslint .",
|
|
8
8
|
precedence: 0
|
|
9
9
|
}).addDevDependencies([
|