create-ely 0.1.2 → 0.1.3

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 (71) hide show
  1. package/README.md +36 -27
  2. package/package.json +14 -4
  3. package/scripts/postinstall.ts +43 -0
  4. package/src/constants.ts +20 -0
  5. package/src/git.ts +95 -0
  6. package/src/index.ts +123 -251
  7. package/src/template.ts +62 -0
  8. package/src/utils.ts +64 -0
  9. package/templates.zip +0 -0
  10. package/templates/monorepo/README.md +0 -75
  11. package/templates/monorepo/apps/backend/.cursor/mcp.json +0 -8
  12. package/templates/monorepo/apps/backend/.dockerignore +0 -60
  13. package/templates/monorepo/apps/backend/.env.example +0 -19
  14. package/templates/monorepo/apps/backend/.github/workflows/lint.yml +0 -31
  15. package/templates/monorepo/apps/backend/.github/workflows/tests.yml +0 -36
  16. package/templates/monorepo/apps/backend/AGENTS.md +0 -79
  17. package/templates/monorepo/apps/backend/CHANGELOG.md +0 -190
  18. package/templates/monorepo/apps/backend/CLAUDE.md +0 -149
  19. package/templates/monorepo/apps/backend/Dockerfile +0 -35
  20. package/templates/monorepo/apps/backend/LICENSE +0 -21
  21. package/templates/monorepo/apps/backend/README.md +0 -274
  22. package/templates/monorepo/apps/backend/biome.json +0 -58
  23. package/templates/monorepo/apps/backend/bun.lock +0 -303
  24. package/templates/monorepo/apps/backend/bunfig.toml +0 -4
  25. package/templates/monorepo/apps/backend/docker-compose.yml +0 -37
  26. package/templates/monorepo/apps/backend/drizzle.config.ts +0 -14
  27. package/templates/monorepo/apps/backend/package.json +0 -42
  28. package/templates/monorepo/apps/backend/src/common/config.ts +0 -29
  29. package/templates/monorepo/apps/backend/src/common/logger.ts +0 -18
  30. package/templates/monorepo/apps/backend/src/db/index.ts +0 -31
  31. package/templates/monorepo/apps/backend/src/db/migrations/20251111132328_curly_spectrum.sql +0 -8
  32. package/templates/monorepo/apps/backend/src/db/migrations/meta/20251111132328_snapshot.json +0 -70
  33. package/templates/monorepo/apps/backend/src/db/migrations/meta/_journal.json +0 -13
  34. package/templates/monorepo/apps/backend/src/db/schema/users.ts +0 -39
  35. package/templates/monorepo/apps/backend/src/main.ts +0 -67
  36. package/templates/monorepo/apps/backend/src/middleware/error-handler.ts +0 -36
  37. package/templates/monorepo/apps/backend/src/modules/users/index.ts +0 -61
  38. package/templates/monorepo/apps/backend/src/modules/users/model.ts +0 -48
  39. package/templates/monorepo/apps/backend/src/modules/users/service.ts +0 -46
  40. package/templates/monorepo/apps/backend/src/tests/users.test.ts +0 -102
  41. package/templates/monorepo/apps/backend/src/util/graceful-shutdown.ts +0 -37
  42. package/templates/monorepo/apps/backend/tsconfig.json +0 -35
  43. package/templates/monorepo/apps/backend-biome.json.template +0 -14
  44. package/templates/monorepo/apps/frontend/README.md +0 -59
  45. package/templates/monorepo/apps/frontend/biome.json +0 -16
  46. package/templates/monorepo/apps/frontend/components.json +0 -21
  47. package/templates/monorepo/apps/frontend/index.html +0 -15
  48. package/templates/monorepo/apps/frontend/package.json +0 -48
  49. package/templates/monorepo/apps/frontend/public/favicon.ico +0 -0
  50. package/templates/monorepo/apps/frontend/src/assets/fonts/.gitkeep +0 -0
  51. package/templates/monorepo/apps/frontend/src/assets/images/.gitkeep +0 -0
  52. package/templates/monorepo/apps/frontend/src/features/layout/Header.tsx +0 -73
  53. package/templates/monorepo/apps/frontend/src/main.tsx +0 -36
  54. package/templates/monorepo/apps/frontend/src/routeTree.gen.ts +0 -95
  55. package/templates/monorepo/apps/frontend/src/routes/__root.tsx +0 -25
  56. package/templates/monorepo/apps/frontend/src/routes/index.tsx +0 -34
  57. package/templates/monorepo/apps/frontend/src/routes/users/index.tsx +0 -79
  58. package/templates/monorepo/apps/frontend/src/routes/users/new.tsx +0 -148
  59. package/templates/monorepo/apps/frontend/src/shared/api/client.ts +0 -6
  60. package/templates/monorepo/apps/frontend/src/shared/components/.gitkeep +0 -0
  61. package/templates/monorepo/apps/frontend/src/shared/constants/.gitkeep +0 -0
  62. package/templates/monorepo/apps/frontend/src/shared/hooks/.gitkeep +0 -0
  63. package/templates/monorepo/apps/frontend/src/shared/types/.gitkeep +0 -0
  64. package/templates/monorepo/apps/frontend/src/shared/utils/utils.ts +0 -6
  65. package/templates/monorepo/apps/frontend/src/styles.css +0 -138
  66. package/templates/monorepo/apps/frontend/src/vite-env.d.ts +0 -13
  67. package/templates/monorepo/apps/frontend/tsconfig.json +0 -27
  68. package/templates/monorepo/apps/frontend/vite.config.ts +0 -27
  69. package/templates/monorepo/biome.json +0 -65
  70. package/templates/monorepo/bun.lock +0 -1044
  71. package/templates/monorepo/package.json +0 -13
