Skip to content
Permalink
Browse files

Chore: Update references to use generateHTMLPage

  • Loading branch information
sarvaje committed Nov 12, 2019
1 parent b82b765 commit 90210e7c1e3de5ff67591af493fe4483a8941d17
Showing with 180 additions and 58 deletions.
  1. +0 βˆ’1 packages/connector-jsdom/package.json
  2. +1 βˆ’2 packages/connector-jsdom/tests/collect.ts
  3. +1 βˆ’2 packages/connector-jsdom/tests/evaluate.ts
  4. +0 βˆ’1 packages/connector-puppeteer/package.json
  5. +1 βˆ’2 packages/connector-puppeteer/tests/authentication.ts
  6. +1 βˆ’2 packages/connector-puppeteer/tests/collect.ts
  7. +1 βˆ’2 packages/connector-puppeteer/tests/evaluate.ts
  8. +1 βˆ’0 packages/create-hint/package.json
  9. +1 βˆ’0 packages/create-hint/src/shared-templates/package.hbs
  10. +2 βˆ’1 packages/create-hint/src/templates/tests.ts.hbs
  11. +1 βˆ’0 packages/create-hint/tsconfig.json
  12. +1 βˆ’0 packages/hint-apple-touch-icons/package.json
  13. +2 βˆ’1 packages/hint-apple-touch-icons/tests/tests.ts
  14. +1 βˆ’0 packages/hint-apple-touch-icons/tsconfig.json
  15. +1 βˆ’0 packages/hint-axe/package.json
  16. +2 βˆ’1 packages/hint-axe/tests/color.ts
  17. +2 βˆ’1 packages/hint-axe/tests/keyboard.ts
  18. +2 βˆ’1 packages/hint-axe/tests/language.ts
  19. +1 βˆ’0 packages/hint-axe/tsconfig.json
  20. +1 βˆ’0 packages/hint-button-type/package.json
  21. +2 βˆ’1 packages/hint-button-type/tests/tests.ts
  22. +2 βˆ’0 packages/hint-button-type/tsconfig.json
  23. +1 βˆ’0 packages/hint-compat-api/package.json
  24. +2 βˆ’1 packages/hint-compat-api/tests/css.ts
  25. +2 βˆ’1 packages/hint-compat-api/tests/html.ts
  26. +1 βˆ’0 packages/hint-compat-api/tsconfig.json
  27. +1 βˆ’0 packages/hint-content-type/package.json
  28. +2 βˆ’1 packages/hint-content-type/tests/tests.ts
  29. +1 βˆ’0 packages/hint-content-type/tsconfig.json
  30. +1 βˆ’0 packages/hint-create-element-svg/package.json
  31. +2 βˆ’1 packages/hint-create-element-svg/tests/tests.ts
  32. +1 βˆ’0 packages/hint-create-element-svg/tsconfig.json
  33. +1 βˆ’0 packages/hint-css-prefix-order/package.json
  34. +2 βˆ’1 packages/hint-css-prefix-order/tests/tests.ts
  35. +1 βˆ’0 packages/hint-css-prefix-order/tsconfig.json
  36. +1 βˆ’0 packages/hint-disown-opener/package.json
  37. +2 βˆ’1 packages/hint-disown-opener/tests/tests.ts
  38. +1 βˆ’0 packages/hint-disown-opener/tsconfig.json
  39. +1 βˆ’0 packages/hint-highest-available-document-mode/package.json
  40. +2 βˆ’1 packages/hint-highest-available-document-mode/tests/tests.ts
  41. +1 βˆ’0 packages/hint-highest-available-document-mode/tsconfig.json
  42. +1 βˆ’0 packages/hint-http-cache/package.json
  43. +2 βˆ’1 packages/hint-http-cache/tests/tests.ts
  44. +1 βˆ’0 packages/hint-http-cache/tsconfig.json
  45. +1 βˆ’0 packages/hint-https-only/package.json
  46. +2 βˆ’1 packages/hint-https-only/tests/tests-https.ts
  47. +2 βˆ’1 packages/hint-https-only/tests/tests.ts
  48. +1 βˆ’0 packages/hint-https-only/tsconfig.json
  49. +1 βˆ’0 packages/hint-image-optimization-cloudinary/package.json
  50. +2 βˆ’1 packages/hint-image-optimization-cloudinary/tests/tests.ts
  51. +1 βˆ’0 packages/hint-image-optimization-cloudinary/tsconfig.json
  52. +1 βˆ’0 packages/hint-manifest-app-name/package.json
  53. +2 βˆ’1 packages/hint-manifest-app-name/tests/tests.ts
  54. +1 βˆ’0 packages/hint-manifest-app-name/tsconfig.json
  55. +1 βˆ’0 packages/hint-manifest-exists/package.json
  56. +2 βˆ’1 packages/hint-manifest-exists/tests/tests.ts
  57. +1 βˆ’0 packages/hint-manifest-exists/tsconfig.json
  58. +1 βˆ’0 packages/hint-manifest-file-extension/package.json
  59. +2 βˆ’1 packages/hint-manifest-file-extension/tests/tests.ts
  60. +1 βˆ’0 packages/hint-manifest-file-extension/tsconfig.json
  61. +1 βˆ’0 packages/hint-manifest-icons/package.json
  62. +2 βˆ’1 packages/hint-manifest-icons/tests/tests.ts
  63. +1 βˆ’0 packages/hint-manifest-icons/tsconfig.json
  64. +1 βˆ’0 packages/hint-manifest-is-valid/package.json
  65. +2 βˆ’1 packages/hint-manifest-is-valid/tests/tests.ts
  66. +1 βˆ’0 packages/hint-manifest-is-valid/tsconfig.json
  67. +1 βˆ’0 packages/hint-manifest-scoped-urls/package.json
  68. +2 βˆ’1 packages/hint-manifest-scoped-urls/tests/tests.ts
  69. +1 βˆ’0 packages/hint-manifest-scoped-urls/tsconfig.json
  70. +1 βˆ’0 packages/hint-meta-charset-utf-8/package.json
  71. +2 βˆ’1 packages/hint-meta-charset-utf-8/tests/tests.ts
  72. +1 βˆ’0 packages/hint-meta-charset-utf-8/tsconfig.json
  73. +1 βˆ’0 packages/hint-meta-theme-color/package.json
  74. +2 βˆ’1 packages/hint-meta-theme-color/tests/tests.ts
  75. +1 βˆ’0 packages/hint-meta-theme-color/tsconfig.json
  76. +1 βˆ’0 packages/hint-meta-viewport/package.json
  77. +2 βˆ’1 packages/hint-meta-viewport/tests/tests.ts
  78. +1 βˆ’0 packages/hint-meta-viewport/tsconfig.json
  79. +1 βˆ’0 packages/hint-minified-js/package.json
  80. +2 βˆ’1 packages/hint-minified-js/tests/tests.ts
  81. +1 βˆ’0 packages/hint-minified-js/tsconfig.json
  82. +1 βˆ’0 packages/hint-no-bom/package.json
  83. +2 βˆ’1 packages/hint-no-bom/tests/tests.ts
  84. +1 βˆ’0 packages/hint-no-bom/tsconfig.json
  85. +1 βˆ’0 packages/hint-no-broken-links/package.json
  86. +2 βˆ’1 packages/hint-no-broken-links/tests/tests.ts
  87. +1 βˆ’0 packages/hint-no-broken-links/tsconfig.json
  88. +1 βˆ’0 packages/hint-no-disallowed-headers/package.json
  89. +2 βˆ’1 packages/hint-no-disallowed-headers/tests/tests.ts
  90. +1 βˆ’0 packages/hint-no-disallowed-headers/tsconfig.json
  91. +1 βˆ’0 packages/hint-no-friendly-error-pages/package.json
  92. +2 βˆ’1 packages/hint-no-friendly-error-pages/tests/tests.ts
  93. +1 βˆ’0 packages/hint-no-friendly-error-pages/tsconfig.json
  94. +1 βˆ’0 packages/hint-no-html-only-headers/package.json
  95. +2 βˆ’1 packages/hint-no-html-only-headers/tests/tests.ts
  96. +1 βˆ’0 packages/hint-no-html-only-headers/tsconfig.json
  97. +1 βˆ’0 packages/hint-no-http-redirects/package.json
  98. +2 βˆ’1 packages/hint-no-http-redirects/tests/tests.ts
  99. +1 βˆ’0 packages/hint-no-http-redirects/tsconfig.json
  100. +1 βˆ’0 packages/hint-no-p3p/package.json
  101. +2 βˆ’1 packages/hint-no-p3p/tests/tests.ts
  102. +1 βˆ’0 packages/hint-no-p3p/tsconfig.json
  103. +1 βˆ’0 packages/hint-no-protocol-relative-urls/package.json
  104. +2 βˆ’1 packages/hint-no-protocol-relative-urls/tests/_generate-tests.ts
  105. +2 βˆ’0 packages/hint-no-protocol-relative-urls/tsconfig.json
  106. +1 βˆ’0 packages/hint-no-vulnerable-javascript-libraries/package.json
  107. +2 βˆ’1 packages/hint-no-vulnerable-javascript-libraries/tests/tests.ts
  108. +1 βˆ’0 packages/hint-no-vulnerable-javascript-libraries/tsconfig.json
  109. +1 βˆ’0 packages/hint-performance-budget/package.json
  110. +2 βˆ’1 packages/hint-performance-budget/tests/tests-http.ts
  111. +2 βˆ’1 packages/hint-performance-budget/tests/tests-https.ts
  112. +1 βˆ’0 packages/hint-performance-budget/tsconfig.json
  113. +1 βˆ’0 packages/hint-scoped-svg-styles/package.json
  114. +2 βˆ’1 packages/hint-scoped-svg-styles/tests/hint.ts
  115. +1 βˆ’0 packages/hint-scoped-svg-styles/tsconfig.json
  116. +1 βˆ’0 packages/hint-sri/package.json
  117. +2 βˆ’1 packages/hint-sri/tests/tests-http.ts
  118. +2 βˆ’1 packages/hint-sri/tests/tests-https.ts
  119. +1 βˆ’0 packages/hint-sri/tsconfig.json
  120. +1 βˆ’0 packages/hint-strict-transport-security/package.json
  121. +1 βˆ’1 packages/hint-strict-transport-security/tests/_common.ts
  122. +1 βˆ’0 packages/hint-strict-transport-security/tsconfig.json
  123. +1 βˆ’0 packages/hint-stylesheet-limits/package.json
  124. +2 βˆ’1 packages/hint-stylesheet-limits/tests/tests.ts
  125. +1 βˆ’0 packages/hint-stylesheet-limits/tsconfig.json
  126. +1 βˆ’0 packages/hint-summary-display/package.json
  127. +2 βˆ’1 packages/hint-summary-display/tests/tests.ts
  128. +1 βˆ’0 packages/hint-summary-display/tsconfig.json
  129. +1 βˆ’0 packages/hint-x-content-type-options/package.json
  130. +2 βˆ’1 packages/hint-x-content-type-options/tests/tests.ts
  131. +1 βˆ’0 packages/hint-x-content-type-options/tsconfig.json
  132. +2 βˆ’1 packages/hint/docs/contributor-guide/how-to/test-rules.md
  133. +3 βˆ’0 scripts/lint-dependencies.js
