Skip to content

Commit e9f8b0e

Browse files
author
Joel Denning
committed
Upgrade dependencies
1 parent d271b23 commit e9f8b0e

File tree

8 files changed

+2735
-2433
lines changed

8 files changed

+2735
-2433
lines changed

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
pnpm exec pretty-quick --staged && pnpm exec concurrently -n pnpm:test pnpm:lint

eslint.config.mjs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { defineConfig } from "eslint/config";
2+
import babelParser from "@babel/eslint-parser";
3+
import path from "node:path";
4+
import { fileURLToPath } from "node:url";
5+
import js from "@eslint/js";
6+
import { FlatCompat } from "@eslint/eslintrc";
7+
8+
const __filename = fileURLToPath(import.meta.url);
9+
const __dirname = path.dirname(__filename);
10+
const compat = new FlatCompat({
11+
baseDirectory: __dirname,
12+
recommendedConfig: js.configs.recommended,
13+
allConfig: js.configs.all,
14+
});
15+
16+
export default defineConfig([
17+
{
18+
extends: compat.extends("eslint-config-important-stuff"),
19+
20+
languageOptions: {
21+
parser: babelParser,
22+
},
23+
},
24+
]);

jest.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ const config = {
44
transform: {
55
"\\.[cm]?[jt]sx?$": "babel-jest",
66
},
7+
testEnvironmentOptions: {
8+
customExportConditions: ["node", "node-addons"],
9+
},
710
};
811

912
export default config;

package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
"name": "single-spa-vue",
33
"version": "3.0.1",
44
"description": "a single-spa plugin for vue.js applications",
5-
"main": "dist/umd/single-spa-vue.js",
6-
"module": "dist/esm/single-spa-vue.js",
75
"packageManager": "pnpm@9.15.4",
86
"exports": {
97
".": {
@@ -26,7 +24,7 @@
2624
"format": "prettier --write .",
2725
"check-format": "prettier --check .",
2826
"lint": "eslint src",
29-
"prepare": "husky install"
27+
"prepare": "husky"
3028
},
3129
"repository": {
3230
"type": "git",
@@ -52,32 +50,34 @@
5250
},
5351
"homepage": "https://github.com/single-spa/single-spa-vue#readme",
5452
"devDependencies": {
55-
"@babel/core": "^7.22.5",
56-
"@babel/eslint-parser": "^7.22.5",
57-
"@babel/preset-env": "^7.22.5",
58-
"@rollup/plugin-babel": "^6.0.3",
59-
"@rollup/plugin-commonjs": "^25.0.2",
60-
"@rollup/plugin-node-resolve": "^15.1.0",
61-
"@rollup/plugin-terser": "^0.4.3",
62-
"@types/jest": "^29.5.2",
63-
"@vue/test-utils": "^1.1.1",
64-
"babel-jest": "^29.5.0",
65-
"concurrently": "^8.2.0",
53+
"@babel/core": "^7.26.10",
54+
"@babel/eslint-parser": "^7.27.0",
55+
"@babel/preset-env": "^7.26.9",
56+
"@eslint/eslintrc": "^3.3.1",
57+
"@eslint/js": "^9.24.0",
58+
"@rollup/plugin-babel": "^6.0.4",
59+
"@rollup/plugin-commonjs": "^28.0.3",
60+
"@rollup/plugin-node-resolve": "^16.0.1",
61+
"@rollup/plugin-terser": "^0.4.4",
62+
"@types/jest": "^29.5.14",
63+
"@vue/test-utils": "^2.4.6",
64+
"babel-jest": "^29.7.0",
65+
"concurrently": "^9.1.2",
6666
"cross-env": "^7.0.2",
6767
"css.escape": "^1.5.1",
68-
"eslint": "^8.43.0",
68+
"eslint": "^9.24.0",
6969
"eslint-config-important-stuff": "^1.1.0",
70-
"husky": "^8.0.0",
71-
"jest": "^29.5.0",
72-
"jest-environment-jsdom": "^29.5.0",
73-
"prettier": "^2.8.8",
74-
"pretty-quick": "^3.1.3",
75-
"rimraf": "^5.0.1",
76-
"rollup": "^3.25.3",
77-
"single-spa": "^5.9.5",
78-
"tsd": "^0.28.1",
79-
"vue": "^2.6.12",
80-
"vue-template-compiler": "^2.6.12"
70+
"husky": "^9.1.7",
71+
"jest": "^29.7.0",
72+
"jest-environment-jsdom": "^29.7.0",
73+
"prettier": "^3.5.3",
74+
"pretty-quick": "^4.1.1",
75+
"rimraf": "^6.0.1",
76+
"rollup": "^4.39.0",
77+
"single-spa": "^6.0.3",
78+
"tsd": "^0.32.0",
79+
"vue": "^3.5.13",
80+
"vue-template-compiler": "^2.7.16"
8181
},
8282
"tsd": {
8383
"compilerOptions": {

0 commit comments

Comments
 (0)