Skip to content

Commit

Permalink
upgrade latest wcc with HTML wrapping tag disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Apr 1, 2023
1 parent 0646e7a commit b784db1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"remark-rehype": "^7.0.0",
"rollup": "^2.58.0",
"unified": "^9.2.0",
"wc-compiler": "~0.7.0"
"wc-compiler": "~0.8.0"
},
"devDependencies": {
"@babel/runtime": "^7.10.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,7 @@ describe('Serve Greenwood With: ', function() {
});

it('should have the expected <h1> text in the <body>', function() {
// TODO fix extra entry component wrapping in WCC to restore original selector body > h1
const heading = usersPageDom.window.document.querySelectorAll('body h1');
const heading = usersPageDom.window.document.querySelectorAll('body > h1');
const userLength = parseInt(heading[0].querySelector('span').textContent, 10);

expect(heading.length).to.be.equal(1);
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-import-jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@greenwood/cli": "^0.28.0-alpha.4"
},
"dependencies": {
"wc-compiler": "~0.7.0"
"wc-compiler": "~0.8.0"
},
"devDependencies": {
"@greenwood/cli": "^0.28.0-alpha.4"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11696,10 +11696,10 @@ w3c-xmlserializer@^2.0.0:
dependencies:
xml-name-validator "^3.0.0"

wc-compiler@~0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/wc-compiler/-/wc-compiler-0.7.0.tgz#0ceac8af462502ff69a80eb3861f75eaa39c37f1"
integrity sha512-jWORep0UIvnZi8+4ek2ZfX1TJik3B5QW/38MZ6UZN/st3TORt13vk50Arr2Rc3zlpam5AGE3Oxi7no8WmEBBXQ==
wc-compiler@~0.8.0:
version "0.8.0"
resolved "https://registry.yarnpkg.com/wc-compiler/-/wc-compiler-0.8.0.tgz#1baadbdc3aff91ff1eba601e56effcb3d6dc5ea8"
integrity sha512-vkq9wcpMOTsIDgPvQYso01fQZTD2iGzKTVhO6AbbAz5bE8WUOvNAN9sPy56An26sVmMl/KNL2St5rVmFQ/lw9w==
dependencies:
acorn "^8.7.0"
acorn-jsx "^5.3.2"
Expand Down

0 comments on commit b784db1

Please sign in to comment.