Skip to content

Commit 241a612

Browse files
committed
NPM and Crate updates
1 parent a3e1ae1 commit 241a612

31 files changed

+21711
-7354
lines changed

.editorconfig

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.rs]
12+
indent_size = 4
13+
14+
[*.ts]
15+
indent_size = 2
16+
17+
[*.vue]
18+
indent_size = 2
19+
20+
[*.json]
21+
indent_size = 2
22+
23+
[*.md]
24+
trim_trailing_whitespace = false

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
strict-peer-dependencies=false

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22

33
Wowthing Sync is a cross-platform desktop client for [Wowthing](https://wowthing.org/) to upload addon data and keep the information in sync with the web application. Wowthing Sync is compatible with Mac, Windows, and Linux/Steam Deck.
44

5-
[MacOS (Intel)](https://github.com/calebsmithdev/wowthing-sync/releases/download/v0.2.3/Wowthing.Sync_x64.app.tar.gz)
5+
[MacOS (Intel)](https://github.com/calebsmithdev/wowthing-sync/releases/download/v1.0.0/Wowthing.Sync_x64.app.tar.gz)
66

7-
[MacOS (Silicon)](https://github.com/calebsmithdev/wowthing-sync/releases/download/v0.2.3/Wowthing.Sync_aarch64.app.tar.gz)
7+
[MacOS (Silicon)](https://github.com/calebsmithdev/wowthing-sync/releases/download/v1.0.0/Wowthing.Sync_aarch64.app.tar.gz)
88

9-
[Windows](https://github.com/calebsmithdev/wowthing-sync/releases/download/v0.2.3/Wowthing.Sync_0.2.3_x64-setup.exe)
9+
[Windows](https://github.com/calebsmithdev/wowthing-sync/releases/download/v1.0.0/Wowthing.Sync_1.0.0_x64-setup.exe)
1010

11-
[Linux/Steam Deck](https://github.com/calebsmithdev/wowthing-sync/releases/download/v0.2.3/wowthing-sync_0.2.3_amd64.AppImage)
11+
[Linux/Steam Deck](https://github.com/calebsmithdev/wowthing-sync/releases/download/v1.0.0/wowthing-sync_1.0.0_amd64.AppImage)
1212

1313
![Application Screenshot](https://github.com/calebsmithdev/wowthing-sync/blob/main/images/mac-screenshot.png)
1414

1515
## Features
1616

1717
* Automatically upload the [Wowthing Collector](https://www.curseforge.com/wow/addons/wowthing-collector) addon data on character reload/logout
1818

19-
* Manually upload addon data on demand
19+
* Manually upload addon data on demand

eslint.config.mjs

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
import eslintConfig from "@antfu/eslint-config";
2+
import nuxtConfig from "./.nuxt/eslint.config.mjs";
3+
4+
export default eslintConfig(
5+
// General
6+
{
7+
typescript: true,
8+
vue: true,
9+
stylistic: {
10+
indent: "tab",
11+
quotes: "double"
12+
},
13+
rules: {
14+
curly: "off",
15+
"no-console": "off",
16+
"no-new-func": "off",
17+
"style/semi": ["error", "always"],
18+
"style/indent": ["error", "tab"],
19+
"style/quote-props": ["warn", "as-needed"],
20+
"style/comma-dangle": ["warn", "never"],
21+
"style/brace-style": ["warn", "1tbs"],
22+
"style/arrow-parens": ["error", "always"],
23+
"vue/block-order": ["error", {
24+
order: ["template", "script", "style"]
25+
}],
26+
"vue/script-indent": ["error", "tab", {
27+
baseIndent: 1
28+
}],
29+
"antfu/top-level-function": "off",
30+
"node/prefer-global/process": ["off"]
31+
}
32+
},
33+
34+
// Vue
35+
{
36+
files: ["**/*.vue"],
37+
rules: {
38+
"style/indent": "off"
39+
}
40+
},
41+
42+
nuxtConfig()
43+
);

nuxt.config.ts

+25-17
Original file line numberDiff line numberDiff line change
@@ -7,35 +7,43 @@ export default defineNuxtConfig({
77
colorMode: {
88
preference: 'dark'
99
},
10+
app: {
11+
pageTransition: {
12+
name: 'fade',
13+
mode: 'out-in',
14+
},
15+
layoutTransition: {
16+
name: 'fade',
17+
mode: 'out-in',
18+
},
19+
},
1020
vite: {
1121
clearScreen: false,
12-
// Enable environment variables
13-
// Additional environment variables can be found at
14-
// https://tauri.app/2/reference/environment-variables/
1522
envPrefix: ['VITE_', 'TAURI_'],
1623
server: {
1724
strictPort: true,
18-
// Enables the development server to be discoverable by other devices for mobile development
19-
host: '0.0.0.0',
2025
hmr: {
21-
protocol: 'ws',
22-
host: '0.0.0.0',
23-
port: 5183,
24-
},
26+
protocol: "ws",
27+
host: "0.0.0.0",
28+
port: 3001
29+
},
30+
watch: {
31+
ignored: ["**/src-tauri/**"]
32+
}
2533
},
2634
},
2735
css: [
2836
'~/assets/styles/main.css',
2937
],
30-
app: {
31-
pageTransition: {
32-
name: 'fade',
33-
mode: 'out-in',
34-
},
35-
layoutTransition: {
36-
name: 'fade',
37-
mode: 'out-in',
38+
devServer: {
39+
host: "0.0.0.0"
40+
},
41+
postcss: {
42+
plugins: {
43+
tailwindcss: {},
44+
autoprefixer: {},
3845
},
3946
},
47+
compatibilityDate: "2024-10-01",
4048
srcDir: 'src/'
4149
})

0 commit comments

Comments
 (0)