-
Notifications
You must be signed in to change notification settings - Fork 131
Expand file tree
/
Copy pathpackage.json
More file actions
137 lines (137 loc) · 4.24 KB
/
Copy pathpackage.json
File metadata and controls
137 lines (137 loc) · 4.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "calm-vscode-plugin",
"displayName": "CALM Canvas",
"description": "Visual architecture editor for CALM models using ReactFlow",
"version": "0.9.0",
"publisher": "FINOS",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/finos/architecture-as-code.git",
"directory": "calm-plugins/vscode"
},
"engines": {
"vscode": "^1.88.0"
},
"icon": "media/icon.png",
"categories": [
"Programming Languages",
"Visualization"
],
"activationEvents": [
"workspaceContains:**/*.calm.json",
"workspaceContains:**/*.architecture.json",
"workspaceContains:**/*.template.json",
"workspaceContains:**/*.solution.json",
"workspaceContains:**/*.standard.json",
"workspaceContains:**/*.guideline.json"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "calm.openCanvas",
"title": "View in CALM Canvas",
"category": "CALM",
"icon": {
"light": "media/calm-canvas.svg",
"dark": "media/calm-canvas.svg"
}
}
],
"keybindings": [
{
"command": "calm.openCanvas",
"key": "ctrl+shift+k",
"mac": "cmd+shift+k",
"when": "resourceFilename =~ /\\.(calm|architecture|template|solution|standard|guideline)\\.json$/"
}
],
"menus": {
"editor/title": [
{
"command": "calm.openCanvas",
"when": "resourceFilename =~ /\\.(calm|architecture|template|solution|standard|guideline)\\.json$/",
"group": "navigation"
}
],
"editor/context": [
{
"command": "calm.openCanvas",
"when": "resourceFilename =~ /\\.(calm|architecture|template|solution|standard|guideline)\\.json$/",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "calm.openCanvas",
"when": "resourceFilename =~ /\\.(calm|architecture|template|solution|standard|guideline)\\.json$/",
"group": "navigation"
}
]
},
"configuration": {
"title": "CALM Canvas",
"properties": {
"calm.externalAssetsPath": {
"type": "string",
"default": "",
"markdownDescription": "Absolute path to an external folder containing shared `nodes/`, `standards/`, `patterns/`, and `templates/` folders."
},
"calm.packs.enabled": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "List of extension pack IDs to show in the palette (e.g. `[\"aws\", \"k8s\"]`). Leave empty to show all packs. Available packs: `core`, `fluxnova`, `ai`, `aws`, `gcp`, `azure`, `k8s`, `messaging`, `identity`, `opengris`."
},
"calm.packs.excludeNodes": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "List of node type IDs to hide from the palette (e.g. `[\"core:ldap\", \"aws:s3\"]`). Use the `packId:nodeType` format."
}
}
}
},
"scripts": {
"build": "node esbuild.mjs && npx vite build --config vite.webview.config.ts",
"build:extension": "node esbuild.mjs",
"build:webview": "npx vite build --config vite.webview.config.ts",
"watch": "node esbuild.mjs --watch",
"package": "npm run build && npx @vscode/vsce package --no-dependencies",
"vscode:prepublish": "npm run build",
"test": "vitest run",
"lint": "eslint src/"
},
"dependencies": {
"@finos/calm-models": "file:../../calm-models",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"reactflow": "^11.11.4",
"html-to-image": "1.11.13",
"yaml": "^2.7.0",
"@dagrejs/dagre": "^1.1.4",
"elkjs": "^0.9.0",
"zustand": "^5.0.0",
"lucide-react": "^0.577.0",
"ajv": "^8.17.0",
"ajv-formats": "^3.0.0"
},
"devDependencies": {
"vite": "^6.3.0",
"@vitejs/plugin-react": "^4.0.0",
"@tailwindcss/vite": "^4.1.0",
"tailwindcss": "^4.1.0",
"esbuild": "^0.25.0",
"@types/vscode": "^1.88.0",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.0",
"typescript": "^5.8.0",
"vitest": "^4.1.0",
"@vscode/vsce": "^3.0.0"
}
}