Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/actions/repomix/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,14 @@ runs:
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: "24"
cache: "npm"
- name: Install project dependencies
shell: bash
run: |
# Install project dependencies if package.json exists
# This ensures repomix.config.ts can import from local source
if [ -f "package.json" ]; then
npm install
fi
- name: Install Repomix
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pack-repository.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Pack repository with Repomix
uses: yamadashy/repomix/.github/actions/repomix@main
uses: ./.github/actions/repomix
with:
output: repomix-output.xml

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/schema-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: npm
- run: npm ci
- run: npm run website-generate-schema
- uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6.0.1
- uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v7.0.0
with:
commit_message: 'chore(schema): auto generate schema'
commit_user_name: "github-actions[bot]"
Expand Down
151 changes: 151 additions & 0 deletions website/client/src/public/schemas/1.7.0/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"input": {
"type": "object",
"properties": {
"maxFileSize": {
"type": "number"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"style": {
"type": "string",
"enum": [
"xml",
"markdown",
"json",
"plain"
]
},
"parsableStyle": {
"type": "boolean"
},
"headerText": {
"type": "string"
},
"instructionFilePath": {
"type": "string"
},
"fileSummary": {
"type": "boolean"
},
"directoryStructure": {
"type": "boolean"
},
"files": {
"type": "boolean"
},
"removeComments": {
"type": "boolean"
},
"removeEmptyLines": {
"type": "boolean"
},
"compress": {
"type": "boolean"
},
"topFilesLength": {
"type": "number"
},
"showLineNumbers": {
"type": "boolean"
},
"truncateBase64": {
"type": "boolean"
},
"copyToClipboard": {
"type": "boolean"
},
"includeEmptyDirectories": {
"type": "boolean"
},
"tokenCountTree": {
"type": [
"boolean",
"number",
"string"
]
},
"git": {
"type": "object",
"properties": {
"sortByChanges": {
"type": "boolean"
},
"sortByChangesMaxCommits": {
"type": "number"
},
"includeDiffs": {
"type": "boolean"
},
"includeLogs": {
"type": "boolean"
},
"includeLogsCount": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"include": {
"type": "array",
"items": {
"type": "string"
}
},
"ignore": {
"type": "object",
"properties": {
"useGitignore": {
"type": "boolean"
},
"useDefaultPatterns": {
"type": "boolean"
},
"customPatterns": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"security": {
"type": "object",
"properties": {
"enableSecurityCheck": {
"type": "boolean"
}
},
"additionalProperties": false
},
"tokenCount": {
"type": "object",
"properties": {
"encoding": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"title": "Repomix Configuration",
"description": "Schema for repomix.config.json configuration file"
}