Skip to content

Commit e44378d

Browse files
Prepare release 2.0.0 (#110)
1 parent a2e73f4 commit e44378d

File tree

6 files changed

+276
-195
lines changed

6 files changed

+276
-195
lines changed

CHANGELOG.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1919

2020
<!-- ## [x.y.z] - YYYY-MM-DD -->
2121

22-
## Unreleased
23-
24-
<!-- ### Changed -->
22+
## [2.0.0] - 2022-09-12
2523

2624
### Added
2725

@@ -36,8 +34,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
3634

3735
- Added an optional `summary` field to Function and Method return types. ([#109](https://github.com/webcomponents/custom-elements-manifest/pull/109))
3836

39-
<!-- ### Removed -->
40-
4137
### Fixed
4238

4339
- Fixed how custom element declarations extend class declarations. Previously CustomElementDeclaration didn't include CustomElement properties, and MixinDeclaration required some CustomElement properties. Added new CustomElementMixinDeclaration interface. Fixes https://github.com/webcomponents/custom-elements-manifest/issues/69 ([#103](https://github.com/webcomponents/custom-elements-manifest/pull/103))

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ In order to allow tools to find npm packages with custom element manifests witho
3737
## Schema Versioning
3838

3939
The schema has a `schemaVersion` field in the top-level object to facilitate
40-
evolution of the schema. The schema follows [semver](https://semver.org/) versioning, the current schema version is `1.0.0`.
40+
evolution of the schema. The schema follows [semver](https://semver.org/) versioning, the current schema version is `2.0.0`.
4141

4242
This version will not always match the npm package version, as some changes to the npm package might not have changes to the schema. We will publish a list of schema versions and their associated npm versions and git tags.
4343

@@ -75,7 +75,7 @@ The manifest would look like:
7575
`my-project/custom-elements.json`:
7676
```json
7777
{
78-
"schemaVersion": "1.0.0",
78+
"schemaVersion": "2.0.0",
7979
"readme": "README.md",
8080
"modules": [
8181
{
@@ -84,8 +84,10 @@ The manifest would look like:
8484
"declarations": [
8585
{
8686
"kind": "class",
87-
"description": "This is the description of the class",
87+
"customElement": true,
8888
"name": "MyElement",
89+
"tagName": "my-element",
90+
"description": "This is the description of the class",
8991
"members": [
9092
{
9193
"kind": "field",
@@ -111,9 +113,7 @@ The manifest would look like:
111113
],
112114
"superclass": {
113115
"name": "HTMLElement"
114-
},
115-
"tagName": "my-element",
116-
"customElement": true
116+
}
117117
}
118118
],
119119
"exports": [

examples/simple-element.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
{
2-
"schemaVersion": "1.0.0",
2+
"schemaVersion": "2.0.0",
33
"readme": "README.md",
44
"modules": [
55
{
66
"kind": "javascript-module",
77
"path": "my-project/my-element.js",
88
"declarations": [
99
{
10-
"kind": "class",
11-
"description": "This is the description of the class",
10+
"kind": "class",
11+
"customElement": true,
1212
"name": "MyElement",
13+
"tagName": "my-element",
14+
"description": "This is the description of the class",
1315
"members": [
1416
{
1517
"kind": "field",
@@ -35,9 +37,7 @@
3537
],
3638
"superclass": {
3739
"name": "HTMLElement"
38-
},
39-
"tagName": "my-element",
40-
"customElement": true
40+
}
4141
}
4242
],
4343
"exports": [

0 commit comments

Comments
 (0)