2e44d2020a
* Ember Engine for Kubernetes Secrets Engine (#17881) * adds in-repo ember engine for kubernetes secrets engine * updates kubernetes engine class name * Kubernetes route plumbing (#17895) * kubernetes route plumbing * adds kubernetes role index route with redirect to details * adds kubernetes as mountable and supported secrets engine (#17891) * adds models, adapters and serializers for kubernetes secrets engine (#18010) * adds mirage factories and handlers for kubernetes (#17943) * Kubernetes Secrets Engine Configuration (#18093) * moves RadioCard component to core addon * adds kubernetes configuration view * fixes tests using RadioCard after label for and input id changes * adds confirm modal when editing kubernetes config * addresses review comments * Kubernetes Configuration View (#18147) * removes configuration edit and index routes * adds kubernetes configuration view * Kubernetes Roles List (#18211) * removes configuration edit and index routes * adds kubernetes configuration view * adds kubernetes secrets engine roles list view * updates role details disabled state to explicitly check for false * VAULT-9863 Kubernetes Overview Page (#18232) * Add overview page view * Add overview page tests * Address feedback to update tests and minor changes * Use template built in helper for conditionally showing num roles * Set up roleOptions in constructor * Set up models in tests and fix minor bug * Kubernetes Secrets Engine Create/Edit Views (#18271) * moves kv-object-editor to core addon * moves json-editor to core addon * adds kubernetes secrets engine create/edit views * updates kubernetes/role adapter test * addresses feedback * fixes issue with overview route showing 404 page (#18303) * Kubernetes Role Details View (#18294) * moves format-duration helper to core addon * adds kubernetes secrets engine role details view * adds tests for role details page component * adds capabilities checks for toolbar actions * fixes list link for secrets in an ember engine (#18313) * Manual Testing: Bug Fixes and Improvements (#18333) * updates overview, configuration and roles components to pass args for individual model properties * bug fixes and improvements * adds top level index route to redirect to overview * VAULT-9877 Kubernetes Credential Generate/View Pages (#18270) * Add credentials route with create and view components * Update mirage response for creds and add ajax post call for creds in adapter * Move credentials create and view into one component * Add test classes * Remove files and update backend property name * Code cleanup and add tests * Put test helper in helper function * Add one more test! * Add code optimizations * Fix model in route and add form * Add onSubmit to form and preventDefault * Fix tests * Update mock data for test to be strong rather than record * adds acceptance tests for kubernetes secrets engine roles (#18360) * VAULT-11862 Kubernetes acceptance tests (#18431) * VAULT-12185 overview acceptance tests * VAULT-12298 credentials acceptance tests * VAULT-12186 configuration acceptance tests * VAULT-12127 Refactor breadcrumbs to use breadcrumb component (#18489) * VAULT-12127 Refactor breadcrumbs to use Page::Breadcrumbs component * Fix failing tests by adding breadcrumbs properties * VAULT-12166 add jsdocs to kubernetes secrets engine pages (#18509) * fixes incorrect merge conflict resolution * updates kubernetes check env vars endpoint (#18588) * hides kubernetes ca cert field if not defined in configuration view * fixes loading substate handling issue (#18592) * adds changelog entry Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
263 lines
8.9 KiB
JSON
263 lines
8.9 KiB
JSON
{
|
|
"name": "vault",
|
|
"version": "0.0.0",
|
|
"description": "The official UI for Vault by HashiCorp",
|
|
"repository": "",
|
|
"author": "",
|
|
"directories": {
|
|
"doc": "doc",
|
|
"test": "tests"
|
|
},
|
|
"scripts": {
|
|
"build": "ember build --environment=production && cp metadata.json ../http/web_ui/metadata.json",
|
|
"build:dev": "ember build",
|
|
"lint:fix": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*:fix",
|
|
"lint:hbs": "ember-template-lint '**/*.hbs'",
|
|
"lint:hbs:quiet": "ember-template-lint '**/*.hbs' --quiet",
|
|
"lint:hbs:fix": "ember-template-lint . --fix",
|
|
"lint:js": "eslint . --cache",
|
|
"lint:js:quiet": "eslint . --cache --quiet",
|
|
"lint:js:fix": "eslint . --fix",
|
|
"fmt": "npm-run-all --aggregate-output --continue-on-error --parallel fmt:*",
|
|
"fmt:js": "prettier --config .prettierrc.js --write '{app,tests,config,lib}/**/*.js'",
|
|
"fmt:hbs": "prettier --config .prettierrc.js --write '**/*.hbs'",
|
|
"fmt:styles": "prettier --write app/styles/**/*.*",
|
|
"start": "export VAULT_ADDR=http://localhost:8200; ember server --proxy=$VAULT_ADDR",
|
|
"start2": "ember server --proxy=http://localhost:8202 --port=4202",
|
|
"start:mirage": "start () { MIRAGE_DEV_HANDLER=$1 yarn run start; }; start",
|
|
"test": "npm-run-all lint:js:quiet lint:hbs:quiet && node scripts/start-vault.js",
|
|
"test:enos": "npm-run-all lint:js:quiet lint:hbs:quiet && node scripts/enos-test-ember.js",
|
|
"test:oss": "yarn run test -f='!enterprise'",
|
|
"test:quick": "node scripts/start-vault.js",
|
|
"test:quick-oss": "yarn test:quick -f='!enterprise'",
|
|
"types:declare": "declare () { yarn tsc $1 --declaration --allowJs --emitDeclarationOnly --experimentalDecorators --outDir $2; }; declare",
|
|
"vault": "VAULT_REDIRECT_ADDR=http://127.0.0.1:8200 vault server -log-level=error -dev -dev-root-token-id=root -dev-ha -dev-transactional",
|
|
"vault:cluster": "VAULT_REDIRECT_ADDR=http://127.0.0.1:8202 vault server -log-level=error -dev -dev-root-token-id=root -dev-listen-address=127.0.0.1:8202 -dev-ha -dev-transactional"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"prettier --config .prettierrc.js --write",
|
|
"eslint --quiet",
|
|
"git add"
|
|
],
|
|
"*.hbs": [
|
|
"prettier --config .prettierrc.js --write",
|
|
"ember-template-lint --quiet",
|
|
"git add"
|
|
],
|
|
"*.scss": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
|
|
"@babel/plugin-transform-block-scoping": "^7.12.1",
|
|
"@ember/legacy-built-in-components": "^0.4.1",
|
|
"@ember/optional-features": "^2.0.0",
|
|
"@ember/render-modifiers": "^1.0.2",
|
|
"@ember/test-helpers": "2.8.1",
|
|
"@ember/test-waiters": "^3.0.0",
|
|
"@glimmer/component": "^1.1.2",
|
|
"@glimmer/tracking": "^1.1.2",
|
|
"@hashicorp/ember-flight-icons": "2.0.3",
|
|
"@hashicorp/structure-icons": "^1.3.0",
|
|
"@icholy/duration": "^5.1.0",
|
|
"@tsconfig/ember": "^1.0.1",
|
|
"@types/ember": "^4.0.2",
|
|
"@types/ember-data": "^4.4.6",
|
|
"@types/ember-data__adapter": "^4.0.1",
|
|
"@types/ember-data__model": "^4.0.0",
|
|
"@types/ember-data__serializer": "^4.0.1",
|
|
"@types/ember-data__store": "^4.0.2",
|
|
"@types/ember-qunit": "^5.0.2",
|
|
"@types/ember-resolver": "^5.0.13",
|
|
"@types/ember__application": "^4.0.4",
|
|
"@types/ember__array": "^4.0.3",
|
|
"@types/ember__component": "^4.0.11",
|
|
"@types/ember__controller": "^4.0.3",
|
|
"@types/ember__debug": "^4.0.3",
|
|
"@types/ember__destroyable": "^4.0.1",
|
|
"@types/ember__engine": "^4.0.4",
|
|
"@types/ember__error": "^4.0.1",
|
|
"@types/ember__object": "^4.0.5",
|
|
"@types/ember__polyfills": "^4.0.1",
|
|
"@types/ember__routing": "^4.0.12",
|
|
"@types/ember__runloop": "^4.0.2",
|
|
"@types/ember__service": "^4.0.1",
|
|
"@types/ember__string": "^3.0.10",
|
|
"@types/ember__template": "^4.0.1",
|
|
"@types/ember__test": "^4.0.1",
|
|
"@types/ember__test-helpers": "^2.8.2",
|
|
"@types/ember__utils": "^4.0.2",
|
|
"@types/qunit": "^2.19.3",
|
|
"@types/rsvp": "^4.0.4",
|
|
"@typescript-eslint/eslint-plugin": "^5.19.0",
|
|
"@typescript-eslint/parser": "^5.19.0",
|
|
"asn1js": "^2.2.0",
|
|
"autosize": "^4.0.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-plugin-inline-json-import": "^0.3.2",
|
|
"base64-js": "^1.3.1",
|
|
"broccoli-asset-rev": "^3.0.0",
|
|
"broccoli-sri-hash": "meirish/broccoli-sri-hash#rooturl",
|
|
"bulma": "^0.5.2",
|
|
"bulma-switch": "^0.0.1",
|
|
"codemirror": "^5.58.2",
|
|
"columnify": "^1.5.4",
|
|
"cool-checkboxes-for-bulma.io": "^1.1.0",
|
|
"d3-axis": "^1.0.8",
|
|
"d3-ease": "^1.0.5",
|
|
"d3-scale": "^1.0.7",
|
|
"d3-selection": "^1.3.0",
|
|
"d3-time-format": "^2.1.1",
|
|
"d3-tip": "^0.9.1",
|
|
"d3-transition": "^1.2.0",
|
|
"date-fns": "^2.16.1",
|
|
"date-fns-tz": "^1.2.2",
|
|
"deepmerge": "^4.0.0",
|
|
"doctoc": "^2.2.0",
|
|
"ember-auto-import": "2.4.2",
|
|
"ember-basic-dropdown": "6.0.1",
|
|
"ember-cli": "~4.4.0",
|
|
"ember-cli-autoprefixer": "^0.8.1",
|
|
"ember-cli-babel": "^7.26.11",
|
|
"ember-cli-clipboard": "0.16.0",
|
|
"ember-cli-content-security-policy": "2.0.3",
|
|
"ember-cli-dependency-checker": "^3.3.1",
|
|
"ember-cli-deprecation-workflow": "^2.1.0",
|
|
"ember-cli-flash": "4.0.0",
|
|
"ember-cli-htmlbars": "^6.0.1",
|
|
"ember-cli-inject-live-reload": "^2.1.0",
|
|
"ember-cli-mirage": "2.4.0",
|
|
"ember-cli-page-object": "1.17.10",
|
|
"ember-cli-sass": "11.0.1",
|
|
"ember-cli-sri": "meirish/ember-cli-sri#rooturl",
|
|
"ember-cli-string-helpers": "6.1.0",
|
|
"ember-cli-terser": "^4.0.2",
|
|
"ember-cli-typescript": "^5.2.1",
|
|
"ember-composable-helpers": "5.0.0",
|
|
"ember-concurrency": "2.3.4",
|
|
"ember-copy": "2.0.1",
|
|
"ember-d3": "^0.5.1",
|
|
"ember-data": "~4.5.0",
|
|
"ember-engines": "0.8.23",
|
|
"ember-export-application-global": "^2.0.1",
|
|
"ember-fetch": "^8.1.1",
|
|
"ember-inflector": "4.0.2",
|
|
"ember-load-initializers": "^2.1.2",
|
|
"ember-maybe-in-element": "^2.0.3",
|
|
"ember-modal-dialog": "4.0.0",
|
|
"ember-modifier": "^3.1.0",
|
|
"ember-page-title": "^7.0.0",
|
|
"ember-power-select": "6.0.1",
|
|
"ember-qrcode-shim": "^0.4.0",
|
|
"ember-qunit": "6.0.0",
|
|
"ember-resolver": "^8.0.3",
|
|
"ember-responsive": "5.0.0",
|
|
"ember-router-helpers": "^0.4.0",
|
|
"ember-service-worker": "meirish/ember-service-worker#configurable-scope",
|
|
"ember-sinon": "^4.0.0",
|
|
"ember-source": "4.4.4",
|
|
"ember-svg-jar": "2.4.0",
|
|
"ember-template-lint": "4.8.0",
|
|
"ember-template-lint-plugin-prettier": "4.0.0",
|
|
"ember-test-selectors": "6.0.0",
|
|
"ember-tether": "^2.0.1",
|
|
"ember-truth-helpers": "3.0.0",
|
|
"ember-wormhole": "0.6.0",
|
|
"escape-string-regexp": "^2.0.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-compat": "4.0.2",
|
|
"eslint-plugin-ember": "^10.6.1",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-qunit": "^7.2.0",
|
|
"filesize": "^4.2.1",
|
|
"flat": "^4.1.0",
|
|
"jsondiffpatch": "^0.4.1",
|
|
"jsonlint": "^1.6.3",
|
|
"loader.js": "^4.7.0",
|
|
"node-sass": "7.0.3",
|
|
"normalize.css": "4.1.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"pkijs": "^2.2.2",
|
|
"pretender": "^3.4.3",
|
|
"prettier": "2.6.2",
|
|
"prettier-eslint-cli": "^7.1.0",
|
|
"pvutils": "^1.0.17",
|
|
"qunit": "^2.19.1",
|
|
"qunit-dom": "^2.0.0",
|
|
"route-recognizer": "^0.3.4",
|
|
"sass-svg-uri": "^1.0.0",
|
|
"shell-quote": "^1.6.1",
|
|
"string.prototype.endswith": "^0.2.0",
|
|
"string.prototype.startswith": "^0.2.0",
|
|
"swagger-ui-dist": "^3.36.2",
|
|
"text-encoder-lite": "2.0.0",
|
|
"typescript": "^4.8.4",
|
|
"walk-sync": "^2.0.2",
|
|
"webpack": "5.73.0",
|
|
"xstate": "^3.3.3"
|
|
},
|
|
"optionalDependencies": {
|
|
"@babel/core": "^7.12.3",
|
|
"babel-loader": "^8.1.0",
|
|
"lint-staged": "^10.5.1"
|
|
},
|
|
"resolutions": {
|
|
"cryptiles": "^4.1.2",
|
|
"eslint-utils": "^1.4.1",
|
|
"ember-basic-dropdown": "6.0.1",
|
|
"growl": "^1.10.0",
|
|
"handlebars": "^4.3.0",
|
|
"highlight.js": "^10.4.1",
|
|
"https-proxy-agent": "^2.2.3",
|
|
"ini": "^1.3.6",
|
|
"js-yaml": "^3.13.1",
|
|
"kind-of": "^6.0.3",
|
|
"lodash.defaultsdeep": "^4.6.1",
|
|
"lodash.merge": "^4.6.2",
|
|
"lodash": "^4.17.13",
|
|
"minimatch": "^3.0.2",
|
|
"minimist": "^1.2.2",
|
|
"node-notifier": "^8.0.1",
|
|
"prismjs": "^1.21.0",
|
|
"qs": "^6.3.0",
|
|
"serialize-javascript": "^3.1.0",
|
|
"underscore": "^1.12.1",
|
|
"trim": "^0.0.3",
|
|
"xmlhttprequest-ssl": "^1.6.2",
|
|
"@hashicorp/ember-flight-icons": "2.0.3"
|
|
},
|
|
"engines": {
|
|
"node": "12.* || 14.* || >= 16"
|
|
},
|
|
"ember": {
|
|
"edition": "octane"
|
|
},
|
|
"private": true,
|
|
"ember-addon": {
|
|
"paths": [
|
|
"lib/core",
|
|
"lib/css",
|
|
"lib/keep-gitkeep",
|
|
"lib/kmip",
|
|
"lib/kubernetes",
|
|
"lib/open-api-explorer",
|
|
"lib/pki",
|
|
"lib/replication",
|
|
"lib/service-worker-authenticated-download"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"handlebars": "^4.3.0",
|
|
"highlight.js": "^10.4.1",
|
|
"js-yaml": "^3.13.1",
|
|
"lodash": "^4.17.13",
|
|
"node-notifier": "^8.0.1",
|
|
"pvtsutils": "^1.3.2"
|
|
}
|
|
}
|