Skip to content

Commit 40dbf77

Browse files
authored
Merge pull request #265 from nautls/bump-dependencies
Bump dependencies
2 parents 7f43902 + 5c74e55 commit 40dbf77

File tree

5 files changed

+984
-1102
lines changed

5 files changed

+984
-1102
lines changed

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- uses: pnpm/action-setup@v4
2424
with:
25-
version: 9
25+
version: 10
2626

2727
- name: Lint and Format
2828
uses: actions/setup-node@v4
@@ -47,7 +47,7 @@ jobs:
4747

4848
- uses: pnpm/action-setup@v4
4949
with:
50-
version: 9
50+
version: 10
5151

5252
- name: Unit test using Node.js v${{ matrix.node-version }}
5353
uses: actions/setup-node@v4
@@ -71,7 +71,7 @@ jobs:
7171

7272
- uses: pnpm/action-setup@v4
7373
with:
74-
version: 9
74+
version: 10
7575

7676
- name: Build using Node.js v${{ matrix.node-version }}
7777
uses: actions/setup-node@v4

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fetch-depth: 0
1414
- uses: pnpm/action-setup@v4
1515
with:
16-
version: 9
16+
version: 10
1717
- uses: actions/setup-node@v4
1818
with:
1919
node-version: 20

eslint.config.mjs

Lines changed: 16 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,19 @@
1-
import path from "node:path";
2-
import { fileURLToPath } from "node:url";
3-
import { fixupConfigRules } from "@eslint/compat";
4-
import { FlatCompat } from "@eslint/eslintrc";
5-
import js from "@eslint/js";
6-
import parser from "vue-eslint-parser";
1+
// @ts-check
72

8-
const compat = new FlatCompat({
9-
baseDirectory: path.dirname(fileURLToPath(import.meta.url)),
10-
recommendedConfig: js.configs.recommended,
11-
allConfig: js.configs.all
12-
});
3+
import jsPlugin from "@eslint/js";
4+
import tsParser from "@typescript-eslint/parser";
5+
import vuePlugin from "eslint-plugin-vue";
6+
import tsPlugin from "typescript-eslint";
7+
import vueParser from "vue-eslint-parser";
138

