diff --git a/package-lock.json b/package-lock.json index e29ac9f82f..68929d9874 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5278,7 +5278,7 @@ }, "packages/eslint-config": { "name": "@goauthentik/eslint-config", - "version": "1.2.0", + "version": "1.2.1", "license": "MIT", "dependencies": { "eslint": "^9.39.1", @@ -5298,7 +5298,7 @@ }, "engines": { "node": ">=24", - "npm": ">=11.6.2" + "npm": ">=11.10.1" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", diff --git a/packages/docusaurus-config/package-lock.json b/packages/docusaurus-config/package-lock.json index 2132270569..8d0a41d439 100644 --- a/packages/docusaurus-config/package-lock.json +++ b/packages/docusaurus-config/package-lock.json @@ -1,12 +1,12 @@ { "name": "@goauthentik/docusaurus-config", - "version": "2.3.0", + "version": "2.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@goauthentik/docusaurus-config", - "version": "2.3.0", + "version": "2.4.0", "license": "MIT", "dependencies": { "deepmerge-ts": "^7.1.5", @@ -27,14 +27,14 @@ "@typescript-eslint/parser": "^8.47.0", "eslint": "^9.39.1", "pino": "^10.1.0", - "prettier": "^3.7.4", - "prettier-plugin-packagejson": "^2.5.20", + "prettier": "^3.8.1", + "prettier-plugin-packagejson": "^3.0.0", "typescript": "^5.9.3", "typescript-eslint": "^8.49.0" }, "engines": { "node": ">=24", - "npm": ">=11.6.2" + "npm": ">=11.10.0" }, "optionalDependencies": { "react": ">=18", @@ -61,7 +61,7 @@ }, "../eslint-config": { "name": "@goauthentik/eslint-config", - "version": "1.2.0", + "version": "1.3.0", "dev": true, "license": "MIT", "dependencies": { @@ -101,7 +101,7 @@ }, "../prettier-config": { "name": "@goauthentik/prettier-config", - "version": "3.3.1", + "version": "3.4.0", "dev": true, "license": "MIT", "dependencies": { @@ -115,18 +115,18 @@ "@typescript-eslint/eslint-plugin": "^8.49.0", "@typescript-eslint/parser": "^8.49.0", "eslint": "^9.39.1", - "prettier": "^3.7.4", - "prettier-plugin-packagejson": "^2.5.20", + "prettier": "^3.8.1", + "prettier-plugin-packagejson": "^3.0.0", "typescript": "^5.9.3", "typescript-eslint": "^8.49.0" }, "engines": { "node": ">=24", - "npm": ">=11.6.2" + "npm": ">=11.10.0" }, "peerDependencies": { - "prettier": "^3.7.4", - "prettier-plugin-packagejson": "^2.5.20" + "prettier": "^3.8.1", + "prettier-plugin-packagejson": "^3.0.0" } }, "../tsconfig": { @@ -4699,19 +4699,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@pkgr/core": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.2.9.tgz", - "integrity": "sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.18.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/pkgr" - } - }, "node_modules/@pnpm/config.env-replace": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz", @@ -9426,9 +9413,9 @@ } }, "node_modules/git-hooks-list": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/git-hooks-list/-/git-hooks-list-4.1.1.tgz", - "integrity": "sha512-cmP497iLq54AZnv4YRAEMnEyQ1eIn4tGKbmswqwmFV4GBnAqE8NLtWxxdXa++AalfgL5EBH4IxTPyquEuGY/jA==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/git-hooks-list/-/git-hooks-list-4.2.1.tgz", + "integrity": "sha512-WNvqJjOxxs/8ZP9+DWdwWJ7cDsd60NHf39XnD82pDVrKO5q7xfPqpkK6hwEAmBa/ZSEE4IOoR75EzbbIuwGlMw==", "dev": true, "license": "MIT", "funding": { @@ -16131,9 +16118,9 @@ } }, "node_modules/prettier": { - "version": "3.7.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.7.4.tgz", - "integrity": "sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==", + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz", + "integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==", "dev": true, "license": "MIT", "bin": { @@ -16147,17 +16134,16 @@ } }, "node_modules/prettier-plugin-packagejson": { - "version": "2.5.20", - "resolved": "https://registry.npmjs.org/prettier-plugin-packagejson/-/prettier-plugin-packagejson-2.5.20.tgz", - "integrity": "sha512-G8cowPh+QmJJECTZlrPDKWkVVcwrFjF2rGcw546w3N8blLoc4szSs8UUPfFVxHUNLUjiru71Ah83g1lZkeK9Bw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/prettier-plugin-packagejson/-/prettier-plugin-packagejson-3.0.0.tgz", + "integrity": "sha512-z8/QmPSqx/ANvvQMWJSkSq1+ihBXeuwDEYdjX3ZjRJ5Ty1k7vGbFQfhzk2eDe0rwS/TNyRjWK/qnjJEStAOtDw==", "dev": true, "license": "MIT", "dependencies": { - "sort-package-json": "3.5.0", - "synckit": "0.11.11" + "sort-package-json": "3.6.0" }, "peerDependencies": { - "prettier": ">= 1.16.0" + "prettier": "^3" }, "peerDependenciesMeta": { "prettier": { @@ -17886,26 +17872,26 @@ } }, "node_modules/sort-object-keys": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/sort-object-keys/-/sort-object-keys-2.0.1.tgz", - "integrity": "sha512-R89fO+z3x7hiKPXX5P0qim+ge6Y60AjtlW+QQpRozrrNcR1lw9Pkpm5MLB56HoNvdcLHL4wbpq16OcvGpEDJIg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/sort-object-keys/-/sort-object-keys-2.1.0.tgz", + "integrity": "sha512-SOiEnthkJKPv2L6ec6HMwhUcN0/lppkeYuN1x63PbyPRrgSPIuBJCiYxYyvWRTtjMlOi14vQUCGUJqS6PLVm8g==", "dev": true, "license": "MIT" }, "node_modules/sort-package-json": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/sort-package-json/-/sort-package-json-3.5.0.tgz", - "integrity": "sha512-moY4UtptUuP5sPuu9H9dp8xHNel7eP5/Kz/7+90jTvC0IOiPH2LigtRM/aSFSxreaWoToHUVUpEV4a2tAs2oKQ==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/sort-package-json/-/sort-package-json-3.6.0.tgz", + "integrity": "sha512-fyJsPLhWvY7u2KsKPZn1PixbXp+1m7V8NWqU8CvgFRbMEX41Ffw1kD8n0CfJiGoaSfoAvbrqRRl/DcHO8omQOQ==", "dev": true, "license": "MIT", "dependencies": { - "detect-indent": "^7.0.1", + "detect-indent": "^7.0.2", "detect-newline": "^4.0.1", - "git-hooks-list": "^4.0.0", + "git-hooks-list": "^4.1.1", "is-plain-obj": "^4.1.0", - "semver": "^7.7.1", - "sort-object-keys": "^2.0.0", - "tinyglobby": "^0.2.12" + "semver": "^7.7.3", + "sort-object-keys": "^2.0.1", + "tinyglobby": "^0.2.15" }, "bin": { "sort-package-json": "cli.js" @@ -18341,22 +18327,6 @@ "react": "^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, - "node_modules/synckit": { - "version": "0.11.11", - "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.11.tgz", - "integrity": "sha512-MeQTA1r0litLUf0Rp/iisCaL8761lKAZHaimlbGK4j0HysC4PLfqygQj9srcs0m2RdtDYnF8UuYyKpbjHYp7Jw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@pkgr/core": "^0.2.9" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/synckit" - } - }, "node_modules/tapable": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.0.tgz", diff --git a/packages/docusaurus-config/package.json b/packages/docusaurus-config/package.json index 72a7bdf7e6..2dc162dcef 100644 --- a/packages/docusaurus-config/package.json +++ b/packages/docusaurus-config/package.json @@ -1,8 +1,13 @@ { "name": "@goauthentik/docusaurus-config", - "version": "2.3.0", + "version": "2.4.0", "description": "authentik's Docusaurus config", "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/goauthentik/authentik.git", + "directory": "packages/docusaurus-config" + }, "scripts": { "build": "tsc -p .", "lint": "eslint --fix .", @@ -11,11 +16,12 @@ "prettier-check": "prettier --cache --check -u ." }, "type": "module", + "types": "./out/index.d.ts", "exports": { "./package.json": "./package.json", ".": { - "import": "./index.js", - "types": "./out/index.d.ts" + "types": "./out/index.d.ts", + "import": "./index.js" }, "./css/*.css": "./css/*.css" }, @@ -38,8 +44,8 @@ "@typescript-eslint/parser": "^8.47.0", "eslint": "^9.39.1", "pino": "^10.1.0", - "prettier": "^3.7.4", - "prettier-plugin-packagejson": "^2.5.20", + "prettier": "^3.8.1", + "prettier-plugin-packagejson": "^3.0.0", "typescript": "^5.9.3", "typescript-eslint": "^8.49.0" }, @@ -54,22 +60,28 @@ "react": ">=18", "react-dom": ">=18" }, - "engines": { - "node": ">=24", - "npm": ">=11.6.2" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/goauthentik/authentik.git", - "directory": "packages/docusaurus-config" - }, - "types": "./out/index.d.ts", "files": [ "./index.js", "lib/**/*", "css/**/*", "out/**/*" ], + "engines": { + "node": ">=24", + "npm": ">=11.10.0" + }, + "devEngines": { + "runtime": { + "name": "node", + "onFail": "warn", + "version": ">=24" + }, + "packageManager": { + "name": "npm", + "version": "11.10.1", + "onFail": "warn" + } + }, "prettier": "@goauthentik/prettier-config", "peerDependenciesMeta": { "@docusaurus/theme-search-algolia": { diff --git a/packages/esbuild-plugin-live-reload/package-lock.json b/packages/esbuild-plugin-live-reload/package-lock.json index 250ecc69c2..6df284ab86 100644 --- a/packages/esbuild-plugin-live-reload/package-lock.json +++ b/packages/esbuild-plugin-live-reload/package-lock.json @@ -1,12 +1,12 @@ { "name": "@goauthentik/esbuild-plugin-live-reload", - "version": "1.4.0", + "version": "1.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@goauthentik/esbuild-plugin-live-reload", - "version": "1.4.0", + "version": "1.5.0", "license": "MIT", "dependencies": { "find-free-ports": "^3.1.1" @@ -22,8 +22,8 @@ "esbuild": "^0.27.1", "eslint": "^9.39.1", "pino": "^10.1.0", - "prettier": "^3.7.4", - "prettier-plugin-packagejson": "^2.5.20", + "prettier": "^3.8.1", + "prettier-plugin-packagejson": "^3.0.0", "typedoc": "^0.28.15", "typedoc-plugin-markdown": "^4.9.0", "typescript": "^5.9.3", @@ -39,7 +39,7 @@ }, "../eslint-config": { "name": "@goauthentik/eslint-config", - "version": "1.2.0", + "version": "1.2.1", "dev": true, "license": "MIT", "dependencies": { @@ -60,7 +60,7 @@ }, "engines": { "node": ">=24", - "npm": ">=11.6.2" + "npm": ">=11.10.1" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", @@ -79,7 +79,7 @@ }, "../prettier-config": { "name": "@goauthentik/prettier-config", - "version": "3.3.1", + "version": "3.4.0", "dev": true, "license": "MIT", "dependencies": { @@ -93,18 +93,18 @@ "@typescript-eslint/eslint-plugin": "^8.49.0", "@typescript-eslint/parser": "^8.49.0", "eslint": "^9.39.1", - "prettier": "^3.7.4", - "prettier-plugin-packagejson": "^2.5.20", + "prettier": "^3.8.1", + "prettier-plugin-packagejson": "^3.0.0", "typescript": "^5.9.3", "typescript-eslint": "^8.49.0" }, "engines": { "node": ">=24", - "npm": ">=11.6.2" + "npm": ">=11.10.1" }, "peerDependencies": { - "prettier": "^3.7.4", - "prettier-plugin-packagejson": "^2.5.20" + "prettier": "^3.8.1", + "prettier-plugin-packagejson": "^3.0.0" } }, "../tsconfig": { @@ -833,19 +833,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@pkgr/core": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.2.9.tgz", - "integrity": "sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.18.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/pkgr" - } - }, "node_modules/@shikijs/engine-oniguruma": { "version": "3.19.0", "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-3.19.0.tgz", @@ -1758,9 +1745,9 @@ "license": "ISC" }, "node_modules/git-hooks-list": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/git-hooks-list/-/git-hooks-list-4.1.1.tgz", - "integrity": "sha512-cmP497iLq54AZnv4YRAEMnEyQ1eIn4tGKbmswqwmFV4GBnAqE8NLtWxxdXa++AalfgL5EBH4IxTPyquEuGY/jA==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/git-hooks-list/-/git-hooks-list-4.2.1.tgz", + "integrity": "sha512-WNvqJjOxxs/8ZP9+DWdwWJ7cDsd60NHf39XnD82pDVrKO5q7xfPqpkK6hwEAmBa/ZSEE4IOoR75EzbbIuwGlMw==", "dev": true, "license": "MIT", "funding": { @@ -2193,9 +2180,9 @@ } }, "node_modules/prettier": { - "version": "3.7.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.7.4.tgz", - "integrity": "sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==", + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz", + "integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==", "dev": true, "license": "MIT", "bin": { @@ -2209,17 +2196,16 @@ } }, "node_modules/prettier-plugin-packagejson": { - "version": "2.5.20", - "resolved": "https://registry.npmjs.org/prettier-plugin-packagejson/-/prettier-plugin-packagejson-2.5.20.tgz", - "integrity": "sha512-G8cowPh+QmJJECTZlrPDKWkVVcwrFjF2rGcw546w3N8blLoc4szSs8UUPfFVxHUNLUjiru71Ah83g1lZkeK9Bw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/prettier-plugin-packagejson/-/prettier-plugin-packagejson-3.0.0.tgz", + "integrity": "sha512-z8/QmPSqx/ANvvQMWJSkSq1+ihBXeuwDEYdjX3ZjRJ5Ty1k7vGbFQfhzk2eDe0rwS/TNyRjWK/qnjJEStAOtDw==", "dev": true, "license": "MIT", "dependencies": { - "sort-package-json": "3.5.0", - "synckit": "0.11.11" + "sort-package-json": "3.6.0" }, "peerDependencies": { - "prettier": ">= 1.16.0" + "prettier": "^3" }, "peerDependenciesMeta": { "prettier": { @@ -2348,26 +2334,26 @@ } }, "node_modules/sort-object-keys": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/sort-object-keys/-/sort-object-keys-2.0.1.tgz", - "integrity": "sha512-R89fO+z3x7hiKPXX5P0qim+ge6Y60AjtlW+QQpRozrrNcR1lw9Pkpm5MLB56HoNvdcLHL4wbpq16OcvGpEDJIg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/sort-object-keys/-/sort-object-keys-2.1.0.tgz", + "integrity": "sha512-SOiEnthkJKPv2L6ec6HMwhUcN0/lppkeYuN1x63PbyPRrgSPIuBJCiYxYyvWRTtjMlOi14vQUCGUJqS6PLVm8g==", "dev": true, "license": "MIT" }, "node_modules/sort-package-json": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/sort-package-json/-/sort-package-json-3.5.0.tgz", - "integrity": "sha512-moY4UtptUuP5sPuu9H9dp8xHNel7eP5/Kz/7+90jTvC0IOiPH2LigtRM/aSFSxreaWoToHUVUpEV4a2tAs2oKQ==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/sort-package-json/-/sort-package-json-3.6.0.tgz", + "integrity": "sha512-fyJsPLhWvY7u2KsKPZn1PixbXp+1m7V8NWqU8CvgFRbMEX41Ffw1kD8n0CfJiGoaSfoAvbrqRRl/DcHO8omQOQ==", "dev": true, "license": "MIT", "dependencies": { - "detect-indent": "^7.0.1", + "detect-indent": "^7.0.2", "detect-newline": "^4.0.1", - "git-hooks-list": "^4.0.0", + "git-hooks-list": "^4.1.1", "is-plain-obj": "^4.1.0", - "semver": "^7.7.1", - "sort-object-keys": "^2.0.0", - "tinyglobby": "^0.2.12" + "semver": "^7.7.3", + "sort-object-keys": "^2.0.1", + "tinyglobby": "^0.2.15" }, "bin": { "sort-package-json": "cli.js" @@ -2412,22 +2398,6 @@ "node": ">=8" } }, - "node_modules/synckit": { - "version": "0.11.11", - "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.11.tgz", - "integrity": "sha512-MeQTA1r0litLUf0Rp/iisCaL8761lKAZHaimlbGK4j0HysC4PLfqygQj9srcs0m2RdtDYnF8UuYyKpbjHYp7Jw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@pkgr/core": "^0.2.9" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/synckit" - } - }, "node_modules/thread-stream": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/thread-stream/-/thread-stream-3.1.0.tgz", diff --git a/packages/esbuild-plugin-live-reload/package.json b/packages/esbuild-plugin-live-reload/package.json index 2073aef569..06d65fcb83 100644 --- a/packages/esbuild-plugin-live-reload/package.json +++ b/packages/esbuild-plugin-live-reload/package.json @@ -1,8 +1,13 @@ { "name": "@goauthentik/esbuild-plugin-live-reload", - "version": "1.4.0", + "version": "1.5.0", "description": "ESBuild + browser refresh. Build completes, page reloads.", "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/goauthentik/authentik.git", + "directory": "packages/esbuild-plugin-live-reload" + }, "scripts": { "build": "npm run build:types && npm run build:docs", "build:docs": "typedoc", @@ -14,6 +19,7 @@ }, "main": "index.js", "type": "module", + "types": "./out/index.d.ts", "exports": { "./package.json": "./package.json", ".": { @@ -47,8 +53,8 @@ "esbuild": "^0.27.1", "eslint": "^9.39.1", "pino": "^10.1.0", - "prettier": "^3.7.4", - "prettier-plugin-packagejson": "^2.5.20", + "prettier": "^3.8.1", + "prettier-plugin-packagejson": "^3.0.0", "typedoc": "^0.28.15", "typedoc-plugin-markdown": "^4.9.0", "typescript": "^5.9.3", @@ -57,10 +63,30 @@ "peerDependencies": { "esbuild": "^0.27.0" }, + "files": [ + "./index.js", + "client/**/*", + "plugin/**/*", + "shared/**/*", + "out/**/*" + ], "engines": { "node": ">=24", "npm": ">=11.6.2" }, + "devEngines": { + "runtime": { + "name": "node", + "onFail": "warn", + "version": ">=24" + }, + "packageManager": { + "name": "npm", + "version": "11.10.1", + "onFail": "warn" + } + }, + "prettier": "@goauthentik/prettier-config", "keywords": [ "esbuild", "live-reload", @@ -69,20 +95,6 @@ "reload", "authentik" ], - "repository": { - "type": "git", - "url": "git+https://github.com/goauthentik/authentik.git", - "directory": "packages/esbuild-plugin-live-reload" - }, - "types": "./out/index.d.ts", - "files": [ - "./index.js", - "client/**/*", - "plugin/**/*", - "shared/**/*", - "out/**/*" - ], - "prettier": "@goauthentik/prettier-config", "publishConfig": { "access": "public" } diff --git a/packages/prettier-config/package-lock.json b/packages/prettier-config/package-lock.json index 6da36fff39..805ca78c92 100644 --- a/packages/prettier-config/package-lock.json +++ b/packages/prettier-config/package-lock.json @@ -35,7 +35,7 @@ }, "../eslint-config": { "name": "@goauthentik/eslint-config", - "version": "1.2.0", + "version": "1.2.1", "dev": true, "license": "MIT", "dependencies": { @@ -56,7 +56,7 @@ }, "engines": { "node": ">=24", - "npm": ">=11.6.2" + "npm": ">=11.10.1" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", diff --git a/web/package-lock.json b/web/package-lock.json index 40f9fd9e57..acebeea73b 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -26,8 +26,8 @@ "@goauthentik/api": "^2026.2.0-rc1-1770744803", "@goauthentik/core": "^1.0.0", "@goauthentik/esbuild-plugin-live-reload": "^1.4.0", - "@goauthentik/eslint-config": "^1.2.0", - "@goauthentik/prettier-config": "^3.3.1", + "@goauthentik/eslint-config": "^1.2.1", + "@goauthentik/prettier-config": "^3.4.0", "@goauthentik/tsconfig": "^1.0.5", "@hcaptcha/types": "^1.1.0", "@lit/context": "^1.1.6", @@ -77,7 +77,7 @@ "globals": "^17.3.0", "guacamole-common-js": "^1.5.0", "hastscript": "^9.0.1", - "knip": "^5.84.1", + "knip": "^5.85.0", "lex": "^2025.11.0", "lit": "^3.3.2", "lit-analyzer": "^2.0.3", @@ -91,6 +91,7 @@ "pino-pretty": "^13.1.2", "playwright": "^1.58.2", "prettier": "^3.8.1", + "prettier-plugin-packagejson": "^3.0.0", "pseudolocale": "^2.2.0", "rapidoc": "^9.3.8", "react": "^19.2.4", @@ -1434,9 +1435,9 @@ } }, "node_modules/@goauthentik/eslint-config": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@goauthentik/eslint-config/-/eslint-config-1.2.0.tgz", - "integrity": "sha512-OHI/VTc34rZ4rLihuiXvrwsnBONXzikXPUUqGninKFZviOzIosED76NfgAh8PFS0G2G5XhxKgE/X3y66jmfBSA==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@goauthentik/eslint-config/-/eslint-config-1.2.1.tgz", + "integrity": "sha512-Il47UJolIPG2j671iV64QcX5DCScorm70m0rjr7wsGcSDvc/CflD04fHKwXH4Ud+Hs5khJD4LQp2usTZT/Bi/g==", "license": "MIT", "dependencies": { "eslint": "^9.39.1", @@ -1448,7 +1449,7 @@ }, "engines": { "node": ">=24", - "npm": ">=11.6.2" + "npm": ">=11.10.1" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", @@ -1466,20 +1467,20 @@ } }, "node_modules/@goauthentik/prettier-config": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/@goauthentik/prettier-config/-/prettier-config-3.3.1.tgz", - "integrity": "sha512-ZfwokcGQkZmRwhDrNu+PUgFVV/dyx8B/Utu1EOKMWNV9rEnOLqrlC7L5Zwj5aCNezYewiodOL4zvAUifnArsqw==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/@goauthentik/prettier-config/-/prettier-config-3.4.0.tgz", + "integrity": "sha512-00SnyvdfHhoifuqlQlS+Beyl0aFUUBWShI4Ci+QxFS1pkiyl1HnHbr20QRSR7DPqPmRMVAYmsr1Yv6/1heNhIg==", "license": "MIT", "dependencies": { "format-imports": "^4.0.8" }, "engines": { "node": ">=24", - "npm": ">=11.6.2" + "npm": ">=11.10.1" }, "peerDependencies": { - "prettier": "^3.7.4", - "prettier-plugin-packagejson": "^2.5.20" + "prettier": "^3.8.1", + "prettier-plugin-packagejson": "^3.0.0" } }, "node_modules/@goauthentik/tsconfig": { @@ -7469,7 +7470,6 @@ "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-7.0.2.tgz", "integrity": "sha512-y+8xyqdGLL+6sh0tVeHcfP/QDd8gUgbasolJJpY7NgeQGSZ739bDtSiaiDgtoicy+mtYB81dKLxO9xRhCyIB3A==", "license": "MIT", - "peer": true, "engines": { "node": ">=12.20" }, @@ -7482,7 +7482,6 @@ "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-4.0.1.tgz", "integrity": "sha512-qE3Veg1YXzGHQhlA6jzebZN2qVf6NX+A7m7qlhCGG30dJixrAQhYOsJjsnBjJkCSmuOPpCk30145fr8FV0bzog==", "license": "MIT", - "peer": true, "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, @@ -9240,7 +9239,6 @@ "resolved": "https://registry.npmjs.org/git-hooks-list/-/git-hooks-list-4.2.1.tgz", "integrity": "sha512-WNvqJjOxxs/8ZP9+DWdwWJ7cDsd60NHf39XnD82pDVrKO5q7xfPqpkK6hwEAmBa/ZSEE4IOoR75EzbbIuwGlMw==", "license": "MIT", - "peer": true, "funding": { "url": "https://github.com/fisker/git-hooks-list?sponsor=1" } @@ -10742,9 +10740,9 @@ } }, "node_modules/knip": { - "version": "5.84.1", - "resolved": "https://registry.npmjs.org/knip/-/knip-5.84.1.tgz", - "integrity": "sha512-F1+yACEsSapAwmQLzfD4i9uPsnI82P4p5ABpNQ9pcc4fpQtjHEX34XDtNl5863I4O6SCECpymylcWDHI3ouhQQ==", + "version": "5.85.0", + "resolved": "https://registry.npmjs.org/knip/-/knip-5.85.0.tgz", + "integrity": "sha512-V2kyON+DZiYdNNdY6GALseiNCwX7dYdpz9Pv85AUn69Gk0UKCts+glOKWfe5KmaMByRjM9q17Mzj/KinTVOyxg==", "funding": [ { "type": "github", @@ -13700,16 +13698,15 @@ } }, "node_modules/prettier-plugin-packagejson": { - "version": "2.5.22", - "resolved": "https://registry.npmjs.org/prettier-plugin-packagejson/-/prettier-plugin-packagejson-2.5.22.tgz", - "integrity": "sha512-G6WalmoUssKF8ZXkni0+n4324K+gG143KPysSQNW+FrR0XyNb3BdRxchGC/Q1FE/F702p7/6KU7r4mv0WSWbzA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/prettier-plugin-packagejson/-/prettier-plugin-packagejson-3.0.0.tgz", + "integrity": "sha512-z8/QmPSqx/ANvvQMWJSkSq1+ihBXeuwDEYdjX3ZjRJ5Ty1k7vGbFQfhzk2eDe0rwS/TNyRjWK/qnjJEStAOtDw==", "license": "MIT", - "peer": true, "dependencies": { "sort-package-json": "3.6.0" }, "peerDependencies": { - "prettier": ">= 1.16.0" + "prettier": "^3" }, "peerDependenciesMeta": { "prettier": { @@ -15208,15 +15205,13 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/sort-object-keys/-/sort-object-keys-2.1.0.tgz", "integrity": "sha512-SOiEnthkJKPv2L6ec6HMwhUcN0/lppkeYuN1x63PbyPRrgSPIuBJCiYxYyvWRTtjMlOi14vQUCGUJqS6PLVm8g==", - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/sort-package-json": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/sort-package-json/-/sort-package-json-3.6.0.tgz", "integrity": "sha512-fyJsPLhWvY7u2KsKPZn1PixbXp+1m7V8NWqU8CvgFRbMEX41Ffw1kD8n0CfJiGoaSfoAvbrqRRl/DcHO8omQOQ==", "license": "MIT", - "peer": true, "dependencies": { "detect-indent": "^7.0.2", "detect-newline": "^4.0.1", diff --git a/web/package.json b/web/package.json index b93194aa46..880224b339 100644 --- a/web/package.json +++ b/web/package.json @@ -101,8 +101,8 @@ "@goauthentik/api": "^2026.2.0-rc1-1770744803", "@goauthentik/core": "^1.0.0", "@goauthentik/esbuild-plugin-live-reload": "^1.4.0", - "@goauthentik/eslint-config": "^1.2.0", - "@goauthentik/prettier-config": "^3.3.1", + "@goauthentik/eslint-config": "^1.2.1", + "@goauthentik/prettier-config": "^3.4.0", "@goauthentik/tsconfig": "^1.0.5", "@hcaptcha/types": "^1.1.0", "@lit/context": "^1.1.6", @@ -152,7 +152,7 @@ "globals": "^17.3.0", "guacamole-common-js": "^1.5.0", "hastscript": "^9.0.1", - "knip": "^5.84.1", + "knip": "^5.85.0", "lex": "^2025.11.0", "lit": "^3.3.2", "lit-analyzer": "^2.0.3", @@ -166,6 +166,7 @@ "pino-pretty": "^13.1.2", "playwright": "^1.58.2", "prettier": "^3.8.1", + "prettier-plugin-packagejson": "^3.0.0", "pseudolocale": "^2.2.0", "rapidoc": "^9.3.8", "react": "^19.2.4", @@ -202,6 +203,9 @@ "@rollup/rollup-linux-x64-gnu": "^4.57.1", "chromedriver": "^145.0.3" }, + "workspaces": [ + "./packages/*" + ], "wireit": { "build": { "#comment": [ @@ -299,14 +303,27 @@ "node": ">=24", "npm": ">=11.6.2" }, - "workspaces": [ - "./packages/*" - ], + "devEngines": { + "runtime": { + "name": "node", + "onFail": "warn", + "version": ">=24" + }, + "packageManager": { + "name": "npm", + "version": "11.10.1", + "onFail": "warn" + } + }, "prettier": "@goauthentik/prettier-config", "overrides": { "@goauthentik/esbuild-plugin-live-reload": { "esbuild": "$esbuild" }, + "@goauthentik/prettier-config": { + "prettier": "$prettier", + "prettier-plugin-packagejson": "$prettier-plugin-packagejson" + }, "@mrmarble/djangoql-completion": { "lex": "$lex" }, diff --git a/web/packages/core/package.json b/web/packages/core/package.json index 22c08aaf50..8a273dc348 100644 --- a/web/packages/core/package.json +++ b/web/packages/core/package.json @@ -9,6 +9,7 @@ }, "main": "index.js", "type": "module", + "types": "./out/index.d.ts", "exports": { "./package.json": "./package.json", "./*/browser": { @@ -52,6 +53,5 @@ "engines": { "node": ">=24", "npm": ">=11.6.2" - }, - "types": "./out/index.d.ts" + } } diff --git a/website/package-lock.json b/website/package-lock.json index 144b80ccf4..e056e131b1 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -17,8 +17,8 @@ ], "dependencies": { "@eslint/js": "^9.39.1", - "@goauthentik/eslint-config": "^1.1.1", - "@goauthentik/prettier-config": "^3.2.1", + "@goauthentik/eslint-config": "^1.2.1", + "@goauthentik/prettier-config": "^3.4.0", "@goauthentik/tsconfig": "^1.0.5", "@types/node": "^25.0.0", "@typescript-eslint/eslint-plugin": "^8.48.0", @@ -29,8 +29,8 @@ "netlify-redirect-parser": "^14.4.0", "npm-run-all": "^4.1.5", "postman-code-generators": "2.1.0", - "prettier": "^3.7.3", - "prettier-plugin-packagejson": "^2.5.20", + "prettier": "^3.8.1", + "prettier-plugin-packagejson": "^3.0.0", "typescript-eslint": "^8.48.0" }, "engines": { @@ -4789,9 +4789,9 @@ "link": true }, "node_modules/@goauthentik/eslint-config": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@goauthentik/eslint-config/-/eslint-config-1.1.1.tgz", - "integrity": "sha512-IOCQjBvD2FeUD0m1eAVhLTYxPM5pKA7UBEbub2QQYJAm7Ny8gNIA1jVoYRomYBRTundWJa5Y6iy1zN52r6Qofw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@goauthentik/eslint-config/-/eslint-config-1.2.1.tgz", + "integrity": "sha512-Il47UJolIPG2j671iV64QcX5DCScorm70m0rjr7wsGcSDvc/CflD04fHKwXH4Ud+Hs5khJD4LQp2usTZT/Bi/g==", "license": "MIT", "dependencies": { "eslint": "^9.39.1", @@ -4803,13 +4803,13 @@ }, "engines": { "node": ">=24", - "npm": ">=11.6.2" + "npm": ">=11.10.1" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0", "typescript": "^5.9.3", - "typescript-eslint": "^8.47.0" + "typescript-eslint": "^8.49.0" }, "peerDependenciesMeta": { "react": { @@ -4825,20 +4825,20 @@ "link": true }, "node_modules/@goauthentik/prettier-config": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/@goauthentik/prettier-config/-/prettier-config-3.2.1.tgz", - "integrity": "sha512-Cq/z0s0LRFaDVDaNvh8cZzMJ8RHE3YG+Dwi3maLA6OJkLMg/hSQF8AXneLlwo/eF4S5TORbrd0gl7l8xiUqrcQ==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/@goauthentik/prettier-config/-/prettier-config-3.4.0.tgz", + "integrity": "sha512-00SnyvdfHhoifuqlQlS+Beyl0aFUUBWShI4Ci+QxFS1pkiyl1HnHbr20QRSR7DPqPmRMVAYmsr1Yv6/1heNhIg==", "license": "MIT", "dependencies": { "format-imports": "^4.0.8" }, "engines": { "node": ">=24", - "npm": ">=11.6.2" + "npm": ">=11.10.1" }, "peerDependencies": { - "prettier": "^3.6.2", - "prettier-plugin-packagejson": "^2.5.19" + "prettier": "^3.8.1", + "prettier-plugin-packagejson": "^3.0.0" } }, "node_modules/@goauthentik/tsconfig": { @@ -5705,18 +5705,6 @@ "node": ">=0.10" } }, - "node_modules/@pkgr/core": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.2.9.tgz", - "integrity": "sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==", - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.18.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/pkgr" - } - }, "node_modules/@pnpm/config.env-replace": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz", @@ -14662,9 +14650,9 @@ } }, "node_modules/git-hooks-list": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/git-hooks-list/-/git-hooks-list-4.1.1.tgz", - "integrity": "sha512-cmP497iLq54AZnv4YRAEMnEyQ1eIn4tGKbmswqwmFV4GBnAqE8NLtWxxdXa++AalfgL5EBH4IxTPyquEuGY/jA==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/git-hooks-list/-/git-hooks-list-4.2.1.tgz", + "integrity": "sha512-WNvqJjOxxs/8ZP9+DWdwWJ7cDsd60NHf39XnD82pDVrKO5q7xfPqpkK6hwEAmBa/ZSEE4IOoR75EzbbIuwGlMw==", "license": "MIT", "funding": { "url": "https://github.com/fisker/git-hooks-list?sponsor=1" @@ -22922,9 +22910,9 @@ } }, "node_modules/prettier": { - "version": "3.7.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.7.4.tgz", - "integrity": "sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==", + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz", + "integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==", "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" @@ -22937,16 +22925,15 @@ } }, "node_modules/prettier-plugin-packagejson": { - "version": "2.5.20", - "resolved": "https://registry.npmjs.org/prettier-plugin-packagejson/-/prettier-plugin-packagejson-2.5.20.tgz", - "integrity": "sha512-G8cowPh+QmJJECTZlrPDKWkVVcwrFjF2rGcw546w3N8blLoc4szSs8UUPfFVxHUNLUjiru71Ah83g1lZkeK9Bw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/prettier-plugin-packagejson/-/prettier-plugin-packagejson-3.0.0.tgz", + "integrity": "sha512-z8/QmPSqx/ANvvQMWJSkSq1+ihBXeuwDEYdjX3ZjRJ5Ty1k7vGbFQfhzk2eDe0rwS/TNyRjWK/qnjJEStAOtDw==", "license": "MIT", "dependencies": { - "sort-package-json": "3.5.0", - "synckit": "0.11.11" + "sort-package-json": "3.6.0" }, "peerDependencies": { - "prettier": ">= 1.16.0" + "prettier": "^3" }, "peerDependenciesMeta": { "prettier": { @@ -25877,24 +25864,24 @@ } }, "node_modules/sort-object-keys": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/sort-object-keys/-/sort-object-keys-2.0.1.tgz", - "integrity": "sha512-R89fO+z3x7hiKPXX5P0qim+ge6Y60AjtlW+QQpRozrrNcR1lw9Pkpm5MLB56HoNvdcLHL4wbpq16OcvGpEDJIg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/sort-object-keys/-/sort-object-keys-2.1.0.tgz", + "integrity": "sha512-SOiEnthkJKPv2L6ec6HMwhUcN0/lppkeYuN1x63PbyPRrgSPIuBJCiYxYyvWRTtjMlOi14vQUCGUJqS6PLVm8g==", "license": "MIT" }, "node_modules/sort-package-json": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/sort-package-json/-/sort-package-json-3.5.0.tgz", - "integrity": "sha512-moY4UtptUuP5sPuu9H9dp8xHNel7eP5/Kz/7+90jTvC0IOiPH2LigtRM/aSFSxreaWoToHUVUpEV4a2tAs2oKQ==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/sort-package-json/-/sort-package-json-3.6.0.tgz", + "integrity": "sha512-fyJsPLhWvY7u2KsKPZn1PixbXp+1m7V8NWqU8CvgFRbMEX41Ffw1kD8n0CfJiGoaSfoAvbrqRRl/DcHO8omQOQ==", "license": "MIT", "dependencies": { - "detect-indent": "^7.0.1", + "detect-indent": "^7.0.2", "detect-newline": "^4.0.1", - "git-hooks-list": "^4.0.0", + "git-hooks-list": "^4.1.1", "is-plain-obj": "^4.1.0", - "semver": "^7.7.1", - "sort-object-keys": "^2.0.0", - "tinyglobby": "^0.2.12" + "semver": "^7.7.3", + "sort-object-keys": "^2.0.1", + "tinyglobby": "^0.2.15" }, "bin": { "sort-package-json": "cli.js" @@ -26550,21 +26537,6 @@ "react": "^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, - "node_modules/synckit": { - "version": "0.11.11", - "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.11.tgz", - "integrity": "sha512-MeQTA1r0litLUf0Rp/iisCaL8761lKAZHaimlbGK4j0HysC4PLfqygQj9srcs0m2RdtDYnF8UuYyKpbjHYp7Jw==", - "license": "MIT", - "dependencies": { - "@pkgr/core": "^0.2.9" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/synckit" - } - }, "node_modules/tapable": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.0.tgz", diff --git a/website/package.json b/website/package.json index 5f95f7b0ce..089b54271e 100644 --- a/website/package.json +++ b/website/package.json @@ -10,8 +10,8 @@ "check-types": "tsc -b", "docusaurus": "docusaurus", "lint": "eslint --fix .", - "lint-check": "eslint --max-warnings 0 .", "lint:lockfile": "echo 'Skipping lockfile linting'", + "lint-check": "eslint --max-warnings 0 .", "prettier": "prettier --write .", "prettier-check": "prettier --check .", "start": "npm start -w docs", @@ -19,8 +19,8 @@ }, "dependencies": { "@eslint/js": "^9.39.1", - "@goauthentik/eslint-config": "^1.1.1", - "@goauthentik/prettier-config": "^3.2.1", + "@goauthentik/eslint-config": "^1.2.1", + "@goauthentik/prettier-config": "^3.4.0", "@goauthentik/tsconfig": "^1.0.5", "@types/node": "^25.0.0", "@typescript-eslint/eslint-plugin": "^8.48.0", @@ -31,8 +31,8 @@ "netlify-redirect-parser": "^14.4.0", "npm-run-all": "^4.1.5", "postman-code-generators": "2.1.0", - "prettier": "^3.7.3", - "prettier-plugin-packagejson": "^2.5.20", + "prettier": "^3.8.1", + "prettier-plugin-packagejson": "^3.0.0", "typescript-eslint": "^8.48.0" }, "optionalDependencies": { @@ -76,6 +76,10 @@ } } }, + "@goauthentik/prettier-config": { + "prettier": "$prettier", + "prettier-plugin-packagejson": "$prettier-plugin-packagejson" + }, "docusaurus-theme-openapi-docs": { "postman-code-generators": { ".": "^1.10.1", @@ -99,8 +103,8 @@ }, "packageManager": { "name": "npm", - "onFail": "warn", - "version": ">=11.6.2" + "version": ">=11.6.2", + "onFail": "warn" } } }