Skip to content
Open
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
22 changes: 22 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"root": true,
"env": { "node": true, "es2022": true },
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"ignorePatterns": ["out/", "dist/", "*.js", "node_modules/"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }],
"@typescript-eslint/no-var-requires": "off",
"no-empty": ["error", { "allowEmptyCatch": true }]
}
}
16 changes: 16 additions & 0 deletions .hermes_pr_pipeline_update.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const fs = require('fs');
const path = 'C:/Users/home/AppData/Local/hermes/cron/output/pr_pipeline.json';
const pipeline = JSON.parse(fs.readFileSync(path, 'utf8'));
const data = {
status: 'OPEN',
contributors: ['dev-engineer'],
created_at: new Date().toISOString(),
lastUpdated: new Date().toISOString(),
url: 'https://github.com/Coding-Dev-Tools/vscode-schemaforge/pull/4',
branch: 'improve/vscode-schemaforge-20260625043939',
pr_number: 4
};
pipeline.repos['vscode-schemaforge'] = data;
pipeline.updated_at = new Date().toISOString();
fs.writeFileSync(path, JSON.stringify(pipeline, null, 2));
console.log('PR pipeline updated');
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ If the CLI is installed at a custom path, set it in VS Code settings (see [Confi
| Setting | Default | Description |
|---------|---------|-------------|
| `schemaforge.cliPath` | `schemaforge` | Path to the `schemaforge` CLI executable. Set this if the CLI is not on your PATH or you use a specific version. |
| `schemaforge.defaultTargetFormat` | `sql` | Default target format for Quick Convert. Options: `sql`, `prisma`, `django`, `typeorm`, `sqlalchemy`, `alembic`, `jsonschema`, `graphql`, `efcore`, `scala`. |
| `schemaforge.defaultTargetFormat` | `sql` | Default target format for Quick Convert. Options: `sql`, `prisma`, `django`, `drizzle`, `typeorm`, `sqlalchemy`, `alembic`, `jsonschema`, `graphql`, `efcore`, `scala`. |
| `schemaforge.livePreview.enabled` | `true` | Enable/disable the live preview panel for `.schemaforge` files. |

---
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"url": "https://github.com/Coding-Dev-Tools/schemaforge"
},
"engines": {
"vscode": "^1.85.0"
"vscode": ">=1.85.0",
"node": ">=18.0.0"
},
"categories": [
"Programming Languages",
Expand Down Expand Up @@ -108,7 +109,7 @@
"schemaforge.defaultTargetFormat": {
"type": "string",
"default": "sql",
"enum": ["sql", "prisma", "drizzle", "typeorm", "django", "sqlalchemy", "alembic", "json_schema", "graphql", "ef", "scala"],
"enum": ["sql", "prisma", "django", "drizzle", "typeorm", "sqlalchemy", "alembic", "json_schema", "graphql", "ef", "scala"],
"description": "Default target format for quick conversions"
},
"schemaforge.livePreview.enabled": {
Expand All @@ -120,7 +121,7 @@
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"prepublishOnly": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
Expand All @@ -133,8 +134,8 @@
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.8",
"typescript": "^5.3.0",
"eslint": "^8.50.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0"
"eslint": "^8.57.1",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0"
}
}