@dartix-software-solutions/create-fullstack-app 2.0.7 → 2.0.10

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 (92) hide show
  1. package/dist/api-client/axios/meta.js +1 -1
  2. package/dist/api-client/fetch-wrapper/meta.js +1 -1
  3. package/dist/api-client/trpc-client/meta.js +1 -1
  4. package/dist/api-style/graphql-server/meta.js +1 -1
  5. package/dist/api-style/trpc-server/meta.js +1 -1
  6. package/dist/auth/clerk/meta.js +1 -1
  7. package/dist/auth/jwt-custom/meta.js +1 -1
  8. package/dist/auth/lucia/meta.js +1 -1
  9. package/dist/auth/next-auth/meta.js +3 -3
  10. package/dist/backend-extras/bullmq/meta.js +1 -1
  11. package/dist/backend-extras/compression/meta.js +1 -1
  12. package/dist/backend-extras/cors-config/meta.js +1 -1
  13. package/dist/backend-extras/cron/meta.js +1 -1
  14. package/dist/backend-extras/email/meta.js +1 -1
  15. package/dist/backend-extras/firebase-push/meta.js +1 -1
  16. package/dist/backend-extras/helmet/meta.js +1 -1
  17. package/dist/backend-extras/multer/meta.js +1 -1
  18. package/dist/backend-extras/rate-limit/meta.js +1 -1
  19. package/dist/backend-extras/s3-upload/meta.js +1 -1
  20. package/dist/backend-extras/swagger/meta.js +1 -1
  21. package/dist/backend-extras/websocket/meta.js +1 -1
  22. package/dist/bin/create-fullstack-app.js +1 -1
  23. package/dist/{chunk-QVS4DSIH.js → chunk-YB5MXG5R.js} +6 -5
  24. package/dist/{chunk-FV43KAG3.js → chunk-ZTXPWYML.js} +4 -0
  25. package/dist/deployment/aws/meta.js +1 -1
  26. package/dist/deployment/eas-submit/meta.js +1 -1
  27. package/dist/deployment/flyio/meta.js +1 -1
  28. package/dist/deployment/railway/meta.js +1 -1
  29. package/dist/deployment/vercel/meta.js +1 -1
  30. package/dist/devops/docker/meta.js +1 -1
  31. package/dist/devops/eas-build/meta.js +1 -1
  32. package/dist/devops/fastlane/meta.js +1 -1
  33. package/dist/devops/github-actions/meta.js +1 -1
  34. package/dist/devops/gitlab-ci/meta.js +1 -1
  35. package/dist/devtools/commitlint/meta.js +1 -1
  36. package/dist/devtools/eslint/meta.js +1 -1
  37. package/dist/devtools/husky/meta.js +1 -1
  38. package/dist/devtools/lint-staged/meta.js +1 -1
  39. package/dist/devtools/prettier/meta.js +1 -1
  40. package/dist/forms/formik/meta.js +1 -1
  41. package/dist/forms/react-hook-form/meta.js +1 -1
  42. package/dist/frontend-extras/async-storage/meta.js +1 -1
  43. package/dist/frontend-extras/date-fns/meta.js +1 -1
  44. package/dist/frontend-extras/expo-camera/meta.js +1 -1
  45. package/dist/frontend-extras/expo-haptics/meta.js +1 -1
  46. package/dist/frontend-extras/expo-image/meta.js +1 -1
  47. package/dist/frontend-extras/expo-location/meta.js +1 -1
  48. package/dist/frontend-extras/expo-secure-store/meta.js +1 -1
  49. package/dist/frontend-extras/i18next/meta.js +1 -1
  50. package/dist/frontend-extras/lottie-rn/meta.js +1 -1
  51. package/dist/frontend-extras/react-native-bottom-sheet/meta.js +1 -1
  52. package/dist/frontend-extras/react-native-gesture-handler/meta.js +1 -1
  53. package/dist/frontend-extras/react-native-maps/meta.js +1 -1
  54. package/dist/frontend-extras/react-native-mmkv/meta.js +1 -1
  55. package/dist/frontend-extras/react-native-push-notifications/meta.js +1 -1
  56. package/dist/frontend-extras/react-native-reanimated/meta.js +1 -1
  57. package/dist/frontend-extras/react-native-svg/meta.js +1 -1
  58. package/dist/frontend-extras/react-table/meta.js +1 -1
  59. package/dist/frontend-extras/recharts/meta.js +1 -1
  60. package/dist/frontends/web/next/file-map.js +6 -1
  61. package/dist/index.js +1 -1
  62. package/dist/logging/pino/meta.js +1 -1
  63. package/dist/logging/winston/meta.js +1 -1
  64. package/dist/mobile-navigation/expo-router/meta.js +1 -1
  65. package/dist/mobile-navigation/react-navigation/meta.js +1 -1
  66. package/dist/monitoring/datadog/meta.js +1 -1
  67. package/dist/monitoring/sentry/meta.js +1 -1
  68. package/dist/monitoring/sentry-react-native/meta.js +1 -1
  69. package/dist/orms/prisma/file-map.js +1 -1
  70. package/dist/state/mobx/meta.js +1 -1
  71. package/dist/state/redux-toolkit/meta.js +1 -1
  72. package/dist/state/tanstack-query/meta.js +1 -1
  73. package/dist/state/zustand/meta.js +1 -1
  74. package/dist/styling/mobile/nativewind/meta.js +1 -1
  75. package/dist/styling/mobile/rn-stylesheet/meta.js +1 -1
  76. package/dist/styling/mobile/styled-components-rn/meta.js +1 -1
  77. package/dist/styling/web/css-modules/meta.js +1 -1
  78. package/dist/styling/web/styled-components/meta.js +1 -1
  79. package/dist/styling/web/tailwind/meta.js +1 -1
  80. package/dist/testing/cypress/meta.js +1 -1
  81. package/dist/testing/detox/meta.js +1 -1
  82. package/dist/testing/jest/meta.js +1 -1
  83. package/dist/testing/maestro/meta.js +1 -1
  84. package/dist/testing/playwright/meta.js +1 -1
  85. package/dist/testing/supertest/meta.js +1 -1
  86. package/dist/testing/testing-library-react/meta.js +1 -1
  87. package/dist/testing/testing-library-react-native/meta.js +1 -1
  88. package/dist/testing/vitest/meta.js +1 -1
  89. package/dist/ui-library/ant-design/meta.js +1 -1
  90. package/dist/ui-library/mui/meta.js +1 -1
  91. package/dist/ui-library/shadcn/meta.js +1 -1
  92. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenApiClient
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/api-client/axios/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenApiClient
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/api-client/fetch-wrapper/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenApiClient
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/api-client/trpc-client/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenNodeBackend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/api-style/graphql-server/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenNodeBackend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/api-style/trpc-server/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenAuth
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/auth/clerk/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenAuth
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/auth/jwt-custom/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenAuth
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/auth/lucia/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenWebFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/auth/next-auth/meta.ts
6
6
  var meta = {
@@ -12,8 +12,8 @@ var meta = {
12
12
  deps: [{ name: "next-auth", version: "^5.0.0-beta.25" }],
13
13
  devDeps: [],
14
14
  envVars: [
15
- { key: "NEXTAUTH_SECRET", defaultValue: "change-me", comment: "NextAuth secret", target: "root" },
16
- { key: "NEXTAUTH_URL", defaultValue: "http://localhost:3000", comment: "NextAuth base URL", target: "root" }
15
+ { key: "AUTH_SECRET", defaultValue: "change-me", comment: "Auth.js secret", target: "root" },
16
+ { key: "AUTH_URL", defaultValue: "http://localhost:3000", comment: "Auth.js base URL", target: "root" }
17
17
  ],
18
18
  scripts: [],
19
19
  conflicts: ["jwt-custom", "clerk", "lucia"],
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenNodeBackend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/backend-extras/bullmq/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenNodeBackend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/backend-extras/compression/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenNodeBackend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/backend-extras/cors-config/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenNodeBackend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/backend-extras/cron/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenNodeBackend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/backend-extras/email/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenNodeBackend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/backend-extras/firebase-push/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenNodeBackend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/backend-extras/helmet/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenNodeBackend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/backend-extras/multer/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenNodeBackend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/backend-extras/rate-limit/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenNodeBackend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/backend-extras/s3-upload/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenNodeBackend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/backend-extras/swagger/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenNodeBackend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/backend-extras/websocket/meta.ts
6
6
  var meta = {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  main
4
- } from "../chunk-QVS4DSIH.js";
4
+ } from "../chunk-YB5MXG5R.js";
5
5
 
6
6
  // src/bin/create-fullstack-app.ts
7
7
  main().catch((error) => {
@@ -6,7 +6,10 @@ import path7 from "path";
6
6
  import fs4 from "fs-extra";
7
7
 
8
8
  // src/shared/constants.ts
9
- var VERSION = "2.0.0";
9
+ import { createRequire } from "module";
10
+ var require2 = createRequire(import.meta.url);
11
+ var packageJson = require2("../package.json");
12
+ var VERSION = packageJson.version;
10
13
  var CLI_NAME = "create-fullstack-app";
11
14
  var TARGETS = {
12
15
  FRONTEND: "frontend",
@@ -1931,7 +1934,7 @@ var SingleAppLayout = class {
1931
1934
  }
1932
1935
  case TARGETS.SHARED: {
1933
1936
  if (isFullstack) {
1934
- return joinPaths("shared", relativePath);
1937
+ return joinPaths("server", "src", "shared", relativePath);
1935
1938
  }
1936
1939
  return joinPaths("src", "shared", relativePath);
1937
1940
  }
@@ -1951,7 +1954,6 @@ var SingleAppLayout = class {
1951
1954
  dirs.push(`${feDir}/src`);
1952
1955
  dirs.push("server");
1953
1956
  dirs.push("server/src");
1954
- dirs.push("shared");
1955
1957
  } else if (hasFE) {
1956
1958
  dirs.push("src");
1957
1959
  dirs.push("public");
@@ -2035,7 +2037,6 @@ var SingleAppLayout = class {
2035
2037
  lines.push("\u251C\u2500\u2500 server/");
2036
2038
  lines.push("\u2502 \u251C\u2500\u2500 src/");
2037
2039
  lines.push("\u2502 \u2514\u2500\u2500 package.json");
2038
- lines.push("\u251C\u2500\u2500 shared/");
2039
2040
  } else if (hasFE) {
2040
2041
  lines.push("\u251C\u2500\u2500 src/");
2041
2042
  lines.push("\u251C\u2500\u2500 public/");
@@ -2795,7 +2796,7 @@ function ensureHelpers() {
2795
2796
  }
2796
2797
  var templateCache = /* @__PURE__ */ new Map();
2797
2798
  function protectJsxObjectLiterals(source) {
2798
- return source.replace(/=\{\{/g, "={{{lbrace}}");
2799
+ return source.replace(/=\{\{/g, '={{"{"}}');
2799
2800
  }
2800
2801
  function renderTemplate(templatePath, context) {
2801
2802
  ensureHelpers();
@@ -1,4 +1,8 @@
1
1
  // src/shared/constants.ts
2
+ import { createRequire } from "module";
3
+ var require2 = createRequire(import.meta.url);
4
+ var packageJson = require2("../package.json");
5
+ var VERSION = packageJson.version;
2
6
  var STRUCTURES = {
3
7
  SINGLE_APP: "single-app",
4
8
  MONOREPO: "monorepo",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/deployment/aws/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/deployment/eas-submit/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/deployment/flyio/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/deployment/railway/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/deployment/vercel/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/devops/docker/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/devops/eas-build/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/devops/fastlane/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/devops/github-actions/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/devops/gitlab-ci/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/devtools/commitlint/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/devtools/eslint/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/devtools/husky/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/devtools/lint-staged/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/devtools/prettier/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenWebFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/forms/formik/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenWebFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/forms/react-hook-form/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/async-storage/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/date-fns/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/expo-camera/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/expo-haptics/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/expo-image/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/expo-location/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/expo-secure-store/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/i18next/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/lottie-rn/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/react-native-bottom-sheet/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/react-native-gesture-handler/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/react-native-maps/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/react-native-mmkv/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/react-native-push-notifications/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/react-native-reanimated/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/react-native-svg/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenWebFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/react-table/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenWebFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/frontend-extras/recharts/meta.ts
6
6
  var meta = {
@@ -3,7 +3,12 @@ var fileMap = {
3
3
  files: [
4
4
  { template: "next.config.ts.hbs", outputPath: "next.config.ts", target: "frontend" },
5
5
  { template: "tsconfig.json.hbs", outputPath: "tsconfig.json", target: "frontend" },
6
- { template: "middleware.ts.hbs", outputPath: "middleware.ts", target: "frontend", when: (ctx) => ctx.hasAuth },
6
+ {
7
+ template: "middleware.ts.hbs",
8
+ outputPath: "middleware.ts",
9
+ target: "frontend",
10
+ when: (ctx) => ctx.hasAuth && ctx.hasJwtCustom
11
+ },
7
12
  { template: "app/layout.tsx.hbs", outputPath: "app/layout.tsx", target: "frontend" },
8
13
  { template: "app/page.tsx.hbs", outputPath: "app/page.tsx", target: "frontend" },
9
14
  { template: "app/loading.tsx.hbs", outputPath: "app/loading.tsx", target: "frontend" },
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  main
3
- } from "./chunk-QVS4DSIH.js";
3
+ } from "./chunk-YB5MXG5R.js";
4
4
  export {
5
5
  main
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenNodeBackend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/logging/pino/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenNodeBackend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/logging/winston/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/mobile-navigation/expo-router/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/mobile-navigation/react-navigation/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/monitoring/datadog/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/monitoring/sentry/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/monitoring/sentry-react-native/meta.ts
6
6
  var meta = {
@@ -7,7 +7,7 @@ var fileMap = {
7
7
  { template: "models/user.ts.hbs", outputPath: "src/models/user.ts", target: "backend" },
8
8
  {
9
9
  template: "services/user.service.ts.hbs",
10
- outputPath: "src/services/user.service.ts",
10
+ outputPath: "src/services/user.prisma.service.ts",
11
11
  target: "backend",
12
12
  when: (ctx) => ctx.answers.backend !== "nestjs"
13
13
  },
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/state/mobx/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/state/redux-toolkit/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/state/tanstack-query/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/state/zustand/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../../chunk-FV43KAG3.js";
3
+ } from "../../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/styling/mobile/nativewind/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../../chunk-FV43KAG3.js";
3
+ } from "../../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/styling/mobile/rn-stylesheet/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNonFlutter
3
- } from "../../../chunk-FV43KAG3.js";
3
+ } from "../../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/styling/mobile/styled-components-rn/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenWebFrontend
3
- } from "../../../chunk-FV43KAG3.js";
3
+ } from "../../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/styling/web/css-modules/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenWebFrontend
3
- } from "../../../chunk-FV43KAG3.js";
3
+ } from "../../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/styling/web/styled-components/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenWebFrontend
3
- } from "../../../chunk-FV43KAG3.js";
3
+ } from "../../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/styling/web/tailwind/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenWebFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/testing/cypress/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNativeTesting
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/testing/detox/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/testing/jest/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNativeTesting
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/testing/maestro/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenWebFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/testing/playwright/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/testing/supertest/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenWebFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/testing/testing-library-react/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenMobileNativeTesting
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/testing/testing-library-react-native/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showAlways
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/testing/vitest/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenWebFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/ui-library/ant-design/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenWebFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/ui-library/mui/meta.ts
6
6
  var meta = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  showWhenWebFrontend
3
- } from "../../chunk-FV43KAG3.js";
3
+ } from "../../chunk-ZTXPWYML.js";
4
4
 
5
5
  // src/plugins/ui-library/shadcn/meta.ts
6
6
  var meta = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dartix-software-solutions/create-fullstack-app",
3
- "version": "2.0.7",
3
+ "version": "2.0.10",
4
4
  "description": "CLI tool to scaffold full-stack applications with pluggable architecture",
5
5
  "type": "module",
6
6
  "bin": {