Skip to content

Commit

Permalink
Version Packages (#2508)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Nov 10, 2022
1 parent 8c71b08 commit 0182490
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 71 deletions.
5 changes: 0 additions & 5 deletions .changeset/few-mayflies-wave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lazy-teachers-study.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lucky-bees-sin.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/building-utils/CHANGELOG.md
@@ -1,5 +1,11 @@
# Change Log

## 2.19.0

### Minor Changes

- 8c71b085: Support node 17 & 18 by using md5 hashing

## 2.18.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/building-utils/package.json
@@ -1,6 +1,6 @@
{
"name": "@open-wc/building-utils",
"version": "2.18.5",
"version": "2.19.0",
"publishConfig": {
"access": "public"
},
Expand Down
38 changes: 12 additions & 26 deletions packages/testing-helpers/CHANGELOG.md
@@ -1,5 +1,11 @@
# Change Log

## 2.1.4

### Patch Changes

- b187c0bc: Add missing types export when using node16 module resolution

## 2.1.3

### Patch Changes
Expand Down Expand Up @@ -86,11 +92,7 @@
import { html, fixture } from '@open-wc/testing'; // html will be lit-html 2.x

it('works for tags', async () => {
const el = await fixture(
html`
<my-el></my-el>
`,
);
const el = await fixture(html` <my-el></my-el> `);
});
```

Expand All @@ -108,9 +110,7 @@
class MyExtension extends LibraryComponent {
render() {
// needs to be lit-html 1.x as the library component is using LitElement with lit-html 1.x
return html`
<p>...</p>
`;
return html` <p>...</p> `;
}
}

Expand All @@ -131,11 +131,7 @@
render(html1`<p>Testing ${fancyDirective('output')}</p>`, node);

// you can either cleanup yourself or use fixture
const el = await fixture(
html`
${node}
`,
);
const el = await fixture(html` ${node} `);

expect(el.children[0].innerHTML).toBe('Testing [[output]]');
});
Expand Down Expand Up @@ -173,11 +169,7 @@
import { html, fixture } from '@open-wc/testing'; // html will be lit-html 2.x

it('works for tags', async () => {
const el = await fixture(
html`
<my-el></my-el>
`,
);
const el = await fixture(html` <my-el></my-el> `);
});
```

Expand All @@ -195,9 +187,7 @@
class MyExtension extends LibraryComponent {
render() {
// needs to be lit-html 1.x as the library component is using LitElement with lit-html 1.x
return html`
<p>...</p>
`;
return html` <p>...</p> `;
}
}

Expand All @@ -218,11 +208,7 @@
render(html1`<p>Testing ${fancyDirective('output')}</p>`, node);

// you can either cleanup yourself or use fixture
const el = await fixture(
html`
${node}
`,
);
const el = await fixture(html` ${node} `);

expect(el.children[0].innerHTML).toBe('Testing [[output]]');
});
Expand Down
2 changes: 1 addition & 1 deletion packages/testing-helpers/package.json
@@ -1,6 +1,6 @@
{
"name": "@open-wc/testing-helpers",
"version": "2.1.3",
"version": "2.1.4",
"publishConfig": {
"access": "public"
},
Expand Down
40 changes: 14 additions & 26 deletions packages/testing/CHANGELOG.md
@@ -1,5 +1,13 @@
# Change Log

## 3.1.7

### Patch Changes

- b187c0bc: Add types export for node16 module resolution
- Updated dependencies [b187c0bc]
- @open-wc/testing-helpers@2.1.4

## 3.1.6

### Patch Changes
Expand Down Expand Up @@ -114,11 +122,7 @@
import { html, fixture } from '@open-wc/testing'; // html will be lit-html 2.x

it('works for tags', async () => {
const el = await fixture(
html`
<my-el></my-el>
`,
);
const el = await fixture(html` <my-el></my-el> `);
});
```

Expand All @@ -136,9 +140,7 @@
class MyExtension extends LibraryComponent {
render() {
// needs to be lit-html 1.x as the library component is using LitElement with lit-html 1.x
return html`
<p>...</p>
`;
return html` <p>...</p> `;
}
}

Expand All @@ -159,11 +161,7 @@
render(html1`<p>Testing ${fancyDirective('output')}</p>`, node);

// you can either cleanup yourself or use fixture
const el = await fixture(
html`
${node}
`,
);
const el = await fixture(html` ${node} `);

expect(el.children[0].innerHTML).toBe('Testing [[output]]');
});
Expand Down Expand Up @@ -203,11 +201,7 @@
import { html, fixture } from '@open-wc/testing'; // html will be lit-html 2.x

it('works for tags', async () => {
const el = await fixture(
html`
<my-el></my-el>
`,
);
const el = await fixture(html` <my-el></my-el> `);
});
```

Expand All @@ -225,9 +219,7 @@
class MyExtension extends LibraryComponent {
render() {
// needs to be lit-html 1.x as the library component is using LitElement with lit-html 1.x
return html`
<p>...</p>
`;
return html` <p>...</p> `;
}
}

Expand All @@ -248,11 +240,7 @@
render(html1`<p>Testing ${fancyDirective('output')}</p>`, node);

// you can either cleanup yourself or use fixture
const el = await fixture(
html`
${node}
`,
);
const el = await fixture(html` ${node} `);

expect(el.children[0].innerHTML).toBe('Testing [[output]]');
});
Expand Down
4 changes: 2 additions & 2 deletions packages/testing/package.json
@@ -1,6 +1,6 @@
{
"name": "@open-wc/testing",
"version": "3.1.6",
"version": "3.1.7",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -45,7 +45,7 @@
"@esm-bundle/chai": "^4.3.4-fix.0",
"@open-wc/chai-dom-equals": "^0.12.36",
"@open-wc/semantic-dom-diff": "^0.19.7",
"@open-wc/testing-helpers": "^2.1.2",
"@open-wc/testing-helpers": "^2.1.4",
"@types/chai": "^4.2.11",
"@types/chai-dom": "^0.0.12",
"@types/sinon-chai": "^3.2.3",
Expand Down

0 comments on commit 0182490

Please sign in to comment.