Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core(jsonld): add structured data validation #6750

Merged
merged 33 commits into from
Apr 8, 2019
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
5f02a63
core(jsonld): add structured data validation
patrickhulce Dec 8, 2018
2883d90
yarn fixes
patrickhulce Dec 8, 2018
4d27cd0
condense generated files to one line
patrickhulce Dec 8, 2018
e9daf3d
stash error
patrickhulce Dec 8, 2018
2371450
eslint ignores
patrickhulce Dec 10, 2018
179796a
update jsonld
patrickhulce Dec 11, 2018
a21b921
cleanup
patrickhulce Dec 12, 2018
6ac3092
Merge branch 'master' into structued_data_pkg
patrickhulce Jan 23, 2019
e8714ce
update jsonld to non-native
patrickhulce Jan 24, 2019
12ff45f
add extensions to require statements
patrickhulce Jan 24, 2019
6a981d9
keep ts happy
patrickhulce Jan 24, 2019
21ec416
eslint
patrickhulce Jan 24, 2019
75b7a51
update jsonlint-mod dep
patrickhulce Feb 11, 2019
eca612a
feedback pt 1
patrickhulce Feb 21, 2019
e345a5e
feedback pt 2
patrickhulce Feb 21, 2019
ca2443b
feedback pt3
patrickhulce Feb 21, 2019
5ae8632
feedback pt 4
patrickhulce Feb 21, 2019
a6d2aaa
prettify
patrickhulce Feb 21, 2019
965541d
add script for updating jsonldcontext
patrickhulce Feb 21, 2019
dddba0f
Update sd-validation/jsonld.js
davidlehn Feb 21, 2019
1fc3d13
more feedback
patrickhulce Mar 6, 2019
e4ba275
more types
patrickhulce Mar 6, 2019
d29678b
move tests
patrickhulce Mar 6, 2019
9b7abd3
comment
patrickhulce Mar 6, 2019
1bd1f9e
Merge branch 'master' into structued_data_pkg
patrickhulce Mar 12, 2019
a4200aa
Merge branch 'master' into structued_data_pkg
patrickhulce Mar 18, 2019
fedd5cb
revert viewerg
patrickhulce Mar 21, 2019
064c104
Merge branch 'master' into structued_data_pkg
patrickhulce Mar 26, 2019
4ebdd17
move folder to lib
patrickhulce Mar 28, 2019
df921da
feedback
patrickhulce Mar 28, 2019
ce535cf
forEach -> map
patrickhulce Mar 28, 2019
002a663
more feedback
patrickhulce Apr 2, 2019
70028c9
last feedback!
patrickhulce Apr 8, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
collectCoverageFrom: [
'**/lighthouse-core/**/*.js',
'**/lighthouse-cli/**/*.js',
'**/sd-validation/**/*.js',
'!**/test/',
'!**/scripts/',
],
Expand All @@ -19,5 +20,6 @@ module.exports = {
testMatch: [
'**/lighthouse-core/**/*-test.js',
'**/lighthouse-cli/**/*-test.js',
'**/sd-validation/**/*-test.js',
],
};
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@
"test-lantern": "bash lighthouse-core/scripts/test-lantern.sh",
"unit-core": "jest \"lighthouse-core/\"",
"unit-core:ci": "jest --runInBand --coverage --ci \"lighthouse-core/\"",
"unit-cli": "jest --runInBand \"lighthouse-cli/\"",
"unit-cli": "jest --runInBand \"lighthouse-cli/\"",
"unit-cli:ci": "jest --runInBand --coverage --ci \"lighthouse-cli/\"",
"unit-viewer": "mocha --reporter dot \"lighthouse-viewer/test/**/*-test.js\"",
"unit": "yarn unit-core && yarn unit-cli && yarn unit-viewer",
"unit:ci": "yarn unit-core:ci && yarn unit-cli:ci && yarn unit-viewer",
"unit-sd": "jest --runInBand \"sd-validation/\"",
"unit": "yarn unit-core && yarn unit-cli && yarn unit-viewer && yarn unit-sd",
"unit:ci": "yarn unit-core:ci && yarn unit-cli:ci && yarn unit-viewer && yarn unit-sd",
"core-unit": "yarn unit-core",
"cli-unit": "yarn unit-cli",
"viewer-unit": "yarn unit-viewer",
Expand Down Expand Up @@ -118,6 +119,7 @@
"gulp-util": "^3.0.7",
"idb-keyval": "2.2.0",
"intl": "^1.2.5",
"isomorphic-fetch": "^2.2.1",
"jest": "^23.6.0",
"jsdom": "^12.2.0",
"make-dir": "^1.3.0",
Expand Down Expand Up @@ -149,6 +151,8 @@
"intl-messageformat-parser": "^1.4.0",
"jpeg-js": "0.1.2",
"js-library-detector": "^5.1.0",
"jsonld": "^1.5.0",
"jsonlint-mod": "^1.7.4",
"lighthouse-logger": "^1.2.0",
"lodash.isequal": "^4.5.0",
"lookup-closest-locale": "6.0.4",
Expand Down
Loading