Skip to content

Commit 74322af

Browse files
GrahamSH-LLKsamfreundGold856
authored
Clean up client dependencies (#1954)
Co-authored-by: samfreund <[email protected]> Co-authored-by: Gold856 <[email protected]>
1 parent bec8092 commit 74322af

File tree

13 files changed

+3203
-1490
lines changed

13 files changed

+3203
-1490
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup Node.js
2727
uses: actions/setup-node@v4
2828
with:
29-
node-version: 18
29+
node-version: 22
3030
- name: Install Dependencies
3131
run: npm ci
3232
- name: Build Production Client

.github/workflows/lint-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
- name: Setup Node.js
6969
uses: actions/setup-node@v4
7070
with:
71-
node-version: 18
71+
node-version: 22
7272
- name: Install Dependencies
7373
run: npm ci
7474
- name: Check Linting

.github/workflows/photon-api-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Setup Node.js
3333
uses: actions/setup-node@v4
3434
with:
35-
node-version: 18
35+
node-version: 22
3636
- name: Install Dependencies
3737
run: npm ci
3838
- name: Build Production Client

docs/source/docs/contributing/building-photon.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,7 @@ This section contains the build instructions from the source code available at [
1212

1313
**Node JS:**
1414

15-
The UI is written in Node JS. To compile the UI, Node 18.20.4 to Node 20.0.0 is required. To install Node JS follow the instructions for your platform [on the official Node JS website](https://nodejs.org/en/download/). However, modify this line
16-
17-
```bash
18-
nvm install 20
19-
```
20-
21-
so that it instead reads
22-
23-
```javascript
24-
nvm install 18.20.4
25-
```
15+
The UI is written in Node JS. To compile the UI, Node 22.15.0 is required. To install Node JS follow the instructions for your platform [on the official Node JS website](https://nodejs.org/en/download/).
2616

2717
## Compiling Instructions
2818

photon-client/.eslintrc.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

photon-client/eslint.config.mjs

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
import pluginVue from "eslint-plugin-vue";
2+
import { defineConfigWithVueTs, vueTsConfigs } from "@vue/eslint-config-typescript";
3+
4+
import skipFormattingConfig from "@vue/eslint-config-prettier/skip-formatting";
5+
6+
export default defineConfigWithVueTs(
7+
pluginVue.configs["flat/recommended"],
8+
vueTsConfigs.recommended,
9+
skipFormattingConfig,
10+
{
11+
ignores: ["**/dist/**"]
12+
},
13+
{
14+
//extends: ["js/recommended"],
15+
rules: {
16+
quotes: ["error", "double"],
17+
"comma-dangle": ["error", "never"],
18+
19+
"comma-spacing": [
20+
"error",
21+
{
22+
before: false,
23+
after: true
24+
}
25+
],
26+
27+
semi: ["error", "always"],
28+
"eol-last": "error",
29+
"object-curly-spacing": ["error", "always"],
30+
"quote-props": ["error", "as-needed"],
31+
"no-case-declarations": "off",
32+
"vue/require-default-prop": "off",
33+
"vue/v-on-event-hyphenation": "off",
34+
"@typescript-eslint/no-explicit-any": "off",
35+
"vue/valid-v-slot": ["error", { allowModifiers: true }]
36+
}
37+
}
38+
);

0 commit comments

Comments
 (0)