2017-09-19 14:47:10 +00:00
|
|
|
{
|
|
|
|
"name": "nomad-ui",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"description": "The web ui for Nomad, by HashiCorp.",
|
2019-03-15 20:26:18 +00:00
|
|
|
"repository": "",
|
2017-09-19 14:47:10 +00:00
|
|
|
"directories": {
|
|
|
|
"doc": "doc",
|
|
|
|
"test": "tests"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2020-07-09 16:37:00 +00:00
|
|
|
"build": "ember build --environment=production",
|
2019-03-13 00:40:39 +00:00
|
|
|
"precommit": "lint-staged",
|
2022-03-08 17:28:36 +00:00
|
|
|
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel \"lint:!(fix)\"",
|
2021-12-28 14:40:00 +00:00
|
|
|
"lint:fix": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*:fix",
|
2019-03-15 20:26:18 +00:00
|
|
|
"lint:hbs": "ember-template-lint .",
|
2021-12-28 14:40:00 +00:00
|
|
|
"lint:hbs:fix": "ember-template-lint . --fix",
|
|
|
|
"lint:js": "eslint . --cache",
|
|
|
|
"lint:js:fix": "eslint . --fix",
|
2021-12-07 14:01:25 +00:00
|
|
|
"start": "ember server",
|
2023-06-17 00:45:51 +00:00
|
|
|
"build-storybook": "STORYBOOK=true ember build && NODE_OPTIONS=--openssl-legacy-provider build-storybook -s dist",
|
|
|
|
"storybook": "NODE_OPTIONS=--openssl-legacy-provider STORYBOOK=true start-storybook -p 6006 -s dist",
|
2022-03-08 17:28:36 +00:00
|
|
|
"test": "npm-run-all lint test:*",
|
2023-06-14 16:45:36 +00:00
|
|
|
"exam": "percy exec -- ember exam --split=4 --parallel",
|
2023-06-20 19:42:19 +00:00
|
|
|
"exam:parallel": "percy exec --parallel -- ember exam",
|
|
|
|
"percy": "percy",
|
2022-05-05 20:05:13 +00:00
|
|
|
"test:ember": "percy exec -- ember test",
|
2022-01-27 14:19:03 +00:00
|
|
|
"local:qunitdom": "ember test --server --query=dockcontainer",
|
2022-05-12 20:09:19 +00:00
|
|
|
"local:exam": "ember exam --server --load-balance --parallel=4",
|
|
|
|
"seedless-test": "USE_PERCY=false ember test"
|
2017-09-19 14:47:10 +00:00
|
|
|
},
|
2019-04-02 23:11:22 +00:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
2017-09-19 14:47:10 +00:00
|
|
|
"lint-staged": {
|
2020-01-21 21:46:32 +00:00
|
|
|
"{app,tests,config,lib,mirage,stories}/**/*.js": [
|
2020-04-10 03:46:32 +00:00
|
|
|
"prettier --write"
|
2019-10-15 18:32:58 +00:00
|
|
|
],
|
|
|
|
"app/styles/**/*.*": [
|
2020-04-10 03:46:32 +00:00
|
|
|
"prettier --write"
|
2019-10-15 18:32:58 +00:00
|
|
|
]
|
2017-09-19 14:47:10 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-04-02 22:01:20 +00:00
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.4.3",
|
2022-08-17 16:59:33 +00:00
|
|
|
"@ember/legacy-built-in-components": "^0.4.1",
|
2021-11-04 15:18:36 +00:00
|
|
|
"@ember/optional-features": "2.0.0",
|
2022-04-05 18:34:37 +00:00
|
|
|
"@ember/render-modifiers": "^2.0.4",
|
2022-03-08 17:28:36 +00:00
|
|
|
"@ember/test-helpers": "^2.6.0",
|
|
|
|
"@glimmer/component": "^1.0.4",
|
|
|
|
"@glimmer/tracking": "^1.0.4",
|
2019-07-15 17:14:32 +00:00
|
|
|
"@hashicorp/structure-icons": "^1.3.0",
|
2023-06-14 05:28:24 +00:00
|
|
|
"@storybook/ember-cli-storybook": "https://github.com/storybookjs/ember-cli-storybook#27bf1b4",
|
2022-03-08 17:28:36 +00:00
|
|
|
"anser": "^2.1.1",
|
2020-05-26 14:56:25 +00:00
|
|
|
"babel-eslint": "^10.1.0",
|
2020-03-24 23:22:16 +00:00
|
|
|
"base64-js": "^1.3.1",
|
2019-04-02 22:01:20 +00:00
|
|
|
"broccoli-asset-rev": "^3.0.0",
|
2021-11-04 17:08:23 +00:00
|
|
|
"bulma": "0.9.3",
|
2022-07-04 20:47:58 +00:00
|
|
|
"codemirror": "^5.58.2",
|
2021-11-04 17:30:54 +00:00
|
|
|
"core-js": "3.19.1",
|
2021-11-04 21:07:43 +00:00
|
|
|
"d3-array": "^3.1.1",
|
2021-11-04 21:13:02 +00:00
|
|
|
"d3-axis": "^3.0.0",
|
2021-11-04 21:42:34 +00:00
|
|
|
"d3-format": "^3.0.1",
|
2021-11-04 21:52:36 +00:00
|
|
|
"d3-scale": "^4.0.2",
|
2021-11-05 13:56:45 +00:00
|
|
|
"d3-selection": "^3.0.0",
|
2021-11-04 22:59:53 +00:00
|
|
|
"d3-shape": "^3.0.1",
|
2021-11-04 23:08:31 +00:00
|
|
|
"d3-time-format": "^4.0.0",
|
2021-11-05 13:14:43 +00:00
|
|
|
"d3-transition": "^3.0.1",
|
2019-12-13 20:24:13 +00:00
|
|
|
"duration-js": "^4.0.0",
|
2021-02-02 18:45:40 +00:00
|
|
|
"ember-a11y-testing": "^4.0.0",
|
2022-03-08 17:28:36 +00:00
|
|
|
"ember-auto-import": "^2.4.0",
|
|
|
|
"ember-can": "^4.1.0",
|
|
|
|
"ember-classic-decorator": "^3.0.0",
|
|
|
|
"ember-cli": "~3.28.5",
|
|
|
|
"ember-cli-babel": "^7.26.10",
|
2023-05-12 13:54:13 +00:00
|
|
|
"ember-cli-clipboard": "^1.0.0",
|
2020-07-09 16:37:00 +00:00
|
|
|
"ember-cli-dependency-checker": "^3.2.0",
|
2022-03-08 17:28:36 +00:00
|
|
|
"ember-cli-deprecation-workflow": "^2.1.0",
|
2022-06-17 18:05:30 +00:00
|
|
|
"ember-cli-flash": "^3.0.0",
|
2019-03-16 00:18:26 +00:00
|
|
|
"ember-cli-funnel": "^0.6.1",
|
2022-03-08 17:28:36 +00:00
|
|
|
"ember-cli-htmlbars": "^5.7.2",
|
|
|
|
"ember-cli-inject-live-reload": "^2.1.0",
|
|
|
|
"ember-cli-mirage": "2.2.0",
|
|
|
|
"ember-cli-moment-shim": "^3.8.0",
|
|
|
|
"ember-cli-page-object": "^2.0.0-beta.3",
|
2019-04-02 23:39:20 +00:00
|
|
|
"ember-cli-sass": "^10.0.0",
|
2019-03-15 20:26:18 +00:00
|
|
|
"ember-cli-sri": "^2.1.1",
|
2022-03-08 17:28:36 +00:00
|
|
|
"ember-cli-string-helpers": "^6.1.0",
|
|
|
|
"ember-cli-terser": "^4.0.2",
|
[ui] ACL Roles in the UI, plus Role, Policy and Token management (#17770) (#18599)
* Rename pages to include roles
* Models and adapters
* [ui] Any policy checks in the UI now check for roles' policies as well as token policies (#18346)
* combinedPolicies as a concept
* Classic decorator on role adapter
* We added a new request for roles, so the test based on a specific order of requests got fickle fast
* Mirage roles cluster scaffolded
* Acceptance test for roles and policies on the login page
* Update mirage mock for nodes fetch to account for role policies / empty token.policies
* Roles-derived policies checks
* [ui] Access Control with Roles and Tokens (#18413)
* top level policies routes moved into access control
* A few more routes and name cleanup
* Delog and test fixes to account for new url prefix and document titles
* Overview page
* Tokens and Roles routes
* Tokens helios table
* Add a role
* Hacky role page and deletion
* New policy keyboard shortcut and roles breadcrumb nav
* If you leave New Role but havent made any changes, remove the newly-created record from store
* Roles index list and general role route crud
* Roles index actually links to roles now
* Helios button styles for new roles and policies
* Handle when you try to create a new role without having any policies
* Token editing generally
* Create Token functionality
* Cant delete self-token but management token editing and deleting is fine
* Upgrading helios caused codemirror to explode, shimmed
* Policies table fix
* without bang-element condition, modifier would refire over and over
* Token TTL or Time setting
* time will take you on
* Mirage hooks for create and list roles
* Ensure policy names only use allow characters in mirage mocks
* Mirage mocked roles and policies in the default cluster
* log and lintfix
* chromedriver to 2.1.2
* unused unit tests removed
* Nice profile dropdown
* With the HDS accordion, rename our internal component scss ref
* design revisions after discussion
* Tooltip on deleted-policy tokens
* Two-step button peripheral isDeleting gcode removed
* Never to null on token save
* copywrite headers added and empty routefiles removed
* acceptance test fixes for policies endpoint
* Route for updating a token
* Policies testfixes
* Ember on-click-outside modifier upgraded with general ember-modifier upgrade
* Test adjustments to account for new profile header dropdown
* Test adjustments for tokens via policy pages
* Removed an unused route
* Access Control index page tests
* a11y tests
* Tokens index acceptance tests generally
* Lintfix
* Token edit page tests
* Token editing tests
* New token expiration tests
* Roles Index tests
* Role editing policies tests
* A complete set of Access Control Roles tests
* Policies test
* Be more specific about which row to check for expiration time
* Nil check on expirationTime equality
* Management tokens shouldnt show No Roles/Policies, give them their own designation
* Route guard on selftoken, conditional columns, and afterModel at parent to prevent orphaned policies on tokens/roles from stopping a new save
* Policy unloading on delete and other todos plus autofocus conditionally re-enabled
* Invalid policies non-links now a concept for Roles index
* HDS style links to make job.variables.alert links look like links again
* Mirage finding looks weird so making model async in hash even though redundant
* Drop rsvp
* RSVP wasnt the problem, cached lookups were
* remove old todo comments
* de-log
2023-09-27 21:02:48 +00:00
|
|
|
"ember-click-outside": "^5.0.0",
|
2022-03-08 17:28:36 +00:00
|
|
|
"ember-composable-helpers": "^5.0.0",
|
|
|
|
"ember-concurrency": "^2.2.1",
|
|
|
|
"ember-copy": "^2.0.1",
|
2022-04-28 18:02:15 +00:00
|
|
|
"ember-data": "~3.24",
|
2022-03-08 17:28:36 +00:00
|
|
|
"ember-data-model-fragments": "5.0.0-beta.3",
|
2020-06-10 13:49:16 +00:00
|
|
|
"ember-decorators": "^6.1.1",
|
2022-01-26 18:36:26 +00:00
|
|
|
"ember-exam": "6.1.0",
|
2020-07-09 16:37:00 +00:00
|
|
|
"ember-export-application-global": "^2.0.1",
|
2022-03-08 17:28:36 +00:00
|
|
|
"ember-fetch": "^8.1.1",
|
|
|
|
"ember-inflector": "^4.0.2",
|
|
|
|
"ember-inline-svg": "^1.0.1",
|
|
|
|
"ember-load-initializers": "^2.1.2",
|
|
|
|
"ember-maybe-import-regenerator": "^1.0.0",
|
2022-08-17 16:59:33 +00:00
|
|
|
"ember-modifier": "3.2.7",
|
2022-03-08 17:28:36 +00:00
|
|
|
"ember-moment": "^9.0.1",
|
2022-04-05 18:34:37 +00:00
|
|
|
"ember-on-resize-modifier": "^1.0.0",
|
2019-10-15 18:32:58 +00:00
|
|
|
"ember-overridable-computed": "^1.0.0",
|
2022-06-08 14:30:37 +00:00
|
|
|
"ember-page-title": "^7.0.0",
|
2022-03-08 17:28:36 +00:00
|
|
|
"ember-power-select": "^4.1.7",
|
|
|
|
"ember-qunit": "^5.1.5",
|
2021-12-08 19:26:25 +00:00
|
|
|
"ember-render-helpers": "^0.2.0",
|
2022-03-08 17:28:36 +00:00
|
|
|
"ember-resolver": "^8.0.3",
|
|
|
|
"ember-responsive": "^4.0.2",
|
|
|
|
"ember-sinon": "^5.0.0",
|
2022-11-03 20:29:23 +00:00
|
|
|
"ember-source": "~3.28.10",
|
2022-04-05 18:34:37 +00:00
|
|
|
"ember-stargate": "^0.4.1",
|
|
|
|
"ember-statecharts": "^0.13.2",
|
2022-03-08 17:28:36 +00:00
|
|
|
"ember-template-lint": "^3.15.0",
|
|
|
|
"ember-test-selectors": "^6.0.0",
|
|
|
|
"ember-truth-helpers": "^3.0.0",
|
2021-12-28 16:05:16 +00:00
|
|
|
"eslint": "^7.32.0",
|
|
|
|
"eslint-config-prettier": "^8.3.0",
|
2022-03-08 17:28:36 +00:00
|
|
|
"eslint-plugin-ember": "^10.5.9",
|
2020-07-30 17:40:05 +00:00
|
|
|
"eslint-plugin-ember-a11y-testing": "a11y-tool-sandbox/eslint-plugin-ember-a11y-testing#ca31c9698c7cb105f1c9761d98fcaca7d6874459",
|
2021-02-17 21:01:44 +00:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2021-12-28 16:05:16 +00:00
|
|
|
"eslint-plugin-prettier": "^3.4.1",
|
|
|
|
"eslint-plugin-qunit": "^6.2.0",
|
2019-09-26 18:47:07 +00:00
|
|
|
"faker": "^4.1.0",
|
2021-11-05 16:53:03 +00:00
|
|
|
"flat": "^5.0.2",
|
2019-04-02 23:11:22 +00:00
|
|
|
"fuse.js": "^3.4.4",
|
2021-11-05 17:19:30 +00:00
|
|
|
"glob": "^7.2.0",
|
2020-03-24 23:22:16 +00:00
|
|
|
"http-proxy": "^1.1.6",
|
2020-04-10 03:45:37 +00:00
|
|
|
"husky": "^4.2.5",
|
2019-07-30 21:58:01 +00:00
|
|
|
"is-ip": "^3.1.0",
|
2022-07-04 20:47:58 +00:00
|
|
|
"jsonlint": "^1.6.3",
|
2021-11-05 17:34:43 +00:00
|
|
|
"lint-staged": "^11.2.6",
|
2019-03-15 20:26:18 +00:00
|
|
|
"loader.js": "^4.7.0",
|
2018-05-10 00:04:45 +00:00
|
|
|
"lodash.intersection": "^4.4.0",
|
2022-09-16 19:58:22 +00:00
|
|
|
"lodash.isequal": "^4.5.0",
|
2020-03-24 23:22:16 +00:00
|
|
|
"morgan": "^1.3.2",
|
2021-02-17 21:01:44 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
2019-09-26 18:47:07 +00:00
|
|
|
"pretender": "^3.0.1",
|
2021-12-28 16:05:16 +00:00
|
|
|
"prettier": "^2.5.1",
|
2021-11-05 21:12:33 +00:00
|
|
|
"query-string": "^7.0.1",
|
2022-03-08 17:28:36 +00:00
|
|
|
"qunit": "^2.17.2",
|
2021-11-05 21:20:34 +00:00
|
|
|
"qunit-dom": "^2.0.0",
|
2020-03-24 23:22:16 +00:00
|
|
|
"sass": "^1.17.3",
|
2020-04-01 16:19:44 +00:00
|
|
|
"testem": "^3.0.3",
|
|
|
|
"testem-multi-reporter": "^1.2.0",
|
2020-03-24 23:22:16 +00:00
|
|
|
"text-encoder-lite": "^2.0.0",
|
2023-06-15 14:39:06 +00:00
|
|
|
"webpack": "^5.86.0",
|
2020-05-26 14:56:25 +00:00
|
|
|
"xterm": "^4.6.0",
|
2021-11-05 21:43:39 +00:00
|
|
|
"xterm-addon-fit": "0.5.0"
|
2017-09-19 14:47:10 +00:00
|
|
|
},
|
2020-01-21 21:46:32 +00:00
|
|
|
"optionalDependencies": {
|
2022-03-08 17:28:36 +00:00
|
|
|
"@babel/plugin-transform-member-expression-literals": "^7.16.7",
|
2023-06-15 19:43:15 +00:00
|
|
|
"@storybook/addon-docs": "^6.3.20",
|
2021-10-06 18:06:57 +00:00
|
|
|
"@storybook/addon-knobs": "^6.3.1",
|
|
|
|
"@storybook/addon-storysource": "^6.3.10",
|
|
|
|
"@storybook/addon-viewport": "^6.3.10",
|
|
|
|
"@storybook/addons": "^6.3.10",
|
|
|
|
"@storybook/ember": "^6.3.10",
|
2020-01-21 21:46:32 +00:00
|
|
|
"babel-loader": "^8.0.6",
|
|
|
|
"ember-cli-get-component-path-option": "^1.0.0",
|
|
|
|
"ember-cli-string-utils": "^1.1.0"
|
|
|
|
},
|
2017-09-19 14:47:10 +00:00
|
|
|
"engines": {
|
2022-03-08 17:28:36 +00:00
|
|
|
"node": "12.* || 14.* || >= 16"
|
2017-09-19 14:47:10 +00:00
|
|
|
},
|
2020-07-13 14:26:12 +00:00
|
|
|
"ember": {
|
|
|
|
"edition": "octane"
|
|
|
|
},
|
2017-09-19 14:47:10 +00:00
|
|
|
"private": true,
|
|
|
|
"ember-addon": {
|
2019-10-15 18:32:58 +00:00
|
|
|
"paths": [
|
|
|
|
"lib/bulma"
|
|
|
|
]
|
2018-09-17 22:55:48 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-05-12 13:54:13 +00:00
|
|
|
"@babel/helper-string-parser": "^7.19.4",
|
[ui] ACL Roles in the UI, plus Role, Policy and Token management (#17770) (#18599)
* Rename pages to include roles
* Models and adapters
* [ui] Any policy checks in the UI now check for roles' policies as well as token policies (#18346)
* combinedPolicies as a concept
* Classic decorator on role adapter
* We added a new request for roles, so the test based on a specific order of requests got fickle fast
* Mirage roles cluster scaffolded
* Acceptance test for roles and policies on the login page
* Update mirage mock for nodes fetch to account for role policies / empty token.policies
* Roles-derived policies checks
* [ui] Access Control with Roles and Tokens (#18413)
* top level policies routes moved into access control
* A few more routes and name cleanup
* Delog and test fixes to account for new url prefix and document titles
* Overview page
* Tokens and Roles routes
* Tokens helios table
* Add a role
* Hacky role page and deletion
* New policy keyboard shortcut and roles breadcrumb nav
* If you leave New Role but havent made any changes, remove the newly-created record from store
* Roles index list and general role route crud
* Roles index actually links to roles now
* Helios button styles for new roles and policies
* Handle when you try to create a new role without having any policies
* Token editing generally
* Create Token functionality
* Cant delete self-token but management token editing and deleting is fine
* Upgrading helios caused codemirror to explode, shimmed
* Policies table fix
* without bang-element condition, modifier would refire over and over
* Token TTL or Time setting
* time will take you on
* Mirage hooks for create and list roles
* Ensure policy names only use allow characters in mirage mocks
* Mirage mocked roles and policies in the default cluster
* log and lintfix
* chromedriver to 2.1.2
* unused unit tests removed
* Nice profile dropdown
* With the HDS accordion, rename our internal component scss ref
* design revisions after discussion
* Tooltip on deleted-policy tokens
* Two-step button peripheral isDeleting gcode removed
* Never to null on token save
* copywrite headers added and empty routefiles removed
* acceptance test fixes for policies endpoint
* Route for updating a token
* Policies testfixes
* Ember on-click-outside modifier upgraded with general ember-modifier upgrade
* Test adjustments to account for new profile header dropdown
* Test adjustments for tokens via policy pages
* Removed an unused route
* Access Control index page tests
* a11y tests
* Tokens index acceptance tests generally
* Lintfix
* Token edit page tests
* Token editing tests
* New token expiration tests
* Roles Index tests
* Role editing policies tests
* A complete set of Access Control Roles tests
* Policies test
* Be more specific about which row to check for expiration time
* Nil check on expirationTime equality
* Management tokens shouldnt show No Roles/Policies, give them their own designation
* Route guard on selftoken, conditional columns, and afterModel at parent to prevent orphaned policies on tokens/roles from stopping a new save
* Policy unloading on delete and other todos plus autofocus conditionally re-enabled
* Invalid policies non-links now a concept for Roles index
* HDS style links to make job.variables.alert links look like links again
* Mirage finding looks weird so making model async in hash even though redundant
* Drop rsvp
* RSVP wasnt the problem, cached lookups were
* remove old todo comments
* de-log
2023-09-27 21:02:48 +00:00
|
|
|
"@hashicorp/design-system-components": "^2.12.0",
|
2023-06-14 16:45:36 +00:00
|
|
|
"@hashicorp/ember-flight-icons": "^3.0.4",
|
2022-07-19 18:09:11 +00:00
|
|
|
"@percy/cli": "^1.6.1",
|
2022-05-05 20:05:13 +00:00
|
|
|
"@percy/ember": "^3.0.0",
|
2022-04-05 18:34:37 +00:00
|
|
|
"curved-arrows": "^0.1.0",
|
|
|
|
"d3": "^7.3.0",
|
2021-11-05 19:25:22 +00:00
|
|
|
"lru_map": "^0.4.1",
|
2021-07-20 22:27:41 +00:00
|
|
|
"no-case": "^3.0.4",
|
2022-08-17 16:59:33 +00:00
|
|
|
"tether": "^2.0.0",
|
2021-07-20 22:27:41 +00:00
|
|
|
"title-case": "^3.0.3"
|
2020-07-28 17:59:14 +00:00
|
|
|
},
|
|
|
|
"resolutions": {
|
2023-05-12 13:54:13 +00:00
|
|
|
"ember-auto-import": "^2.4.0",
|
|
|
|
"prop-types": "^15.8.1"
|
2017-09-19 14:47:10 +00:00
|
|
|
}
|
|
|
|
}
|