@batijs/cli 0.0.513 → 0.0.514

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.
Files changed (77) hide show
  1. package/dist/boilerplates/@batijs/auth0/files/$.env.js +1 -1
  2. package/dist/boilerplates/@batijs/auth0/files/$TODO.md.js +1 -1
  3. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +1 -1
  4. package/dist/boilerplates/@batijs/aws/files/$README.md.js +7 -5
  5. package/dist/boilerplates/@batijs/aws/files/$TODO.md.js +4 -2
  6. package/dist/boilerplates/@batijs/aws/files/$package.json.js +1 -1
  7. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -1
  8. package/dist/boilerplates/@batijs/biome/files/$package.json.js +1 -1
  9. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +1 -1
  10. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +1 -1
  11. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +1 -1
  12. package/dist/boilerplates/@batijs/d1/files/$TODO.md.js +5 -3
  13. package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -1
  14. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +1 -1
  15. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -1
  16. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +1 -1
  17. package/dist/boilerplates/@batijs/drizzle/files/$TODO.md.js +5 -3
  18. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +1 -1
  19. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -1
  20. package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -1
  21. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -1
  22. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +1 -1
  23. package/dist/boilerplates/@batijs/h3/files/$package.json.js +1 -1
  24. package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -1
  25. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
  26. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -1
  27. package/dist/boilerplates/@batijs/photon/files/$README.md.js +1 -1
  28. package/dist/boilerplates/@batijs/photon/files/$package.json.js +1 -1
  29. package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +1 -1
  30. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +1 -1
  31. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +1 -1
  32. package/dist/boilerplates/@batijs/prisma/files/$.env.js +1 -1
  33. package/dist/boilerplates/@batijs/prisma/files/$TODO.md.js +1 -1
  34. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +1 -1
  35. package/dist/boilerplates/@batijs/react/files/$README.md.js +1 -1
  36. package/dist/boilerplates/@batijs/react/files/$package.json.js +1 -1
  37. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +1 -1
  38. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +1 -1
  39. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -1
  40. package/dist/boilerplates/@batijs/sentry/files/$.env.js +1 -1
  41. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +4 -2
  42. package/dist/boilerplates/@batijs/sentry/files/$TODO.md.js +1 -1
  43. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +1 -1
  44. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +1 -1
  45. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +1 -1
  46. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +4 -2
  47. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +1 -1
  48. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +1 -1
  49. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +1 -1
  50. package/dist/boilerplates/@batijs/shared/files/$README.md.js +1 -1
  51. package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +1 -1
  52. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +1 -1
  53. package/dist/boilerplates/@batijs/solid/files/$README.md.js +1 -1
  54. package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -1
  55. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +1 -1
  56. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +1 -1
  57. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +1 -1
  58. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +1 -1
  59. package/dist/boilerplates/@batijs/sqlite/files/$TODO.md.js +1 -1
  60. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +1 -1
  61. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +1 -1
  62. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +1 -1
  63. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -1
  64. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -1
  65. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -1
  66. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +2 -2
  67. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -1
  68. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +1 -1
  69. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +1 -1
  70. package/dist/boilerplates/@batijs/vue/files/$README.md.js +1 -1
  71. package/dist/boilerplates/@batijs/vue/files/$package.json.js +1 -1
  72. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -1
  73. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +1 -1
  74. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -1
  75. package/dist/{chunk-7Z4ESLVZ.js → chunk-5P3K3DOP.js} +4 -4
  76. package/dist/index.js +5 -6
  77. package/package.json +5 -5
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  CBs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -3,14 +3,16 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
+ ffs,
6
7
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
8
+ } from "../../../../chunk-5P3K3DOP.js";
8
9
  import "../../../../chunk-IAWYWZSL.js";
9
10
  import "../../../../chunk-DHZ7AZKP.js";
10
11
 
11
12
  // ../../boilerplates/aws/dist/files/$README.md.js