@@ -23,7 +23,6 @@
"devDependencies": {
"@hint/parser-html": "^3.0.11",
"@hint/utils-create-server": "^3.3.0",
"@hint/utils-tests-helpers": "^5.1.0",
"@types/jsdom": "^12.2.3",
"@types/lodash": "^4.14.141",
"@types/node": "^12.7.5",
@@ -7,8 +7,7 @@ import { URL } from 'url';
import * as sinon from 'sinon';
import anyTest, { TestInterface, ExecutionContext } from 'ava';

import { ServerConfiguration, Server } from '@hint/utils-create-server';
import { generateHTMLPage } from '@hint/utils-tests-helpers';
import { generateHTMLPage, ServerConfiguration, Server } from '@hint/utils-create-server';
import { Engine, Events, IConnector, IConnectorConstructor } from 'hint';

import JSDOMConnector from '../src/connector';
@@ -2,8 +2,7 @@ import { URL } from 'url';

import test from 'ava';

import { Server } from '@hint/utils-create-server';
import { generateHTMLPage } from '@hint/utils-tests-helpers';
import { generateHTMLPage, Server } from '@hint/utils-create-server';
import { Engine, Events, IConnector } from 'hint';

import JSDOMConnector from '../src/connector';
@@ -23,7 +23,6 @@
"devDependencies": {
"@hint/parser-html": "^3.0.11",
"@hint/utils-create-server": "^3.3.0",
"@hint/utils-tests-helpers": "^5.1.0",
"@types/is-ci": "^2.0.0",
"@types/lockfile": "^1.0.1",
"@types/lodash": "^4.14.141",
@@ -3,8 +3,7 @@ import { URL } from 'url';
import test from 'ava';
import * as sinon from 'sinon';

import { Server } from '@hint/utils-create-server';
import { generateHTMLPage } from '@hint/utils-tests-helpers';
import { generateHTMLPage, Server } from '@hint/utils-create-server';
import { Engine, Events } from 'hint';

import Connector from '../src/connector';
@@ -7,9 +7,8 @@ import { URL } from 'url';
import * as sinon from 'sinon';
import anyTest, { TestInterface, ExecutionContext } from 'ava';

import { Server, ServerConfiguration } from '@hint/utils-create-server';
import { generateHTMLPage, Server, ServerConfiguration } from '@hint/utils-create-server';
import { Engine, Events, IConnectorConstructor } from 'hint';
import { generateHTMLPage } from '@hint/utils-tests-helpers';

import ChromeConnector from '../src/connector';

@@ -2,8 +2,7 @@ import { URL } from 'url';

import test from 'ava';

import { Server } from '@hint/utils-create-server';
import { generateHTMLPage } from '@hint/utils-tests-helpers';
import { generateHTMLPage, Server } from '@hint/utils-create-server';
import { Engine, Events } from 'hint';

import Connector from '../src/connector';
@@ -19,6 +19,7 @@
"description": "webhint's hint initializer package",
"devDependencies": {
"@hint/utils-tests-helpers": "^5.1.0",
"@hint/utils-create-server": "^3.3.0",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.12.0",
"@types/mkdirp": "^0.5.2",
@@ -15,6 +15,7 @@
"description": "{{description}}",
"devDependencies": {
{{{dependencyVersion "@hint/utils"}}},
{{{dependencyVersion "@hint/utils-create-server"}}},
{{{dependencyVersion "@hint/utils-tests-helpers"}}},
{{{dependencyVersion "@types/node"}}},
{{{dependencyVersion "@typescript-eslint/eslint-plugin"}}},
@@ -1,4 +1,5 @@
import { generateHTMLPage, getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { generateHTMLPage } from '@hint/utils-create-server';
import { getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';

const hintPath = getHintPath(__filename{{#if parentName}}, true{{/if}});

@@ -15,6 +15,7 @@
"references": [
{ "path": "../hint" },
{ "path": "../utils" },
{ "path": "../utils-create-server" },
{ "path": "../utils-fs" },
{ "path": "../utils-string" },
{ "path": "../utils-tests-helpers" },
@@ -16,6 +16,7 @@
},
"description": "hint for best practices related to the apple-touch-icons",
"devDependencies": {
"@hint/utils-create-server": "^3.3.0",
"@hint/utils-tests-helpers": "^5.1.0",
"@hint/utils-dom": "^1.0.0",
"@types/image-size": "^0.7.0",
@@ -1,6 +1,7 @@
import * as fs from 'fs';

import { generateHTMLPage, getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { generateHTMLPage } from '@hint/utils-create-server';
import { getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { Severity } from '@hint/utils-types';

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -14,6 +14,7 @@
],
"references": [
{ "path": "../hint" },
{ "path": "../utils-create-server" },
{ "path": "../utils-debug" },
{ "path": "../utils-dom" },
{ "path": "../utils-i18n" },
@@ -15,6 +15,7 @@
},
"description": "hint that that checks using axe for accessibility related best practices",
"devDependencies": {
"@hint/utils-create-server": "^3.3.0",
"@hint/utils-tests-helpers": "^5.1.0",
"@hint/utils-dom": "^1.0.0",
"@types/node": "^12.7.5",
@@ -1,4 +1,5 @@
import { generateHTMLPage, getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { generateHTMLPage } from '@hint/utils-create-server';
import { getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';

const hintPath = getHintPath(__filename, true);

@@ -1,4 +1,5 @@
import { generateHTMLPage, getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { generateHTMLPage } from '@hint/utils-create-server';
import { getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';

const hintPath = getHintPath(__filename, true);

@@ -1,4 +1,5 @@
import { generateHTMLPage, getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { generateHTMLPage } from '@hint/utils-create-server';
import { getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';

const hintPath = getHintPath(__filename, true);

@@ -14,6 +14,7 @@
],
"references": [
{ "path": "../hint" },
{ "path": "../utils-create-server" },
{ "path": "../utils-dom" },
{ "path": "../utils-fs" },
{ "path": "../utils-i18n" },
@@ -14,6 +14,7 @@
},
"description": "Check if button has type attribute set",
"devDependencies": {
"@hint/utils-create-server": "^3.3.0",
"@hint/utils-dom": "^1.0.0",
"@hint/utils-tests-helpers": "^5.1.0",
"@types/node": "^12.7.5",
@@ -1,4 +1,5 @@
import { generateHTMLPage, getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { generateHTMLPage } from '@hint/utils-create-server';
import { getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { Severity } from '@hint/utils-types';

const hintPath = getHintPath(__filename);
@@ -14,7 +14,9 @@
],
"references": [
{ "path": "../hint" },
{ "path": "../utils-create-server" },
{ "path": "../utils-debug" },
{ "path": "../utils-dom" },
{ "path": "../utils-i18n" },
{ "path": "../utils-tests-helpers" },
{ "path": "../utils-types" }
@@ -18,6 +18,7 @@
"description": "hint to validate if the HTML, CSS, and JavaScript APIs of the project are deprecated or not broadly supported",
"devDependencies": {
"@hint/parser-css": "^3.0.14",
"@hint/utils-create-server": "^3.3.0",
"@hint/utils-dom": "^1.0.0",
"@hint/utils-tests-helpers": "^5.1.0",
"@types/lodash": "^4.14.141",
@@ -1,4 +1,5 @@
import { generateHTMLPage, getHintPath, testHint } from '@hint/utils-tests-helpers';
import { generateHTMLPage } from '@hint/utils-create-server';
import { getHintPath, testHint } from '@hint/utils-tests-helpers';
import { readFile } from '@hint/utils-fs';
import { Severity } from '@hint/utils-types';

@@ -1,4 +1,5 @@
import { generateHTMLPage, getHintPath, testHint } from '@hint/utils-tests-helpers';
import { generateHTMLPage } from '@hint/utils-create-server';
import { getHintPath, testHint } from '@hint/utils-tests-helpers';
import { readFile } from '@hint/utils-fs';
import { Severity } from '@hint/utils-types';

@@ -16,6 +16,7 @@
{ "path": "../hint" },
{ "path": "../parser-css" },
{ "path": "../utils-compat-data" },
{ "path": "../utils-create-server" },
{ "path": "../utils-css" },
{ "path": "../utils-dom" },
{ "path": "../utils-fs" },
@@ -18,6 +18,7 @@
},
"description": "hint for media types (f.k.a. MIME types) related best practices",
"devDependencies": {
"@hint/utils-create-server": "^3.3.0",
"@hint/utils-tests-helpers": "^5.1.0",
"@types/content-type": "^1.1.3",
"@types/node": "^12.7.5",
@@ -1,6 +1,7 @@
import * as fs from 'fs';

import { generateHTMLPage, getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { generateHTMLPage } from '@hint/utils-create-server';
import { getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { Severity } from '@hint/utils-types';

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -15,6 +15,7 @@
"references": [
{ "path": "../hint" },
{ "path": "../utils" },
{ "path": "../utils-create-server" },
{ "path": "../utils-debug" },
{ "path": "../utils-i18n" },
{ "path": "../utils-network" },
@@ -16,6 +16,7 @@
"description": "Infrom users that they need to use createElementNS to create SVG elements instead of createElement",
"devDependencies": {
"@hint/parser-javascript": "^3.1.0",
"@hint/utils-create-server": "^3.3.0",
"@hint/utils-tests-helpers": "^5.1.0",
"@types/node": "^12.7.5",
"@typescript-eslint/eslint-plugin": "^1.13.0",
@@ -1,4 +1,5 @@
import { generateHTMLPage, getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { generateHTMLPage } from '@hint/utils-create-server';
import { getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { readFile } from '@hint/utils-fs';
import { Severity } from '@hint/utils-types';

@@ -15,6 +15,7 @@
"references": [
{ "path": "../hint" },
{ "path": "../parser-javascript" },
{ "path": "../utils-create-server" },
{ "path": "../utils-debug" },
{ "path": "../utils-fs" },
{ "path": "../utils-i18n" },
@@ -19,6 +19,7 @@
"devDependencies": {
"@hint/parser-css": "^3.0.14",
"@hint/parser-sass": "^1.0.6",
"@hint/utils-create-server": "^3.3.0",
"@hint/utils-tests-helpers": "^5.1.0",
"@types/node": "^12.7.5",
"@typescript-eslint/eslint-plugin": "^1.13.0",
@@ -1,4 +1,5 @@
import { generateHTMLPage, getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { generateHTMLPage } from '@hint/utils-create-server';
import { getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { readFile } from '@hint/utils-fs';
import { Severity } from '@hint/utils-types';

@@ -16,6 +16,7 @@
{ "path": "../hint" },
{ "path": "../parser-css" },
{ "path": "../parser-sass" },
{ "path": "../utils-create-server" },
{ "path": "../utils-css" },
{ "path": "../utils-debug" },
{ "path": "../utils-fs" },
@@ -17,6 +17,7 @@
},
"description": "hint that that checks if external links disown the opener",
"devDependencies": {
"@hint/utils-create-server": "^3.3.0",
"@hint/utils-dom": "^1.0.0",
"@hint/utils-tests-helpers": "^5.1.0",
"@types/node": "^12.7.5",
@@ -1,6 +1,7 @@
import { cutString } from '@hint/utils-string';
import { Severity } from '@hint/utils-types';
import { generateHTMLPage, getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { generateHTMLPage } from '@hint/utils-create-server';
import { getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';

const hintPath = getHintPath(__filename);

@@ -15,6 +15,7 @@
"references": [
{ "path": "../hint" },
{ "path": "../utils-compat-data" },
{ "path": "../utils-create-server" },
{ "path": "../utils-debug" },
{ "path": "../utils-dom" },
{ "path": "../utils-i18n" },
@@ -15,6 +15,7 @@
},
"description": "hint for best practices related to usage of the X-UA-Compatible meta tag and response header",
"devDependencies": {
"@hint/utils-create-server": "^3.3.0",
"@hint/utils-dom": "^1.0.0",
"@hint/utils-tests-helpers": "^5.1.0",
"@types/node": "^12.7.5",
@@ -1,5 +1,6 @@
import { generateHTMLPage, getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { Severity } from '@hint/utils-types';
import { generateHTMLPage } from '@hint/utils-create-server';
import { getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

@@ -14,6 +14,7 @@
],
"references": [
{ "path": "../hint" },
{ "path": "../utils-create-server" },
{ "path": "../utils-dom" },
{ "path": "../utils-i18n" },
{ "path": "../utils-network" },
@@ -15,6 +15,7 @@
},
"description": "hint for HTTP caching related best practices",
"devDependencies": {
"@hint/utils-create-server": "^3.3.0",
"@hint/utils-tests-helpers": "^5.1.0",
"@types/node": "^12.7.5",
"@typescript-eslint/eslint-plugin": "^1.13.0",
@@ -1,4 +1,5 @@
import { generateHTMLPage, getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { generateHTMLPage } from '@hint/utils-create-server';
import { getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';

const hintPath = getHintPath(__filename);

@@ -14,6 +14,7 @@
],
"references": [
{ "path": "../hint" },
{ "path": "../utils-create-server" },
{ "path": "../utils-debug" },
{ "path": "../utils-i18n" },
{ "path": "../utils-network" },
@@ -15,6 +15,7 @@
},
"description": "hint that that checks if your site is using HTTPS and if it has mixed content.",
"devDependencies": {
"@hint/utils-create-server": "^3.3.0",
"@hint/utils-tests-helpers": "^5.1.0",
"@types/node": "^12.7.5",
"@typescript-eslint/eslint-plugin": "^1.13.0",
@@ -1,6 +1,7 @@
import { readFileSync } from 'fs';

import { generateHTMLPage, getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { generateHTMLPage } from '@hint/utils-create-server';
import { getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';

const hintPath = getHintPath(__filename);

@@ -1,4 +1,5 @@
import { generateHTMLPage, getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';
import { generateHTMLPage } from '@hint/utils-create-server';
import { getHintPath, HintTest, testHint } from '@hint/utils-tests-helpers';

const hintPath = getHintPath(__filename);

@@ -14,6 +14,7 @@
],
"references": [
{ "path": "../hint" },
{ "path": "../utils-create-server" },
{ "path": "../utils-debug" },
{ "path": "../utils-i18n" },
{ "path": "../utils-network" },
@@ -18,6 +18,7 @@
},
"description": "hint that that checks using Cloudinary's API if images are optimized",
"devDependencies": {
"@hint/utils-create-server": "^3.3.0",
"@hint/utils-dom": "^1.0.0",
"@hint/utils-tests-helpers": "^5.1.0",
"@types/mock-require": "^2.0.0",

0 comments on commit 90210e7

Please sign in to comment.
You can’t perform that action at this time.