@@ -1,27 +0,0 @@
1
- {
2
- "include": ["**/*.ts", "**/*.tsx"],
3
- "compilerOptions": {
4
- "target": "ES2022",
5
- "jsx": "react-jsx",
6
- "module": "ESNext",
7
- "lib": ["ES2022", "DOM", "DOM.Iterable"],
8
-
9
- /* Bundler mode */
10
- "moduleResolution": "bundler",
11
- "allowImportingTsExtensions": true,
12
- "verbatimModuleSyntax": true,
13
- "noEmit": true,
14
-
15
- /* Linting */
16
- "skipLibCheck": true,
17
- "strict": true,
18
- "noUnusedLocals": true,
19
- "noUnusedParameters": true,
20
- "noFallthroughCasesInSwitch": true,
21
- "noUncheckedSideEffectImports": true,
22
- "baseUrl": ".",
23
- "paths": {
24
- "@/*": ["./src/*"]
25
- }
26
- }
27
- }
@@ -1,27 +0,0 @@
1
- import { fileURLToPath, URL } from 'node:url';
2
- import tailwindcss from '@tailwindcss/vite';
3
- import { devtools } from '@tanstack/devtools-vite';
4
- import { tanstackRouter } from '@tanstack/router-plugin/vite';
5
- import viteReact from '@vitejs/plugin-react';
6
- import { defineConfig } from 'vite';
7
-
8
- // https://vitejs.dev/config/
9
- export default defineConfig({
10
- plugins: [
11
- devtools(),
12
- tanstackRouter({
13
- target: 'react',
14
- autoCodeSplitting: true,
15
- }),
16
- viteReact(),
17
- tailwindcss(),
18
- ],
19
- resolve: {
20
- alias: {
21
- '@': fileURLToPath(new URL('./src', import.meta.url)),
22
- },
23
- },
24
- server: {
25
- port: 5173,
26
- },
27
- });
@@ -1,65 +0,0 @@
1
- {
2
- "$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
3
-
4
- "vcs": {
5
- "enabled": true,
6
- "clientKind": "git",
7
- "useIgnoreFile": true
8
- },
9
-
10
- "files": {
11
- "ignoreUnknown": false,
12
- "includes": ["**/*.ts", "**/*.tsx", "**/*.json", "**/*.md"]
13
- },
14
-
15
- "formatter": {
16
- "enabled": true,
17
- "formatWithErrors": false,
18
- "indentStyle": "space",
19
- "indentWidth": 2,
20
- "lineEnding": "lf",
21
- "lineWidth": 80,
22
- "attributePosition": "auto",
23
- "bracketSpacing": true,
24
- "expand": "auto"
25
- },
26
-
27
- "linter": {
28
- "enabled": true,
29
- "rules": {
30
- "recommended": true,
31
- "complexity": {
32
- "noStaticOnlyClass": "off"
33
- }
34
- }
35
- },
36
-
37
- "javascript": {
38
- "formatter": {
39
- "quoteStyle": "single",
40
- "jsxQuoteStyle": "double",
41
- "quoteProperties": "asNeeded",
42
- "trailingCommas": "all",
43
- "semicolons": "always",
44
- "arrowParentheses": "always",
45
- "bracketSameLine": false,
46
- "attributePosition": "auto",
47
- "expand": "auto"
48
- }
49
- },
50
-
51
- "css": {
52
- "parser": {
53
- "tailwindDirectives": true
54
- }
55
- },
56
-
57
- "assist": {
58
- "enabled": true,
59
- "actions": {
60
- "source": {
61
- "organizeImports": "on"
62
- }
63
- }
64
- }
65
- }