create-einja-app 0.2.1 → 0.2.2

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 (34) hide show
  1. package/README.md +8 -1
  2. package/dist/cli.js +23 -2
  3. package/dist/cli.js.map +1 -1
  4. package/package.json +1 -1
  5. package/templates/default/.env.development +25 -0
  6. package/templates/default/.env.local +24 -0
  7. package/templates/default/.env.production +25 -0
  8. package/templates/default/.env.staging +25 -0
  9. package/templates/default/.github/dependabot.yml +63 -0
  10. package/templates/default/.github/workflows/ci.yml +52 -0
  11. package/templates/default/.github/workflows/claude.yml +38 -0
  12. package/templates/default/.husky/_/applypatch-msg +2 -0
  13. package/templates/default/.husky/_/commit-msg +2 -0
  14. package/templates/default/.husky/_/gitignore +1 -0
  15. package/templates/default/.husky/_/h +22 -0
  16. package/templates/default/.husky/_/husky.sh +9 -0
  17. package/templates/default/.husky/_/post-applypatch +2 -0
  18. package/templates/default/.husky/_/post-checkout +2 -0
  19. package/templates/default/.husky/_/post-commit +2 -0
  20. package/templates/default/.husky/_/post-merge +2 -0
  21. package/templates/default/.husky/_/post-rewrite +2 -0
  22. package/templates/default/.husky/_/pre-applypatch +2 -0
  23. package/templates/default/.husky/_/pre-auto-gc +2 -0
  24. package/templates/default/.husky/_/pre-commit +2 -0
  25. package/templates/default/.husky/_/pre-merge-commit +2 -0
  26. package/templates/default/.husky/_/pre-push +2 -0
  27. package/templates/default/.husky/_/pre-rebase +2 -0
  28. package/templates/default/.husky/_/prepare-commit-msg +2 -0
  29. package/templates/default/.serena/gitignore +1 -0
  30. package/templates/default/.serena/project.yml +84 -0
  31. package/templates/default/gitignore +86 -0
  32. package/templates/default/package.json +1 -1
  33. package/templates/default/worktree.config.json +14 -0
  34. package/templates/default/.templateignore +0 -60
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-einja-app",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "CLI tool to create new projects with Einja Management Template",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,25 @@
1
+ #/-------------------[DOTENV_PUBLIC_KEY]--------------------/
2
+ #/ public-key encryption for .env files /
3
+ #/ [how it works](https://dotenvx.com/encryption) /
4
+ #/----------------------------------------------------------/
5
+ DOTENV_PUBLIC_KEY_DEVELOPMENT="02e723fedf2667d7fd82b661d6c9c541d945bb5a3b0c9dcd792bb13316bc9eea33"
6
+
7
+ # .env.development
8
+ # ============================================
9
+ # Development Environment
10
+ # ============================================
11
+ # レビュー環境・開発サーバー用
12
+ # dotenvxで暗号化されます
13
+ #
14
+ # 編集方法: pnpm env:update → 「環境設定を変更」→「開発環境」
15
+ # ============================================
16
+
17
+ # NextAuth設定
18
+ NEXTAUTH_SECRET=encrypted:BMTnqvWY5Q6wkO8yK88NjZENbuHmeiG1AzbkCMQS1sptkO5yBbF4S53DcJFua8KbwUzmHZQ3YchPaSYeP5TCfzpZMhFHthMqlyYDC/SDtEAK1lMxrRpTs90xAx4luuzaB1mp9Ke5d/E5jidsZLmH2wSy+h52zPhCfoIgqcj8x4x5
19
+ NEXTAUTH_URL=encrypted:BMGo5wIaRGkvx1SOHy1j9QozQRYXNzPVDdkaPx1eE9mwCW8a2+UGZERvq/wZbvTU9L0rQKu/q7xTa2RES9ywA5fNmv+DE8a5k/D7RhC7FraShBr5D9h/bzLh6y8KUzIRkJILowbnctWv7vm4VU84DC2MYMWv5RUo
20
+
21
+ # データベース設定
22
+ DATABASE_URL="encrypted:BAUzyWU+Q7zA3KKoDbWfcf3/eAPoa/34i6D8UcK+yqDwe4YZhE1TpbU30bBCX3iUn0H44n55lFXRJIpoVCHGb9s4NN7UXZDlmWaXvBnVYmfqquk8HbVIFADErvDToAAsnLbUo13BowqYo4LT/c1XY1TkUiH6WLatJfWdW3TWkQNEaic2M1xp0sjb+rk1w2YPUbtaSNpq8lwZrO3zh+U5ubaCqMltKg=="
23
+
24
+ # アプリケーション設定
25
+ NODE_ENV=encrypted:BNZR6ZdnWcbpb7CPj5CgUwZhQqskLn9LTVRE9Mt4mhjK/xPFLFeNV3AN5kKjWX4zEg9mbP9ibhKAXApEHHCKD1X5q0PxtS9si/mqRtY9ghXQfCs3EtR8N3cj4pihE6ua8zG3Ez0UVsEYE66p
@@ -0,0 +1,24 @@
1
+ #/-------------------[DOTENV_PUBLIC_KEY]--------------------/
2
+ #/ public-key encryption for .env files /
3
+ #/ [how it works](https://dotenvx.com/encryption) /
4
+ #/----------------------------------------------------------/
5
+ DOTENV_PUBLIC_KEY_LOCAL="022b0e66b8f5d58906b697e73bc4504069af042c341fb7187c344131692356d482"
6
+
7
+ # .env.local
8
+ # ============================================
9
+ # ローカル開発用 共通設定
10
+ # ============================================
11
+ # チーム全員で共有する開発設定
12
+ # 暗号化されてGitで追跡
13
+ #
14
+ # 編集方法: pnpm env:update → 「環境設定を変更」→「ローカル開発環境」
15
+
16
+ # NextAuth設定
17
+ AUTH_SECRET=encrypted:BCJOGgGe2Zll5OtT2dc2tsoSWitsoEgzThpXR/owJUuR3avUFrxNG4s6t+/b+0ouuy6jJrrVc/RaEr0FfJqPccWEIKZK3B3ftF+KbTka1MZ87l76MsC/CraMqMTOqyGBxsgkvDP2yffNnth2SfjXBGRuhYH02xcxVS+hgm5xgo4Mkuj5/wzK+qOD
18
+ NEXTAUTH_URL=encrypted:BKCa2ECipqfOfEwAdkJhIFwoIGuAz8DLhdtX9kWlQ9/fUVbs3XhPxpXoJouP5ptuHOHygJRIavYu3w84sIrfb29m9dcO2R2JSqGolE51z7Z7xHuD8jsrvBOrJgEESsLqejpLgj7O2e0d4OZRPqOd8jS5zFvwBQ==
19
+
20
+ # データベース設定
21
+ DATABASE_URL="encrypted:BNNQ1YMp67p+1iChlXNFEj8rx5ds/EBl0YXL+q8YvuX0Vul3CjCtLcls2U2IxGhL1l1cKuGNUciqVj0QzKPAoIrpF/7Pf+g42Mz/NMWO1cFaoxUJXSv+cvXmrRXITp4sruxfvZUhMYJAXCm2dbiGWPNkzrhBjCnhAVVTiOtEMzCD4w6WaF5sTTMrTNn7gYIvUL629nkR0Bi4VO5pmGJa6kWP"
22
+
23
+ # アプリケーションポート
24
+ PORT_WEB=encrypted:BKo3Qag2ysy89RmVIcIqG/doWwSiHle24PMVUNXbVFrD0jh3H5cH9CIwq6EBIB0G/EXK1aec4GK9cYgljdZy/8hZWVTIKgxtQXESTlUkzUiruZ/RgfQu38QVPnJEuw1DhiYkobE=
@@ -0,0 +1,25 @@
1
+ #/-------------------[DOTENV_PUBLIC_KEY]--------------------/
2
+ #/ public-key encryption for .env files /
3
+ #/ [how it works](https://dotenvx.com/encryption) /
4
+ #/----------------------------------------------------------/
5
+ DOTENV_PUBLIC_KEY_PRODUCTION="03762856de9995b05b0bab64d15f4d23804365693ffe1fa418d2d7b0d9e6759885"
6
+
7
+ # .env.production
8
+ # ============================================
9
+ # Production Environment
10
+ # ============================================
11
+ # 本番環境用
12
+ # dotenvxで暗号化されます
13
+ #
14
+ # 編集方法: pnpm env:update → 「環境設定を変更」→「本番環境」
15
+ # ============================================
16
+
17
+ # NextAuth設定
18
+ NEXTAUTH_SECRET=encrypted:BKWps41fS2ZxysyF8QaWcaywV8koGwQB31/3tJ//nqmVw1SeVqYOyexUpyfN+YwTJIxqbmQCRia48xj5S1xm3IbtYQInoOafdGBSEUu7msnJEI48BA+vsp3Ubkvk92aPtAPSY3jQ10KmIiPNte7Vew80EC47h/qL4LhJ9zABBUo=
19
+ NEXTAUTH_URL=encrypted:BIemo0n4+lKkhiWboY6FfEmmsl0QSeiBosdF53jmJ5ly+RavNyfBKUzHlfkio1VolToQ1sRDHTTZ+ojSTsI+GclYfugjbisPWq5UrT/SItJOVcxSmqqKTKDI3metYAQzxeclt8RDKlp6Zmdus+4HL32NAgTgsVi6
20
+
21
+ # データベース設定
22
+ DATABASE_URL="encrypted:BCZPHlgH9NiD1y2Vw+yBmDLqXWdZ9aWVf6LR2WkWOjYVw9jv9nwWB/n1pWVIhBPL0FQjcjIW8WdvfNRHs5uVssU024lrY5YuY8kHSziPXwkUI3Ja5uc3AZ89/v4DkJQSHyhpFJftmcwdpOqORbA+PaYCiPI5OUZA+m5KZfKskVi+5MMpeC86BBZhtquvpwI/E5o+m10WOm4qwKBh2KNfDwWa6X2u1H1iCRUf4xeUWw0xFnE="
23
+
24
+ # アプリケーション設定
25
+ NODE_ENV=encrypted:BN9bQHsWrKSKGppd7uQYXQdJe9bF9IF+MVwmU8x60XH/ea2KzvGs/NlU1kK2hJB86bpUdETJA0GEj98efezMlOdmEz0JUtqmkgR6aoTPw93ZAOsthOWYt9Ae4U61LArEbKbVW/us74ifkFE=
@@ -0,0 +1,25 @@
1
+ #/-------------------[DOTENV_PUBLIC_KEY]--------------------/
2
+ #/ public-key encryption for .env files /
3
+ #/ [how it works](https://dotenvx.com/encryption) /
4
+ #/----------------------------------------------------------/
5
+ DOTENV_PUBLIC_KEY_STAGING="031e7154973033a21597798caa7ceaf27927ee3073788711f9b4a6a1727285f8ac"
6
+
7
+ # .env.staging
8
+ # ============================================
9
+ # Staging Environment
10
+ # ============================================
11
+ # ステージング環境用
12
+ # dotenvxで暗号化されます
13
+ #
14
+ # 編集方法: pnpm env:update → 「環境設定を変更」→「ステージング環境」
15
+ # ============================================
16
+
17
+ # NextAuth設定
18
+ NEXTAUTH_SECRET=encrypted:BCy9ZDBIcpPu3JXU0Z5UnhuRUGmhRw+XKTfZ3QQdjLZdAth0jBikSdp9pm3ZL7+d6/ZaFdOyLx8ArhrMeL0tp0pKBG4o1WGApCSimhLp3t3sFDmvrG57UUcq6Lqx8q5XDNPy12bGLAXSbcT1SeKAXbkbz1T8jSwiUZvd8Rg=
19
+ NEXTAUTH_URL=encrypted:BLqDacVsIi7Tu+/Lh9pmFx1WGjUGRex1eJrDjZp1TEtcHfO5FN68TtAgDT9GZZ95xwXdgsekPH+0grrO5+Hlb+VNueLSJ3OCZ7GP/x0vtJ+jQVJZfjwVmJx4rDxKT+muFnOc5TzoJFpgIbu47RS+/3qDr/YQ892/fFLykA==
20
+
21
+ # データベース設定
22
+ DATABASE_URL="encrypted:BELXwmwSBj7x/DTwtestSBkYX4XSL3Gl/98KRqb9qCAEAp4kYQNcM9NSpnPZQwQUzx9akZds4ZU3qyxGm9kNwrrMVN3CHpjfHhMPOjMJudaEQweBxzocLUZ0bOtwGCZoIQvR79L7DKgpQUs5v2Zim31MJte9pr2+QaT5QZ4FD+RKKJRBCDCyMFSVTXcVbd1x9BiItr86L73CC4kEj63YaU4r+StOMxdlrTcOfRjOIODXUbQ="
23
+
24
+ # アプリケーション設定
25
+ NODE_ENV=encrypted:BEyf1H+ISL3+Qf91nN6ju4DqvWu37C7isBbF6qVbxL0+oOh6a2aEgFIvuBBezNXFWtFnlBAS2bPwSBtd1vo8GEiCKwBAWAKUFUVhSf9lcrNkLIK0VFG8+b+JK98CrCFNjiyxgKD/gvR4OmE=
@@ -0,0 +1,63 @@
1
+ version: 2
2
+ updates:
3
+ # npm パッケージの更新設定
4
+ - package-ecosystem: "npm"
5
+ directory: "/"
6
+ schedule:
7
+ interval: "weekly"
8
+ day: "monday"
9
+ time: "09:00"
10
+ timezone: "Asia/Tokyo"
11
+ open-pull-requests-limit: 10
12
+ reviewers:
13
+ - "einja-dev/developers"
14
+ labels:
15
+ - "dependencies"
16
+ - "npm"
17
+ commit-message:
18
+ prefix: "chore"
19
+ prefix-development: "chore"
20
+ include: "scope"
21
+ groups:
22
+ development-dependencies:
23
+ dependency-type: "development"
24
+ update-types:
25
+ - "minor"
26
+ - "patch"
27
+ production-dependencies:
28
+ dependency-type: "production"
29
+ update-types:
30
+ - "minor"
31
+ - "patch"
32
+ # Auto-merge設定
33
+ auto-merge: true
34
+ auto-merge-conditions:
35
+ - "author=dependabot[bot]"
36
+ - or:
37
+ - "update-type=version-update:semver-patch"
38
+ - "only-lockfile-modifications"
39
+
40
+ # GitHub Actions の更新設定
41
+ - package-ecosystem: "github-actions"
42
+ directory: "/"
43
+ schedule:
44
+ interval: "weekly"
45
+ day: "monday"
46
+ time: "09:00"
47
+ timezone: "Asia/Tokyo"
48
+ open-pull-requests-limit: 10
49
+ reviewers:
50
+ - "einja-dev/developers"
51
+ labels:
52
+ - "dependencies"
53
+ - "github-actions"
54
+ commit-message:
55
+ prefix: "chore"
56
+ include: "scope"
57
+ # Auto-merge設定
58
+ auto-merge: true
59
+ auto-merge-conditions:
60
+ - "author=dependabot[bot]"
61
+ - or:
62
+ - "update-type=version-update:semver-patch"
63
+ - "only-lockfile-modifications"
@@ -0,0 +1,52 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
+
17
+ - name: Setup pnpm
18
+ uses: pnpm/action-setup@v4
19
+ with:
20
+ version: 10.14.0
21
+
22
+ - name: Setup Node.js
23
+ uses: actions/setup-node@v4
24
+ with:
25
+ node-version: '22.16.0'
26
+ cache: 'pnpm'
27
+
28
+ - name: Install dependencies
29
+ run: pnpm install --frozen-lockfile
30
+
31
+ - name: Generate Prisma Client
32
+ run: pnpm db:generate
33
+
34
+ - name: Generate Panda CSS
35
+ run: |
36
+ pnpm --filter @einja/web panda
37
+ # Panda CSS生成確認
38
+ if [ ! -d "apps/web/styled-system" ]; then
39
+ echo "Error: styled-system directory was not created"
40
+ exit 1
41
+ fi
42
+ echo "Panda CSS generated successfully"
43
+ ls -la apps/web/styled-system
44
+
45
+ - name: Run TypeScript type check
46
+ run: pnpm typecheck
47
+
48
+ - name: Run lint
49
+ run: pnpm lint
50
+
51
+ - name: Run tests
52
+ run: pnpm test
@@ -0,0 +1,38 @@
1
+ name: Claude Code Actions
2
+
3
+ on:
4
+ issue_comment:
5
+ types: [created]
6
+ pull_request_review_comment:
7
+ types: [created]
8
+ issues:
9
+ types: [opened, assigned, edited]
10
+ pull_request_review:
11
+ types: [submitted]
12
+
13
+ jobs:
14
+ claude:
15
+ # @claudeメンションがある場合のみ実行(ボットは除外)
16
+ if: |
17
+ github.event.sender.type != 'Bot' &&
18
+ (
19
+ (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
20
+ (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
21
+ (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
22
+ (github.event_name == 'issues' && contains(github.event.issue.body, '@claude'))
23
+ )
24
+ runs-on: ubuntu-latest
25
+ permissions:
26
+ contents: write
27
+ pull-requests: write
28
+ issues: write
29
+ steps:
30
+ - name: Checkout repository
31
+ uses: actions/checkout@v4
32
+ with:
33
+ fetch-depth: 1
34
+
35
+ - name: Run Claude
36
+ uses: anthropics/claude-code-action@beta
37
+ with:
38
+ anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname "$0")/h"
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname "$0")/h"
@@ -0,0 +1 @@
1
+ *
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env sh
2
+ [ "$HUSKY" = "2" ] && set -x
3
+ n=$(basename "$0")
4
+ s=$(dirname "$(dirname "$0")")/$n
5
+
6
+ [ ! -f "$s" ] && exit 0
7
+
8
+ if [ -f "$HOME/.huskyrc" ]; then
9
+ echo "husky - '~/.huskyrc' is DEPRECATED, please move your code to ~/.config/husky/init.sh"
10
+ fi
11
+ i="${XDG_CONFIG_HOME:-$HOME/.config}/husky/init.sh"
12
+ [ -f "$i" ] && . "$i"
13
+
14
+ [ "${HUSKY-}" = "0" ] && exit 0
15
+
16
+ export PATH="node_modules/.bin:$PATH"
17
+ sh -e "$s" "$@"
18
+ c=$?
19
+
20
+ [ $c != 0 ] && echo "husky - $n script failed (code $c)"
21
+ [ $c = 127 ] && echo "husky - command not found in PATH=$PATH"
22
+ exit $c
@@ -0,0 +1,9 @@
1
+ echo "husky - DEPRECATED
2
+
3
+ Please remove the following two lines from $0:
4
+
5
+ #!/usr/bin/env sh
6
+ . \"\$(dirname -- \"\$0\")/_/husky.sh\"
7
+
8
+ They WILL FAIL in v10.0.0
9
+ "
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname "$0")/h"
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname "$0")/h"
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname "$0")/h"
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname "$0")/h"
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname "$0")/h"
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname "$0")/h"
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname "$0")/h"
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname "$0")/h"
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname "$0")/h"
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname "$0")/h"
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname "$0")/h"
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname "$0")/h"
@@ -0,0 +1 @@
1
+ /cache
@@ -0,0 +1,84 @@
1
+ # list of languages for which language servers are started; choose from:
2
+ # al bash clojure cpp csharp csharp_omnisharp
3
+ # dart elixir elm erlang fortran go
4
+ # haskell java julia kotlin lua markdown
5
+ # nix perl php python python_jedi r
6
+ # rego ruby ruby_solargraph rust scala swift
7
+ # terraform typescript typescript_vts yaml zig
8
+ # Note:
9
+ # - For C, use cpp
10
+ # - For JavaScript, use typescript
11
+ # Special requirements:
12
+ # - csharp: Requires the presence of a .sln file in the project folder.
13
+ # When using multiple languages, the first language server that supports a given file will be used for that file.
14
+ # The first language is the default language and the respective language server will be used as a fallback.
15
+ # Note that when using the JetBrains backend, language servers are not used and this list is correspondingly ignored.
16
+ languages:
17
+ - typescript
18
+
19
+ # the encoding used by text files in the project
20
+ # For a list of possible encodings, see https://docs.python.org/3.11/library/codecs.html#standard-encodings
21
+ encoding: "utf-8"
22
+
23
+ # whether to use the project's gitignore file to ignore files
24
+ # Added on 2025-04-07
25
+ ignore_all_files_in_gitignore: true
26
+
27
+ # list of additional paths to ignore
28
+ # same syntax as gitignore, so you can use * and **
29
+ # Was previously called `ignored_dirs`, please update your config if you are using that.
30
+ # Added (renamed) on 2025-04-07
31
+ ignored_paths: []
32
+
33
+ # whether the project is in read-only mode
34
+ # If set to true, all editing tools will be disabled and attempts to use them will result in an error
35
+ # Added on 2025-04-18
36
+ read_only: false
37
+
38
+ # list of tool names to exclude. We recommend not excluding any tools, see the readme for more details.
39
+ # Below is the complete list of tools for convenience.
40
+ # To make sure you have the latest list of tools, and to view their descriptions,
41
+ # execute `uv run scripts/print_tool_overview.py`.
42
+ #
43
+ # * `activate_project`: Activates a project by name.
44
+ # * `check_onboarding_performed`: Checks whether project onboarding was already performed.
45
+ # * `create_text_file`: Creates/overwrites a file in the project directory.
46
+ # * `delete_lines`: Deletes a range of lines within a file.
47
+ # * `delete_memory`: Deletes a memory from Serena's project-specific memory store.
48
+ # * `execute_shell_command`: Executes a shell command.
49
+ # * `find_referencing_code_snippets`: Finds code snippets in which the symbol at the given location is referenced.
50
+ # * `find_referencing_symbols`: Finds symbols that reference the symbol at the given location (optionally filtered by type).
51
+ # * `find_symbol`: Performs a global (or local) search for symbols with/containing a given name/substring (optionally filtered by type).
52
+ # * `get_current_config`: Prints the current configuration of the agent, including the active and available projects, tools, contexts, and modes.
53
+ # * `get_symbols_overview`: Gets an overview of the top-level symbols defined in a given file.
54
+ # * `initial_instructions`: Gets the initial instructions for the current project.
55
+ # Should only be used in settings where the system prompt cannot be set,
56
+ # e.g. in clients you have no control over, like Claude Desktop.
57
+ # * `insert_after_symbol`: Inserts content after the end of the definition of a given symbol.
58
+ # * `insert_at_line`: Inserts content at a given line in a file.
59
+ # * `insert_before_symbol`: Inserts content before the beginning of the definition of a given symbol.
60
+ # * `list_dir`: Lists files and directories in the given directory (optionally with recursion).
61
+ # * `list_memories`: Lists memories in Serena's project-specific memory store.
62
+ # * `onboarding`: Performs onboarding (identifying the project structure and essential tasks, e.g. for testing or building).
63
+ # * `prepare_for_new_conversation`: Provides instructions for preparing for a new conversation (in order to continue with the necessary context).
64
+ # * `read_file`: Reads a file within the project directory.
65
+ # * `read_memory`: Reads the memory with the given name from Serena's project-specific memory store.
66
+ # * `remove_project`: Removes a project from the Serena configuration.
67
+ # * `replace_lines`: Replaces a range of lines within a file with new content.
68
+ # * `replace_symbol_body`: Replaces the full definition of a symbol.
69
+ # * `restart_language_server`: Restarts the language server, may be necessary when edits not through Serena happen.
70
+ # * `search_for_pattern`: Performs a search for a pattern in the project.
71
+ # * `summarize_changes`: Provides instructions for summarizing the changes made to the codebase.
72
+ # * `switch_modes`: Activates modes by providing a list of their names
73
+ # * `think_about_collected_information`: Thinking tool for pondering the completeness of collected information.
74
+ # * `think_about_task_adherence`: Thinking tool for determining whether the agent is still on track with the current task.
75
+ # * `think_about_whether_you_are_done`: Thinking tool for determining whether the task is truly completed.
76
+ # * `write_memory`: Writes a named memory (for future reference) to Serena's project-specific memory store.
77
+ excluded_tools: []
78
+
79
+ # initial prompt for the project. It will always be given to the LLM upon activating the project
80
+ # (contrary to the memories, which are loaded on demand).
81
+ initial_prompt: ""
82
+
83
+ project_name: "einja-management-template"
84
+ included_optional_tools: []
@@ -0,0 +1,86 @@
1
+ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2
+
3
+ # dependencies
4
+ **/node_modules
5
+ /.pnp
6
+ .pnp.*
7
+ .yarn/*
8
+ !.yarn/patches
9
+ !.yarn/plugins
10
+ !.yarn/releases
11
+ !.yarn/versions
12
+
13
+ # testing
14
+ /coverage
15
+
16
+ # next.js
17
+ **/.next/
18
+ /out/
19
+
20
+ # production
21
+ /build
22
+
23
+ # misc
24
+ .DS_Store
25
+ *.pem
26
+
27
+ # debug
28
+ npm-debug.log*
29
+ yarn-debug.log*
30
+ yarn-error.log*
31
+ .pnpm-debug.log*
32
+
33
+ # dev server logs
34
+ log/*.log
35
+ log/*.pid
36
+
37
+ # env files
38
+ .env
39
+ .env.personal
40
+ .env.keys
41
+ .env.local.tmp
42
+ .env.local.bak
43
+
44
+ # dotenvx - 以下は追跡する(暗号化済み)
45
+ # .env.example(テンプレート)
46
+ # .env.personal.example(個人用テンプレート)
47
+ # .env.local(ローカル開発用・暗号化済み)
48
+ # .env.development(dev検証環境・暗号化済み)
49
+ # .env.staging(ステージング・暗号化済み)
50
+ # .env.production(本番・暗号化済み)
51
+ # .env.ci(CI/CD・暗号化済み)
52
+
53
+ # vercel
54
+ .vercel
55
+
56
+ # turborepo
57
+ .turbo
58
+
59
+ # typescript
60
+ *.tsbuildinfo
61
+ next-env.d.ts
62
+
63
+ # package build outputs
64
+ packages/config/dist
65
+ packages/cli/dist
66
+
67
+ ## Panda
68
+ styled-system
69
+ styled-system-studio
70
+ *storybook.log
71
+ storybook-static
72
+
73
+ # claude
74
+ .claude/settings.local.json
75
+
76
+ # mcp
77
+ .vibe-kanban.json
78
+
79
+ # prisma
80
+ prisma/dev.db
81
+
82
+ # 作業記録(個人用)
83
+ modifications/
84
+
85
+ # Serena設定(個人用)
86
+ **/.serena/
@@ -38,11 +38,11 @@
38
38
  "db:migrate": "turbo run db:migrate",
