mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
2413244b77
* ui: Add data-source component and related services (#6486) * ui: Add data-source component and related services: 1. DataSource component 2. Repository manager for retrieving repositories based on URIs 3. Blocking data service for injection to the data-source component to support blocking query types of data sources 4. 'Once' promise based data service for injection for potential fallback to old style promise based data (would need to be injected via an initial runtime variable) 5. Several utility functions taken from elsewhere - maybeCall - a replication of code from elsewhere for condition calling a function based on the result of a promise - restartWhenAvailable - used for restarting blocking queries when a tab is brought to the front - ifNotBlocking - to check if blocking is NOT enabled * Move to a different organization based on protocols * Don't call open twice when eager * Workaround new ember error for reading and writing at the same time * Add first draft of a README.mdx file
141 lines
5.2 KiB
JSON
141 lines
5.2 KiB
JSON
{
|
|
"name": "consul-ui",
|
|
"version": "2.2.0",
|
|
"private": true,
|
|
"description": "The web UI for Consul, by HashiCorp.",
|
|
"repository": "",
|
|
"directories": {
|
|
"doc": "doc",
|
|
"test": "tests"
|
|
},
|
|
"scripts": {
|
|
"build": "ember build --environment=production",
|
|
"build:staging": "ember build --environment staging",
|
|
"build:ci": "ember build --environment test",
|
|
"lint:dev:js": "eslint -c .dev.eslintrc.js --fix ./*.js ./.*.js app config lib server tests",
|
|
"lint:hbs": "ember-template-lint .",
|
|
"lint:js": "eslint .",
|
|
"format:js": "prettier --write \"{app,config,lib,server,tests}/**/*.js\" ./*.js ./.*.js",
|
|
"format:css": "prettier --write \"app/styles/**/*.*\"",
|
|
"start": "ember serve --port=${EMBER_SERVE_PORT:-4200} --live-reload-port=${EMBER_LIVE_RELOAD_PORT:-7020}",
|
|
"start:staging": "ember serve --port=${EMBER_SERVE_PORT:-4200} --live-reload-port=${EMBER_LIVE_RELOAD_PORT:-7020} --environment staging",
|
|
"start:consul": "ember serve --proxy=${CONSUL_HTTP_ADDR:-http://localhost:8500} --port=${EMBER_SERVE_PORT:-4200} --live-reload-port=${EMBER_LIVE_RELOAD_PORT:-7020}",
|
|
"start:api": "api-double --dir ./node_modules/@hashicorp/consul-api-double",
|
|
"test": "ember test --test-port=${EMBER_TEST_PORT:-7357}",
|
|
"test:oss": "CONSUL_NSPACES_ENABLED=0 ember test --test-port=${EMBER_TEST_PORT:-7357}",
|
|
"test:ci": "ember test --test-port=${EMBER_TEST_PORT:-7357} --path dist --silent --reporter xunit",
|
|
"test:oss:ci": "CONSUL_NSPACES_ENABLED=0 ember test --test-port=${EMBER_TEST_PORT:-7357} --path dist --silent --reporter xunit",
|
|
"test:parallel": "EMBER_EXAM_PARALLEL=true ember exam --split=4 --parallel",
|
|
"test:view": "ember test --server --test-port=${EMBER_TEST_PORT:-7357}",
|
|
"test:oss:view": "CONSUL_NSPACES_ENABLED=0 ember test --server --test-port=${EMBER_TEST_PORT:-7357}",
|
|
"test:node": "tape ./node-tests/**/*.js",
|
|
"test:coverage": "COVERAGE=true ember test --environment test --filter=Unit --test-port=${EMBER_TEST_PORT:-7357}",
|
|
"test:coverage:ci": "COVERAGE=true ember test --environment test --filter=Unit --path dist --test-port=${EMBER_TEST_PORT:-7357}",
|
|
"test:coverage:view": "COVERAGE=true ember test --server --environment test --filter=Unit --test-port=${EMBER_TEST_PORT:-7357}",
|
|
"steps:list": "node ./lib/commands/bin/list.js"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"{app,config,lib,server,tests}/**/*.js": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"app/styles/**/*.*": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.2.2",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
|
|
"@ember/jquery": "^1.1.0",
|
|
"@ember/optional-features": "^1.3.0",
|
|
"@glimmer/component": "^1.0.0",
|
|
"@glimmer/tracking": "^1.0.0",
|
|
"@hashicorp/consul-api-double": "^2.6.2",
|
|
"@hashicorp/ember-cli-api-double": "^3.0.2",
|
|
"babel-eslint": "^10.0.3",
|
|
"base64-js": "^1.3.0",
|
|
"broccoli-asset-rev": "^3.0.0",
|
|
"chalk": "^2.4.2",
|
|
"clipboard": "^2.0.4",
|
|
"css.escape": "^1.5.1",
|
|
"dart-sass": "^1.25.0",
|
|
"ember-auto-import": "^1.5.3",
|
|
"ember-changeset-validations": "^3.0.2",
|
|
"ember-cli": "~3.16.0",
|
|
"ember-cli-app-version": "^3.2.0",
|
|
"ember-cli-autoprefixer": "^0.8.1",
|
|
"ember-cli-babel": "^7.17.2",
|
|
"ember-cli-code-coverage": "^1.0.0-beta.4",
|
|
"ember-cli-dependency-checker": "^3.2.0",
|
|
"ember-cli-eslint": "^5.1.0",
|
|
"ember-cli-flash": "^1.6.3",
|
|
"ember-cli-htmlbars": "^4.2.2",
|
|
"ember-cli-inject-live-reload": "^2.0.2",
|
|
"ember-cli-page-object": "^1.16.2",
|
|
"ember-cli-sass": "^10.0.1",
|
|
"ember-cli-sri": "^2.1.1",
|
|
"ember-cli-string-helpers": "^4.0.3",
|
|
"ember-cli-template-lint": "^2.0.1",
|
|
"ember-cli-uglify": "^3.0.0",
|
|
"ember-cli-yadda": "^0.5.0",
|
|
"ember-collection": "^1.0.0-alpha.9",
|
|
"ember-composable-helpers": "^3.1.1",
|
|
"ember-computed-style": "^0.3.0",
|
|
"ember-data": "~3.16.0",
|
|
"ember-exam": "^4.0.0",
|
|
"ember-export-application-global": "^2.0.1",
|
|
"ember-fetch": "^7.0.0",
|
|
"ember-href-to": "^3.1.0",
|
|
"ember-inflector": "^3.0.0",
|
|
"ember-load-initializers": "^2.1.1",
|
|
"ember-math-helpers": "^2.4.0",
|
|
"ember-maybe-import-regenerator": "^0.1.6",
|
|
"ember-page-title": "^5.1.0",
|
|
"ember-power-select": "^3.0.6",
|
|
"ember-power-select-with-create": "^0.7.0",
|
|
"ember-qunit": "^4.6.0",
|
|
"ember-ref-modifier": "^1.0.0",
|
|
"ember-resolver": "^7.0.0",
|
|
"ember-sinon-qunit": "4.0.1",
|
|
"ember-source": "~3.16.0",
|
|
"ember-test-selectors": "^4.0.0",
|
|
"ember-truth-helpers": "^2.0.0",
|
|
"eslint-plugin-ember": "^7.7.2",
|
|
"eslint-plugin-node": "^11.0.0",
|
|
"flat": "^4.1.0",
|
|
"husky": "^3.0.5",
|
|
"ivy-codemirror": "^2.1.0",
|
|
"js-yaml": "^3.13.1",
|
|
"jsonlint": "^1.6.3",
|
|
"lint-staged": "^9.2.5",
|
|
"loader.js": "^4.7.0",
|
|
"ngraph.graph": "^18.0.3",
|
|
"mnemonist": "^0.30.0",
|
|
"node-sass": "^4.9.3",
|
|
"pretender": "^3.2.0",
|
|
"prettier": "^1.10.2",
|
|
"qunit-dom": "^1.0.0",
|
|
"tape": "^4.13.0",
|
|
"text-encoding": "^0.7.0"
|
|
},
|
|
"engines": {
|
|
"node": "10.* || >= 12"
|
|
},
|
|
"ember": {
|
|
"edition": "octane"
|
|
},
|
|
"ember-addon": {
|
|
"paths": [
|
|
"lib/block-slots",
|
|
"lib/commands",
|
|
"lib/startup"
|
|
]
|
|
}
|
|
}
|