mirror of
https://github.com/zenstackhq/zenstack
synced 2026-05-24 10:08:55 +00:00
213 lines
7.1 KiB
JSON
213 lines
7.1 KiB
JSON
{
|
|
"name": "zenstack",
|
|
"publisher": "zenstack",
|
|
"displayName": "ZenStack V2 Language Tools",
|
|
"description": "FullStack enhancement for Prisma ORM: seamless integration from database to UI",
|
|
"version": "2.22.2",
|
|
"author": {
|
|
"name": "ZenStack Team"
|
|
},
|
|
"homepage": "https://zenstack.dev",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"fullstack",
|
|
"react",
|
|
"typescript",
|
|
"data modeling",
|
|
"prisma"
|
|
],
|
|
"preview": false,
|
|
"icon": "asset/logo-256-bg.png",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/zenstackhq/zenstack"
|
|
},
|
|
"publishConfig": {
|
|
"directory": "dist",
|
|
"linkDirectory": true
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.99.3"
|
|
},
|
|
"categories": [
|
|
"Programming Languages"
|
|
],
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "zmodel",
|
|
"aliases": [
|
|
"ZenStack Model",
|
|
"zmodel"
|
|
],
|
|
"extensions": [
|
|
".zmodel"
|
|
],
|
|
"configuration": "./language-configuration.json",
|
|
"icon": {
|
|
"light": "./asset/logo-light-256.png",
|
|
"dark": "./asset/logo-dark-256.png"
|
|
}
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "zmodel",
|
|
"scopeName": "source.zmodel",
|
|
"path": "./bundle/syntaxes/zmodel.tmLanguage.json"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "ZenStack",
|
|
"properties": {
|
|
"zmodel.format.usePrismaStyle": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Use Prisma style indentation."
|
|
},
|
|
"zenstack.searchForExtensions": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Search for Mermaid extensions when viewing Mermaid source."
|
|
}
|
|
}
|
|
},
|
|
"menus": {
|
|
"editor/title": [
|
|
{
|
|
"command": "zenstack.preview-zmodel",
|
|
"when": "editorLangId == zmodel",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "zenstack.save-zmodel-documentation",
|
|
"when": "(activeWebviewPanelId == 'markdown.preview' || activeCustomEditorId == 'vscode.markdown.preview.editor') && zenstack.isMarkdownPreview == true",
|
|
"group": "navigation"
|
|
}
|
|
],
|
|
"commandPalette": [
|
|
{
|
|
"command": "zenstack.preview-zmodel",
|
|
"when": "editorLangId == zmodel"
|
|
},
|
|
{
|
|
"command": "zenstack.clear-documentation-cache"
|
|
},
|
|
{
|
|
"command": "zenstack.logout"
|
|
}
|
|
]
|
|
},
|
|
"commands": [
|
|
{
|
|
"command": "zenstack.preview-zmodel",
|
|
"title": "ZenStack: Preview ZModel Documentation",
|
|
"icon": "$(preview)"
|
|
},
|
|
{
|
|
"command": "zenstack.save-zmodel-documentation",
|
|
"title": "ZenStack: Save ZModel Documentation",
|
|
"icon": "$(save)"
|
|
},
|
|
{
|
|
"command": "zenstack.clear-documentation-cache",
|
|
"title": "ZenStack: Clear Documentation Cache",
|
|
"icon": "$(trash)"
|
|
},
|
|
{
|
|
"command": "zenstack.logout",
|
|
"title": "ZenStack: Logout",
|
|
"icon": "$(log-out)"
|
|
}
|
|
],
|
|
"keybindings": [
|
|
{
|
|
"command": "zenstack.preview-zmodel",
|
|
"key": "ctrl+shift+v",
|
|
"mac": "cmd+shift+v",
|
|
"when": "editorLangId == zmodel"
|
|
},
|
|
{
|
|
"command": "zenstack.save-zmodel-documentation",
|
|
"key": "ctrl+shift+s",
|
|
"mac": "cmd+shift+s",
|
|
"when": "(activeWebviewPanelId == 'markdown.preview' || activeCustomEditorId == 'vscode.markdown.preview.editor') && zenstack.isMarkdownPreview == true"
|
|
}
|
|
]
|
|
},
|
|
"activationEvents": [],
|
|
"capabilities": {
|
|
"untrustedWorkspaces": {
|
|
"supported": true
|
|
},
|
|
"virtualWorkspaces": true
|
|
},
|
|
"bin": {
|
|
"zenstack": "bin/cli"
|
|
},
|
|
"main": "./bundle/extension.js",
|
|
"scripts": {
|
|
"vscode:publish": "vsce publish --no-dependencies",
|
|
"vscode:prerelease": "vsce publish --no-dependencies --pre-release",
|
|
"vscode:prepublish": "pnpm bundle",
|
|
"vscode:package": "pnpm bundle && vsce package --no-dependencies",
|
|
"clean": "rimraf dist",
|
|
"build": "pnpm clean && pnpm lint --max-warnings=0 && tsc && copyfiles -F \"bin/*\" dist && copyfiles ./README-global.md ./LICENSE ./package.json dist && renamer --replace \"README.md\" dist/README-global.md && copyfiles -u 1 \"src/res/*\" dist && node build/post-build.js && pnpm pack dist --pack-destination ../../../.build",
|
|
"bundle": "rimraf bundle && tsc -p tsconfig.vscode.json --noEmit && pnpm lint --max-warnings=0 && node build/bundle.js --minify",
|
|
"watch": "tsc --watch",
|
|
"lint": "eslint src tests --ext ts",
|
|
"test": "jest",
|
|
"prepublishOnly": "pnpm build",
|
|
"postinstall": "node bin/post-install.js"
|
|
},
|
|
"dependencies": {
|
|
"@paralleldrive/cuid2": "^2.2.0",
|
|
"@zenstackhq/language": "workspace:*",
|
|
"@zenstackhq/sdk": "workspace:*",
|
|
"async-exit-hook": "^2.0.1",
|
|
"colors": "1.4.0",
|
|
"commander": "^8.3.0",
|
|
"deepmerge": "^4.3.1",
|
|
"langium": "1.3.1",
|
|
"mixpanel": "^0.17.0",
|
|
"ora": "^5.4.1",
|
|
"pluralize": "^8.0.0",
|
|
"pretty-repl": "^4.0.0",
|
|
"semver": "^7.5.2",
|
|
"strip-color": "^0.1.0",
|
|
"terminal-link": "^2.0.0",
|
|
"ts-morph": "catalog:",
|
|
"ts-pattern": "^4.3.0",
|
|
"uuid": "^9.0.0",
|
|
"vscode-jsonrpc": "^8.0.2",
|
|
"vscode-languageclient": "^8.0.2",
|
|
"vscode-languageserver": "^8.0.2",
|
|
"vscode-languageserver-textdocument": "^1.0.7",
|
|
"vscode-uri": "^3.0.6",
|
|
"zod-validation-error": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"prisma": "5.0.0 - 7.x",
|
|
"zod": "catalog:",
|
|
"@types/node": ">=18.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"prisma": "6.19.x",
|
|
"@prisma/client": "6.19.x",
|
|
"@types/async-exit-hook": "^2.0.0",
|
|
"@types/pluralize": "^0.0.29",
|
|
"@types/semver": "^7.3.13",
|
|
"@types/strip-color": "^0.1.0",
|
|
"@types/tmp": "^0.2.3",
|
|
"@types/uuid": "^8.3.4",
|
|
"@types/vscode": "^1.99.3",
|
|
"@vscode/vsce": "^3.5.0",
|
|
"@zenstackhq/runtime": "workspace:*",
|
|
"dotenv": "^16.0.3",
|
|
"esbuild": "^0.24.0",
|
|
"renamer": "^4.0.0",
|
|
"tmp": "^0.2.1",
|
|
"tsc-alias": "^1.7.0",
|
|
"vitest": "^0.29.7"
|
|
}
|
|
}
|