39
39
  "db:studio": "turbo run db:studio",
40
40
  "dev:setup": "tsx scripts/setup-dev.ts",
41
- "env:update": "tsx scripts/env.ts",
42
41
  "env:prepare": "tsx scripts/worktree/dev.ts --setup-only",
43
42
  "cli-template:update": "tsx scripts/cli-template-update.ts",
44
43
  "template:update": "tsx scripts/template-update.ts",
45
44
  "dotenvx": "dotenvx",
45
+ "env:update": "tsx scripts/env.ts",
46
46
  "env:encrypt": "dotenvx encrypt",
47
47
  "env:show": "tsx scripts/env-show.ts",
48
48
  "task:loop": "npx @einja/dev-cli task:loop",
@@ -0,0 +1,14 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "postgres": {
4
+ "port": 25432,
5
+ "containerName": "einja-management-postgres"
6
+ },
7
+ "apps": [
8
+ {
9
+ "id": "web",
10
+ "portRangeStart": 3000,
11
+ "rangeSize": 1000
12
+ }
13
+ ]
14
+ }
@@ -1,60 +0,0 @@
1
- # create-einja-app テンプレート除外設定
2
- # このファイルはテンプレート更新時に除外するファイル・ディレクトリを定義します
3
-
4
- # CLI関連パッケージ
5
- packages/cli/
6
- packages/create-einja-app/
7
-
8
- # 依存関係・ビルド成果物
9
- node_modules/
10
- .next/
11
- out/
12
- dist/
13
- build/
14
- styled-system/
15
-
16
- # Git関連
17
- .git/
18
- .github/
19
-
20
- # ログファイル
21
- *.log
22
- logs/
23
-
24
- # 環境変数ファイル
25
- .env
26
- .env.local
27
- .env.*.local
28
- .env.production
29
- .env.staging
30
- .env.development
31
-
32
- # IDE設定
33
- .idea/
34
- .vscode/settings.json
35
-
36
- # OS固有ファイル
37
- .DS_Store
38
- Thumbs.db
39
-
40
- # テストカバレッジ
41
- coverage/
42
-
43
- # Prisma migrations(テンプレートには含めない)
44
- packages/database/prisma/migrations/
45
-
46
- # Worktree設定(プロジェクト固有)
47
- worktree.config.json
48
-
49
- # タスク実行関連スクリプト(Einja固有)
50
- scripts/task-vibe-kanban-loop/
51
-
52
- # Einja固有のClaude設定
53
- .claude/agents/einja/
54
- .claude/commands/einja/
55
- .claude/skills/einja-*/
56
-
57
- # 仕様書・タスク記録(Einja固有のプロジェクト管理ファイル)
58
- docs/specs/
59
- modifications/
60
- qa-tests/