mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 23:12:06 -03:30
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>
This commit is contained in:
parent
43ee41e8a8
commit
0f573d19bf
@ -104,5 +104,16 @@
|
||||
"../../libs/keycloak-admin-client:build"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"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/apps/account-ui"
|
||||
},
|
||||
"homepage": "https://www.keycloak.org/"
|
||||
}
|
||||
|
||||
@ -133,5 +133,16 @@
|
||||
"vite-plugin-checker": "^0.10.3",
|
||||
"vite-plugin-dts": "^4.5.4",
|
||||
"vitest": "^3.2.4"
|
||||
}
|
||||
},
|
||||
"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/apps/admin-ui"
|
||||
},
|
||||
"homepage": "https://www.keycloak.org/"
|
||||
}
|
||||
|
||||
@ -19,5 +19,16 @@
|
||||
"fs-extra": "^11.3.2",
|
||||
"mustache": "^4.2.0",
|
||||
"simple-git": "^3.28.0"
|
||||
}
|
||||
},
|
||||
"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/apps/create-keycloak-theme"
|
||||
},
|
||||
"homepage": "https://www.keycloak.org/"
|
||||
}
|
||||
|
||||
@ -13,5 +13,16 @@
|
||||
"@types/tar-fs": "^2.0.4",
|
||||
"gunzip-maybe": "^1.4.2",
|
||||
"tar-fs": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"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/apps/keycloak-server"
|
||||
},
|
||||
"homepage": "https://www.keycloak.org/"
|
||||
}
|
||||
|
||||
@ -67,5 +67,16 @@
|
||||
"vite-plugin-dts": "^4.5.4",
|
||||
"vite-plugin-lib-inject-css": "^2.2.2",
|
||||
"vitest": "^3.2.4"
|
||||
}
|
||||
},
|
||||
"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/libs/ui-shared"
|
||||
},
|
||||
"homepage": "https://www.keycloak.org/"
|
||||
}
|
||||
|
||||
@ -41,5 +41,16 @@
|
||||
},
|
||||
"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/"
|
||||
}
|
||||
|
||||
@ -36,5 +36,16 @@
|
||||
"@rollup/plugin-replace": "^6.0.2",
|
||||
"@rollup/plugin-terser": "^0.4.4",
|
||||
"rollup": "^4.52.2"
|
||||
}
|
||||
},
|
||||
"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/themes-vendor"
|
||||
},
|
||||
"homepage": "https://www.keycloak.org/"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user