diff --git a/package-lock.json b/package-lock.json index 86a9572..4168d04 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,18 +27,18 @@ "@types/node": "^22.10.5", "@vitest/coverage-v8": "^2.1.8", "typedoc": "^0.27.6", - "typescript": "^5.7.2", + "typescript": "^5.7.3", "vite": "^6.0.7", - "vitest": "^2.0.3" + "vitest": "^2.1.8" }, "engines": { - "node": "^20", + "node": "^20 || ^22", "npm": "^10" }, "peerDependencies": { "browserslist": ">=4.0", "sass": ">=1.60", - "vite": "^6.0.7" + "vite": "^4 || ^5 || ^6" } }, "node_modules/@ampproject/remapping": { @@ -7814,9 +7814,9 @@ } }, "node_modules/typescript": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", - "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz", + "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==", "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index 8a51386..1db7538 100644 --- a/package.json +++ b/package.json @@ -1,25 +1,30 @@ { "name": "@nextcloud/vite-config", + "version": "1.4.2", "description": "Shared Vite configuration for Nextcloud apps and libraries", - "author": { - "name": "Ferdinand Thiessen", - "email": "opensource@fthiessen.de" - }, + "homepage": "https://github.com/nextcloud/nextcloud-vite-config", "bugs": { "url": "https://github.com/nextcloud/nextcloud-vite-config/issues" }, - "homepage": "https://github.com/nextcloud/nextcloud-vite-config", "license": "AGPL-3.0-or-later", - "version": "1.4.2", + "author": { + "name": "Ferdinand Thiessen", + "email": "opensource@fthiessen.de" + }, "type": "module", - "main": "./dist/index.js", - "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, + "main": "./dist/index.js", + "types": "./dist/index.d.ts", + "files": [ + "dist/", + "LICENSES", + "banner-template.txt" + ], "scripts": { "build": "tsc", "build:doc": "typedoc --out dist/doc lib/index.ts && touch dist/doc/.nojekyll", @@ -29,10 +34,8 @@ "test": "vitest run", "test:coverage": "vitest run --coverage.enabled --coverage.all" }, - "peerDependencies": { - "browserslist": ">=4.0", - "sass": ">=1.60", - "vite": "^4 || ^5" + "eslintConfig": { + "extends": "@nextcloud/eslint-config/typescript" }, "dependencies": { "@rollup/plugin-replace": "^6.0.2", @@ -53,20 +56,22 @@ "@types/node": "^22.10.5", "@vitest/coverage-v8": "^2.1.8", "typedoc": "^0.27.6", - "typescript": "^5.7.2", + "typescript": "^5.7.3", "vite": "^6.0.7", - "vitest": "^2.0.3" + "vitest": "^2.1.8" + }, + "peerDependencies": { + "browserslist": ">=4.0", + "sass": ">=1.60", + "vite": "^4 || ^5 || ^6" }, - "files": [ - "dist/", - "LICENSES", - "banner-template.txt" - ], "engines": { - "node": "^20", + "node": "^20 || ^22", "npm": "^10" }, - "eslintConfig": { - "extends": "@nextcloud/eslint-config/typescript" + "overrides": { + "vite-plugin-node-polyfills": { + "vite": "^4 || ^5 || ^6" + } } }