codecharta-visualization 1.125.0 → 1.126.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +9 -9
- package/README.md +21 -17
- package/conf/jestE2E.config.json +21 -21
- package/conf/jestUnit.config.json +20 -20
- package/conf/setupJestUnit.ts +1 -1
- package/conf/webpack.config.js +11 -11
- package/dist/webpack/index.html +10 -10
- package/dist/webpack/main.7f7d122dfd57774b.js +1 -0
- package/dist/webpack/main.js +30 -30
- package/dist/webpack/package.json +138 -137
- package/dist/webpack/{styles.903089499cad202a.css → styles.ec895965491b1faa.css} +1 -1
- package/package.json +138 -137
- package/tsconfig.json +30 -30
- package/dist/webpack/main.40c6b72f11811061.js +0 -1
package/dist/webpack/main.js
CHANGED
|
@@ -5,24 +5,24 @@ const { app, BrowserWindow, shell } = require("electron")
|
|
|
5
5
|
const path = require("path")
|
|
6
6
|
|
|
7
7
|
const createWindow = () => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
8
|
+
// Create the browser window.
|
|
9
|
+
const mainWindow = new BrowserWindow({
|
|
10
|
+
width: 1400,
|
|
11
|
+
height: 900,
|
|
12
|
+
icon: path.join(__dirname, "codeCharta/assets/icon.ico")
|
|
13
|
+
})
|
|
14
|
+
|
|
15
|
+
// open links in web browser instead of in electron
|
|
16
|
+
mainWindow.webContents.setWindowOpenHandler(({ url }) => {
|
|
17
|
+
shell.openExternal(url)
|
|
18
|
+
return { action: "deny" }
|
|
19
|
+
})
|
|
20
|
+
|
|
21
|
+
// and load the index.html of the app
|
|
22
|
+
mainWindow.loadFile(path.join(__dirname, "index.html"))
|
|
23
|
+
|
|
24
|
+
// Open the DevTools.
|
|
25
|
+
// mainWindow.webContents.openDevTools()
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
app.enableSandbox()
|
|
@@ -31,22 +31,22 @@ app.enableSandbox()
|
|
|
31
31
|
// initialization and is ready to create browser windows.
|
|
32
32
|
// Some APIs can only be used after this event occurs.
|
|
33
33
|
app.whenReady().then(() => {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
34
|
+
createWindow()
|
|
35
|
+
|
|
36
|
+
app.on("activate", () => {
|
|
37
|
+
// On macOS it's common to re-create a window in the app when the
|
|
38
|
+
// dock icon is clicked and there are no other windows open.
|
|
39
|
+
if (BrowserWindow.getAllWindows().length === 0) {
|
|
40
|
+
createWindow()
|
|
41
|
+
}
|
|
42
|
+
})
|
|
43
43
|
})
|
|
44
44
|
|
|
45
45
|
// Quit when all windows are closed, except on macOS. There, it's common
|
|
46
46
|
// for applications and their menu bar to stay active until the user quits
|
|
47
47
|
// explicitly with Cmd + Q.
|
|
48
48
|
app.on("window-all-closed", () => {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
if (process.platform !== "darwin") {
|
|
50
|
+
app.quit()
|
|
51
|
+
}
|
|
52
52
|
})
|
|
@@ -1,139 +1,140 @@
|
|
|
1
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
|
-
|
|
138
|
-
|
|
2
|
+
"author": "MaibornWolff GmbH <dist_intern_codecharta@maibornwolff.de>",
|
|
3
|
+
"homepage": "https://maibornwolff.github.io/codecharta/",
|
|
4
|
+
"bugs": {
|
|
5
|
+
"url": "https://github.com/MaibornWolff/codecharta/issues",
|
|
6
|
+
"email": "dist_intern_codecharta@maibornwolff.de"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/MaibornWolff/codecharta.git"
|
|
11
|
+
},
|
|
12
|
+
"name": "codecharta-visualization",
|
|
13
|
+
"version": "1.126.0",
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=18"
|
|
16
|
+
},
|
|
17
|
+
"description": "MaibornWolff CodeCharta",
|
|
18
|
+
"files": [
|
|
19
|
+
"dist/webpack",
|
|
20
|
+
"conf",
|
|
21
|
+
"Dockerfile",
|
|
22
|
+
"LICENSE.md",
|
|
23
|
+
"package.json",
|
|
24
|
+
"package-lock.json",
|
|
25
|
+
"README.md",
|
|
26
|
+
"tsconfig.json",
|
|
27
|
+
"cli.js"
|
|
28
|
+
],
|
|
29
|
+
"codecharta": {
|
|
30
|
+
"apiVersion": "1.3"
|
|
31
|
+
},
|
|
32
|
+
"main": "main.js",
|
|
33
|
+
"browserslist": [
|
|
34
|
+
"last 2 chrome version",
|
|
35
|
+
"last 2 firefox version",
|
|
36
|
+
"last 2 safari version"
|
|
37
|
+
],
|
|
38
|
+
"scripts": {
|
|
39
|
+
"start": "electron dist/webpack",
|
|
40
|
+
"build": "ng build && cp electron/* package.json dist/webpack",
|
|
41
|
+
"dev": "ng serve",
|
|
42
|
+
"test": "jest --config conf/jestUnit.config.json .*\\.spec\\.ts",
|
|
43
|
+
"test:auto": "npm test -- --watch",
|
|
44
|
+
"test:autoNoCoverage": "npm run test:auto -- --coverage false",
|
|
45
|
+
"test:updateSnaps": "npm test -- --updateSnapshot",
|
|
46
|
+
"test:limitedWorker": "npm test -- --maxWorkers=25%",
|
|
47
|
+
"e2e": "jest --config conf/jestE2E.config.json .*\\.e2e\\.ts --coverage false",
|
|
48
|
+
"e2e:auto": "npm run e2e -- --watch",
|
|
49
|
+
"e2e:ci": "npm run e2e -- --runInBand",
|
|
50
|
+
"package": "node script/appMain.js",
|
|
51
|
+
"package:local": "npm run package -- --local",
|
|
52
|
+
"package:zip": "node script/package-zips.js",
|
|
53
|
+
"lint": "eslint \"app/**/*.ts\"",
|
|
54
|
+
"lint:fix": "npm run lint -- --fix",
|
|
55
|
+
"lint:checkRules": "npx eslint-config-prettier .eslintrc.js",
|
|
56
|
+
"precommit": "lint-staged",
|
|
57
|
+
"schema:generate": "typescript-json-schema ./app/codeCharta/codeCharta.model.ts ExportCCFile --required --topRef --out app/codeCharta/util/generatedSchema.json"
|
|
58
|
+
},
|
|
59
|
+
"lint-staged": {
|
|
60
|
+
"app/**/*.ts": "eslint --fix"
|
|
61
|
+
},
|
|
62
|
+
"bin": {
|
|
63
|
+
"codecharta-visualization": "cli.js"
|
|
64
|
+
},
|
|
65
|
+
"license": "BSD-3-Clause",
|
|
66
|
+
"dependencies": {
|
|
67
|
+
"@angular/animations": "^17.3.3",
|
|
68
|
+
"@angular/cdk": "^17.3.3",
|
|
69
|
+
"@angular/common": "^17.3.3",
|
|
70
|
+
"@angular/core": "^17.3.3",
|
|
71
|
+
"@angular/forms": "^17.3.3",
|
|
72
|
+
"@angular/material": "^17.3.3",
|
|
73
|
+
"@angular/platform-browser": "^17.3.3",
|
|
74
|
+
"@angular/platform-browser-dynamic": "^17.3.3",
|
|
75
|
+
"@ngrx/effects": "^17.1.1",
|
|
76
|
+
"@ngrx/store": "^17.1.1",
|
|
77
|
+
"@types/d3": "^7.4.3",
|
|
78
|
+
"ajv": "^6.12.6",
|
|
79
|
+
"color-convert": "^2.0.1",
|
|
80
|
+
"d3": "^7.8.5",
|
|
81
|
+
"d3-hierarchy": "^2.0.0",
|
|
82
|
+
"dequal": "^2.0.3",
|
|
83
|
+
"electron": "27.3.11",
|
|
84
|
+
"fake-indexeddb": "^4.0.2",
|
|
85
|
+
"font-awesome": "^4.7.0",
|
|
86
|
+
"hotkeys-js": "^3.8.2",
|
|
87
|
+
"html2canvas": "^1.4.1",
|
|
88
|
+
"idb": "^8.0.0",
|
|
89
|
+
"ignore": "^5.1.8",
|
|
90
|
+
"klona": "^2.0.4",
|
|
91
|
+
"material-icons": "^1.10.4",
|
|
92
|
+
"md5": "^2.3.0",
|
|
93
|
+
"ngx-color": "^7.3.3",
|
|
94
|
+
"pako": "^2.0.4",
|
|
95
|
+
"percent-round": "^2.2.1",
|
|
96
|
+
"rxjs": "^7.5.1",
|
|
97
|
+
"safe-stable-stringify": "^2.4.3",
|
|
98
|
+
"shelljs": "^0.8.4",
|
|
99
|
+
"three": "^0.126.1",
|
|
100
|
+
"three-orbit-controls": "^82.1.0",
|
|
101
|
+
"typescript-json-schema": "0.63.0",
|
|
102
|
+
"zone.js": "^0.14.4"
|
|
103
|
+
},
|
|
104
|
+
"devDependencies": {
|
|
105
|
+
"@angular-builders/custom-webpack": "^17.0.2",
|
|
106
|
+
"@angular-devkit/build-angular": "^17.3.3",
|
|
107
|
+
"@angular/cli": "^17.3.3",
|
|
108
|
+
"@angular/compiler": "^17.3.3",
|
|
109
|
+
"@angular/compiler-cli": "^17.3.3",
|
|
110
|
+
"@babel/plugin-transform-class-static-block": "^7.23.3",
|
|
111
|
+
"@electron/get": "^2.0.3",
|
|
112
|
+
"@testing-library/angular": "^14.3.0",
|
|
113
|
+
"@testing-library/user-event": "^14.0.0",
|
|
114
|
+
"@types/color-convert": "^2.0.0",
|
|
115
|
+
"@types/d3-hierarchy": "^3.0.2",
|
|
116
|
+
"@types/expect-puppeteer": "^5.0.2",
|
|
117
|
+
"@types/jest-environment-puppeteer": "^5.0.3",
|
|
118
|
+
"@types/node": "^18.0.0",
|
|
119
|
+
"@types/three": "^0.126.0",
|
|
120
|
+
"@typescript-eslint/eslint-plugin": "^5.44.0",
|
|
121
|
+
"@typescript-eslint/parser": "^5.44.0",
|
|
122
|
+
"bestzip": "^2.2.0",
|
|
123
|
+
"electron-packager": "^17.1.2",
|
|
124
|
+
"eslint": "^8.28.0",
|
|
125
|
+
"eslint-config-prettier": "^8.10.0",
|
|
126
|
+
"eslint-plugin-unicorn": "^47.0.0",
|
|
127
|
+
"eslint-plugin-unused-imports": "^2.0.0",
|
|
128
|
+
"html-loader": "^4.0.0",
|
|
129
|
+
"jest": "^29.7.0",
|
|
130
|
+
"jest-canvas-mock": "^2.4.0",
|
|
131
|
+
"jest-preset-angular": "^14.0.3",
|
|
132
|
+
"jest-puppeteer": "^10.0.1",
|
|
133
|
+
"lint-staged": "^13.0.0",
|
|
134
|
+
"marked": "^4.3.0",
|
|
135
|
+
"puppeteer": "^19.11.1",
|
|
136
|
+
"ts-jest": "^29.0.5",
|
|
137
|
+
"typescript": "^5.2.2",
|
|
138
|
+
"webpack-glsl-loader": "^1.0.1"
|
|
139
|
+
}
|
|
139
140
|
}
|