1e26c1fe11
This commit moves our in-app LockSessions code into an external 'app', which can theoretically be side-loaded but for now it just makes for good isolation/code hygiene. Functionally, there is kind of one change here, and that is we only show the 'Lock Session' tab if you have permissions to see them. Currently as our UI authorization endpoint needs to be changed slightly to suit our usecase, you will always have permissions to see Lock Sessions as we hardcode the session:read to true (obvs this is a frontend thing, not a backend thing), so it doesn't really change anything from a user perspective. Also added very bare docs while I was here. Small note here, ideally we need to add the each individual tab depending on whether an 'app' is enabled or not instead of just permissions, ideally it would be done totally from The Outside rather than a can based conditional on the inside, just something else to be thinking about for the future.
32 lines
1,009 B
JSON
32 lines
1,009 B
JSON
{
|
|
"private": true,
|
|
"description": "Monorepo for Consul UI, packages and addons.",
|
|
"license": "MPL-2.0",
|
|
"author": "HashiCorp",
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"doc:toc": "doctoc README.md",
|
|
"compliance": "npm-run-all compliance:*",
|
|
"compliance:licenses": "license-checker --summary --onlyAllow 'Python-2.0;Apache*;Apache License, Version 2.0;Apache-2.0;Apache 2.0;Artistic-2.0;BSD;BSD-3-Clause;CC-BY-3.0;CC-BY-4.0;CC0-1.0;ISC;MIT;MPL-2.0;Public Domain;Unicode-TOU;Unlicense;WTFPL' --excludePackages 'consul-ui@2.2.0;consul-acls@0.1.0;consul-lock-sessions@0.1.0;consul-partitions@0.1.0;consul-nspaces@0.1.0'"
|
|
|
|
},
|
|
"devDependencies": {
|
|
"doctoc": "^2.0.0",
|
|
"license-checker": "^25.0.1",
|
|
"npm-run-all": "^4.1.5"
|
|
},
|
|
"resolutions": {
|
|
"xmlhttprequest-ssl": "^1.6.3",
|
|
"ember-basic-dropdown": "3.0.21",
|
|
"ember-changeset": "3.10.1",
|
|
"validated-changeset": "0.10.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=10 <=14"
|
|
}
|
|
}
|