Skip to content

Commit 196632b

Browse files
authored
Cleaning up.
2 parents 2a18c9b + fb777ff commit 196632b

File tree

11 files changed

+273
-280
lines changed

11 files changed

+273
-280
lines changed

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default vueEslintConfigTypescript.defineConfigWithVueTs(
2424
ts: tseslint.parser
2525
},
2626
projectService: {
27-
allowDefaultProject: ['res/*.js', 'src/renderer/*.js', '*.js']
27+
allowDefaultProject: ['scripts/*.js', 'src/renderer/*.js', '*.js']
2828
},
2929
tsconfigRootDir: import.meta.dirname
3030
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"url": "git+https://github.com/opencor/webapp.git"
2424
},
2525
"type": "module",
26-
"version": "2025.03.28",
26+
"version": "2025.04.01",
2727
"pnpm": {
2828
"onlyBuiltDependencies": [
2929
"electron",
@@ -33,12 +33,12 @@
3333
"scripts": {
3434
"build": "electron-vite build",
3535
"build:web": "cd ./src/renderer && vite build",
36-
"clean": "node res/clean.js",
36+
"clean": "node scripts/clean.js",
3737
"dev": "electron-vite dev --watch",
3838
"dev:web": "cd ./src/renderer && vite dev",
3939
"format": "prettier --log-level silent --write . && clang-format -i src/libopencor/src/*",
4040
"format:check": "prettier --check . && clang-format --dry-run -Werror src/libopencor/src/*",
41-
"install": "node res/version.js",
41+
"install": "node scripts/version.js",
4242
"libopencor": "cmake-js build -B Release -O dist/libOpenCOR",
4343
"lint": "eslint --fix .",
4444
"package": "pnpm build && electron-builder",
@@ -76,7 +76,7 @@
7676
"tailwindcss": "^4.0.17",
7777
"ua-parser-js": "^2.0.3",
7878
"unplugin-vue-components": "^28.4.1",
79-
"vite": "^6.2.3",
79+
"vite": "^6.2.4",
8080
"vue": "^3.5.13"
8181
}
8282
}

pnpm-lock.yaml

Lines changed: 259 additions & 264 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.

src/renderer/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
"url": "git+https://github.com/opencor/webapp.git"
1717
},
1818
"type": "module",
19-
"version": "2025.03.28",
19+
"version": "2025.04.01",
2020
"devDependencies": {
2121
"@primeuix/themes": "^1.0.0",
2222
"@primevue/auto-import-resolver": "^4.3.3",
2323
"primevue": "^4.3.3",
2424
"unplugin-vue-components": "^28.4.1",
25-
"vite": "^6.2.3"
25+
"vite": "^6.2.4"
2626
}
2727
}
Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@ <h2>URI scheme</h2>
2323
<td>
2424
<li>
2525
<a
26-
href="opencor://openFile/https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/res/urischeme/res/lorenz.cellml"
26+
href="opencor://openFile/https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/tests/models/lorenz.cellml"
2727
><code>opencor://openFile/https://.../lorenz.cellml</code></a
2828
>
2929
</li>
3030
</td>
3131
<td>
32-
<a
33-
href="https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/res/urischeme/res/lorenz.cellml"
32+
<a href="https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/tests/models/lorenz.cellml"
3433
>CellML file on GitHub</a
3534
>
3635
</td>
@@ -39,14 +38,13 @@ <h2>URI scheme</h2>
3938
<td>
4039
<li>
4140
<a
42-
href="opencor://openFile/https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/res/urischeme/res/lorenz.sedml"
41+
href="opencor://openFile/https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/tests/models/lorenz.sedml"
4342
><code>opencor://openFile/https://.../lorenz.sedml</code></a
4443
>
4544
</li>
4645
</td>
4746
<td>
48-
<a
49-
href="https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/res/urischeme/res/lorenz.sedml"
47+
<a href="https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/tests/models/lorenz.sedml"
5048
>SED-ML file on GitHub</a
5149
>
5250
</td>
@@ -55,13 +53,13 @@ <h2>URI scheme</h2>
5553
<td>
5654
<li>
5755
<a
58-
href="opencor://openFile/https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/res/urischeme/res/lorenz.omex"
56+
href="opencor://openFile/https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/tests/models/lorenz.omex"
5957
><code>opencor://openFile/https://.../lorenz.omex</code></a
6058
>
6159
</li>
6260
</td>
6361
<td>
64-
<a href="https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/res/urischeme/res/lorenz.omex"
62+
<a href="https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/tests/models/lorenz.omex"
6563
>COMBINE archive on GitHub</a
6664
>
6765
</td>
@@ -88,7 +86,7 @@ <h2>URI scheme</h2>
8886
<br />
8987
<li>
9088
<a
91-
href="opencor://openFiles/https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/res/urischeme/res/lorenz.cellml|https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/res/urischeme/res/lorenz.sedml|https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/res/urischeme/res/lorenz.omex"
89+
href="opencor://openFiles/https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/tests/models/lorenz.cellml|https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/tests/models/lorenz.sedml|https://raw.githubusercontent.com/opencor/webapp/refs/heads/main/tests/models/lorenz.omex"
9290
><code
9391
>opencor://openFiles/https://.../lorenz.cellml|https://.../lorenz.sedml|https://.../lorenz.omex</code
9492
></a

0 commit comments

Comments
 (0)