keycloak/js/package.json
Mikail 0f573d19bf
fix: add missing NPM metadata (#42553)
This adds the missing `license` metadata, as well as other fields that were
only present in [js/libs/keycloak-admin-client/package.json] (author and URLs).

This is problematic for license scanners as the projects were flagged as not
having a license (e.g., https://www.npmjs.com/package/@keycloak/keycloak-ui-shared/v/26.3.3,
we can see 'License' field having the value 'none' on the page).

Other fields were also added (author and URLs) for consistency with
https://www.npmjs.com/package/@keycloak/keycloak-admin-client, however they
aren't critical.

Packages that are private (`js/themes-vendor/package.json`, `js/package.json`
and `js/apps/keycloak-server/package.json`) were also updated for consistency.

[js/libs/keycloak-admin-client/package.json]: d98c474cdc/js/libs/keycloak-admin-client/package.json (L57-L67)

Closes: #42552

Signed-off-by: Mikail Kocak <mikail.kocak@saleor.io>
2025-10-15 08:41:59 -04:00

57 lines
1.5 KiB
JSON

{
"name": "root",
"private": true,
"type": "module",
"packageManager": "pnpm@10.14.0+sha512.ad27a79641b49c3e481a16a805baa71817a04bbe06a38d17e60e2eaee83f6a146c6a688125f5792e48dd5ba30e7da52a5cda4c3992b9ccf333f9ce223af84748",
"scripts": {
"prepare": "cd .. && husky js/.husky",
"build": "wireit"
},
"wireit": {
"build": {
"dependencies": [
"./apps/account-ui:build",
"./apps/admin-ui:build",
"./libs/keycloak-admin-client:build",
"./libs/ui-shared:build",
"./themes-vendor:build"
]
}
},
"devDependencies": {
"@eslint/compat": "^1.4.0",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.36.0",
"@types/node": "^24.6.2",
"eslint": "^9.36.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-lodash": "^8.0.0",
"eslint-plugin-playwright": "^2.2.2",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-compiler": "19.1.0-rc.2",
"eslint-plugin-react-hooks": "~6.1.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.3",
"prettier": "^3.6.2",
"tslib": "^2.8.1",
"typescript": "^5.9.2",
"typescript-eslint": "^8.42.0",
"wireit": "^0.14.12"
},
"lint-staged": {
"*.{js,jsx,mjs,ts,tsx}": "eslint --cache --fix"
},
"author": {
"name": "Red Hat, Inc.",
"url": "https://www.keycloak.org/"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/keycloak/keycloak.git",
"directory": "js/"
},
"homepage": "https://www.keycloak.org/"
}