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.
@@ -5,24 +5,24 @@ const { app, BrowserWindow, shell } = require("electron")
5
5
  const path = require("path")
6
6
 
7
7
  const createWindow = () => {
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()
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
- 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
- })
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
- if (process.platform !== "darwin") {
50
- app.quit()
51
- }
49
+ if (process.platform !== "darwin") {
50
+ app.quit()
51
+ }
52
52
  })
@@ -1,139 +1,140 @@
1
1
  {
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.125.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
- "precommit": "lint-staged",
56
- "schema:generate": "typescript-json-schema ./app/codeCharta/codeCharta.model.ts ExportCCFile --required --topRef --out app/codeCharta/util/generatedSchema.json"
57
- },
58
- "lint-staged": {
59
- "app/**/*.ts": "eslint --fix"
60
- },
61
- "bin": {
62
- "codecharta-visualization": "cli.js"
63
- },
64
- "license": "BSD-3-Clause",
65
- "dependencies": {
66
- "@angular/animations": "^17.3.3",
67
- "@angular/cdk": "^17.3.3",
68
- "@angular/common": "^17.3.3",
69
- "@angular/core": "^17.3.3",
70
- "@angular/forms": "^17.3.3",
71
- "@angular/material": "^17.3.3",
72
- "@angular/platform-browser": "^17.3.3",
73
- "@angular/platform-browser-dynamic": "^17.3.3",
74
- "@ngrx/effects": "^17.1.1",
75
- "@ngrx/store": "^17.1.1",
76
- "@types/d3": "^7.4.3",
77
- "ajv": "^6.12.6",
78
- "color-convert": "^2.0.1",
79
- "d3": "^7.8.5",
80
- "d3-hierarchy": "^2.0.0",
81
- "dequal": "^2.0.3",
82
- "electron": "27.3.9",
83
- "fake-indexeddb": "^4.0.2",
84
- "font-awesome": "^4.7.0",
85
- "hotkeys-js": "^3.8.2",
86
- "html2canvas": "^1.4.1",
87
- "idb": "^8.0.0",
88
- "ignore": "^5.1.8",
89
- "klona": "^2.0.4",
90
- "material-icons": "^1.10.4",
91
- "md5": "^2.3.0",
92
- "ngx-color": "^7.3.3",
93
- "pako": "^2.0.4",
94
- "percent-round": "^2.2.1",
95
- "rxjs": "^7.5.1",
96
- "safe-stable-stringify": "^2.4.3",
97
- "shelljs": "^0.8.4",
98
- "three": "^0.126.1",
99
- "three-orbit-controls": "^82.1.0",
100
- "typescript-json-schema": "0.56.0",
101
- "zone.js": "^0.14.4"
102
- },
103
- "devDependencies": {
104
- "@angular-builders/custom-webpack": "^17.0.2",
105
- "@angular-devkit/build-angular": "^17.3.3",
106
- "@angular/cli": "^17.3.3",
107
- "@angular/compiler": "^17.3.3",
108
- "@angular/compiler-cli": "^17.3.3",
109
- "@babel/plugin-transform-class-static-block": "^7.23.3",
110
- "@electron/get": "^2.0.3",
111
- "@testing-library/angular": "^14.3.0",
112
- "@testing-library/user-event": "^14.0.0",
113
- "@types/color-convert": "^2.0.0",
114
- "@types/d3-hierarchy": "^3.0.2",
115
- "@types/expect-puppeteer": "^5.0.2",
116
- "@types/jest-environment-puppeteer": "^5.0.3",
117
- "@types/node": "^18.0.0",
118
- "@types/three": "^0.126.0",
119
- "@typescript-eslint/eslint-plugin": "^5.44.0",
120
- "@typescript-eslint/parser": "^5.44.0",
121
- "bestzip": "^2.2.0",
122
- "electron-packager": "^17.1.2",
123
- "eslint": "^8.28.0",
124
- "eslint-config-prettier": "^8.5.0",
125
- "eslint-plugin-unicorn": "^47.0.0",
126
- "eslint-plugin-unused-imports": "^2.0.0",
127
- "html-loader": "^4.0.0",
128
- "jest": "^29.7.0",
129
- "jest-canvas-mock": "^2.4.0",
130
- "jest-preset-angular": "^14.0.3",
131
- "jest-puppeteer": "^10.0.1",
132
- "lint-staged": "^13.0.0",
133
- "marked": "^4.3.0",
134
- "puppeteer": "^19.11.1",
135
- "ts-jest": "^29.0.5",
136
- "typescript": "^5.2.2",
137
- "webpack-glsl-loader": "^1.0.1"
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
  }