Skip to content

Commit 0c24070

Browse files
committed
fix: correct calm-explorer package name for workspace compatibility
Change package name from calm-explorer-vscode to @finos/calm-explorer to match FINOS naming convention and fix npm ci sync errors in CI.
1 parent fc75edb commit 0c24070

File tree

2 files changed

+48
-11
lines changed

2 files changed

+48
-11
lines changed

experimental/calm-explorer/package.json

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,52 @@
11
{
22
"name": "@finos/calm-explorer",
3+
"displayName": "CALM Explorer",
34
"version": "0.1.0",
45
"description": "Interactive exploration tool for FINOS CALM (Common Architecture Language Model) architecture diagrams",
6+
"publisher": "finos",
57
"license": "Apache-2.0",
6-
"type": "module",
8+
"engines": {
9+
"vscode": "^1.85.0"
10+
},
11+
"categories": [
12+
"Visualization",
13+
"Other"
14+
],
15+
"activationEvents": [
16+
"onLanguage:json",
17+
"onCommand:calmExplorer.openViewer"
18+
],
19+
"main": "./dist/extension.js",
20+
"contributes": {
21+
"commands": [
22+
{
23+
"command": "calmExplorer.openViewer",
24+
"title": "Open CALM Viewer",
25+
"category": "CALM"
26+
}
27+
],
28+
"customEditors": [
29+
{
30+
"viewType": "calmExplorer.viewer",
31+
"displayName": "CALM Viewer",
32+
"selector": [
33+
{
34+
"filenamePattern": "*.calm.json"
35+
}
36+
],
37+
"priority": "option"
38+
}
39+
]
40+
},
741
"scripts": {
842
"dev": "NODE_OPTIONS='--no-deprecation' vite",
9-
"build": "vite build",
43+
"build": "npm run build:extension && npm run build:webview",
44+
"build:extension": "tsc -p tsconfig.extension.json",
45+
"build:webview": "vite build",
1046
"build:dev": "vite build --mode development",
47+
"watch:extension": "tsc -watch -p tsconfig.extension.json",
48+
"watch:webview": "vite build --watch",
49+
"package": "vsce package",
1150
"lint": "eslint .",
1251
"lint-fix": "eslint . --fix",
1352
"preview": "vite preview",
@@ -83,8 +122,10 @@
83122
"@types/node": "^22.16.5",
84123
"@types/react": "^18.3.23",
85124
"@types/react-dom": "^18.3.7",
125+
"@types/vscode": "^1.105.0",
86126
"@vitejs/plugin-react-swc": "^3.11.0",
87127
"@vitest/ui": "^3.2.4",
128+
"@vscode/vsce": "^2.32.0",
88129
"autoprefixer": "^10.4.21",
89130
"eslint": "^9.32.0",
90131
"eslint-plugin-react-hooks": "^5.2.0",

package-lock.json

Lines changed: 5 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)