12
13
  async function getReadme(props) {
13
14
  const content = await zEs(props);
15
+ const pmCmd = ffs().run;
14
16
  const about = `
15
17
  ## AWS CDK Deployment
16
18
 
@@ -25,10 +27,10 @@ This boilerplate is a starting point for deploying your Vike app to AWS. You can
25
27
 
26
28
  ### Deployment to AWS
27
29
 
28
- If you want to have a look at the synthesized CloudFormation template, you can run \`pnpm cdk synth\` and see the template as YAML on screen or in \`cdk.out/VikeStack.template.json\`.
30
+ If you want to have a look at the synthesized CloudFormation template, you can run \`${pmCmd} cdk synth\` and see the template as YAML on screen or in \`cdk.out/VikeStack.template.json\`.
29
31
 
30
32
  You can deploy your Vike App via the following command:
31
- \`pnpm deploy:aws\` or \`pnpm cdk deploy\`
33
+ \`${pmCmd} deploy:aws\` or \`${pmCmd} cdk deploy\`
32
34
 
33
35
  The URL to the CloudFront distribution will be displayed in the output of the deployment.
34
36
  You can also access the CloudFront distribution domainname in the AWS SSM registry und \`vike/distribution/url\`.
@@ -57,13 +59,13 @@ If you have a custom domain, you can add it to the stack configuration in the \`
57
59
 
58
60
  > [!NOTE]
59
61
  > If you deploy your App to a region different than \`us-east-1\` and you have never deployed to this region before, you will need to bootstrap this region too:
60
- \`CDK_DEFAULT_REGION=us-east-1 pnpm deploy:cdk bootstrap\`
62
+ \`CDK_DEFAULT_REGION=us-east-1 ${pmCmd} deploy:cdk bootstrap\`
61
63
 
62
64
 
63
65
  ### Destroying the Stack on AWS
64
66
 
65
67
  To destroy the stack on AWS, run the following command:
66
- \`pnpm cdk destroy\`
68
+ \`${pmCmd} cdk destroy\`
67
69
 
68
70
  Or delete the CloudFormation stack which starts with "VikeStack-<Your App Name>" created by this project.
69
71
  `;
@@ -3,14 +3,16 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
+ ffs,
6
7
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
8
+ } from "../../../../chunk-5P3K3DOP.js";
8
9
  import "../../../../chunk-IAWYWZSL.js";
9
10
  import "../../../../chunk-DHZ7AZKP.js";
10
11
 
11
12
  // ../../boilerplates/aws/dist/files/$TODO.md.js
12
13
  async function getTodo(props) {
13
14
  const content = await zEs(props);
15
+ const pmCmd = ffs().run;
14
16
  const todo = `
15
17
  ## AWS CDK Deployment
16
18
 
@@ -54,7 +56,7 @@ This is often the most convenient way to configure credentials when deploying yo
54
56
  ### Deployment to AWS
55
57
 
56
58
  If this is your **first time deploying a CDK app** in this environment you need to **bootstrap**:
57
- \`pnpm cdk bootstrap\`. (The default region based on your AWS CLI configuration will be used)
59
+ \`${pmCmd} cdk bootstrap\`. (The default region based on your AWS CLI configuration will be used)
58
60
 
59
61
  `;
60
62
  content.addMarkdownFeature(todo, "aws");
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  YEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  JEs,
7
7
  Zti
8
- } from "../../../../chunk-7Z4ESLVZ.js";
8
+ } from "../../../../chunk-5P3K3DOP.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -3,25 +3,27 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
+ ffs,
6
7
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
8
+ } from "../../../../chunk-5P3K3DOP.js";
8
9
  import "../../../../chunk-IAWYWZSL.js";
9
10
  import "../../../../chunk-DHZ7AZKP.js";
10
11
 
11
12
  // ../../boilerplates/d1/dist/files/$TODO.md.js