9+
/** @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigFile} */
1410
export default [
1511
{
16-
ignores: ["**/node_modules", "**/dist", "**/coverage", "src/components/ui"]
12+
ignores: ["**/node_modules", "**/dist", "**/coverage", "**/docs", "src/components/ui"]
1713
},
18-
...fixupConfigRules(
19-
compat.extends(
20-
"eslint:recommended",
21-
"plugin:vue/vue3-recommended",
22-
"prettier",
23-
"plugin:@typescript-eslint/recommended",
24-
"plugin:import/recommended",
25-
"plugin:import/typescript"
26-
)
27-
),
14+
jsPlugin.configs.recommended,
15+
...tsPlugin.configs.recommended,
16+
...vuePlugin.configs["flat/essential"],
2817
{
2918
languageOptions: {
3019
globals: {
@@ -35,20 +24,11 @@ export default [
3524
process: true
3625
},
3726

38-
parser: parser,
39-
ecmaVersion: 5,
40-
sourceType: "script",
27+
parser: vueParser,
28+
ecmaVersion: "latest",
29+
sourceType: "module",
4130

42-
parserOptions: {
43-
parser: "@typescript-eslint/parser"
44-
}
45-
},
46-
47-
settings: {
48-
"import/resolver": {
49-
typescript: true,
50-
node: true
51-
}
31+
parserOptions: { parser: tsParser }
5232
},
5333

5434
rules: {
@@ -57,11 +37,7 @@ export default [
5737
"no-console": "error",
5838
"no-undef": "off", // TypeScript's compiler already enforces this check. https://eslint.org/docs/latest/rules/no-undef#handled_by_typescript
5939
"@typescript-eslint/explicit-module-boundary-types": "off",
60-
"sort-imports": "off",
61-
"import/order": "off",
62-
"import/default": "off",
63-
"import/no-named-as-default-member": "off",
64-
"import/no-unresolved": "off"
40+
"sort-imports": "off"
6541
}
6642
}
6743
];

package.json

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nautilus-wallet",
3-
"version": "1.0.0-beta.2",
3+
"version": "1.0.0",
44
"private": true,
55
"type": "module",
66
"engines": {
@@ -19,7 +19,7 @@
1919
"build:inspect": "INSPECT=true vite build",
2020
"build:docs": "vitepress build docs",
2121
"test:unit": "vitest run",
22-
"test:lint": "eslint ./src",
22+
"test:lint": "TIMING=1 eslint ./src",
2323
"test:format": "prettier ./src --check",
2424
"fix:format": "prettier ./src --write"
2525
},
@@ -35,7 +35,7 @@
3535
"@ledgerhq/hw-transport-webusb": "^6.29.4",
3636
"@vuelidate/core": "^2.0.3",
3737
"@vuelidate/validators": "^2.0.4",
38-
"@vueuse/core": "^12.7.0",
38+
"@vueuse/core": "^13.0.0",
3939
"bignumber.js": "^9.1.2",
4040
"class-variance-authority": "^0.7.1",
4141
"cleave.js": "^1.6.0",
@@ -46,12 +46,12 @@
4646
"ergo-lib-wasm-browser": "^0.28.0",
4747
"ledger-ergo-js": "^0.2.1",
4848
"lodash-es": "^4.17.21",
49-
"lucide-vue-next": "^0.475.0",
49+
"lucide-vue-next": "^0.479.0",
5050
"pinia": "^3.0.1",
5151
"reka-ui": "^2.0.2",
5252
"tailwind-merge": "^3.0.2",
5353
"uqr": "^0.1.2",
54-
"vaul-vue": "^0.3.0",
54+
"vaul-vue": "^0.4.0",
5555
"vue": "^3.5.13",
5656
"vue-json-pretty": "2.4.0",
5757
"vue-router": "^4.5.0",
@@ -60,44 +60,43 @@
6060
},
6161
"devDependencies": {
6262
"@ergo-graphql/types": "^0.5.1",
63-
"@eslint/compat": "^1.2.7",
63+
"@eslint/js": "^9.22.0",
6464
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
6565
"@nautilus-js/eip12-types": "^0.1.11",
66-
"@tailwindcss/vite": "^4.0.9",
66+
"@tailwindcss/vite": "^4.0.12",
6767
"@tsconfig/node20": "^20.1.4",
68-
"@types/chrome": "^0.0.306",
68+
"@types/chrome": "^0.0.308",
6969
"@types/cleave.js": "^1.4.12",
7070
"@types/crypto-js": "^4.2.2",
7171
"@types/json-bigint": "^1.0.4",
7272
"@types/lodash-es": "^4.17.12",
7373
"@types/w3c-web-usb": "^1.0.10",
7474
"@types/webextension-polyfill": "^0.12.3",
75-
"@typescript-eslint/parser": "^8.25.0",
75+
"@typescript-eslint/parser": "^8.26.1",
7676
"@vitejs/plugin-vue": "^5.2.1",
7777
"@vue/eslint-config-prettier": "^10.2.0",
78-
"@vue/eslint-config-typescript": "^14.4.0",
78+
"@vue/eslint-config-typescript": "^14.5.0",
7979
"@vue/tsconfig": "^0.7.0",
80-
"eslint": "^9.21.0",
81-
"eslint-import-resolver-typescript": "^3.8.3",
80+
"eslint": "^9.22.0",
8281
"eslint-plugin-import": "^2.31.0",
83-
"eslint-plugin-prettier": "^5.2.3",
84-
"eslint-plugin-vue": "^9.32.0",
85-
"prettier": "^3.5.2",
82+
"eslint-plugin-vue": "^10.0.0",
83+
"prettier": "^3.5.3",
8684
"prettier-plugin-tailwindcss": "^0.6.11",
8785
"rollup-plugin-visualizer": "^5.14.0",
88-
"tailwindcss": "^4.0.9",
86+
"tailwindcss": "^4.0.12",
8987
"tailwindcss-animate": "^1.0.7",
90-
"type-fest": "^4.36.0",
91-
"typescript": "5.7.3",
92-
"vite": "^6.2.0",
88+
"type-fest": "^4.37.0",
89+
"typescript": "5.8.2",
90+
"typescript-eslint": "^8.26.1",
91+
"vite": "^6.2.1",
9392
"vite-plugin-node-polyfills": "^0.23.0",
9493
"vite-plugin-top-level-await": "^1.5.0",
9594
"vite-plugin-wasm": "^3.4.1",
9695
"vite-plugin-web-extension": "^4.4.3",
9796
"vite-svg-loader": "^5.1.0",
9897
"vitepress": "^1.6.3",
99-
"vitest": "^3.0.7",
100-
"vue-eslint-parser": "^9.4.3"
98+
"vitest": "^3.0.8",
99+
"vue-eslint-parser": "^10.1.1"
101100
},
102101
"pnpm": {
103102
"patchedDependencies": {

0 commit comments

Comments
 (0)