create-origo-app 0.1.0 → 0.1.1

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 (133) hide show
  1. package/README.md +315 -0
  2. package/dist/base/backend/express/.env +3 -0
  3. package/dist/base/backend/express/javascript/src/app.js +25 -0
  4. package/dist/base/backend/express/javascript/src/config/env.js +10 -0
  5. package/dist/base/backend/express/javascript/src/routes/index.js +18 -0
  6. package/dist/base/backend/express/javascript/src/server.js +28 -0
  7. package/dist/base/backend/express/manifest.js +61 -0
  8. package/dist/base/backend/express/typescript/src/app.ts +25 -0
  9. package/dist/base/backend/express/typescript/src/config/env.ts +10 -0
  10. package/dist/base/backend/express/typescript/src/routes/index.ts +18 -0
  11. package/dist/base/backend/express/typescript/src/server.ts +28 -0
  12. package/dist/base/backend/express/typescript/tsconfig.server.json +16 -0
  13. package/dist/base/backend/fastify/javascript/src/app.js +16 -0
  14. package/dist/base/backend/fastify/javascript/src/routes/index.js +18 -0
  15. package/dist/base/backend/fastify/javascript/src/server.js +27 -0
  16. package/dist/base/backend/fastify/manifest.js +61 -0
  17. package/dist/base/backend/fastify/typescript/src/app.ts +16 -0
  18. package/dist/base/backend/fastify/typescript/src/routes/index.ts +20 -0
  19. package/dist/base/backend/fastify/typescript/src/server.ts +27 -0
  20. package/dist/base/frontend/react/app/App.css +308 -0
  21. package/dist/base/frontend/react/app/App.tsx +59 -0
  22. package/dist/base/frontend/react/app/assets/react.svg +1 -0
  23. package/dist/base/frontend/react/app/assets/vite.svg +1 -0
  24. package/dist/base/frontend/react/app/components/Counter.tsx +16 -0
  25. package/dist/base/frontend/react/app/components/OrigoLogo.tsx +32 -0
  26. package/dist/base/frontend/react/app/components/PingButton.tsx +45 -0
  27. package/dist/base/frontend/react/app/index.css +27 -0
  28. package/dist/base/frontend/react/app/main.tsx +17 -0
  29. package/dist/base/frontend/react/app/vite-env.d.ts +2 -0
  30. package/dist/base/frontend/react/html/index.html +23 -0
  31. package/dist/base/frontend/react/manifest.js +180 -0
  32. package/dist/base/frontend/react/styles/bootstrap/App.tsx +61 -0
  33. package/dist/base/frontend/react/styles/bootstrap/Counter.tsx +16 -0
  34. package/dist/base/frontend/react/styles/bootstrap/PingButton.tsx +52 -0
  35. package/dist/base/frontend/react/styles/bootstrap/index.css +174 -0
  36. package/dist/base/frontend/react/styles/sass/App.scss +231 -0
  37. package/dist/base/frontend/react/styles/sass/App.tsx +59 -0
  38. package/dist/base/frontend/react/styles/sass/PingButton.scss +33 -0
  39. package/dist/base/frontend/react/styles/sass/PingButton.tsx +47 -0
  40. package/dist/base/frontend/react/styles/sass/index.scss +30 -0
  41. package/dist/base/frontend/react/styles/sass/main.tsx +17 -0
  42. package/dist/base/frontend/react/styles/tailwind/App.tsx +66 -0
  43. package/dist/base/frontend/react/styles/tailwind/Counter.tsx +16 -0
  44. package/dist/base/frontend/react/styles/tailwind/PingButton.tsx +52 -0
  45. package/dist/base/frontend/shared/favicon.ico +0 -0
  46. package/dist/base/frontend/shared/origo-logo.svg +6 -0
  47. package/dist/commands/create.js +195 -10
  48. package/dist/commands/index.js +6 -1
  49. package/dist/composer/ast/arrays.js +12 -0
  50. package/dist/composer/ast/config.js +13 -0
  51. package/dist/composer/ast/context.js +73 -0
  52. package/dist/composer/ast/expressions.js +6 -0
  53. package/dist/composer/ast/imports.js +33 -0
  54. package/dist/composer/ast/index.js +6 -0
  55. package/dist/composer/ast/objects.js +32 -0
  56. package/dist/config/architectures.js +5 -0
  57. package/dist/config/backend.js +9 -0
  58. package/dist/config/frontend.js +17 -0
  59. package/dist/config/fullstack.js +30 -0
  60. package/dist/core/copy-template.js +57 -0
  61. package/dist/core/dependency-resolver.js +43 -0
  62. package/dist/core/install-dependencies.js +10 -0
  63. package/dist/core/path-safety.js +22 -0
  64. package/dist/core/project-target.js +40 -0
  65. package/dist/core/version-resolver.js +137 -0
  66. package/dist/features/frontend/styling/tailwind/dependencies.js +10 -0
  67. package/dist/features/frontend/styling/tailwind/feature.js +11 -0
  68. package/dist/features/frontend/styling/tailwind/generator.js +13 -0
  69. package/dist/features/frontend/styling/tailwind/index.js +3 -0
  70. package/dist/features/frontend/styling/tailwind/integrations/index.js +11 -0
  71. package/dist/features/frontend/styling/tailwind/integrations/rsbuild.js +3 -0
  72. package/dist/features/frontend/styling/tailwind/integrations/vite.js +17 -0
  73. package/dist/features/frontend/styling/tailwind/integrations/webpack.js +3 -0
  74. package/dist/features/frontend/styling/tailwind/templates/tailwind-css.js +1 -0
  75. package/dist/features/frontend/styling/tailwind/templates/theme.js +39 -0
  76. package/dist/features/frontend/styling/tailwind/versions/v3.js +19 -0
  77. package/dist/features/frontend/styling/tailwind/versions/v4.js +11 -0
  78. package/dist/features/frontend/ui/shadcn/dependencies.js +8 -0
  79. package/dist/features/frontend/ui/shadcn/feature.js +11 -0
  80. package/dist/features/frontend/ui/shadcn/generator.js +13 -0
  81. package/dist/features/frontend/ui/shadcn/index.js +3 -0
  82. package/dist/features/frontend/ui/shadcn/patches/tsconfig.js +22 -0
  83. package/dist/features/frontend/ui/shadcn/patches/vite-config.js +35 -0
  84. package/dist/features/frontend/ui/shadcn/templates/components-json.js +23 -0
  85. package/dist/features/frontend/ui/shadcn/templates/lib-utils.js +14 -0
  86. package/dist/features/index.js +29 -0
  87. package/dist/generators/backend/base-loader.js +33 -0
  88. package/dist/generators/backend/context.js +54 -0
  89. package/dist/generators/backend/generate.js +72 -0
  90. package/dist/generators/backend/index.js +4 -0
  91. package/dist/generators/backend/resolvers/database.js +1277 -0
  92. package/dist/generators/frontend/base-loader.js +23 -0
  93. package/dist/generators/frontend/context.js +118 -0
  94. package/dist/generators/frontend/css.js +34 -0
  95. package/dist/generators/frontend/file-writer.js +37 -0
  96. package/dist/generators/frontend/generate.js +46 -0
  97. package/dist/generators/frontend/index.js +4 -0
  98. package/dist/generators/frontend/resolvers/base.js +24 -0
  99. package/dist/generators/frontend/resolvers/bundler.js +13 -0
  100. package/dist/generators/frontend/resolvers/index.js +5 -0
  101. package/dist/generators/frontend/resolvers/language.js +55 -0
  102. package/dist/generators/frontend/resolvers/profile.js +41 -0
  103. package/dist/generators/frontend/resolvers/typescript.js +29 -0
  104. package/dist/generators/frontend/template.js +3 -0
  105. package/dist/generators/frontend/validate.js +31 -0
  106. package/dist/generators/package-json/build-package-json.js +33 -0
  107. package/dist/generators/package-json/index.js +2 -0
  108. package/dist/generators/package-json/types.js +1 -0
  109. package/dist/generators/package-json/write-package-json.js +9 -0
  110. package/dist/prompts/architecture.js +5 -0
  111. package/dist/prompts/compatibility.js +18 -0
  112. package/dist/prompts/custom-fullstack.js +10 -0
  113. package/dist/prompts/custom-stack.js +12 -0
  114. package/dist/prompts/database-package.js +15 -0
  115. package/dist/prompts/project-name.js +25 -0
  116. package/dist/prompts/tech-stack.js +54 -0
  117. package/dist/registry/bundlers.js +4 -0
  118. package/dist/registry/databases.js +36 -0
  119. package/dist/registry/features/development.js +40 -0
  120. package/dist/registry/features/quality.js +33 -0
  121. package/dist/registry/features/testing.js +36 -0
  122. package/dist/registry/features/ui.js +37 -0
  123. package/dist/registry/frameworks.js +9 -0
  124. package/dist/registry/packages.js +231 -0
  125. package/dist/registry/routing.js +12 -0
  126. package/dist/registry/runtimes.js +7 -0
  127. package/dist/registry/styling.js +7 -0
  128. package/dist/types/project.js +1 -0
  129. package/dist/ui/banner.js +0 -1
  130. package/dist/ui/checkbox.js +51 -0
  131. package/package.json +36 -4
  132. package/dist/cli.js +0 -22
  133. package/dist/ui/multiselect.js +0 -22
@@ -1,22 +0,0 @@
1
- import { checkbox } from "@inquirer/prompts";
2
- export async function multiSelect(message, options) {
3
- return checkbox({
4
- message,
5
- choices: options.map((option) => ({
6
- name: option.name,
7
- value: option.value,
8
- description: option.description,
9
- checked: option.checked,
10
- })),
11
- pageSize: 8,
12
- required: true,
13
- theme: {
14
- prefix: "◆",
15
- icon: {
16
- checked: "◉",
17
- unchecked: "◯",
18
- cursor: "❯ ",
19
- },
20
- },
21
- });
22
- }