12
13
  async function getTodo(props) {
13
14
  const content = await zEs(props);
15
+ const pmCmd = ffs().run;
14
16
  const todo = `
15
17
  ## Cloudflare D1
16
18
 
17
19
  Create the \`my-vike-demo-database\` database:
18
20
  \`\`\`sh
19
- pnpm wrangler d1 create my-vike-demo-database
21
+ ${pmCmd} wrangler d1 create my-vike-demo-database
20
22
  \`\`\`
21
23
 
22
24
  Then migrate:
23
25
  \`\`\`sh
24
- pnpm ${props.meta.BATI.has("drizzle") ? "drizzle" : "d1"}:migrate
26
+ ${pmCmd} ${props.meta.BATI.has("drizzle") ? "drizzle" : "d1"}:migrate
25
27
  \`\`\`
26
28
 
27
29
  More infos can be found at https://developers.cloudflare.com/d1/get-started/
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  YEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  CBs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -3,21 +3,23 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
+ ffs,
6
7
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
8
+ } from "../../../../chunk-5P3K3DOP.js";
8
9
  import "../../../../chunk-IAWYWZSL.js";
9
10
  import "../../../../chunk-DHZ7AZKP.js";
10
11
 
11
12
  // ../../boilerplates/drizzle/dist/files/$TODO.md.js
12
13
  async function getTodo(props) {
13
14
  const content = await zEs(props);
15
+ const pmCmd = ffs().run;
14
16
  const todo = `
15
17
  ## Drizzle
16
18
 
17
19
  First, ensure that \`DATABASE_URL\` is configured in \`.env\` file, then create the database:
18
20
  \`\`\`bash
19
- pnpm drizzle:generate # a script that executes drizzle-kit generate.
20
- pnpm drizzle:migrate # a script that executes drizzle-kit migrate.
21
+ ${pmCmd} drizzle:generate # a script that executes drizzle-kit generate.
22
+ ${pmCmd} drizzle:migrate # a script that executes drizzle-kit migrate.
21
23
  \`\`\`
22
24
 
23
25
  > [!NOTE]
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  CBs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  KEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  CBs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  YEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  JEs,
7
7
  Zti
8
- } from "../../../../chunk-7Z4ESLVZ.js";
8
+ } from "../../../../chunk-5P3K3DOP.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  CBs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -3,14 +3,16 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
+ ffs,
6
7
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
8
+ } from "../../../../chunk-5P3K3DOP.js";
8
9
  import "../../../../chunk-IAWYWZSL.js";
9
10
  import "../../../../chunk-DHZ7AZKP.js";
10
11
 
11
12
  // ../../boilerplates/sentry/dist/files/$README.md.js
12
13
  async function getReadme(props) {
13
14
  const content = await zEs(props);
15
+ const pmCmd = ffs().run;
14
16
  const about = `
15
17
 
16
18
  ## Sentry Browser / Error Tracking & Performance Monitoring
@@ -21,7 +23,7 @@ This app is integrated with [Sentry](https://sentry.io) for error tracking.
21
23
  > Sentry Error Tracking is **only activated in production** (\`import.meta.env.PROD === true\`)!
22
24
 
23
25
  **Testing Sentry** receiving Errors:
24
- 1. Build & Start the app \`pnpm build && pnpm preview\`.
26
+ 1. Build & Start the app \`${pmCmd} build && ${pmCmd} preview\`.
25
27
  2. open Testpage in browser: http://localhost:3000/sentry.
26
28
  3. check your [Sentry Dashboard](https://sentry.io) for new Errors.
27
29
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -6,7 +6,7 @@ import {
6
6
  JEs,
7
7
  Tir,
8
8
  Zti
9
- } from "../../../../chunk-7Z4ESLVZ.js";
9
+ } from "../../../../chunk-5P3K3DOP.js";
10
10
  import "../../../../chunk-IAWYWZSL.js";
11
11
  import "../../../../chunk-DHZ7AZKP.js";
12
12
 
@@ -7,7 +7,7 @@ import {
7
7
  PK,
8
8
  PR,
9
9
  Sme
10
- } from "../../../../../chunk-7Z4ESLVZ.js";
10
+ } from "../../../../../chunk-5P3K3DOP.js";
11
11
  import "../../../../../chunk-IAWYWZSL.js";
12
12
  import "../../../../../chunk-DHZ7AZKP.js";
13
13
 
@@ -3,14 +3,16 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
+ ffs,
6
7
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
8
+ } from "../../../../chunk-5P3K3DOP.js";
8
9
  import "../../../../chunk-IAWYWZSL.js";
9
10
  import "../../../../chunk-DHZ7AZKP.js";
10
11
 
11
12
  // ../../boilerplates/shadcn-ui/dist/files/$README.md.js
12
13
  async function getReadme(props) {
13
14
  const content = await zEs(props);
15
+ const pmCmd = ffs().run;
14
16
  const about = `
15
17
 
16
18
  ## shadcn/ui
@@ -29,7 +31,7 @@ async function getReadme(props) {
29
31
  ### Add Components to Your Project
30
32
 
31
33
  **Example:** add a component to your project.
32
- \`pnpm shadcn add button\`
34
+ \`${pmCmd} shadcn add button\`
33
35
 
34
36
  use the \`<Button />\` component in your project:
35
37
  \`import { Button } from "@/components/ui/button";\`
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  YEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  JEs,
7
7
  hir
8
- } from "../../../../chunk-7Z4ESLVZ.js";
8
+ } from "../../../../chunk-5P3K3DOP.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -6,7 +6,7 @@ import {
6
6
  EBs,
7
7
  SBs,
8
8
  zEs
9
- } from "../../../../chunk-7Z4ESLVZ.js";
9
+ } from "../../../../chunk-5P3K3DOP.js";
10
10
  import "../../../../chunk-IAWYWZSL.js";
11
11
  import "../../../../chunk-DHZ7AZKP.js";
12
12
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  YEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  JEs,
7
7
  Zti
8
- } from "../../../../chunk-7Z4ESLVZ.js";
8
+ } from "../../../../chunk-5P3K3DOP.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  CBs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  JEs,
7
7
  Zti
8
- } from "../../../../chunk-7Z4ESLVZ.js";
8
+ } from "../../../../chunk-5P3K3DOP.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  JEs,
7
7
  Zti
8
- } from "../../../../chunk-7Z4ESLVZ.js";
8
+ } from "../../../../chunk-5P3K3DOP.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -2,9 +2,9 @@ export declare const trpc: import("@trpc/client").TRPCClient<import("@trpc/serve
2
2
  ctx: object & {
3
3
  db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
4
4
  } & {
5
- db: ReturnType<any>;
5
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
6
6
  } & {
7
- db: ReturnType<any>;
7
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
8
8
  } & {
9
9
  db: import("@cloudflare/workers-types").D1Database;
10
10
  };
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  JEs
7
- } from "../../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  zEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  YEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  JEs,
7
7
  Zti
8
- } from "../../../../chunk-7Z4ESLVZ.js";
8
+ } from "../../../../chunk-5P3K3DOP.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-7Z4ESLVZ.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -210439,16 +210439,16 @@ async function ufs(t2, e, n2) {
210439
210439
  }
210440
210440
  return !e.BATI.has("eslint") && R$r.test(c) && (c = c.replace(R$r, ""), f = true), !e.BATI.has("biome") && j$r.test(c) && (c = c.replace(j$r, ""), f = true), { code: f ? await Pit(c, n2) : c, context: p2 };
210441
210441
  }
210442
- var wxt = { name: "@batijs/core", version: "0.0.513", description: "", type: "module", types: "./dist/index.d.ts", scripts: { "check-types": "tsc --noEmit", vue: "tsx src/parse/linters/vue.ts", test: "vitest run", "test:ci": "vitest run", build: "tsup" }, keywords: [], author: "Jo\xEBl Charles <joel.charles91@gmail.com>", repository: "https://github.com/vikejs/bati", license: "MIT", devDependencies: { "@batijs/features": "workspace:*", "@types/eslint": "^9.6.1", "@types/estree": "^1.0.8", "@types/node": "^20.19.24", "@types/which": "^3.0.4", "@typescript-eslint/parser": "^8.46.4", "@typescript-eslint/utils": "^8.46.4", "attributes-parser": "^2.2.3", colorette: "^2.0.20", esbuild: "^0.27.0", eslint: "^9.39.1", "eslint-plugin-solid": "^0.14.5", "eslint-rule-composer": "^0.3.0", espree: "^10.4.0", magicast: "^0.5.1", "mdast-builder": "^1.1.1", "mdast-util-from-markdown": "^2.0.2", "mdast-util-to-markdown": "^2.1.2", "mdast-util-to-string": "^4.0.0", "mdast-util-toc": "^7.1.0", prettier: "^3.6.2", squirrelly: "^9.1.0", tsup: "^8.5.0", tsx: "^4.20.6", typescript: "^5.9.3", "unplugin-purge-polyfills": "^0.1.0", vitest: "^4.0.8", "vue-eslint-parser": "^10.2.0", which: "^6.0.0", yaml: "^2.8.1" }, exports: { ".": "./dist/index.js", "./config": "./dist/config.js", "./types": { types: "./global.d.ts" } }, typesVersions: { "*": { config: ["./dist/config.d.ts"], types: ["./global.d.ts"] } }, files: ["dist/"] };
210442
+ var wxt = { name: "@batijs/core", version: "0.0.514", description: "", type: "module", types: "./dist/index.d.ts", scripts: { "check-types": "tsc --noEmit", vue: "tsx src/parse/linters/vue.ts", test: "vitest run", "test:ci": "vitest run", build: "tsup" }, keywords: [], author: "Jo\xEBl Charles <joel.charles91@gmail.com>", repository: "https://github.com/vikejs/bati", license: "MIT", devDependencies: { "@batijs/features": "workspace:*", "@types/eslint": "^9.6.1", "@types/estree": "^1.0.8", "@types/node": "^20.19.24", "@types/which": "^3.0.4", "@typescript-eslint/parser": "^8.46.4", "@typescript-eslint/utils": "^8.46.4", "attributes-parser": "^2.2.3", colorette: "^2.0.20", esbuild: "^0.27.0", eslint: "^9.39.1", "eslint-plugin-solid": "^0.14.5", "eslint-rule-composer": "^0.3.0", espree: "^10.4.0", magicast: "^0.5.1", "mdast-builder": "^1.1.1", "mdast-util-from-markdown": "^2.0.2", "mdast-util-to-markdown": "^2.1.2", "mdast-util-to-string": "^4.0.0", "mdast-util-toc": "^7.1.0", prettier: "^3.6.2", squirrelly: "^9.1.0", tsup: "^8.5.0", tsx: "^4.20.6", typescript: "^5.9.3", "unplugin-purge-polyfills": "^0.1.0", vitest: "^4.0.8", "vue-eslint-parser": "^10.2.0", which: "^6.0.0", yaml: "^2.8.1" }, exports: { ".": "./dist/index.js", "./config": "./dist/config.js", "./types": { types: "./global.d.ts" } }, typesVersions: { "*": { config: ["./dist/config.d.ts"], types: ["./global.d.ts"] } }, files: ["dist/"] };
210443
210443
  function ffs() {
210444
- if (process.env.npm_config_user_agent) return _fs(process.env.npm_config_user_agent);
210444
+ return process.env.npm_config_user_agent ? _fs(process.env.npm_config_user_agent) : { name: "npm", run: "npm run" };
210445
210445
  }
210446
210446
  function _fs(t2) {
210447
210447
  let e = t2.split(" ")[0], n2 = e.lastIndexOf("/"), i = e.substring(0, n2);
210448
- return { name: i === "npminstall" ? "cnpm" : i, version: e.substring(n2 + 1) };
210448
+ return i = i === "npminstall" ? "cnpm" : i, { name: i, version: e.substring(n2 + 1), run: i === "npm" ? "npm run" : i };
210449
210449
  }
210450
210450
  function SBs() {
210451
- switch (ffs()?.name) {
210451
+ switch (ffs().name) {
210452
210452
  case "pnpm":
210453
210453
  return "pnpm create vike@latest";
210454
210454
  case "yarn":
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  ffs,
11
11
  gir,
12
12
  ufs
13
- } from "./chunk-7Z4ESLVZ.js";
13
+ } from "./chunk-5P3K3DOP.js";
14
14
  import "./chunk-IAWYWZSL.js";
15
15
  import {
16
16
  __commonJS,
@@ -16152,7 +16152,7 @@ var {
16152
16152
  // package.json
16153
16153
  var package_default = {
16154
16154
  name: "@batijs/cli",
16155
- version: "0.0.513",
16155
+ version: "0.0.514",
16156
16156
  type: "module",
16157
16157
  scripts: {
16158
16158
  "check-types": "tsc --noEmit",
@@ -16321,12 +16321,11 @@ async function printOK(dist, flags2) {
16321
16321
  console.log(`
16322
16322
  ${bold("Next steps:")}`);
16323
16323
  console.log(cmd(`cd ${distPretty}`));
16324
- const pmName = pm?.name ?? "pnpm";
16325
- console.log(cmd(`${pmName} install`));
16324
+ console.log(cmd(`${pm.name} install`));
16326
16325
  if (await hasRemainingSteps(dist)) {
16327
16326
  console.log(gir("\u2022\uFE0F", gray, indent)(`Check ${bold("TODO.md")} for remaining steps`));
16328
16327
  }
16329
- console.log(cmd(`${pmName} run dev`));
16328
+ console.log(cmd(`${pm.run} dev`));
16330
16329
  console.log("\nHappy coding! \u{1F680}\n");
16331
16330
  }
16332
16331
  var defaultDef = {
@@ -16522,7 +16521,7 @@ async function retrieveHooks(hooks) {
16522
16521
  }
16523
16522
  function testFlags(meta, bl) {
16524
16523
  if (bl.config.if) {
16525
- return bl.config.if(meta, pm?.name);
16524
+ return bl.config.if(meta, pm.name);
16526
16525
  }
16527
16526
  return true;
16528
16527
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@batijs/cli",
3
- "version": "0.0.513",
3
+ "version": "0.0.514",
4
4
  "type": "module",
5
5
  "keywords": [],
6
6
  "description": "Next-gen scaffolder. Get started with fully-functional apps, and choose any tool you want",
@@ -19,12 +19,12 @@
19
19
  "typescript": "^5.9.3",
20
20
  "unplugin-purge-polyfills": "^0.1.0",
21
21
  "vite": "^7.2.2",
22
- "@batijs/compile": "0.0.513",
23
- "@batijs/build": "0.0.513"
22
+ "@batijs/build": "0.0.514",
23
+ "@batijs/compile": "0.0.514"
24
24
  },
25
25
  "dependencies": {
26
- "@batijs/core": "0.0.513",
27
- "@batijs/features": "0.0.513"
26
+ "@batijs/core": "0.0.514",
27
+ "@batijs/features": "0.0.514"
28
28
  },
29
29
  "bin": "./cli.js",
30
30
  "exports": {