diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..fb893b819 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1 @@ +valkyrBuild() diff --git a/package-lock.json b/package-lock.json index d2217ab62..10dd6d90e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "api-console", - "version": "6.5.1", + "version": "0.0.0-valkyr", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -99,24 +99,24 @@ } }, "@advanced-rest-client/arc-response": { - "version": "0.1.15", - "resolved": "https://registry.npmjs.org/@advanced-rest-client/arc-response/-/arc-response-0.1.15.tgz", - "integrity": "sha512-Bzq7DsV5KuFez+wUY+XbmCGA0N1QVhEa3Fy3Gtn+fTQlc2DZz7TuhIsTrCnmrh3a5aQmYDy099Ddlj00ATQWjQ==", + "version": "0.1.16", + "resolved": "https://registry.npmjs.org/@advanced-rest-client/arc-response/-/arc-response-0.1.16.tgz", + "integrity": "sha512-XmZyhma5YeO+j1RCZ6WYLlMpGeSd6775InRTBLjS3XuINBnl+JKJ9Uaka1Kd5igtvleZTdhbREtLDZkPKufeAg==", "requires": { - "@advanced-rest-client/arc-events": "^0.2.14", - "@advanced-rest-client/arc-headers": "^0.1.7", - "@advanced-rest-client/arc-icons": "^3.3.0", - "@advanced-rest-client/arc-types": "^0.2.49", + "@advanced-rest-client/arc-events": "^0.2.17", + "@advanced-rest-client/arc-headers": "^0.1.10", + "@advanced-rest-client/arc-icons": "^3.3.3", + "@advanced-rest-client/arc-types": "^0.2.52", "@advanced-rest-client/date-time": "^3.0.2", - "@advanced-rest-client/prism-highlight": "^4.0.2", - "@anypoint-web-components/anypoint-button": "^1.2.0", - "@anypoint-web-components/anypoint-item": "^1.1.0", - "@anypoint-web-components/anypoint-listbox": "^1.1.6", - "@anypoint-web-components/anypoint-menu-button": "^0.1.4", + "@advanced-rest-client/prism-highlight": "^4.1.3", + "@anypoint-web-components/anypoint-button": "^1.2.2", + "@anypoint-web-components/anypoint-item": "^1.1.2", + "@anypoint-web-components/anypoint-listbox": "^1.1.7", + "@anypoint-web-components/anypoint-menu-button": "^0.1.5", "@polymer/paper-progress": "^3.0.0", - "lit-element": "^2.4.0", - "lit-html": "^1.3.0", - "prismjs": "^1.23.0" + "lit-element": "^2.5.1", + "lit-html": "^1.4.1", + "prismjs": "^1.24.1" } }, "@advanced-rest-client/arc-types": { @@ -147,9 +147,9 @@ } }, "@advanced-rest-client/authorization": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@advanced-rest-client/authorization/-/authorization-0.1.0.tgz", - "integrity": "sha512-CldG5iIAg2cWbZLPsowEXhBpPVjv4MBf38ccLZykGj666Z/cZiD0WbHsDyuA62qjMpUzoi3AJqgaztdSDhDxxw==", + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@advanced-rest-client/authorization/-/authorization-0.1.1.tgz", + "integrity": "sha512-MiLAv0q5o7HOVb6IJjZudi2ZpxS1oRVQ++2d3z3ku99gc7KeIYv8pKJgovrNxHKeBQknnTw0HhamCG9/NwVGTQ==", "requires": { "@advanced-rest-client/arc-events": "^0.2.17", "@advanced-rest-client/arc-headers": "^0.1.10", @@ -797,9 +797,9 @@ } }, "@api-components/api-documentation": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/@api-components/api-documentation/-/api-documentation-6.0.2.tgz", - "integrity": "sha512-bj+ux289FsuiaI6cXfeW95tIFHDFoB22ZbOi1YBOClQRbA/vNt8416N+6IU0N6/vfJc4KwxSj7kL8Jqii0F6Xg==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/@api-components/api-documentation/-/api-documentation-6.0.3.tgz", + "integrity": "sha512-DNPP6S9hVElds2WYt+PjC2lconY28OX/Rbci1gI7T+BKVf6EkGZBv0bDwBtcevh8Fv23Jq+EsbpcSR0SbVvquQ==", "requires": { "@advanced-rest-client/events-target-mixin": "^3.2.3", "@api-components/amf-helper-mixin": "^4.3.9", @@ -1013,9 +1013,9 @@ } }, "@api-components/api-request": { - "version": "0.1.16", - "resolved": "https://registry.npmjs.org/@api-components/api-request/-/api-request-0.1.16.tgz", - "integrity": "sha512-pKEQYCx4OXmqBeS/v3m3E0gK6LJH4a1sfLp1s0vOTYMhjEF0fkLr0GpKkTZEO155g9Ewa4y26iX2tafYZZSEqg==", + "version": "0.1.17", + "resolved": "https://registry.npmjs.org/@api-components/api-request/-/api-request-0.1.17.tgz", + "integrity": "sha512-Q12Jcfd/pkgd3YbAYAXr1+JcfJMOmuegHDJ+H4tCra3mtAbFIIe6VbUZT3Kf3qHUHN/mKlBMrgShjM/JnYA2Fw==", "requires": { "@advanced-rest-client/arc-events": "^0.2.13", "@advanced-rest-client/arc-headers": "^0.1.7", @@ -1135,9 +1135,9 @@ } }, "@api-components/api-type-document": { - "version": "4.2.13", - "resolved": "https://registry.npmjs.org/@api-components/api-type-document/-/api-type-document-4.2.13.tgz", - "integrity": "sha512-EWtzNA26TS+04JES+N2Eup3nYrZ1KVcFgBIVhq76BekEuALynI31hJRXSzsZmAfyxtbnnmzuUPuqxMonBYfkJA==", + "version": "4.2.14", + "resolved": "https://registry.npmjs.org/@api-components/api-type-document/-/api-type-document-4.2.14.tgz", + "integrity": "sha512-Anzg9uFNDgc8+oJyikr6v6GYycwiig+CBG67iPmmzehCJ21oMOxtvqLzFyGpDYZUqkTv2w8uPmbr8QuKy+ymVg==", "requires": { "@advanced-rest-client/arc-marked": "^1.1.0", "@advanced-rest-client/markdown-styles": "^3.1.4", @@ -1165,9 +1165,9 @@ } }, "@api-components/api-url": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/@api-components/api-url/-/api-url-0.1.9.tgz", - "integrity": "sha512-CVe8ksEMCLZFNN/VlPvyFXqeNaDqG84cyoJbDX7hmDWHtfJfzAYivv9P/Wcx8S4uTcgAptK28iUKYRsKUi9oLA==", + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/@api-components/api-url/-/api-url-0.1.10.tgz", + "integrity": "sha512-IUQonzBIBt9wWAHwCpkrNOjfw5RhPLdGK6xkqffrVhBH8WjpihwqkXoO+LHlK7b9EnHOjv3Ugc1aQJ6cJlx+AA==", "requires": { "@advanced-rest-client/arc-icons": "^3.2.2", "@advanced-rest-client/arc-types": "^0.2.47", @@ -4331,9 +4331,9 @@ "dev": true }, "@eslint/eslintrc": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.2.tgz", - "integrity": "sha512-8nmGq/4ycLpIwzvhI4tNDmQztZ8sp+hI7cyG8i1nQDhkAbRzHpXPidRAHlNvCZQpJTKw5ItIpMw9RSToGF00mg==", + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz", + "integrity": "sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==", "dev": true, "requires": { "ajv": "^6.12.4", @@ -4703,9 +4703,9 @@ } }, "@open-wc/scoped-elements": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@open-wc/scoped-elements/-/scoped-elements-1.3.3.tgz", - "integrity": "sha512-vFIQVYYjFw67odUE4JzZOpctnF7S/2DX+S+clrL3bQPql7HvEnV0wMFwOWUavQTuCJi0rfU8GTcNMiUybio+Yg==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@open-wc/scoped-elements/-/scoped-elements-1.3.4.tgz", + "integrity": "sha512-WD+ObocdzcFCpBxnc8bQa7NoATeA+tJrK0/c/yV1Nx4leV+1PmJNNu+WCcuckBEGd0Op6FP8w1TidoqmVVba6g==", "dev": true, "requires": { "@open-wc/dedupe-mixin": "^1.3.0", @@ -5439,9 +5439,9 @@ } }, "@types/node": { - "version": "16.3.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.3.1.tgz", - "integrity": "sha512-N87VuQi7HEeRJkhzovao/JviiqKjDKMVKxKMfUvSKw+MbkbW8R0nA3fi/MQhhlxV2fQ+2ReM+/Nt4efdrJx3zA==", + "version": "16.3.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.3.3.tgz", + "integrity": "sha512-8h7k1YgQKxKXWckzFCMfsIwn0Y61UK6tlD6y2lOb3hTOIMlK3t9/QwHOhc81TwU+RMf0As5fj7NPjroERCnejQ==", "dev": true }, "@types/normalize-package-data": { @@ -5608,9 +5608,9 @@ } }, "@types/ws": { - "version": "7.4.6", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.6.tgz", - "integrity": "sha512-ijZ1vzRawI7QoWnTNL8KpHixd2b2XVb9I9HAqI3triPsh1EC0xH0Eg6w2O3TKbDCgiNNlJqfrof6j4T2I+l9vw==", + "version": "7.4.7", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", + "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", "dev": true, "requires": { "@types/node": "*" @@ -5989,9 +5989,9 @@ } }, "@web/test-runner-core": { - "version": "0.10.18", - "resolved": "https://registry.npmjs.org/@web/test-runner-core/-/test-runner-core-0.10.18.tgz", - "integrity": "sha512-4emmE7tPMh5Wt/79tM1YYcBBnhBc4ecQxTtuyIIDeLPX8mtJoOx9OcP/V4baWDGOpNt6F4Ir6ELpOsconCISoA==", + "version": "0.10.19", + "resolved": "https://registry.npmjs.org/@web/test-runner-core/-/test-runner-core-0.10.19.tgz", + "integrity": "sha512-Aj1sO/CT2kWw8r9BqRdP0D9TGsbReRDcrMI5SuhAoZJF4m8BGvox8WiQp2Zu0IyVFkuk6ZXFzsAnOJTVSVqB1w==", "dev": true, "requires": { "@babel/code-frame": "^7.12.11", @@ -6489,9 +6489,9 @@ "integrity": "sha512-y/+ek8IjxVpTbj/phC87jK5YRhlP5Uu7FlQdCmYuut1DTjNruyrGqUWi5bcX1VKsQX1B0FX16A1hqHomKpHv3A==" }, "axe-core": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.3.0.tgz", - "integrity": "sha512-99FZt8qS/xukgxU/8daV8WT7wAakqBzt6lF3XCweO6pwcf50/NgxxBj6ZC7/ejR+F4PWeFpkb9lAMH3y2quBXA==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.3.1.tgz", + "integrity": "sha512-3WVgVPs/7OnKU3s+lqMtkv3wQlg3WxK1YifmpJSDO0E1aPBrZWlrrTO6cxRqCXLuX2aYgCljqXIQd0VnRidV0g==", "dev": true }, "axobject-query": { @@ -7074,9 +7074,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001243", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001243.tgz", - "integrity": "sha512-vNxw9mkTBtkmLFnJRv/2rhs1yufpDfCkBZexG3Y0xdOH2Z/eE/85E4Dl5j1YUN34nZVsSp6vVRFQRrez9wJMRA==", + "version": "1.0.30001245", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001245.tgz", + "integrity": "sha512-768fM9j1PKXpOCKws6eTo3RHmvTUsG9UrpT4WoREFeZgJBTi4/X9g565azS/rVUGtqb8nt7FjLeF5u4kukERnA==", "dev": true }, "canonicalize": { @@ -7428,9 +7428,9 @@ "dev": true }, "color-string": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.5.tgz", - "integrity": "sha512-jgIoum0OfQfq9Whcfc2z/VhCNcmQjWbey6qBX0vqt7YICflUmBCh9E9CiQD5GSJ+Uehixm3NUwHVhqUAWRivZg==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz", + "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==", "dev": true, "requires": { "color-name": "^1.0.0", @@ -9160,9 +9160,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.3.772", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.772.tgz", - "integrity": "sha512-X/6VRCXWALzdX+RjCtBU6cyg8WZgoxm9YA02COmDOiNJEZ59WkQggDbWZ4t/giHi/3GS+cvdrP6gbLISANAGYA==", + "version": "1.3.780", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.780.tgz", + "integrity": "sha512-2KQ9OYm9WMUNpAPA/4aerURl3hwRc9tNlpsiEj3Y8Gf7LVf26NzyLIX2v0hSagQwrS9+cWab+28A2GPKDoVNRA==", "dev": true }, "emoji-regex": { @@ -9515,13 +9515,13 @@ "dev": true }, "eslint": { - "version": "7.30.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.30.0.tgz", - "integrity": "sha512-VLqz80i3as3NdloY44BQSJpFw534L9Oh+6zJOUaViV4JPd+DaHwutqP7tcpkW3YiXbK6s05RZl7yl7cQn+lijg==", + "version": "7.31.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.31.0.tgz", + "integrity": "sha512-vafgJpSh2ia8tnTkNUkwxGmnumgckLh5aAbLa1xRmIn9+owi8qBNGKL+B881kNKNTy7FFqTEkpNkUvmw0n6PkA==", "dev": true, "requires": { "@babel/code-frame": "7.12.11", - "@eslint/eslintrc": "^0.4.2", + "@eslint/eslintrc": "^0.4.3", "@humanwhocodes/config-array": "^0.5.0", "ajv": "^6.10.0", "chalk": "^4.0.0", @@ -11579,9 +11579,9 @@ } }, "is-core-module": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.4.0.tgz", - "integrity": "sha512-6A2fkfq1rfeQZjxrZJGerpLCTHRNEBiSgnu0+obeJpEPZRUooHgsizvzv0ZjJwOz3iWIHdJtVWJ/tmPr3D21/A==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.5.0.tgz", + "integrity": "sha512-TXCMSDsEHMEEZ6eCA8rwRDbLu55MRGmrctljsBX/2v1d9/GzqHOxW5c5oPSgrUt2vBFXebu9rGqckXGPWOlYpg==", "dev": true, "requires": { "has": "^1.0.3" @@ -13890,9 +13890,9 @@ } }, "object-inspect": { - "version": "1.10.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.3.tgz", - "integrity": "sha512-e5mCJlSH7poANfC8z8S9s9S2IN5/4Zb3aZ33f5s8YqoazCFzNLloLU8r5VCG+G7WoqLvAAZoVMcy3tp/3X0Plw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", + "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==", "dev": true }, "object-keys": { @@ -17894,9 +17894,9 @@ } }, "rollup": { - "version": "2.53.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.53.1.tgz", - "integrity": "sha512-yiTCvcYXZEulNWNlEONOQVlhXA/hgxjelFSjNcrwAAIfYx/xqjSHwqg/cCaWOyFRKr+IQBaXwt723m8tCaIUiw==", + "version": "2.53.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.53.2.tgz", + "integrity": "sha512-1CtEYuS5CRCzFZ7SNW5528SlDlk4VDXIRGwbm/2POQxA/G4+7/crIqJwkmnj8Q/74hGx4oVlNvh4E1CJQ5hZ6w==", "dev": true, "requires": { "fsevents": "~2.3.2" @@ -19232,9 +19232,9 @@ }, "dependencies": { "ajv": { - "version": "8.6.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.6.1.tgz", - "integrity": "sha512-42VLtQUOLefAvKFAQIxIZDaThq6om/PrfP0CYk3/vn+y4BMNkKnbli8ON2QCiHov4KkzOSJ/xSoBJdayiiYvVQ==", + "version": "8.6.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.6.2.tgz", + "integrity": "sha512-9807RlWAgT564wT+DjeyU5OFMPjmzxVobvDFmNAhY+5zD6A2ly3jDp6sgnfyDtlIQ+7H97oc/DGCzzfu9rjw9w==", "dev": true, "requires": { "fast-deep-equal": "^3.1.1", diff --git a/package.json b/package.json index 08ac3af99..69cb01a15 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "api-console", "description": "The API Console to automatically generate API documentation from RAML and OAS files.", - "version": "6.5.1", + "version": "0.0.0-valkyr", "license": "CPAL-1.0", "main": "index.js", "module": "index.js", @@ -21,7 +21,8 @@ "Paweł Psztyć", "Joaquin Stankus", "Francisco Di Giandomenico", - "Leandro Bauret" + "Leandro Bauret", + "Carolina Wright" ], "repository": { "type": "git", @@ -37,9 +38,9 @@ "@anypoint-web-components/anypoint-button": "^1.1.1", "@api-components/amf-helper-mixin": "^4.4.0", "@api-components/api-console-ext-comm": "^3.0.0", - "@api-components/api-documentation": "^6.0.1", + "@api-components/api-documentation": "^6.0.3", "@api-components/api-navigation": "^4.3.0", - "@api-components/api-request": "^0.1.3", + "@api-components/api-request": "^0.1.17", "@polymer/app-layout": "^3.1.0", "@polymer/iron-media-query": "^3.0.0", "@polymer/paper-toast": "^3.0.0", @@ -65,7 +66,7 @@ "body-parser": "^1.19.0", "deepmerge": "^4.2.1", "es-dev-server": "^2.1.0", - "eslint": "^7.18.0", + "eslint": "^7.31.0", "eslint-config-prettier": "^7.2.0", "esm": "^3.2.25", "express": "^4.17.1", @@ -76,7 +77,7 @@ "node-cache": "^5.1.0", "postcss": "^8.2.4", "rimraf": "^3.0.1", - "rollup": "^2.38.0", + "rollup": "^2.53.2", "rollup-plugin-cpy": "^2.0.1", "rollup-plugin-postcss": "^4.0.0", "sinon": "^9.2.3", diff --git a/valkyr.yaml b/valkyr.yaml new file mode 100644 index 000000000..8e0483a62 --- /dev/null +++ b/valkyr.yaml @@ -0,0 +1,12 @@ +product: api-console +component: raw + +version: 6.6 +strategy: node-lib +strategyVersion: 12 + +requires: + db: false + staticAsset: false + deployment: false + mutationTesting: false diff --git a/web-test-runner.config.mjs b/web-test-runner.config.mjs index 744091fab..918ba38b0 100644 --- a/web-test-runner.config.mjs +++ b/web-test-runner.config.mjs @@ -9,6 +9,9 @@ export default { return next(); } ], + coverageConfig: { + include: ['src/**.js'], + }, testRunnerHtml: (testFramework) => `